Lines Matching defs:end_pos
5453 int end_pos = count;
5457 end_pos = i;
5465 // [start_pos..end_pos[. Ranges before start_pos or at or after end_pos are
5467 // If start_pos == end_pos, the range must be inserted before start_pos.
5468 // if start_pos < end_pos, the entire range from start_pos to end_pos
5471 if (start_pos == end_pos) {
5479 if (start_pos + 1 == end_pos) {
5487 // Replace a number of existing ranges from start_pos to end_pos - 1.
5491 int new_to = Max(list->at(end_pos - 1).to(), to);
5492 if (end_pos < count) {
5493 MoveRanges(list, end_pos, start_pos + 1, count - end_pos);
5496 return count - (end_pos - start_pos) + 1;