Lines Matching refs:offset_ms
48 segment->offset_ms = 0; in ClearSegment()
192 void DateCache::ExtendTheAfterSegment(int time_sec, int offset_ms) { in ExtendTheAfterSegment() argument
193 if (after_->offset_ms == offset_ms && in ExtendTheAfterSegment()
206 after_->offset_ms = offset_ms; in ExtendTheAfterSegment()
232 return before_->offset_ms; in DaylightSavingsOffsetInMs()
244 before_->offset_ms = GetDaylightSavingsOffsetFromOS(time_sec); in DaylightSavingsOffsetInMs()
246 return before_->offset_ms; in DaylightSavingsOffsetInMs()
252 return before_->offset_ms; in DaylightSavingsOffsetInMs()
258 int offset_ms = GetDaylightSavingsOffsetFromOS(time_sec); in DaylightSavingsOffsetInMs() local
259 ExtendTheAfterSegment(time_sec, offset_ms); in DaylightSavingsOffsetInMs()
264 return offset_ms; in DaylightSavingsOffsetInMs()
287 if (before_->offset_ms == after_->offset_ms) { in DaylightSavingsOffsetInMs()
291 return before_->offset_ms; in DaylightSavingsOffsetInMs()
299 int offset_ms = GetDaylightSavingsOffsetFromOS(middle_sec); in DaylightSavingsOffsetInMs() local
300 if (before_->offset_ms == offset_ms) { in DaylightSavingsOffsetInMs()
303 return offset_ms; in DaylightSavingsOffsetInMs()
306 DCHECK(after_->offset_ms == offset_ms); in DaylightSavingsOffsetInMs()
313 return offset_ms; in DaylightSavingsOffsetInMs()