Home
last modified time | relevance | path

Searched refs:sec (Results 1 – 25 of 44) sorted by relevance

12

/PHP-7.4/ext/standard/
H A Duniqid.c49 int sec, usec; in PHP_FUNCTION() local
71 sec = (int) tv.tv_sec; in PHP_FUNCTION()
78 uniqid = strpprintf(0, "%s%08x%05x%.8F", prefix, sec, usec, php_combined_lcg() * 10); in PHP_FUNCTION()
80 uniqid = strpprintf(0, "%s%08x%05x", prefix, sec, usec); in PHP_FUNCTION()
/PHP-7.4/ext/date/tests/
H A Dgmmktime_variation9.phpt5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]…
16 $sec = 8;
31 var_dump( gmmktime($value, $min, $sec, $mon, $day, $year) );
32 var_dump( gmmktime($hour, $value, $sec, $mon, $day, $year) );
34 var_dump( gmmktime($hour, $min, $sec, $value, $day, $year) );
35 var_dump( gmmktime($hour, $min, $sec, $mon, $value, $value) );
H A Dmktime_basic1.phpt18 $sec = 45;
25 var_dump( mktime($hour, $minute, $sec) );
26 var_dump( mktime($hour, $minute, $sec, $month) );
27 var_dump( mktime($hour, $minute, $sec, $month, $day) );
28 var_dump( mktime($hour, $minute, $sec, $month, $day, $year) );
H A Dgmmktime_variation8.phpt5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]…
16 $sec = 010;
22 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
27 $sec = 0x8;
33 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
H A Dgmmktime_variation7.phpt5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]…
16 $sec = 8;
27 var_dump( gmmktime($hour, $min, $sec) );
30 var_dump( gmmktime($hour, $min, $sec, $mon) );
33 var_dump( gmmktime($hour, $min, $sec, $mon, $day) );
H A Dgmmktime_basic.phpt5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]…
16 $sec = 8;
22 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
H A Dbug64887.phpt19 '+11 µsec',
22 '+8 msec -2 µsec',
H A Dgettimeofday_basic.phpt36 ["sec"]=>
46 ["sec"]=>
H A Dbug35143.phpt13 ["sec"]=>
H A Dmktime_error.phpt22 $sec = 45;
27 var_dump( mktime($hour, $minute, $sec, $month, $day, $year, $extra_arg) );
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
H A DDateTime_data-spring-type2-type2.inc18 * + stsec: standard time 1 sec before change 2010-03-14 01:59:59 EST
/PHP-7.4/ext/sockets/tests/
H A Dsocket_set_option_rcvtimeo.phpt24 $options = array("sec" => 1, "usec" => 0);
33 Warning: socket_set_option(): no key "sec" passed in optval in %s on line %d
H A Dsocket_set_option_sndtimeo.phpt24 $options = array("sec" => 1, "usec" => 0);
33 Warning: socket_set_option(): no key "sec" passed in optval in %s on line %d
H A Dsocket_setopt_basic.phpt21 $options = array("sec" => 1, "usec" => 0);
/PHP-7.4/ext/date/lib/
H A Dtimelib.c185 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec) in timelib_decimal_hour_to_hms() argument
190 *sec = (h - *hour - ((float) *min / 60)) * 3600; in timelib_decimal_hour_to_hms()
194 *sec = 0 - (h - *hour - ((float) *min / -60)) * 3600; in timelib_decimal_hour_to_hms()
198 void timelib_hms_to_decimal_hour(int hour, int min, int sec, double *h) in timelib_hms_to_decimal_hour() argument
201 *h = ((double)hour + (double)min / 60 + (double)sec / 3600); in timelib_hms_to_decimal_hour()
203 *h = ((double)hour - (double)min / 60 - (double)sec / 3600); in timelib_hms_to_decimal_hour()
H A Dtimelib.h879 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec);
884 void timelib_hms_to_decimal_hour(int hour, int min, int sec, double *h);
/PHP-7.4/ext/fileinfo/libmagic/
H A Dcdf_time.c170 cdf_ctime(const time_t *sec, char *buf) in cdf_ctime() argument
172 char *ptr = php_ctime_r(sec, buf); in cdf_ctime()
176 CAST(long long, *sec)); in cdf_ctime()
/PHP-7.4/ext/standard/tests/mail/
H A Dmail_skipif.inc9 socket_set_option($socket, SOL_SOCKET, SO_RCVTIMEO, array('sec' => 10, 'usec' => 10));
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_poll.phpt137 Warning: mysqli_poll(): Negative values passed for sec and/or usec in %s on line %d
139 Warning: mysqli_poll(): Negative values passed for sec and/or usec in %s on line %d
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_process_ctl.c58 static int fpm_pctl_timeout_set(int sec) /* {{{ */ in fpm_pctl_timeout_set() argument
61 fpm_event_add(&pctl_event, sec * 1000); in fpm_pctl_timeout_set()
/PHP-7.4/ext/standard/tests/strings/
H A Dstrtok_variation3.phpt103 string(3) "sec"
/PHP-7.4/ext/sockets/
H A Dsockets.c975 zval *r_array, *w_array, *e_array, *sec; local
983 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "a!a!a!z!|l", &r_array, &w_array, &e_array, &sec, &usec…
1003 if (sec != NULL) {
1004 zend_long s = zval_get_long(sec);
2107 zval *sec, *usec; local
2179 if ((sec = zend_hash_str_find(opt_ht, sec_key, sizeof(sec_key) - 1)) == NULL) {
2188 convert_to_long_ex(sec);
2191 tv.tv_sec = Z_LVAL_P(sec);
2196 timeout = Z_LVAL_P(sec) * 1000 + Z_LVAL_P(usec) / 1000;

Completed in 45 milliseconds

12