/PHP-7.3/ext/standard/ |
H A D | uniqid.c | 49 int sec, usec; in PHP_FUNCTION() local 72 usec = (int) (tv.tv_usec % 0x100000); 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()
|
H A D | streamsfuncs.c | 771 zend_long sec, usec = 0; in PHP_FUNCTION() local 781 Z_PARAM_LONG(usec) in PHP_FUNCTION() 821 } else if (usec < 0) { in PHP_FUNCTION() 827 tv.tv_sec = (long)(sec + (usec / 1000000)); in PHP_FUNCTION() 828 tv.tv_usec = (long)(usec % 1000000); in PHP_FUNCTION()
|
/PHP-7.3/ext/sockets/tests/ |
H A D | socket_select-wrongparams-4.phpt | 4 usec > 999999 23 $usec = 2000000; 24 var_dump(socket_select($sockets, $write, $except, $time, $usec));
|
H A D | socket_set_option_rcvtimeo.phpt | 24 $options = array("sec" => 1, "usec" => 0);
|
H A D | socket_set_option_sndtimeo.phpt | 24 $options = array("sec" => 1, "usec" => 0);
|
/PHP-7.3/ext/date/tests/ |
H A D | gettimeofday_variation1.phpt | 109 ["usec"]=> 165 ["usec"]=> 177 ["usec"]=> 192 ["usec"]=> 207 ["usec"]=> 219 ["usec"]=> 231 ["usec"]=> 265 ["usec"]=> 277 ["usec"]=>
|
H A D | gettimeofday_basic.phpt | 38 ["usec"]=> 48 ["usec"]=>
|
H A D | bug35143.phpt | 15 ["usec"]=>
|
H A D | bug64887.phpt | 14 '-6 usec',
|
/PHP-7.3/ext/standard/tests/mail/ |
H A D | mail_skipif.inc | 9 socket_set_option($socket, SOL_SOCKET, SO_RCVTIMEO, array('sec' => 10, 'usec' => 10));
|
/PHP-7.3/ext/mysqli/tests/ |
H A D | mysqli_poll.phpt | 137 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
|
H A D | mysqli_class_mysqli_reflection.phpt | 692 Inspecting parameter 'usec' of method 'poll'
|
/PHP-7.3/ext/sockets/ |
H A D | sockets.c | 967 zend_long usec = 0; local 969 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "a!a!a!z!|l", &r_array, &w_array, &e_array, &sec, &usec… 993 if (usec > 999999) { 994 tv.tv_sec = s + (usec / 1000000); 995 tv.tv_usec = usec % 1000000; 998 tv.tv_usec = usec; 2121 zval *sec, *usec; local 2197 if ((usec = zend_hash_str_find(opt_ht, usec_key, sizeof(usec_key) - 1)) == NULL) { 2203 convert_to_long_ex(usec); 2206 tv.tv_usec = Z_LVAL_P(usec); [all …]
|
/PHP-7.3/ext/mysqli/ |
H A D | mysqli_nonapi.c | 814 zend_long sec = 0, usec = 0; local 818 …eters(ZEND_NUM_ARGS(), "a!a!al|l", &r_array, &e_array, &dont_poll_array, &sec, &usec) == FAILURE) { 821 if (sec < 0 || usec < 0) { 838 ret = mysqlnd_poll(new_r_array, new_e_array, &new_dont_poll_array, sec, usec, &desc_num);
|
H A D | mysqli_fe.c | 69 ZEND_ARG_INFO(0, usec)
|
/PHP-7.3/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 2583 mysqlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, int *… argument 2593 if (sec < 0 || usec < 0) { 2628 if (usec > 999999) { 2629 tv.tv_sec = sec + (usec / 1000000); 2630 tv.tv_usec = usec % 1000000; 2633 tv.tv_usec = usec;
|
H A D | mysqlnd.h | 121 …l(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, int * desc_num);
|
/PHP-7.3/sapi/cgi/ |
H A D | cgi_main.c | 2755 int usec; local 2760 usec = (int)(end.tv_usec - start.tv_usec); 2763 usec = (int)(end.tv_usec + 1000000 - start.tv_usec); 2765 fprintf(stderr, "\nElapsed time: %d.%06d sec\n", sec, usec);
|
/PHP-7.3/ext/date/ |
H A D | php_date.c | 2638 static void php_date_get_current_time_with_fraction(time_t *sec, suseconds_t *usec) in php_date_get_current_time_with_fraction() argument 2645 *usec = tp.tv_usec; in php_date_get_current_time_with_fraction() 2648 *usec = 0; in php_date_get_current_time_with_fraction() 2661 suseconds_t usec; in php_date_initialize() local 2726 php_date_get_current_time_with_fraction(&sec, &usec); in php_date_initialize() 2728 php_date_set_time_fraction(now, usec); in php_date_initialize()
|
/PHP-7.3/ext/date/lib/ |
H A D | parse_date.re | 176 { "usec", TIMELIB_MICROSEC, 1 }, 1002 reltextunit = 'ms' | 'µs' | (('msec'|'millisecond'|'µsec'|'microsecond'|'usec'|'sec'|'second'|'min'…
|
/PHP-7.3/ |
H A D | NEWS | 237 to return usec). (Herbert256)
|