Home
last modified time | relevance | path

Searched refs:time_sec (Results 1 – 10 of 10) sorted by relevance

/third_party/node/deps/v8/src/date/
Ddate.cc278 void DateCache::ExtendTheAfterSegment(int time_sec, int offset_ms) { in ExtendTheAfterSegment() argument
280 after_->start_sec - kDefaultDSTDeltaInSec <= time_sec && in ExtendTheAfterSegment()
281 time_sec <= after_->end_sec) { in ExtendTheAfterSegment()
283 after_->start_sec = time_sec; in ExtendTheAfterSegment()
290 after_->start_sec = time_sec; in ExtendTheAfterSegment()
291 after_->end_sec = time_sec; in ExtendTheAfterSegment()
298 int time_sec = (time_ms >= 0 && time_ms <= kMaxEpochTimeInMs) in DaylightSavingsOffsetInMs() local
313 if (before_->start_sec <= time_sec && time_sec <= before_->end_sec) { in DaylightSavingsOffsetInMs()
319 ProbeDST(time_sec); in DaylightSavingsOffsetInMs()
321 DCHECK(InvalidSegment(before_) || before_->start_sec <= time_sec); in DaylightSavingsOffsetInMs()
[all …]
Ddate.h163 virtual int GetDaylightSavingsOffsetFromOS(int64_t time_sec) { in GetDaylightSavingsOffsetFromOS() argument
164 double time_ms = static_cast<double>(time_sec * 1000); in GetDaylightSavingsOffsetFromOS()
199 void ProbeDST(int time_sec);
207 inline void ExtendTheAfterSegment(int time_sec, int offset_ms);
/third_party/ltp/testcases/kernel/syscalls/setitimer/
Dsetitimer01.c28 static long time_sec; variable
80 set_setitimer_value(time_sec, time_usec); in verify_setitimer()
83 set_setitimer_value(5 * time_sec, 7 * time_usec); in verify_setitimer()
86 TST_EXP_EQ_LI(ovalue->it_interval.tv_sec, time_sec); in verify_setitimer()
99 if (ovalue->it_value.tv_sec == time_sec) { in verify_setitimer()
106 ovalue->it_value.tv_sec > time_sec) in verify_setitimer()
158 time_sec = 9 + time_step / 1000; in setup()
/third_party/openssl/crypto/
Do_time.c74 int time_sec, time_year, time_month, time_day; in OPENSSL_gmtime_adj() local
78 if (!julian_adj(tm, off_day, offset_sec, &time_jd, &time_sec)) in OPENSSL_gmtime_adj()
94 tm->tm_hour = time_sec / 3600; in OPENSSL_gmtime_adj()
95 tm->tm_min = (time_sec / 60) % 60; in OPENSSL_gmtime_adj()
96 tm->tm_sec = time_sec % 60; in OPENSSL_gmtime_adj()
/third_party/node/deps/openssl/openssl/crypto/
Do_time.c74 int time_sec, time_year, time_month, time_day; in OPENSSL_gmtime_adj() local
78 if (!julian_adj(tm, off_day, offset_sec, &time_jd, &time_sec)) in OPENSSL_gmtime_adj()
94 tm->tm_hour = time_sec / 3600; in OPENSSL_gmtime_adj()
95 tm->tm_min = (time_sec / 60) % 60; in OPENSSL_gmtime_adj()
96 tm->tm_sec = time_sec % 60; in OPENSSL_gmtime_adj()
/third_party/musl/src/linux/
Dclock_adjtime.c15 long long time_sec, time_usec; member
29 long time_sec, time_usec; member
51 .time_sec = utx->time.tv_sec, in clock_adjtime()
75 utx->time.tv_sec = ktx.time_sec; in clock_adjtime()
104 .time_sec = utx->time.tv_sec, in clock_adjtime()
132 utx->time.tv_sec = ktx.time_sec; in clock_adjtime()
/third_party/curl/tests/unit/
Dunit1399.c57 int time_sec = (int)(time_usec / usec_magnitude); in usec_matches_seconds() local
58 bool same = (time_sec == expected_seconds); in usec_matches_seconds()
/third_party/openssl/crypto/ts/
Dts_rsp_sign.c821 time_t time_sec = (time_t)sec; in TS_RESP_set_genTime_with_precision() local
830 if ((tm = OPENSSL_gmtime(&time_sec, &tm_result)) == NULL) in TS_RESP_set_genTime_with_precision()
/third_party/node/deps/openssl/openssl/crypto/ts/
Dts_rsp_sign.c821 time_t time_sec = (time_t)sec; in TS_RESP_set_genTime_with_precision() local
830 if ((tm = OPENSSL_gmtime(&time_sec, &tm_result)) == NULL) in TS_RESP_set_genTime_with_precision()
/third_party/ffmpeg/libavformat/
Dmatroskadec.c4109 double time_sec = time_ns / nano_seconds_per_second; in buffer_size_after_time_downloaded() local
4132 double percent_to_sub = search_sec / (desc_end_time_sec - time_sec); in buffer_size_after_time_downloaded()
4157 double percent_to_sub = search_sec / (desc_end_time_sec - time_sec); in buffer_size_after_time_downloaded()