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/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() TSRMLS_CC, "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 TSRMLS_CC, 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/ext/mysqlnd/
H A Dmysqlnd.h117 #define mysqlnd_poll(r, err, d_pull,sec,usec,desc_num) _mysqlnd_poll((r), (err), (d_pull), (sec), (usec), (desc_num) TSRMLS_CC)
121 PHPAPI enum_func_status _mysqlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, int * desc_num TSRMLS_DC);
H A Dmysqlnd.c1369 _mysqlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, int * desc_num TSRMLS_DC) argument
1379 if (sec < 0 || usec < 0) {
1380 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Negative values passed for sec and/or usec");
1414 if (usec > 999999) {
1415 tv.tv_sec = sec + (usec / 1000000);
1416 tv.tv_usec = usec % 1000000;
1419 tv.tv_usec = usec;
/PHP_TRUNK/ext/sockets/
H A Dsockets.c839 zend_long usec = 0; local
841 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a/!a/!a/!z!|l", &r_array, &w_array, &e_array, &sec, &usec) == FAILURE) {
872 if (usec > 999999) {
873 tv.tv_sec = Z_LVAL_P(sec) + (usec / 1000000);
874 tv.tv_usec = usec % 1000000;
877 tv.tv_usec = usec;
1919 add_assoc_long(return_value, "usec", tv.tv_usec);
1955 zval *sec, *usec; local
2020 const char usec_key[] = "usec";
2029 if ((usec
[all...]
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c726 zend_long usec = 0; local
729 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a/!a/!a/!z!|l", &r_array, &w_array, &e_array, &sec, &usec) == FAILURE)
771 } else if (usec < 0) {
777 if (usec > 999999) {
778 tv.tv_sec = Z_LVAL_P(sec) + (usec / 1000000);
779 tv.tv_usec = usec % 1000000;
782 tv.tv_usec = usec;
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(TSRMLS_C) * 10);
82 uniqid = strpprintf(0, "%s%08x%05x", prefix, sec, usec);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c2581 int usec; local
2586 usec = (int)(end.tv_usec - start.tv_usec);
2589 usec = (int)(end.tv_usec + 1000000 - start.tv_usec);
2591 fprintf(stderr, "\nElapsed time: %d.%06d sec\n", sec, usec);

Completed in 38 milliseconds