Home
last modified time | relevance | path

Searched refs:tv (Results 26 – 36 of 36) sorted by relevance

12

/PHP-5.5/main/
H A Dnetwork.c1145 struct timeval tv; local
1172 tv.tv_sec = timeout / 1000;
1173 tv.tv_usec = (timeout - (tv.tv_sec * 1000)) * 1000;
1181 n = select(max_fd + 1, &rset, &wset, &eset, timeout >= 0 ? &tv : NULL);
/PHP-5.5/sapi/cli/
H A Dphp_cli.c239 struct timeval tv; in sapi_cli_select() local
247 tv.tv_sec = FG(default_socket_timeout); in sapi_cli_select()
248 tv.tv_usec = 0; in sapi_cli_select()
250 ret = php_select(fd+1, &dfd, &wfd, &dfd, &tv); in sapi_cli_select()
H A Dphp_cli_server.c362 struct timeval tv; in php_cli_server_get_system_time() local
365 gettimeofday(&tv, NULL); in php_cli_server_get_system_time()
368 php_localtime_r(&tv.tv_sec, &tm); in php_cli_server_get_system_time()
903 static int php_cli_server_poller_poll(php_cli_server_poller *poller, struct timeval *tv) /* {{{ */ in php_cli_server_poller_poll() argument
907 return php_select(poller->max_fd + 1, &poller->active.rfds, &poller->active.wfds, NULL, tv); in php_cli_server_poller_poll()
1817 struct timeval tv = { 10, 0 }; in php_cli_server_client_send_through() local
1824 int nfds = php_pollfd_for(client->sock, POLLOUT, &tv); in php_cli_server_client_send_through()
2489 struct timeval tv = { 1, 0 }; in php_cli_server_do_event_loop() local
2490 int n = php_cli_server_poller_poll(&server->poller, &tv); in php_cli_server_do_event_loop()
/PHP-5.5/sapi/thttpd/
H A Dthttpd_patch1627 (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.5/win32/build/
H A Dconfutils.js1395 var tv;
1406 tv = configure_subst.Item(sym);
1408 tv = "";
1455 tv += " " + sub_build + obj;
1476 DEFINE(sym, tv);
/PHP-5.5/ext/soap/
H A Dphp_http.c173 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.5/sapi/fpm/fpm/
H A Dfastcgi.c896 struct timeval tv = {5,0};
904 ret = select(req->fd + 1, &set, NULL, NULL, &tv) >= 0;
/PHP-5.5/main/streams/
H A Duserspace.c1111 struct timeval tv = *(struct timeval*)ptrparam; in php_userstreamop_set_option() local
1112 ZVAL_LONG(zvalue, tv.tv_sec); in php_userstreamop_set_option()
1113 ZVAL_LONG(zptrparam, tv.tv_usec); in php_userstreamop_set_option()
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd.c1359 struct timeval tv; local
1403 tv.tv_sec = sec + (usec / 1000000);
1404 tv.tv_usec = usec % 1000000;
1406 tv.tv_sec = sec;
1407 tv.tv_usec = usec;
1410 tv_p = &tv;
/PHP-5.5/sapi/litespeed/
H A Dlsapilib.c1101 struct timeval tv; in init_conn_key() local
1103 gettimeofday( &tv, NULL ); in init_conn_key()
1104 srand( (tv.tv_sec % 0x1000 + tv.tv_usec) ^ rand() ); in init_conn_key()
/PHP-5.5/sapi/cgi/
H A Dfastcgi.c1252 struct timeval tv = {5,0};
1260 ret = select(req->fd + 1, &set, NULL, NULL, &tv) >= 0;

Completed in 65 milliseconds

12