Searched refs:time_sec (Results 1 – 5 of 5) sorted by relevance
277 void DateCache::ExtendTheAfterSegment(int time_sec, int offset_ms) { in ExtendTheAfterSegment() argument279 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() local312 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 …]
162 virtual int GetDaylightSavingsOffsetFromOS(int64_t time_sec) { in GetDaylightSavingsOffsetFromOS() argument163 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);
145 int time_sec, time_year, time_month, time_day; in OPENSSL_gmtime_adj() local149 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()
55 int time_sec = (int)(time_usec / usec_magnitude); in usec_matches_seconds() local56 bool same = (time_sec == expected_seconds); in usec_matches_seconds()
184 + time_sec = float(time_str[0]) * 60185 + time_sec += float(time_str[1].split('s')[0])186 + f.write('User Time: %.2f seconds\n' % time_sec)187 + total_time += time_sec