Home
last modified time | relevance | path

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

123

/PHP-7.0/ext/standard/
H A Duniqid.c53 int sec, usec; in PHP_FUNCTION() local
73 sec = (int) tv.tv_sec; in PHP_FUNCTION()
80 uniqid = strpprintf(0, "%s%08x%05x%.8F", prefix, sec, usec, php_combined_lcg() * 10); in PHP_FUNCTION()
82 uniqid = strpprintf(0, "%s%08x%05x", prefix, sec, usec); in PHP_FUNCTION()
/PHP-7.0/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.phpt19 $sec = 45;
26 var_dump( mktime($hour, $minute, $sec) );
27 var_dump( mktime($hour, $minute, $sec, $month) );
28 var_dump( mktime($hour, $minute, $sec, $month, $day) );
29 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 Dgettimeofday_variation1.phpt107 ["sec"]=>
163 ["sec"]=>
175 ["sec"]=>
190 ["sec"]=>
205 ["sec"]=>
217 ["sec"]=>
229 ["sec"]=>
263 ["sec"]=>
275 ["sec"]=>
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 Dgmmktime_error.phpt5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]…
17 $sec = 8;
23 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year, $extra_arg) );
H A Ddate_time_set_error.phpt26 $sec = 30;
28 var_dump( date_time_set($datetime, $hour, $min, $sec, $extra_arg) );
32 var_dump( date_time_set($invalid_obj, $hour, $min, $sec) );
34 var_dump( date_time_set($invalid_obj, $hour, $min, $sec) );
36 var_dump( date_time_set($invalid_obj, $hour, $min, $sec) );
H A Dgettimeofday_basic.phpt36 ["sec"]=>
46 ["sec"]=>
H A Dmktime_error.phpt23 $sec = 45;
28 var_dump( mktime($hour, $minute, $sec, $month, $day, $year, $extra_arg) );
H A Dbug35143.phpt13 ["sec"]=>
H A DDateTime_setTime_error.phpt26 $sec = 30;
28 var_dump( $datetime->setTime($hour, $min, $sec, $extra_arg) );
H A Ddate_time_set_variation4.phpt2 Test date_time_set() function : usage variation - Passing unexpected values to forth argument $sec.
11 echo "*** Testing date_time_set() : usage variation - unexpected values to forth argument \$sec***…
102 foreach($inputs as $variation =>$sec) {
104 var_dump( date_time_set($object, $hour, $minute, $sec) );
113 *** Testing date_time_set() : usage variation - unexpected values to forth argument $sec***
H A Dgmmktime_variation1.phpt5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]…
15 $sec = 8;
94 var_dump( gmmktime($value, $min, $sec, $mon, $day, $year) );
H A Dgmmktime_variation2.phpt5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]…
15 $sec = 8;
94 var_dump( gmmktime($hour, $value, $sec, $mon, $day, $year) );
H A Dgmmktime_variation4.phpt5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]…
16 $sec = 8;
94 var_dump( gmmktime($hour, $min, $sec, $value, $day, $year) );
H A Dgmmktime_variation5.phpt5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]…
16 $sec = 8;
94 var_dump( gmmktime($hour, $min, $sec, $mon, $value, $year) );
H A Dgmmktime_variation6.phpt5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]…
16 $sec = 8;
93 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $value) );
H A Dgmmktime_variation3.phpt5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]…
90 // loop through each element of the array for sec
/PHP-7.0/ext/sockets/tests/
H A Dsocket_set_option_rcvtimeo.phpt24 $options = array("sec" => 1, "usec" => 0);
34 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);
34 Warning: socket_set_option(): no key "sec" passed in optval in %s on line %d
/PHP-7.0/ext/fileinfo/libmagic/
H A Dcdf_time.c170 cdf_ctime(const time_t *sec, char *buf) in cdf_ctime() argument
172 char *ptr = ctime_r(sec, buf); in cdf_ctime()
176 (long long)*sec); in cdf_ctime()
/PHP-7.0/ext/standard/tests/mail/
H A Dmail_skipif.inc9 socket_set_option($socket, SOL_SOCKET, SO_RCVTIMEO, array('sec' => 10, 'usec' => 10));
/PHP-7.0/ext/sockets/
H A Dsockets.c852 zval *r_array, *w_array, *e_array, *sec; local
880 if (sec != NULL) {
883 if (Z_TYPE_P(sec) != IS_LONG) {
884 tmp = *sec;
887 sec = &tmp;
892 tv.tv_sec = Z_LVAL_P(sec) + (usec / 1000000);
895 tv.tv_sec = Z_LVAL_P(sec);
901 if (sec == &tmp) {
2006 zval *sec, *usec; local
2087 convert_to_long_ex(sec);
[all …]

Completed in 26 milliseconds

123