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

12

/PHP_5_3/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_5_3/ext/standard/tests/mail/
H A Dmail_skipif.inc9 socket_set_option($socket, SOL_SOCKET, SO_RCVTIMEO, array('sec' => 10, 'usec' => 10));
/PHP_5_3/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_5_3/ext/fileinfo/libmagic/
H A Dcdf_time.c169 cdf_ctime(const time_t *sec) argument
172 char *ptr = ctime(sec);
176 (long long)*sec);
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) {
H A Dreadcdf.c147 const time_t sec = ts.tv_sec; local
151 c = cdf_ctime(&sec);
/PHP_5_3/ext/date/lib/
H A Dtimelib.c195 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec) argument
199 *sec = (h - *hour - ((float) *min / 60)) * 3600;
H A Dtimelib.h131 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec);
H A Dparse_date.re189 { "sec", TIMELIB_SECOND, 1 },
991 reltextunit = (('sec'|'second'|'min'|'minute'|'hour'|'day'|'fortnight'|'forthnight'|'month'|'year') 's'?) | 'weeks' | daytext;
2042 timelib_sll sec;
2045 sec = timelib_get_nr_ex((char **) &ptr, 2, &length);
2046 if (sec == TIMELIB_UNSET || length != 2) {
2049 s->time->s = sec;
/PHP_5_3/ext/mysqli/
H A Dmysqli_fe.c69 ZEND_ARG_INFO(0, sec)
H A Dmysqli_nonapi.c696 /* {{{ proto int mysqli_poll(array read, array write, array error, long sec [, long usec]) U
702 long sec = 0, usec = 0; local
706 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a!a!al|l", &r_array, &e_array, &dont_poll_array, &sec, &usec) == FAILURE) {
709 if (sec < 0 || usec < 0) {
710 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Negative values passed for sec and/or usec");
726 ret = mysqlnd_poll(new_r_array, new_e_array, &new_dont_poll_array, sec, usec, &desc_num);
/PHP_5_3/ext/sockets/
H A Dsockets.c788 zval *r_array, *w_array, *e_array, *sec; local
796 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a!a!a!z!|l", &r_array, &w_array, &e_array, &sec, &usec) == FAILURE) {
816 if (sec != NULL) {
819 if (Z_TYPE_P(sec) != IS_LONG) {
820 tmp = *sec;
823 sec = &tmp;
826 /* Solaris + BSD do not like microsecond values which are >= 1 sec */
828 tv.tv_sec = Z_LVAL_P(sec) + (usec / 1000000);
831 tv.tv_sec = Z_LVAL_P(sec);
837 if (sec
1821 zval **sec, **usec; local
[all...]
/PHP_5_3/ext/standard/
H A Duniqid.c53 int sec, usec, prefix_len = 0; local
72 sec = (int) tv.tv_sec;
79 spprintf(&uniqid, 0, "%s%08x%05x%.8F", prefix, sec, usec, php_combined_lcg(TSRMLS_C) * 10);
81 spprintf(&uniqid, 0, "%s%08x%05x", prefix, sec, usec);
H A Dstreamsfuncs.c765 zval *r_array, *w_array, *e_array, **sec = NULL; local
774 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a!a!a!Z!|l", &r_array, &w_array, &e_array, &sec, &usec) == FAILURE)
810 if (sec != NULL) {
811 convert_to_long_ex(sec);
813 if (Z_LVAL_PP(sec) < 0) {
821 /* Solaris + BSD do not like microsecond values which are >= 1 sec */
823 tv.tv_sec = Z_LVAL_PP(sec) + (usec / 1000000);
826 tv.tv_sec = Z_LVAL_PP(sec);
/PHP_5_3/sapi/litespeed/
H A Dlsapilib.c1782 int sec =0; local
1787 while( g_prefork_server->m_iCurChildren && (sec < maxWait) ) {
1790 sec++;
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd.h130 #define mysqlnd_poll(r, err, d_pull,sec,usec,desc_num) _mysqlnd_poll((r), (err), (d_pull), (sec), (usec), (desc_num) TSRMLS_CC)
134 PHPAPI enum_func_status _mysqlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, uint * desc_num TSRMLS_DC);
H A Dmysqlnd.c1203 _mysqlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, uint * desc_num TSRMLS_DC) argument
1214 if (sec < 0 || usec < 0) {
1215 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Negative values passed for sec and/or usec");
1249 /* Solaris + BSD do not like microsecond values which are >= 1 sec */
1251 tv.tv_sec = sec + (usec / 1000000);
1254 tv.tv_sec = sec;
/PHP_5_3/sapi/cgi/
H A Dcgi_main.c2239 int sec; local
2244 sec = (int)(end.tv_sec - start.tv_sec);
2248 sec -= 1;
2251 fprintf(stderr, "\nElapsed time: %d.%06d sec\n", sec, usec);
2254 sec = (int)(end - start);
2255 fprintf(stderr, "\nElapsed time: %d sec\n", sec);

Completed in 89 milliseconds

12