Searched refs:sec (Results 1 - 25 of 27) sorted by relevance

12

/PHP_TRUNK/ext/date/tests/
H A DDateTime_data-fall-type2-type2.inc20 * + dtsec: daylight time 1 sec before change 2010-11-07 01:59:59 EDT
H A DDateTime_data-fall-type2-type3.inc20 * + dtsec: daylight time 1 sec before change 2010-11-07 01:59:59 EDT
H A DDateTime_data-fall-type3-type2.inc20 * + dtsec: daylight time 1 sec before change 2010-11-07 01:59:59 EDT
H A DDateTime_data-fall-type3-type3.inc20 * + dtsec: daylight time 1 sec before change 2010-11-07 01:59:59 EDT, + TZ
H A DDateTime_data-spring-type2-type2.inc18 * + stsec: standard time 1 sec before change 2010-03-14 01:59:59 EST
H A DDateTime_data-spring-type2-type3.inc18 * + stsec: standard time 1 sec before change 2010-03-14 01:59:59 EST
H A DDateTime_data-spring-type3-type2.inc18 * + stsec: standard time 1 sec before change 2010-03-14 01:59:59 EST
H A DDateTime_data-spring-type3-type3.inc18 * + stsec: standard time 1 sec before change 2010-03-14 01:59:59
/PHP_TRUNK/ext/standard/tests/mail/
H A Dmail_skipif.inc9 socket_set_option($socket, SOL_SOCKET, SO_RCVTIMEO, array('sec' => 10, 'usec' => 10));
/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/fileinfo/libmagic/
H A Dcdf_time.c170 cdf_ctime(const time_t *sec, char *buf) argument
172 char *ptr = ctime_r(sec, buf);
175 (void)snprintf(buf, 26, "*Bad* 0x%16.16llx\n", (long long)*sec);
H A Dreadcdf.c225 const time_t sec = ts.tv_sec; local
229 c = cdf_ctime(&sec, tbuf);
H A Dcdf.c389 cdf_secid_t *msa, mid, sec; local
440 sec = CDF_TOLE4((uint32_t)msa[k]);
441 if (sec < 0)
450 sec) != (ssize_t)ss) {
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_fe.c74 ZEND_ARG_INFO(0, sec)
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() TSRMLS_CC, "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 TSRMLS_CC, 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/imap/
H A Dphp_imap.c2332 char *body, *sec; local
2337 if (zend_parse_parameters(argc TSRMLS_CC, "rls|l", &streamind, &msgno, &sec, &sec_len, &flags) == FAILURE) {
2353 body = mail_fetchbody_full(imap_le_struct->imap_stream, msgno, sec, &len, (argc == 4 ? flags : NIL));
2372 char *body, *sec; local
2377 if (zend_parse_parameters(argc TSRMLS_CC, "rls|l", &streamind, &msgno, &sec, &sec_len, &flags) == FAILURE) {
2393 body = mail_fetch_mime(imap_le_struct->imap_stream, msgno, sec, &len, (argc == 4 ? flags : NIL));
/PHP_TRUNK/ext/date/lib/
H A Dparse_date.re187 { "sec", TIMELIB_SECOND, 1 },
931 reltextunit = (('sec'|'second'|'min'|'minute'|'hour'|'day'|'fortnight'|'forthnight'|'month'|'year') 's'?) | 'weeks' | daytext;
1984 timelib_sll sec;
1987 sec = timelib_get_nr_ex((char **) &ptr, 2, &length);
1988 if (sec == TIMELIB_UNSET || length != 2) {
1991 s->time->s = sec;
H A Dtimelib.h135 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *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/sockets/
H A Dsockets.c833 zval *r_array, *w_array, *e_array, *sec; local
841 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a/!a/!a/!z!|l", &r_array, &w_array, &e_array, &sec, &usec) == FAILURE) {
861 if (sec != NULL) {
864 if (Z_TYPE_P(sec) != IS_LONG) {
865 tmp = *sec;
868 sec = &tmp;
871 /* Solaris + BSD do not like microsecond values which are >= 1 sec */
873 tv.tv_sec = Z_LVAL_P(sec) + (usec / 1000000);
876 tv.tv_sec = Z_LVAL_P(sec);
882 if (sec
1955 zval *sec, *usec; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c720 zval *r_array, *w_array, *e_array, *sec = NULL; local
729 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a/!a/!a/!z!|l", &r_array, &w_array, &e_array, &sec, &usec) == FAILURE)
765 if (sec != NULL) {
766 convert_to_long_ex(sec);
768 if (Z_LVAL_P(sec) < 0) {
776 /* Solaris + BSD do not like microsecond values which are >= 1 sec */
778 tv.tv_sec = Z_LVAL_P(sec) + (usec / 1000000);
781 tv.tv_sec = Z_LVAL_P(sec);
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(TSRMLS_C) * 10);
82 uniqid = strpprintf(0, "%s%08x%05x", prefix, sec, usec);
/PHP_TRUNK/sapi/litespeed/
H A Dlsapilib.c2674 int sec =0; local
2679 while( g_prefork_server->m_iCurChildren && (sec < maxWait) )
2683 sec++;
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd.h117 #define mysqlnd_poll(r, err, d_pull,sec,usec,desc_num) _mysqlnd_poll((r), (err), (d_pull), (sec), (usec), (desc_num) TSRMLS_CC)
121 PHPAPI enum_func_status _mysqlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, int * desc_num TSRMLS_DC);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c2579 int sec; local
2584 sec = (int)(end.tv_sec - start.tv_sec);
2588 sec -= 1;
2591 fprintf(stderr, "\nElapsed time: %d.%06d sec\n", sec, usec);
2594 sec = (int)(end - start);
2595 fprintf(stderr, "\nElapsed time: %d sec\n", sec);

Completed in 46 milliseconds

12