Home
last modified time | relevance | path

Searched refs:tv_sec (Results 1 – 25 of 62) sorted by path

123

/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/ext/curl/
H A Dmulti.c198 to->tv_sec = conv / 1000000; in _make_timeval_struct()
/PHP-7.4/ext/date/
H A Dphp_date.c73 return tm.tv_sec; in php_time()
2689 *sec = tp.tv_sec; in php_date_get_current_time_with_fraction()
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch1335 cdf_ctime(&ts.tv_sec, tbuf));
/PHP-7.4/ext/fileinfo/libmagic/
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 Dcdf_time.c138 ts->tv_sec = mktime(&tm); in cdf_timestamp_to_timespec()
139 if (ts->tv_sec == -1) { in cdf_timestamp_to_timespec()
192 p = cdf_ctime(&ts.tv_sec, buf); in main()
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 Dreadcdf.c230 c = cdf_ctime(&ts.tv_sec, tbuf); in cdf_file_property_info()
/PHP-7.4/ext/ftp/
H A Dftp.c132 tv.tv_sec = timeout_sec; in ftp_open()
1697 tv.tv_sec = ftp->timeout_sec; in ftp_getdata()
/PHP-7.4/ext/ldap/
H A Dldap.c3095 ZEND_TRY_ASSIGN_REF_LONG(retval, timeout->tv_sec); in PHP_FUNCTION()
3123 ZEND_TRY_ASSIGN_REF_LONG(retval, timeout->tv_sec); in PHP_FUNCTION()
3262 timeout.tv_sec = Z_LVAL_P(newval); in PHP_FUNCTION()
3286 timeout.tv_sec = Z_LVAL_P(newval); in PHP_FUNCTION()
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_connection.c2635 tv.tv_sec = sec + (usec / 1000000);
2638 tv.tv_sec = sec;
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()
H A Dmysqlnd_debug.h90 #define DBG_PROFILE_TIMEVAL_TO_DOUBLE(tp) ((tp.tv_sec * 1000000LL)+ tp.tv_usec)
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()
/PHP-7.4/ext/openssl/
H A Dxp_ssl.c1083 sslsock->reneg->prev_handshake = now.tv_sec; in php_openssl_limit_handshake_reneg()
1088 sslsock->reneg->prev_handshake = now.tv_sec; in php_openssl_limit_handshake_reneg()
1913 …has_timeout = !sslsock->s.is_blocked && (timeout->tv_sec > 0 || (timeout->tv_sec == 0 && timeout->… in php_openssl_enable_crypto()
2065 …if (!sslsock->s.is_blocked && timeout && (timeout->tv_sec > 0 || (timeout->tv_sec == 0 && timeout-… in php_openssl_sockop_io()
2206 difference.tv_sec = a.tv_sec - b.tv_sec; in php_openssl_subtract_timeval()
2210 difference.tv_sec -= 1L; in php_openssl_subtract_timeval()
2220 if (a.tv_sec > b.tv_sec || (a.tv_sec == b.tv_sec && a.tv_usec > b.tv_usec) ) { in php_openssl_compare_timeval()
2222 } else if( a.tv_sec == b.tv_sec && a.tv_usec == b.tv_usec ) { in php_openssl_compare_timeval()
2447 if (sslsock->s.timeout.tv_sec == -1) { in php_openssl_sockop_set_option()
2458 tv.tv_sec = value; in php_openssl_sockop_set_option()
[all …]
/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/pcntl/tests/
H A Dpcntl_wait_rusage1.phpt14 var_dump($rusage['ru_utime.tv_sec']);
21 var_dump($rusage['ru_utime.tv_sec']);
H A Dpcntl_waitpid_rusage1.phpt14 var_dump($rusage['ru_utime.tv_sec']);
21 var_dump($rusage['ru_utime.tv_sec']);
/PHP-7.4/ext/session/
H A Dsession.c1168 now = tv.tv_sec + PS(cache_expire) * 60; in CACHE_LIMITER_FUNC()
1335 t = tv.tv_sec + PS(cookie_lifetime); in php_session_send_cookie()
3134 dtv = (double) tv.tv_sec + tv.tv_usec / 1000000.0; in php_session_rfc1867_update()
/PHP-7.4/ext/soap/
H A Dphp_http.c187 tv.tv_sec = Z_LVAL_P(tmp); in http_connect()
/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/ext/standard/
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;
H A Dfsock.c75 tv.tv_sec = conv / 1000000; in php_fsockopen_stream()
78 tv.tv_sec = conv / 1000000; in php_fsockopen_stream()
H A Dhrtime.c122 struct timespec ts = { .tv_sec = 0, .tv_nsec = 0 }; in _timer_current()
124 return ((php_hrtime_t) ts.tv_sec * (php_hrtime_t)NANO_IN_SEC) + ts.tv_nsec; in _timer_current()

Completed in 132 milliseconds

123