Home
last modified time | relevance | path

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

/PHP-5.4/ext/standard/
H A Duniqid.c53 int sec, usec, prefix_len = 0; in PHP_FUNCTION() local
73 usec = (int) (tv.tv_usec % 0x100000); in PHP_FUNCTION()
79 spprintf(&uniqid, 0, "%s%08x%05x%.8F", prefix, sec, usec, php_combined_lcg(TSRMLS_C) * 10); in PHP_FUNCTION()
81 spprintf(&uniqid, 0, "%s%08x%05x", prefix, sec, usec); in PHP_FUNCTION()
H A Dstreamsfuncs.c782 long usec = 0; in PHP_FUNCTION() local
785 …ers(ZEND_NUM_ARGS() TSRMLS_CC, "a!a!a!Z!|l", &r_array, &w_array, &e_array, &sec, &usec) == FAILURE) in PHP_FUNCTION()
827 } else if (usec < 0) { in PHP_FUNCTION()
833 if (usec > 999999) { in PHP_FUNCTION()
834 tv.tv_sec = Z_LVAL_PP(sec) + (usec / 1000000); in PHP_FUNCTION()
835 tv.tv_usec = usec % 1000000; in PHP_FUNCTION()
838 tv.tv_usec = usec; in PHP_FUNCTION()
/PHP-5.4/ext/sockets/tests/
H A Dsocket_select-wrongparams-4.phpt4 usec > 999999
23 $usec = 2000000;
24 var_dump(socket_select($sockets, $write, $except, $time, $usec));
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-5.4/ext/date/tests/
H A Dgettimeofday_variation1.phpt109 ["usec"]=>
165 ["usec"]=>
177 ["usec"]=>
192 ["usec"]=>
207 ["usec"]=>
219 ["usec"]=>
231 ["usec"]=>
265 ["usec"]=>
277 ["usec"]=>
H A Dgettimeofday_basic.phpt38 ["usec"]=>
48 ["usec"]=>
H A Dbug35143.phpt15 ["usec"]=>
/PHP-5.4/ext/standard/tests/mail/
H A Dmail_skipif.inc9 socket_set_option($socket, SOL_SOCKET, SO_RCVTIMEO, array('sec' => 10, 'usec' => 10));
/PHP-5.4/ext/sockets/
H A Dsockets.c1035 long usec = 0; local
1037 …s(ZEND_NUM_ARGS() TSRMLS_CC, "a!a!a!z!|l", &r_array, &w_array, &e_array, &sec, &usec) == FAILURE) {
1068 if (usec > 999999) {
1069 tv.tv_sec = Z_LVAL_P(sec) + (usec / 1000000);
1070 tv.tv_usec = usec % 1000000;
1073 tv.tv_usec = usec;
2221 zval **sec, **usec; local
2367 if (zend_hash_find(opt_ht, usec_key, sizeof(usec_key), (void **)&usec) == FAILURE) {
2373 convert_to_long_ex(usec);
2376 tv.tv_usec = Z_LVAL_PP(usec);
[all …]
/PHP-5.4/ext/mysqlnd/
H A Dmysqlnd.h116 #define mysqlnd_poll(r, err, d_pull,sec,usec,desc_num) _mysqlnd_poll((r), (err), (d_pull), (sec), ( argument
120 …YSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, int * desc_num TSR…
H A Dmysqlnd.c1232 _mysqlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, int … argument
1242 if (sec < 0 || usec < 0) {
1278 if (usec > 999999) {
1279 tv.tv_sec = sec + (usec / 1000000);
1280 tv.tv_usec = usec % 1000000;
1283 tv.tv_usec = usec;
/PHP-5.4/ext/mysqli/
H A Dmysqli_nonapi.c778 long sec = 0, usec = 0; local
782 …_NUM_ARGS() TSRMLS_CC, "a!a!al|l", &r_array, &e_array, &dont_poll_array, &sec, &usec) == FAILURE) {
785 if (sec < 0 || usec < 0) {
802 ret = mysqlnd_poll(new_r_array, new_e_array, &new_dont_poll_array, sec, usec, &desc_num);
H A Dmysqli_fe.c70 ZEND_ARG_INFO(0, usec)
/PHP-5.4/sapi/cgi/
H A Dcgi_main.c2564 int usec; local
2569 usec = (int)(end.tv_usec - start.tv_usec);
2572 usec = (int)(end.tv_usec + 1000000 - start.tv_usec);
2574 fprintf(stderr, "\nElapsed time: %d.%06d sec\n", sec, usec);
/PHP-5.4/ext/mysqli/tests/
H A Dmysqli_class_mysqli_reflection.phpt650 Inspecting parameter 'usec' of method 'poll'

Completed in 57 milliseconds