Home
last modified time | relevance | path

Searched refs:usec (Results 1 – 17 of 17) sorted by relevance

/PHP-8.1/ext/standard/
H A Duniqid.c46 int sec, usec; in PHP_FUNCTION() local
69 usec = (int) (tv.tv_usec % 0x100000); in PHP_FUNCTION()
82 uniqid = strpprintf(0, "%s%08x%05x%.8F", prefix, sec, usec, seed); in PHP_FUNCTION()
84 uniqid = strpprintf(0, "%s%08x%05x", prefix, sec, usec); in PHP_FUNCTION()
H A Dstreamsfuncs.c769 zend_long sec, usec = 0; in PHP_FUNCTION() local
780 Z_PARAM_LONG_OR_NULL(usec, usecnull) in PHP_FUNCTION()
818 if (usec != 0) { in PHP_FUNCTION()
829 } else if (usec < 0) { in PHP_FUNCTION()
835 tv.tv_sec = (long)(sec + (usec / 1000000)); in PHP_FUNCTION()
836 tv.tv_usec = (long)(usec % 1000000); in PHP_FUNCTION()
/PHP-8.1/ext/sockets/tests/
H A Dsocket_select-wrongparams-4.phpt4 usec > 999999
20 $usec = 2000000;
21 var_dump(socket_select($sockets, $write, $except, $time, $usec));
H A Dsocket_setopt_basic.phpt17 $options = array("sec" => 1, "usec" => 0);
H A Dsocket_set_option_rcvtimeo.phpt24 $options = array("sec" => 1, "usec" => 0);
H A Dsocket_set_option_sndtimeo.phpt24 $options = array("sec" => 1, "usec" => 0);
/PHP-8.1/ext/date/tests/
H A Dgettimeofday_basic.phpt31 ["usec"]=>
41 ["usec"]=>
H A Dbug35143.phpt15 ["usec"]=>
H A Dbug64887.phpt14 '-6 usec',
/PHP-8.1/ext/standard/tests/mail/
H A Dmail_skipif.inc9 socket_set_option($socket, SOL_SOCKET, SO_RCVTIMEO, array('sec' => 10, 'usec' => 10));
/PHP-8.1/ext/sockets/
H A Dsockets.c738 zend_long sec, usec = 0; local
741 …ND_NUM_ARGS(), "a!a!a!l!|l", &r_array, &w_array, &e_array, &sec, &sec_is_null, &usec) == FAILURE) {
780 if (usec > 999999) {
781 tv.tv_sec = sec + (usec / 1000000);
782 tv.tv_usec = usec % 1000000;
785 tv.tv_usec = usec;
1886 zval *sec, *usec; local
1960 if ((usec = zend_hash_str_find(opt_ht, usec_key, sizeof(usec_key) - 1)) == NULL) {
1966 convert_to_long(usec);
1969 tv.tv_usec = Z_LVAL_P(usec);
[all …]
/PHP-8.1/ext/mysqli/
H A Dmysqli_nonapi.c880 zend_long sec = 0, usec = 0; local
884 …eters(ZEND_NUM_ARGS(), "a!a!al|l", &r_array, &e_array, &dont_poll_array, &sec, &usec) == FAILURE) {
891 if (usec < 0) {
916 ret = mysqlnd_poll(new_r_array, new_e_array, &new_dont_poll_array, sec, usec, &desc_num);
/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_connection.c2219 mysqlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, int *… argument
2229 if (sec < 0 || usec < 0) {
2266 if (usec > 999999) {
2267 tv.tv_sec = sec + (usec / 1000000);
2268 tv.tv_usec = usec % 1000000;
2271 tv.tv_usec = usec;
H A Dmysqlnd.h114 …l(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, int * desc_num);
/PHP-8.1/sapi/cgi/
H A Dcgi_main.c2643 int usec; local
2648 usec = (int)(end.tv_usec - start.tv_usec);
2651 usec = (int)(end.tv_usec + 1000000 - start.tv_usec);
2653 fprintf(stderr, "\nElapsed time: %d.%06d sec\n", sec, usec);
/PHP-8.1/ext/date/
H A Dphp_date.c2227 static void php_date_get_current_time_with_fraction(time_t *sec, suseconds_t *usec) in php_date_get_current_time_with_fraction() argument
2234 *usec = tp.tv_usec; in php_date_get_current_time_with_fraction()
2237 *usec = 0; in php_date_get_current_time_with_fraction()
2250 suseconds_t usec; in php_date_initialize() local
2326 php_date_get_current_time_with_fraction(&sec, &usec); in php_date_initialize()
2328 php_date_set_time_fraction(now, usec); in php_date_initialize()
/PHP-8.1/ext/date/lib/
H A Dparse_date.re185 { "usec", TIMELIB_MICROSEC, 1 },
1080 reltextunit = 'ms' | 'µs' | (('msec'|'millisecond'|'µsec'|'microsecond'|'usec'|'sec'|'second'|'min'…

Completed in 77 milliseconds