Searched refs:usec (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/ext/standard/tests/mail/
H A Dmail_skipif.inc9 socket_set_option($socket, SOL_SOCKET, SO_RCVTIMEO, array('sec' => 10, 'usec' => 10));
/PHP_TRUNK/ext/standard/
H A Duniqid.c53 int sec, usec; local
74 usec = (int) (tv.tv_usec % 0x100000);
76 /* The max value usec can have is 0xF423F, so we use only five hex
80 uniqid = strpprintf(0, "%s%08x%05x%.8F", prefix, sec, usec, php_combined_lcg() * 10);
82 uniqid = strpprintf(0, "%s%08x%05x", prefix, sec, usec);
H A Dstreamsfuncs.c720 zend_long usec = 0; local
723 if (zend_parse_parameters(ZEND_NUM_ARGS(), "a/!a/!a/!z!|l", &r_array, &w_array, &e_array, &sec, &usec) == FAILURE)
765 } else if (usec < 0) {
771 tv.tv_sec = (long)(Z_LVAL_P(sec) + (usec / 1000000));
772 tv.tv_usec = (long)(usec % 1000000);
775 if (usec > 999999) {
776 tv.tv_sec = Z_LVAL_P(sec) + (usec / 1000000);
777 tv.tv_usec = usec % 1000000;
780 tv.tv_usec = usec;
/PHP_TRUNK/ext/sockets/
H A Dsockets.c848 zend_long usec = 0; local
850 if (zend_parse_parameters(ZEND_NUM_ARGS(), "a/!a/!a/!z!|l", &r_array, &w_array, &e_array, &sec, &usec) == FAILURE) {
881 if (usec > 999999) {
882 tv.tv_sec = Z_LVAL_P(sec) + (usec / 1000000);
883 tv.tv_usec = usec % 1000000;
886 tv.tv_usec = usec;
1960 add_assoc_long(return_value, "usec", tv.tv_usec);
1996 zval *sec, *usec; local
2063 const char usec_key[] = "usec";
2072 if ((usec
[all...]
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_fe.c75 ZEND_ARG_INFO(0, usec)
H A Dmysqli_nonapi.c747 /* {{{ proto int mysqli_poll(array read, array write, array error, long sec [, long usec]) U
753 zend_long sec = 0, usec = 0; local
757 if (zend_parse_parameters(ZEND_NUM_ARGS(), "a!a!al|l", &r_array, &e_array, &dont_poll_array, &sec, &usec) == FAILURE) {
760 if (sec < 0 || usec < 0) {
761 php_error_docref(NULL, E_WARNING, "Negative values passed for sec and/or usec");
777 ret = mysqlnd_poll(new_r_array, new_e_array, &new_dont_poll_array, sec, usec, &desc_num);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c2560 int usec; local
2565 usec = (int)(end.tv_usec - start.tv_usec);
2568 usec = (int)(end.tv_usec + 1000000 - start.tv_usec);
2570 fprintf(stderr, "\nElapsed time: %d.%06d sec\n", sec, usec);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd.h116 PHPAPI enum_func_status mysqlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, int * desc_num);
H A Dmysqlnd.c1382 mysqlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, int * desc_num) argument
1392 if (sec < 0 || usec < 0) {
1393 php_error_docref(NULL, E_WARNING, "Negative values passed for sec and/or usec");
1427 if (usec > 999999) {
1428 tv.tv_sec = sec + (usec / 1000000);
1429 tv.tv_usec = usec % 1000000;
1432 tv.tv_usec = usec;

Completed in 22 milliseconds