Home | History | Annotate | Download | only in base

Lines Matching refs:range

26     // There is no active time range, so this is the first AddCue()
42 Range& range = itr->second;
44 if (start_time > range.last_time()) {
49 range.ResetCount(start_time);
56 Range& curr_range = curr_range_itr_->second;
68 // We have walked off the current range, and onto the next one.
69 // There is now no ambiguity about where the current time range
77 // Either |curr_range| is the last range in the map, or there is a
78 // next range beyond |curr_range|, but its start time is ahead of
81 // time matches the start time of the next range, in which case we
93 Range range;
94 range.SetLastTime(start_time);
97 range_map_.insert(std::make_pair(start_time, range));
104 Range& curr_range,
111 void TextRanges::Range::ResetCount(base::TimeDelta start_time) {
115 void TextRanges::Range::SetLastTime(base::TimeDelta last_time) {
121 bool TextRanges::Range::AddCue(base::TimeDelta start_time) {
137 base::TimeDelta TextRanges::Range::last_time() const {