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

/PHP_5_3/ext/standard/tests/mail/
H A Dmail_skipif.inc9 socket_set_option($socket, SOL_SOCKET, SO_RCVTIMEO, array('sec' => 10, 'usec' => 10));
/PHP_5_3/ext/mysqli/
H A Dmysqli_fe.c70 ZEND_ARG_INFO(0, usec)
H A Dmysqli_nonapi.c696 /* {{{ proto int mysqli_poll(array read, array write, array error, long sec [, long usec]) U
702 long sec = 0, usec = 0; local
706 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a!a!al|l", &r_array, &e_array, &dont_poll_array, &sec, &usec) == FAILURE) {
709 if (sec < 0 || usec < 0) {
710 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Negative values passed for sec and/or usec");
726 ret = mysqlnd_poll(new_r_array, new_e_array, &new_dont_poll_array, sec, usec, &desc_num);
/PHP_5_3/ext/sockets/
H A Dsockets.c794 long usec = 0; local
796 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a!a!a!z!|l", &r_array, &w_array, &e_array, &sec, &usec) == FAILURE) {
827 if (usec > 999999) {
828 tv.tv_sec = Z_LVAL_P(sec) + (usec / 1000000);
829 tv.tv_usec = usec % 1000000;
832 tv.tv_usec = usec;
1787 add_assoc_long(return_value, "usec", tv.tv_usec);
1821 zval **sec, **usec; local
1826 char *usec_key = "usec";
1869 if (zend_hash_find(opt_ht, usec_key, strlen(usec_key) + 1, (void **)&usec)
[all...]
/PHP_5_3/ext/standard/
H A Duniqid.c53 int sec, usec, prefix_len = 0; local
73 usec = (int) (tv.tv_usec % 0x100000);
75 /* The max value usec can have is 0xF423F, so we use only five hex
79 spprintf(&uniqid, 0, "%s%08x%05x%.8F", prefix, sec, usec, php_combined_lcg(TSRMLS_C) * 10);
81 spprintf(&uniqid, 0, "%s%08x%05x", prefix, sec, usec);
H A Dstreamsfuncs.c771 long usec = 0; local
774 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a!a!a!Z!|l", &r_array, &w_array, &e_array, &sec, &usec) == FAILURE)
816 } else if (usec < 0) {
822 if (usec > 999999) {
823 tv.tv_sec = Z_LVAL_PP(sec) + (usec / 1000000);
824 tv.tv_usec = usec % 1000000;
827 tv.tv_usec = usec;
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd.h130 #define mysqlnd_poll(r, err, d_pull,sec,usec,desc_num) _mysqlnd_poll((r), (err), (d_pull), (sec), (usec), (desc_num) TSRMLS_CC)
134 PHPAPI enum_func_status _mysqlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, uint * desc_num TSRMLS_DC);
H A Dmysqlnd.c1203 _mysqlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, uint * desc_num TSRMLS_DC) argument
1214 if (sec < 0 || usec < 0) {
1215 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Negative values passed for sec and/or usec");
1250 if (usec > 999999) {
1251 tv.tv_sec = sec + (usec / 1000000);
1252 tv.tv_usec = usec % 1000000;
1255 tv.tv_usec = usec;
/PHP_5_3/sapi/cgi/
H A Dcgi_main.c2241 int usec; local
2246 usec = (int)(end.tv_usec - start.tv_usec);
2249 usec = (int)(end.tv_usec + 1000000 - start.tv_usec);
2251 fprintf(stderr, "\nElapsed time: %d.%06d sec\n", sec, usec);

Completed in 21 milliseconds