Home
last modified time | relevance | path

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

12

/PHP-5.4/main/
H A Dnetwork.c1143 struct timeval tv; local
1170 tv.tv_sec = timeout / 1000;
1171 tv.tv_usec = (timeout - (tv.tv_sec * 1000)) * 1000;
1179 n = select(max_fd + 1, &rset, &wset, &eset, timeout >= 0 ? &tv : NULL);
/PHP-5.4/sapi/cli/
H A Dphp_cli_server.c317 struct timeval tv; in php_cli_server_get_system_time() local
320 gettimeofday(&tv, NULL); in php_cli_server_get_system_time()
323 php_localtime_r(&tv.tv_sec, &tm); in php_cli_server_get_system_time()
772 static int php_cli_server_poller_poll(php_cli_server_poller *poller, struct timeval *tv) /* {{{ */ in php_cli_server_poller_poll() argument
776 return php_select(poller->max_fd + 1, &poller->active.rfds, &poller->active.wfds, NULL, tv); in php_cli_server_poller_poll()
1679 struct timeval tv = { 10, 0 }; in php_cli_server_client_send_through() local
1686 int nfds = php_pollfd_for(client->sock, POLLOUT, &tv); in php_cli_server_client_send_through()
2353 struct timeval tv = { 1, 0 }; in php_cli_server_do_event_loop() local
2354 int n = php_cli_server_poller_poll(&server->poller, &tv); in php_cli_server_do_event_loop()
H A Dphp_cli.c236 struct timeval tv; in sapi_cli_select() local
244 tv.tv_sec = FG(default_socket_timeout); in sapi_cli_select()
245 tv.tv_usec = 0; in sapi_cli_select()
247 ret = php_select(fd+1, &dfd, &wfd, &dfd, &tv); in sapi_cli_select()
/PHP-5.4/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.4/win32/build/
H A Dconfutils.js1362 var tv;
1373 tv = configure_subst.Item(sym);
1375 tv = "";
1422 tv += " " + sub_build + obj;
1443 DEFINE(sym, tv);
/PHP-5.4/ext/soap/
H A Dphp_http.c172 struct timeval tv; in http_connect() local
188 tv.tv_sec = Z_LVAL_PP(tmp); in http_connect()
189 tv.tv_usec = 0; in http_connect()
190 timeout = &tv; in http_connect()
/PHP-5.4/ext/mysqlnd/
H A Dmysqlnd.c1234 struct timeval tv; local
1279 tv.tv_sec = sec + (usec / 1000000);
1280 tv.tv_usec = usec % 1000000;
1282 tv.tv_sec = sec;
1283 tv.tv_usec = usec;
1286 tv_p = &tv;
/PHP-5.4/sapi/fpm/fpm/
H A Dfastcgi.c865 struct timeval tv = {5,0};
873 ret = select(req->fd + 1, &set, NULL, NULL, &tv) >= 0;
/PHP-5.4/main/streams/
H A Duserspace.c1101 struct timeval tv = *(struct timeval*)ptrparam; in php_userstreamop_set_option() local
1102 ZVAL_LONG(zvalue, tv.tv_sec); in php_userstreamop_set_option()
1103 ZVAL_LONG(zptrparam, tv.tv_usec); in php_userstreamop_set_option()
/PHP-5.4/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.4/sapi/cgi/
H A Dfastcgi.c1250 struct timeval tv = {5,0};
1258 ret = select(req->fd + 1, &set, NULL, NULL, &tv) >= 0;

Completed in 104 milliseconds

12