Home
last modified time | relevance | path

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

/external/v8/src/date/
Ddate.cc277 void DateCache::ExtendTheAfterSegment(int time_sec, int offset_ms) { in ExtendTheAfterSegment() argument
279 after_->start_sec - kDefaultDSTDeltaInSec <= time_sec && in ExtendTheAfterSegment()
280 time_sec <= after_->end_sec) { in ExtendTheAfterSegment()
282 after_->start_sec = time_sec; in ExtendTheAfterSegment()
289 after_->start_sec = time_sec; in ExtendTheAfterSegment()
290 after_->end_sec = time_sec; in ExtendTheAfterSegment()
297 int time_sec = (time_ms >= 0 && time_ms <= kMaxEpochTimeInMs) in DaylightSavingsOffsetInMs() local
312 if (before_->start_sec <= time_sec && time_sec <= before_->end_sec) { in DaylightSavingsOffsetInMs()
318 ProbeDST(time_sec); in DaylightSavingsOffsetInMs()
320 DCHECK(InvalidSegment(before_) || before_->start_sec <= time_sec); in DaylightSavingsOffsetInMs()
[all …]
Ddate.h162 virtual int GetDaylightSavingsOffsetFromOS(int64_t time_sec) { in GetDaylightSavingsOffsetFromOS() argument
163 double time_ms = static_cast<double>(time_sec * 1000); in GetDaylightSavingsOffsetFromOS()
198 void ProbeDST(int time_sec);
206 inline void ExtendTheAfterSegment(int time_sec, int offset_ms);
/external/boringssl/src/crypto/asn1/
Dtime_support.c145 int time_sec, time_year, time_month, time_day; in OPENSSL_gmtime_adj() local
149 if (!julian_adj(tm, off_day, offset_sec, &time_jd, &time_sec)) { in OPENSSL_gmtime_adj()
167 tm->tm_hour = time_sec / 3600; in OPENSSL_gmtime_adj()
168 tm->tm_min = (time_sec / 60) % 60; in OPENSSL_gmtime_adj()
169 tm->tm_sec = time_sec % 60; in OPENSSL_gmtime_adj()
/external/curl/tests/unit/
Dunit1399.c55 int time_sec = (int)(time_usec / usec_magnitude); in usec_matches_seconds() local
56 bool same = (time_sec == expected_seconds); in usec_matches_seconds()
/external/toolchain-utils/android_bench_suite/
Dautotest.diff184 + time_sec = float(time_str[0]) * 60
185 + time_sec += float(time_str[1].split('s')[0])
186 + f.write('User Time: %.2f seconds\n' % time_sec)
187 + total_time += time_sec