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

/PHP_5_5/ext/standard/tests/mail/
H A Dmail_skipif.inc9 socket_set_option($socket, SOL_SOCKET, SO_RCVTIMEO, array('sec' => 10, 'usec' => 10));
/PHP_5_5/ext/sockets/
H A Dsockets.c850 long usec = 0; local
852 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a!a!a!z!|l", &r_array, &w_array, &e_array, &sec, &usec) == FAILURE) {
883 if (usec > 999999) {
884 tv.tv_sec = Z_LVAL_P(sec) + (usec / 1000000);
885 tv.tv_usec = usec % 1000000;
888 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 (zend_hash_find(opt_ht, usec_key, sizeof(usec_key), (void **)&usec)
[all...]
/PHP_5_5/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.c782 long usec = 0; local
785 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a!a!a!Z!|l", &r_array, &w_array, &e_array, &sec, &usec) == FAILURE)
827 } else if (usec < 0) {
833 if (usec > 999999) {
834 tv.tv_sec = Z_LVAL_PP(sec) + (usec / 1000000);
835 tv.tv_usec = usec % 1000000;
838 tv.tv_usec = usec;
/PHP_5_5/ext/mysqli/
H A Dmysqli_fe.c70 ZEND_ARG_INFO(0, usec)
H A Dmysqli_nonapi.c770 /* {{{ proto int mysqli_poll(array read, array write, array error, long sec [, long usec]) U
776 long sec = 0, usec = 0; local
780 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a!a!al|l", &r_array, &e_array, &dont_poll_array, &sec, &usec) == FAILURE) {
783 if (sec < 0 || usec < 0) {
784 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Negative values passed for sec and/or usec");
800 ret = mysqlnd_poll(new_r_array, new_e_array, &new_dont_poll_array, sec, usec, &desc_num);
/PHP_5_5/ext/mysqlnd/
H A Dmysqlnd.h116 #define mysqlnd_poll(r, err, d_pull,sec,usec,desc_num) _mysqlnd_poll((r), (err), (d_pull), (sec), (usec), (desc_num) TSRMLS_CC)
120 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.c1343 _mysqlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, int * desc_num TSRMLS_DC) argument
1353 if (sec < 0 || usec < 0) {
1354 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Negative values passed for sec and/or usec");
1388 if (usec > 999999) {
1389 tv.tv_sec = sec + (usec / 1000000);
1390 tv.tv_usec = usec % 1000000;
1393 tv.tv_usec = usec;
/PHP_5_5/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);

Completed in 39 milliseconds