Lines Matching refs:end_sec
79 segment->end_sec = -kMaxEpochTimeInSec; in ClearSegment()
291 time_sec <= after_->end_sec) { in ExtendTheAfterSegment()
296 if (after_->start_sec <= after_->end_sec) { in ExtendTheAfterSegment()
301 after_->end_sec = time_sec; in ExtendTheAfterSegment()
325 time_sec <= before_->end_sec) { in DaylightSavingsOffsetInMs()
339 before_->end_sec = time_sec; in DaylightSavingsOffsetInMs()
345 if (time_sec <= before_->end_sec) { in DaylightSavingsOffsetInMs()
351 if (time_sec > before_->end_sec + kDefaultDSTDeltaInSec) { in DaylightSavingsOffsetInMs()
370 if (before_->end_sec + kDefaultDSTDeltaInSec <= after_->start_sec) { in DaylightSavingsOffsetInMs()
371 int new_after_start_sec = before_->end_sec + kDefaultDSTDeltaInSec; in DaylightSavingsOffsetInMs()
385 before_->end_sec = after_->end_sec; in DaylightSavingsOffsetInMs()
393 int delta = after_->start_sec - before_->end_sec; in DaylightSavingsOffsetInMs()
394 int middle_sec = (i == 0) ? time_sec : before_->end_sec + delta / 2; in DaylightSavingsOffsetInMs()
397 before_->end_sec = middle_sec; in DaylightSavingsOffsetInMs()
398 if (time_sec <= before_->end_sec) { in DaylightSavingsOffsetInMs()
427 } else if (time_sec < dst_[i].end_sec) { in ProbeDST()
428 if (after == nullptr || after->end_sec > dst_[i].end_sec) { in ProbeDST()
450 before->end_sec < after->start_sec); in ProbeDST()