Home
last modified time | relevance | path

Searched refs:tv_sec (Results 26 – 50 of 62) sorted by relevance

123

/PHP-7.4/ext/standard/
H A Dhttp_fopen_wrapper.c211 timeout.tv_sec = (time_t) d; in php_stream_url_wrap_http_ex()
212 timeout.tv_usec = (size_t) ((d - timeout.tv_sec) * 1000000); in php_stream_url_wrap_http_ex()
214 timeout.tv_sec = (long) d; in php_stream_url_wrap_http_ex()
215 timeout.tv_usec = (long) ((d - timeout.tv_sec) * 1000000); in php_stream_url_wrap_http_ex()
219 timeout.tv_sec = FG(default_socket_timeout); in php_stream_url_wrap_http_ex()
221 timeout.tv_sec = (long)FG(default_socket_timeout); in php_stream_url_wrap_http_ex()
H A Dstreamsfuncs.c126 tv.tv_sec = (long)(conv / 1000000); in PHP_FUNCTION()
129 tv.tv_sec = conv / 1000000; in PHP_FUNCTION()
268 tv.tv_sec = (long)(conv / 1000000); in PHP_FUNCTION()
271 tv.tv_sec = conv / 1000000; in PHP_FUNCTION()
810 tv.tv_sec = (long)(sec + (usec / 1000000)); in PHP_FUNCTION()
1365 t.tv_sec = (long)seconds; in PHP_FUNCTION()
1369 t.tv_sec +=(long)(microseconds / 1000000); in PHP_FUNCTION()
1374 t.tv_sec = seconds; in PHP_FUNCTION()
1378 t.tv_sec += microseconds / 1000000; in PHP_FUNCTION()
H A Dbasic_functions.c2033 ZEND_ARG_INFO(0, tv_sec)
4599 zend_long tv_sec, tv_nsec; local
4603 Z_PARAM_LONG(tv_sec)
4607 if (tv_sec < 0) {
4616 php_req.tv_sec = (time_t) tv_sec;
4622 add_assoc_long_ex(return_value, "seconds", sizeof("seconds")-1, php_rem.tv_sec);
4652 current_ns = ((uint64_t) tm.tv_sec) * ns_per_sec + ((uint64_t) tm.tv_usec) * 1000;
4659 php_req.tv_sec = (time_t) (diff_ns / ns_per_sec);
4664 php_req.tv_sec = php_rem.tv_sec;
/PHP-7.4/sapi/fpm/fpm/events/
H A Dkqueue.c126 t.tv_sec = timeout / 1000; in fpm_event_kqueue_wait()
/PHP-7.4/ext/fileinfo/libmagic/
H A Dmagic.c176 utsbuf[0].tv_sec = sb->st_atime;
177 utsbuf[1].tv_sec = sb->st_mtime;
H A Dprint.c245 t = ts.tv_sec; in file_fmttime()
H A Dcdf.c1400 (void)fprintf(stderr, "Created %s", cdf_ctime(&ts.tv_sec, buf)); in cdf_dump_dir()
1403 cdf_ctime(&ts.tv_sec, buf)); in cdf_dump_dir()
1484 cdf_ctime(&ts.tv_sec, tbuf)); in cdf_dump_property_info()
1537 cdf_ctime(&ts.tv_sec, tbuf)); in cdf_dump_catalog()
H A Dreadcdf.c230 c = cdf_ctime(&ts.tv_sec, tbuf); in cdf_file_property_info()
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_process_ctl.c371 if (last.tv_sec < now.tv_sec - wp->config->pm_process_idle_timeout) { in fpm_pctl_perform_idle_server_maintenance()
H A Dfpm_unix.c523 tv.tv_sec = 10; in fpm_unix_init_main()
H A Dzlog.c82 localtime_r((const time_t *) &tv->tv_sec, &t)); in zlog_print_time()
/PHP-7.4/ext/pcntl/
H A Dpcntl.c691 PHP_RUSAGE_PARA(from, to, ru_utime.tv_sec); \
693 PHP_RUSAGE_PARA(from, to, ru_stime.tv_sec);
1221 zend_long tv_sec = 0, tv_nsec = 0; in pcntl_sigwaitinfo() local
1228 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "a|zll", &user_set, &user_siginfo, &tv_sec, &tv_nsec) =… in pcntl_sigwaitinfo()
1253 timeout.tv_sec = (time_t) tv_sec; in pcntl_sigwaitinfo()
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_vio.c178 tv.tv_sec = vio->data->options.timeout_connect; in MYSQLND_METHOD()
255 tv.tv_sec = vio->data->options.timeout_read; in MYSQLND_METHOD()
585 tv.tv_sec = net->data->options.timeout_read; in MYSQLND_METHOD()
H A Dmysqlnd_debug.h90 #define DBG_PROFILE_TIMEVAL_TO_DOUBLE(tp) ((tp.tv_sec * 1000000LL)+ tp.tv_usec)
H A Dmysqlnd_debug.c96 if ((tm_p= localtime((const time_t *)&tv.tv_sec))) { in MYSQLND_METHOD()
193 if ((tm_p= localtime((const time_t *)&tv.tv_sec))) { in MYSQLND_METHOD()
/PHP-7.4/sapi/litespeed/
H A Dlsapi_main.c710 tmv.it_value.tv_sec = 0; in lsapi_clean_shutdown()
1591 n = ((long) tv_req_end.tv_sec - tv_req_begin.tv_sec ) * 1000 in main()
1595 strftime( time_buf, 30, "%d/%b/%Y:%H:%M:%S", localtime( &tv_req_end.tv_sec ) ); in main()
H A Dlsapilib.c253 localtime_r(&tv.tv_sec, &tm); in LSAPI_Log()
1367 srand( (tv.tv_sec % 0x1000 + tv.tv_usec) ^ rand() ); in init_conn_key()
3199 timeout.tv_sec = 1; in lsapi_prefork_server_accept()
3472 timeout.tv_sec = 1; in LSAPI_Accept_Before_Fork()
3603 timeout.tv_sec = 1; in LSAPI_Prefork_Accept_r()
/PHP-7.4/main/
H A Dphp_network.h161 return (timeouttv->tv_sec * 1000) + (timeouttv->tv_usec / 1000); in php_tvtoto()
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_io.c119 ttmo.tv_sec = 0;
H A Dphpdbg_out.c1031 …msgoutlen = phpdbg_asprintf(&msgout, "[%ld %.8F]: %.*s\n", tp.tv_sec, tp.tv_usec / 1000000., msgle… in phpdbg_process_print()
1278 const time_t tt = tp.tv_sec; in phpdbg_rlog_internal()
/PHP-7.4/ext/sockets/
H A Dsockets.c115 ZEND_ARG_INFO(0, tv_sec)
1008 tv.tv_sec = s + (usec / 1000000);
1011 tv.tv_sec = s;
2063 tv.tv_sec = timeout ? timeout / 1000 : 0;
2069 add_assoc_long(return_value, "sec", tv.tv_sec);
2191 tv.tv_sec = Z_LVAL_P(sec);
2555 stream_data->timeout.tv_sec = FG(default_socket_timeout);
/PHP-7.4/Zend/
H A Dzend_execute_API.c1294 t_r.it_value.tv_sec = seconds; in zend_set_timeout_ex()
1295 t_r.it_value.tv_usec = t_r.it_interval.tv_sec = t_r.it_interval.tv_usec = 0; in zend_set_timeout_ex()
1357 …no_timeout.it_value.tv_sec = no_timeout.it_value.tv_usec = no_timeout.it_interval.tv_sec = no_time… in zend_unset_timeout()
/PHP-7.4/main/streams/
H A Dtransports.c70 default_timeout.tv_sec = FG(default_socket_timeout); in _php_stream_xport_create()
/PHP-7.4/ext/curl/
H A Dmulti.c198 to->tv_sec = conv / 1000000; in _make_timeval_struct()
/PHP-7.4/sapi/cli/
H A Dphp_cli.c247 tv.tv_sec = (long)FG(default_socket_timeout); in sapi_cli_select()

Completed in 117 milliseconds

123