Lines Matching refs:end_pos
1411 int end_pos = count;
1415 end_pos = i;
1423 // [start_pos..end_pos[. Ranges before start_pos or at or after end_pos are
1425 // If start_pos == end_pos, the range must be inserted before start_pos.
1426 // if start_pos < end_pos, the entire range from start_pos to end_pos
1429 if (start_pos == end_pos) {
1437 if (start_pos + 1 == end_pos) {
1445 // Replace a number of existing ranges from start_pos to end_pos - 1.
1449 int new_to = std::max(list->at(end_pos - 1).to(), to);
1450 if (end_pos < count) {
1451 MoveRanges(list, end_pos, start_pos + 1, count - end_pos);
1454 return count - (end_pos - start_pos) + 1;