Searched refs:tv (Results 26 – 37 of 37) sorted by relevance
12
/PHP-5.6/sapi/cli/ |
H A D | php_cli.c | 243 struct timeval tv; in sapi_cli_select() local 251 tv.tv_sec = FG(default_socket_timeout); in sapi_cli_select() 252 tv.tv_usec = 0; in sapi_cli_select() 254 ret = php_select(fd+1, &dfd, &wfd, &dfd, &tv); in sapi_cli_select()
|
H A D | php_cli_server.c | 363 struct timeval tv; in php_cli_server_get_system_time() local 366 gettimeofday(&tv, NULL); in php_cli_server_get_system_time() 369 php_localtime_r(&tv.tv_sec, &tm); in php_cli_server_get_system_time() 907 static int php_cli_server_poller_poll(php_cli_server_poller *poller, struct timeval *tv) /* {{{ */ in php_cli_server_poller_poll() argument 911 return php_select(poller->max_fd + 1, &poller->active.rfds, &poller->active.wfds, NULL, tv); in php_cli_server_poller_poll() 1833 struct timeval tv = { 10, 0 }; in php_cli_server_client_send_through() local 1840 int nfds = php_pollfd_for(client->sock, POLLOUT, &tv); in php_cli_server_client_send_through() 2520 struct timeval tv = { 1, 0 }; in php_cli_server_do_event_loop() local 2521 int n = php_cli_server_poller_poll(&server->poller, &tv); in php_cli_server_do_event_loop()
|
/PHP-5.6/sapi/thttpd/ |
H A D | thttpd_patch | 1627 (void) gettimeofday( &tv, (struct timezone*) 0 ); 1628 + httpd_time_now = tv.tv_sec; 1629 + periodic_jobs(JunkClientData, &tv); 1637 (void) gettimeofday( &tv, (struct timezone*) 0 ); 1638 + httpd_time_now = tv.tv_sec; 1649 - handle_read( c, &tv ); 1652 - handle_send( c, &tv ); 1655 - handle_linger( c, &tv ); 1661 tmr_run( &tv ); 1690 logstats( &tv ); [all …]
|
/PHP-5.6/ext/openssl/ |
H A D | xp_ssl.c | 2166 struct timeval tv; in php_openssl_sockop_set_option() local 2172 tv.tv_sec = FG(default_socket_timeout); in php_openssl_sockop_set_option() 2173 tv.tv_usec = 0; in php_openssl_sockop_set_option() 2175 tv = sslsock->connect_timeout; in php_openssl_sockop_set_option() 2178 tv.tv_sec = value; in php_openssl_sockop_set_option() 2179 tv.tv_usec = 0; in php_openssl_sockop_set_option() 2184 } else if (php_pollfd_for(sslsock->s.socket, PHP_POLLREADABLE|POLLPRI, &tv) > 0) { in php_openssl_sockop_set_option()
|
H A D | openssl.c | 977 struct timeval tv; in php_openssl_rand_add_timeval() local 979 gettimeofday(&tv, NULL); in php_openssl_rand_add_timeval() 980 RAND_add(&tv, sizeof(tv), 0.0); in php_openssl_rand_add_timeval()
|
/PHP-5.6/win32/build/ |
H A D | confutils.js | 1397 var tv; 1408 tv = configure_subst.Item(sym); 1410 tv = ""; 1457 tv += " " + sub_build + obj; 1483 DEFINE(sym, tv);
|
/PHP-5.6/ext/soap/ |
H A D | php_http.c | 173 struct timeval tv; in http_connect() local 189 tv.tv_sec = Z_LVAL_PP(tmp); in http_connect() 190 tv.tv_usec = 0; in http_connect() 191 timeout = &tv; in http_connect()
|
/PHP-5.6/sapi/fpm/fpm/ |
H A D | fastcgi.c | 896 struct timeval tv = {5,0}; 904 ret = select(req->fd + 1, &set, NULL, NULL, &tv) >= 0;
|
/PHP-5.6/main/streams/ |
H A D | userspace.c | 1117 struct timeval tv = *(struct timeval*)ptrparam; in php_userstreamop_set_option() local 1118 ZVAL_LONG(zvalue, tv.tv_sec); in php_userstreamop_set_option() 1119 ZVAL_LONG(zptrparam, tv.tv_usec); in php_userstreamop_set_option()
|
/PHP-5.6/ext/mysqlnd/ |
H A D | mysqlnd.c | 1387 struct timeval tv; local 1431 tv.tv_sec = sec + (usec / 1000000); 1432 tv.tv_usec = usec % 1000000; 1434 tv.tv_sec = sec; 1435 tv.tv_usec = usec; 1438 tv_p = &tv;
|
/PHP-5.6/sapi/litespeed/ |
H A D | lsapilib.c | 1153 struct timeval tv; in init_conn_key() local 1155 gettimeofday( &tv, NULL ); in init_conn_key() 1156 srand( (tv.tv_sec % 0x1000 + tv.tv_usec) ^ rand() ); in init_conn_key()
|
/PHP-5.6/sapi/cgi/ |
H A D | fastcgi.c | 1252 struct timeval tv = {5,0}; 1260 ret = select(req->fd + 1, &set, NULL, NULL, &tv) >= 0;
|
Completed in 89 milliseconds
12