tv 128 ext/ftp/ftp.c struct timeval tv; tv 134 ext/ftp/ftp.c tv.tv_sec = timeout_sec; tv 135 ext/ftp/ftp.c tv.tv_usec = 0; tv 139 ext/ftp/ftp.c 0, &tv, NULL, NULL, NULL, 0 TSRMLS_CC); tv 1378 ext/ftp/ftp.c struct timeval tv; tv 1406 ext/ftp/ftp.c tv.tv_sec = ftp->timeout_sec; tv 1407 ext/ftp/ftp.c tv.tv_usec = 0; tv 1408 ext/ftp/ftp.c if (php_connect_nonb(fd, (struct sockaddr*) &ftp->pasvaddr, size, &tv) == -1) { tv 1387 ext/mysqlnd/mysqlnd.c struct timeval tv; tv 1431 ext/mysqlnd/mysqlnd.c tv.tv_sec = sec + (usec / 1000000); tv 1432 ext/mysqlnd/mysqlnd.c tv.tv_usec = usec % 1000000; tv 1434 ext/mysqlnd/mysqlnd.c tv.tv_sec = sec; tv 1435 ext/mysqlnd/mysqlnd.c tv.tv_usec = usec; tv 1438 ext/mysqlnd/mysqlnd.c tv_p = &tv; tv 104 ext/mysqlnd/mysqlnd_debug.c struct timeval tv; tv 106 ext/mysqlnd/mysqlnd_debug.c if (gettimeofday(&tv, NULL) != -1) { tv 107 ext/mysqlnd/mysqlnd_debug.c if ((tm_p= localtime((const time_t *)&tv.tv_sec))) { tv 113 ext/mysqlnd/mysqlnd_debug.c (int) (tv.tv_usec)); tv 202 ext/mysqlnd/mysqlnd_debug.c struct timeval tv; tv 204 ext/mysqlnd/mysqlnd_debug.c if (gettimeofday(&tv, NULL) != -1) { tv 205 ext/mysqlnd/mysqlnd_debug.c if ((tm_p= localtime((const time_t *)&tv.tv_sec))) { tv 211 ext/mysqlnd/mysqlnd_debug.c (int) (tv.tv_usec)); tv 183 ext/mysqlnd/mysqlnd_net.c struct timeval tv; tv 196 ext/mysqlnd/mysqlnd_net.c tv.tv_sec = net->data->options.timeout_connect; tv 197 ext/mysqlnd/mysqlnd_net.c tv.tv_usec = 0; tv 202 ext/mysqlnd/mysqlnd_net.c hashed_details, (net->data->options.timeout_connect) ? &tv : NULL, tv 268 ext/mysqlnd/mysqlnd_net.c struct timeval tv; tv 270 ext/mysqlnd/mysqlnd_net.c tv.tv_sec = net->data->options.timeout_read; tv 271 ext/mysqlnd/mysqlnd_net.c tv.tv_usec = 0; tv 272 ext/mysqlnd/mysqlnd_net.c php_stream_set_option(net_stream, PHP_STREAM_OPTION_READ_TIMEOUT, 0, &tv); tv 993 ext/mysqlnd/mysqlnd_net.c struct timeval tv; tv 995 ext/mysqlnd/mysqlnd_net.c tv.tv_sec = net->data->options.timeout_read; tv 996 ext/mysqlnd/mysqlnd_net.c tv.tv_usec = 0; tv 997 ext/mysqlnd/mysqlnd_net.c php_stream_set_option(net_stream, PHP_STREAM_OPTION_READ_TIMEOUT, 0, &tv); tv 49 ext/opcache/Optimizer/pass1_5.c zend_uint tv = ZEND_RESULT(opline).var; /* temporary variable */ tv 74 ext/opcache/Optimizer/pass1_5.c replace_tmp_by_const(op_array, opline + 1, tv, &result TSRMLS_CC); tv 84 ext/opcache/Optimizer/pass1_5.c zend_uint tv = ZEND_RESULT(opline).var; /* temporary variable */ tv 109 ext/opcache/Optimizer/pass1_5.c replace_tmp_by_const(op_array, opline + 1, tv, &res TSRMLS_CC); tv 123 ext/opcache/Optimizer/pass1_5.c zend_uint tv = ZEND_RESULT(opline).var; /* temporary variable */ tv 143 ext/opcache/Optimizer/pass1_5.c replace_tmp_by_const(op_array, opline + 1, tv, &result TSRMLS_CC); tv 233 ext/opcache/Optimizer/pass1_5.c zend_uint tv = ZEND_RESULT(opline).var; tv 237 ext/opcache/Optimizer/pass1_5.c replace_tmp_by_const(op_array, opline, tv, &offset TSRMLS_CC); tv 248 ext/opcache/Optimizer/pass1_5.c zend_uint tv = ZEND_RESULT(opline).var; tv 261 ext/opcache/Optimizer/pass1_5.c replace_tmp_by_const(op_array, opline, tv, &c TSRMLS_CC); tv 303 ext/opcache/Optimizer/pass1_5.c zend_uint tv = ZEND_RESULT(opline).var; tv 332 ext/opcache/Optimizer/pass1_5.c replace_tmp_by_const(op_array, opline, tv, &t TSRMLS_CC); tv 2163 ext/openssl/xp_ssl.c struct timeval tv; tv 2169 ext/openssl/xp_ssl.c tv.tv_sec = FG(default_socket_timeout); tv 2170 ext/openssl/xp_ssl.c tv.tv_usec = 0; tv 2172 ext/openssl/xp_ssl.c tv = sslsock->connect_timeout; tv 2175 ext/openssl/xp_ssl.c tv.tv_sec = value; tv 2176 ext/openssl/xp_ssl.c tv.tv_usec = 0; tv 2181 ext/openssl/xp_ssl.c } else if (php_pollfd_for(sslsock->s.socket, PHP_POLLREADABLE|POLLPRI, &tv) > 0) { tv 298 ext/session/session.c struct timeval tv; tv 303 ext/session/session.c gettimeofday(&tv, NULL); tv 314 ext/session/session.c spprintf(&buf, 0, "%.15s%ld%ld%0.8F", remote_addr ? remote_addr : "", tv.tv_sec, (long int)tv.tv_usec, php_combined_lcg(TSRMLS_C) * 10); tv 1199 ext/session/session.c struct timeval tv; tv 1202 ext/session/session.c gettimeofday(&tv, NULL); tv 1203 ext/session/session.c now = tv.tv_sec + PS(cache_expire) * 60; tv 1368 ext/session/session.c struct timeval tv; tv 1371 ext/session/session.c gettimeofday(&tv, NULL); tv 1372 ext/session/session.c t = tv.tv_sec + PS(cookie_lifetime); tv 2620 ext/session/session.c struct timeval tv = {0}; tv 2622 ext/session/session.c gettimeofday(&tv, NULL); tv 2623 ext/session/session.c dtv = (double) tv.tv_sec + tv.tv_usec / 1000000.0; tv 173 ext/soap/php_http.c struct timeval tv; tv 189 ext/soap/php_http.c tv.tv_sec = Z_LVAL_PP(tmp); tv 190 ext/soap/php_http.c tv.tv_usec = 0; tv 191 ext/soap/php_http.c timeout = &tv; tv 845 ext/sockets/sockets.c struct timeval tv; tv 884 ext/sockets/sockets.c tv.tv_sec = Z_LVAL_P(sec) + (usec / 1000000); tv 885 ext/sockets/sockets.c tv.tv_usec = usec % 1000000; tv 887 ext/sockets/sockets.c tv.tv_sec = Z_LVAL_P(sec); tv 888 ext/sockets/sockets.c tv.tv_usec = usec; tv 891 ext/sockets/sockets.c tv_p = &tv; tv 1836 ext/sockets/sockets.c struct timeval tv; tv 1898 ext/sockets/sockets.c optlen = sizeof(tv); tv 1900 ext/sockets/sockets.c if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&tv, &optlen) != 0) { tv 1912 ext/sockets/sockets.c tv.tv_sec = timeout ? timeout / 1000 : 0; tv 1913 ext/sockets/sockets.c tv.tv_usec = timeout ? (timeout * 1000) % 1000000 : 0; tv 1918 ext/sockets/sockets.c add_assoc_long(return_value, "sec", tv.tv_sec); tv 1919 ext/sockets/sockets.c add_assoc_long(return_value, "usec", tv.tv_usec); tv 1949 ext/sockets/sockets.c struct timeval tv; tv 2037 ext/sockets/sockets.c tv.tv_sec = Z_LVAL_PP(sec); tv 2038 ext/sockets/sockets.c tv.tv_usec = Z_LVAL_PP(usec); tv 2039 ext/sockets/sockets.c optlen = sizeof(tv); tv 2040 ext/sockets/sockets.c opt_ptr = &tv; tv 40 ext/standard/fsock.c struct timeval tv; tv 67 ext/standard/fsock.c tv.tv_sec = conv / 1000000; tv 68 ext/standard/fsock.c tv.tv_usec = conv % 1000000; tv 80 ext/standard/fsock.c STREAM_XPORT_CLIENT | STREAM_XPORT_CONNECT, hashkey, &tv, NULL, &errstr, &err); tv 78 ext/standard/lcg.c struct timeval tv; tv 80 ext/standard/lcg.c if (gettimeofday(&tv, NULL) == 0) { tv 81 ext/standard/lcg.c LCG(s1) = tv.tv_sec ^ (tv.tv_usec<<11); tv 92 ext/standard/lcg.c if (gettimeofday(&tv, NULL) == 0) { tv 93 ext/standard/lcg.c LCG(s2) ^= (tv.tv_usec<<11); tv 95 ext/standard/streamsfuncs.c struct timeval tv; tv 118 ext/standard/streamsfuncs.c tv.tv_sec = (long)(conv / 1000000); tv 119 ext/standard/streamsfuncs.c tv.tv_usec =(long)(conv % 1000000); tv 121 ext/standard/streamsfuncs.c tv.tv_sec = conv / 1000000; tv 122 ext/standard/streamsfuncs.c tv.tv_usec = conv % 1000000; tv 136 ext/standard/streamsfuncs.c hashkey, &tv, context, &errstr, &err); tv 249 ext/standard/streamsfuncs.c struct timeval tv; tv 264 ext/standard/streamsfuncs.c tv.tv_sec = (long)(conv / 1000000); tv 265 ext/standard/streamsfuncs.c tv.tv_usec = (long)(conv % 1000000); tv 267 ext/standard/streamsfuncs.c tv.tv_sec = conv / 1000000; tv 268 ext/standard/streamsfuncs.c tv.tv_usec = conv % 1000000; tv 279 ext/standard/streamsfuncs.c &tv, &errstr tv 768 ext/standard/streamsfuncs.c struct timeval tv; tv 825 ext/standard/streamsfuncs.c tv.tv_sec = Z_LVAL_PP(sec) + (usec / 1000000); tv 826 ext/standard/streamsfuncs.c tv.tv_usec = usec % 1000000; tv 828 ext/standard/streamsfuncs.c tv.tv_sec = Z_LVAL_PP(sec); tv 829 ext/standard/streamsfuncs.c tv.tv_usec = usec; tv 832 ext/standard/streamsfuncs.c tv_p = &tv; tv 54 ext/standard/uniqid.c struct timeval tv; tv 71 ext/standard/uniqid.c gettimeofday((struct timeval *) &tv, (struct timezone *) NULL); tv 72 ext/standard/uniqid.c sec = (int) tv.tv_sec; tv 73 ext/standard/uniqid.c usec = (int) (tv.tv_usec % 0x100000); tv 1145 main/network.c struct timeval tv; tv 1172 main/network.c tv.tv_sec = timeout / 1000; tv 1173 main/network.c tv.tv_usec = (timeout - (tv.tv_sec * 1000)) * 1000; tv 1181 main/network.c n = select(max_fd + 1, &rset, &wset, &eset, timeout >= 0 ? &tv : NULL); tv 1112 main/streams/userspace.c struct timeval tv = *(struct timeval*)ptrparam; tv 1113 main/streams/userspace.c ZVAL_LONG(zvalue, tv.tv_sec); tv 1114 main/streams/userspace.c ZVAL_LONG(zptrparam, tv.tv_usec); tv 277 main/streams/xp_socket.c struct timeval tv; tv 283 main/streams/xp_socket.c tv.tv_sec = FG(default_socket_timeout); tv 284 main/streams/xp_socket.c tv.tv_usec = 0; tv 286 main/streams/xp_socket.c tv = sock->timeout; tv 289 main/streams/xp_socket.c tv.tv_sec = value; tv 290 main/streams/xp_socket.c tv.tv_usec = 0; tv 295 main/streams/xp_socket.c } else if (php_pollfd_for(sock->socket, PHP_POLLREADABLE|POLLPRI, &tv) > 0) { tv 1252 sapi/cgi/fastcgi.c struct timeval tv = {5,0}; tv 1260 sapi/cgi/fastcgi.c ret = select(req->fd + 1, &set, NULL, NULL, &tv) >= 0; tv 239 sapi/cli/php_cli.c struct timeval tv; tv 247 sapi/cli/php_cli.c tv.tv_sec = FG(default_socket_timeout); tv 248 sapi/cli/php_cli.c tv.tv_usec = 0; tv 250 sapi/cli/php_cli.c ret = php_select(fd+1, &dfd, &wfd, &dfd, &tv); tv 363 sapi/cli/php_cli_server.c struct timeval tv; tv 366 sapi/cli/php_cli_server.c gettimeofday(&tv, NULL); tv 369 sapi/cli/php_cli_server.c php_localtime_r(&tv.tv_sec, &tm); tv 907 sapi/cli/php_cli_server.c static int php_cli_server_poller_poll(php_cli_server_poller *poller, struct timeval *tv) /* {{{ */ tv 911 sapi/cli/php_cli_server.c return php_select(poller->max_fd + 1, &poller->active.rfds, &poller->active.wfds, NULL, tv); tv 1833 sapi/cli/php_cli_server.c struct timeval tv = { 10, 0 }; tv 1840 sapi/cli/php_cli_server.c int nfds = php_pollfd_for(client->sock, POLLOUT, &tv); tv 2520 sapi/cli/php_cli_server.c struct timeval tv = { 1, 0 }; tv 2521 sapi/cli/php_cli_server.c int n = php_cli_server_poller_poll(&server->poller, &tv); tv 896 sapi/fpm/fpm/fastcgi.c struct timeval tv = {5,0}; tv 904 sapi/fpm/fpm/fastcgi.c ret = select(req->fd + 1, &set, NULL, NULL, &tv) >= 0; tv 34 sapi/fpm/fpm/fpm_clock.c int fpm_clock_get(struct timeval *tv) /* {{{ */ tv 44 sapi/fpm/fpm/fpm_clock.c tv->tv_sec = ts.tv_sec; tv 45 sapi/fpm/fpm/fpm_clock.c tv->tv_usec = ts.tv_nsec / 1000; tv 49 sapi/fpm/fpm/fpm_clock.c return gettimeofday(tv, 0); tv 88 sapi/fpm/fpm/fpm_clock.c int fpm_clock_get(struct timeval *tv) /* {{{ */ tv 100 sapi/fpm/fpm/fpm_clock.c tv->tv_sec = aTime.tv_sec; tv 101 sapi/fpm/fpm/fpm_clock.c tv->tv_usec = aTime.tv_nsec / 1000; tv 115 sapi/fpm/fpm/fpm_clock.c int fpm_clock_get(struct timeval *tv) /* {{{ */ tv 117 sapi/fpm/fpm/fpm_clock.c return gettimeofday(tv, 0); tv 11 sapi/fpm/fpm/fpm_clock.h int fpm_clock_get(struct timeval *tv); tv 47 sapi/fpm/fpm/fpm_php_trace.c struct timeval tv; tv 53 sapi/fpm/fpm/fpm_php_trace.c gettimeofday(&tv, 0); tv 55 sapi/fpm/fpm/fpm_php_trace.c zlog_print_time(&tv, buf, buf_size); tv 53 sapi/fpm/fpm/fpm_request.c proc->tv = now; tv 84 sapi/fpm/fpm/fpm_request.c proc->tv = now; tv 126 sapi/fpm/fpm/fpm_request.c proc->tv = now; tv 170 sapi/fpm/fpm/fpm_request.c proc->tv = now; tv 195 sapi/fpm/fpm/fpm_request.c proc->tv = now; tv 198 sapi/fpm/fpm/fpm_request.c timersub(&proc->tv, &proc->accepted, &proc->cpu_duration); tv 223 sapi/fpm/fpm/fpm_request.c proc->tv = now; tv 252 sapi/fpm/fpm/fpm_request.c struct timeval tv; tv 254 sapi/fpm/fpm/fpm_request.c timersub(now, &proc.accepted, &tv); tv 258 sapi/fpm/fpm/fpm_request.c proc.request_stage == FPM_REQUEST_EXECUTING && tv.tv_sec >= slowlog_timeout) { tv 269 sapi/fpm/fpm/fpm_request.c (int) tv.tv_sec, (int) tv.tv_usec); tv 273 sapi/fpm/fpm/fpm_request.c if (terminate_timeout && tv.tv_sec >= terminate_timeout) { tv 279 sapi/fpm/fpm/fpm_request.c (int) tv.tv_sec, (int) tv.tv_usec); tv 299 sapi/fpm/fpm/fpm_request.c int fpm_request_last_activity(struct fpm_child_s *child, struct timeval *tv) /* {{{ */ tv 303 sapi/fpm/fpm/fpm_request.c if (!tv) return -1; tv 310 sapi/fpm/fpm/fpm_request.c *tv = proc->tv; tv 18 sapi/fpm/fpm/fpm_request.h void fpm_request_check_timed_out(struct fpm_child_s *child, struct timeval *tv, int terminate_timeout, int slowlog_timeout); tv 21 sapi/fpm/fpm/fpm_request.h int fpm_request_last_activity(struct fpm_child_s *child, struct timeval *tv); tv 33 sapi/fpm/fpm/fpm_scoreboard.h struct timeval tv; tv 485 sapi/fpm/fpm/fpm_unix.c struct timeval tv; tv 517 sapi/fpm/fpm/fpm_unix.c tv.tv_sec = 10; tv 518 sapi/fpm/fpm/fpm_unix.c tv.tv_usec = 0; tv 521 sapi/fpm/fpm/fpm_unix.c ret = select(fpm_globals.send_config_pipe[0] + 1, &rfds, NULL, NULL, &tv); tv 67 sapi/fpm/fpm/zlog.c size_t zlog_print_time(struct timeval *tv, char *timebuf, size_t timebuf_len) /* {{{ */ tv 72 sapi/fpm/fpm/zlog.c len = strftime(timebuf, timebuf_len, "[%d-%b-%Y %H:%M:%S", localtime_r((const time_t *) &tv->tv_sec, &t)); tv 74 sapi/fpm/fpm/zlog.c len += snprintf(timebuf + len, timebuf_len - len, ".%06d", (int) tv->tv_usec); tv 103 sapi/fpm/fpm/zlog.c struct timeval tv; tv 141 sapi/fpm/fpm/zlog.c gettimeofday(&tv, 0); tv 142 sapi/fpm/fpm/zlog.c len = zlog_print_time(&tv, buf, buf_size); tv 18 sapi/fpm/fpm/zlog.h size_t zlog_print_time(struct timeval *tv, char *timebuf, size_t timebuf_len); tv 1153 sapi/litespeed/lsapilib.c struct timeval tv; tv 1155 sapi/litespeed/lsapilib.c gettimeofday( &tv, NULL ); tv 1156 sapi/litespeed/lsapilib.c srand( (tv.tv_sec % 0x1000 + tv.tv_usec) ^ rand() ); tv 37 win32/select.c PHPAPI int php_select(int max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *tv) tv 52 win32/select.c if (tv == NULL) { tv 55 win32/select.c ms_total = tv->tv_sec * 1000; tv 56 win32/select.c ms_total += tv->tv_usec / 1000; tv 90 win32/select.c return select(max_fd, rfds, wfds, efds, tv); tv 21 win32/select.h PHPAPI int php_select(int max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *tv); tv 48 win32/time.c int getfilesystemtime(struct timeval *tv) tv 74 win32/time.c tv->tv_sec = (long)(ff / 1000000Ui64); tv 75 win32/time.c tv->tv_usec = (long)(ff % 1000000Ui64);