Searched defs:sec (Results 1 - 15 of 15) sorted by relevance

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_process_ctl.c60 static int fpm_pctl_timeout_set(int sec) /* {{{ */ argument
63 fpm_event_add(&pctl_event, sec * 1000);
/PHP_TRUNK/ext/date/lib/
H A Dparse_date.c189 { "sec", TIMELIB_SECOND, 1 },
24975 timelib_sll sec; local
24978 sec = timelib_get_nr_ex((char **) &ptr, 2, &length);
24979 if (sec == TIMELIB_UNSET || length != 2) {
24982 s->time->s = sec;
H A Dtimelib.c198 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec) argument
202 *sec = (h - *hour - ((float) *min / 60)) * 3600;
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_nonapi.c747 /* {{{ proto int mysqli_poll(array read, array write, array error, long sec [, long usec]) U
753 zend_long sec = 0, usec = 0; local
757 if (zend_parse_parameters(ZEND_NUM_ARGS(), "a!a!al|l", &r_array, &e_array, &dont_poll_array, &sec, &usec) == FAILURE) {
760 if (sec < 0 || usec < 0) {
761 php_error_docref(NULL, E_WARNING, "Negative values passed for sec and/or usec");
777 ret = mysqlnd_poll(new_r_array, new_e_array, &new_dont_poll_array, sec, usec, &desc_num);
/PHP_TRUNK/ext/standard/
H A Duniqid.c53 int sec, usec; local
73 sec = (int) tv.tv_sec;
80 uniqid = strpprintf(0, "%s%08x%05x%.8F", prefix, sec, usec, php_combined_lcg() * 10);
82 uniqid = strpprintf(0, "%s%08x%05x", prefix, sec, usec);
H A Dstreamsfuncs.c719 zval *r_array, *w_array, *e_array, *sec = NULL; local
728 if (zend_parse_parameters(ZEND_NUM_ARGS(), "a/!a/!a/!z!|l", &r_array, &w_array, &e_array, &sec, &usec) == FAILURE)
764 if (sec != NULL) {
765 convert_to_long_ex(sec);
767 if (Z_LVAL_P(sec) < 0) {
776 tv.tv_sec = (long)(Z_LVAL_P(sec) + (usec / 1000000));
779 /* Solaris + BSD do not like microsecond values which are >= 1 sec */
781 tv.tv_sec = Z_LVAL_P(sec) + (usec / 1000000);
784 tv.tv_sec = Z_LVAL_P(sec);
/PHP_TRUNK/sapi/litespeed/
H A Dlsapilib.c2693 int sec =0; local
2698 while( g_prefork_server->m_iCurChildren && (sec < maxWait) )
2702 sec++;
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dcdf.c394 cdf_secid_t *msa, mid, sec; local
445 sec = CDF_TOLE4((uint32_t)msa[k]);
446 if (sec < 0)
455 sec) != (ssize_t)ss) {
H A Dcdf_time.c170 cdf_ctime(const time_t *sec, char *buf) argument
172 char *ptr = ctime_r(sec, buf);
176 (long long)*sec);
H A Dreadcdf.c235 const time_t sec = ts.tv_sec; local
239 c = cdf_ctime(&sec, tbuf);
/PHP_TRUNK/ext/date/
H A Dphp_date.c84 ZEND_ARG_INFO(0, sec)
93 ZEND_ARG_INFO(0, sec)
1498 zend_long hou = 0, min = 0, sec = 0, mon = 0, day = 0, yea = 0; local
1504 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|llllll", &hou, &min, &sec, &mon, &day, &yea) == FAILURE) {
1536 now->s = sec;
1567 /* {{{ proto int mktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]])
1575 /* {{{ proto int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]])
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c2377 zend_string *sec; local
2381 if (zend_parse_parameters(argc, "rlS|l", &streamind, &msgno, &sec, &flags) == FAILURE) {
2399 body = mail_fetchbody_full(imap_le_struct->imap_stream, msgno, sec->val, &len, (argc == 4 ? flags : NIL));
2419 zend_string *sec; local
2423 if (zend_parse_parameters(argc, "rlS|l", &streamind, &msgno, &sec, &flags) == FAILURE) {
2441 body = mail_fetch_mime(imap_le_struct->imap_stream, msgno, sec->val, &len, (argc == 4 ? flags : NIL));
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd.c1367 _mysqlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, int * desc_num) argument
1377 if (sec < 0 || usec < 0) {
1378 php_error_docref(NULL, E_WARNING, "Negative values passed for sec and/or usec");
1411 /* Solaris + BSD do not like microsecond values which are >= 1 sec */
1413 tv.tv_sec = sec + (usec / 1000000);
1416 tv.tv_sec = sec;
/PHP_TRUNK/ext/sockets/
H A Dsockets.c842 zval *r_array, *w_array, *e_array, *sec; local
850 if (zend_parse_parameters(ZEND_NUM_ARGS(), "a/!a/!a/!z!|l", &r_array, &w_array, &e_array, &sec, &usec) == FAILURE) {
870 if (sec != NULL) {
873 if (Z_TYPE_P(sec) != IS_LONG) {
874 tmp = *sec;
877 sec = &tmp;
880 /* Solaris + BSD do not like microsecond values which are >= 1 sec */
882 tv.tv_sec = Z_LVAL_P(sec) + (usec / 1000000);
885 tv.tv_sec = Z_LVAL_P(sec);
891 if (sec
1995 zval *sec, *usec; local
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c2541 int sec; local
2546 sec = (int)(end.tv_sec - start.tv_sec);
2550 sec -= 1;
2553 fprintf(stderr, "\nElapsed time: %d.%06d sec\n", sec, usec);
2556 sec = (int)(end - start);
2557 fprintf(stderr, "\nElapsed time: %d sec\n", sec);

Completed in 98 milliseconds