Lines Matching refs:range
163 const range = ranges[k];
165 mapRangeToLines(range, lines);
168 if (range.count !== 0 ||
169 range.ignoredLines === range.lines.length) {
178 const range = ranges[0];
180 if (range.count !== 0 || range.ignoredLines === range.lines.length) {
304 function mapRangeToLines(range, lines) {
305 const { startOffset, endOffset, count } = range;
318 // If the range is not covered, and the range covers the entire line,
343 // Add some useful data to the range. The test runner has read these ranges
345 range.lines = mappedLines;
346 range.ignoredLines = ignoredLines;
481 // The new range is completely within the old range. Discard the
482 // larger (old) range, and keep the smaller (new) range.
485 // The old range is completely within the new range. Discard the
486 // larger (new) range, and keep the smaller (old) range.
501 function doesRangeEqualOtherRange(range, otherRange) {
502 return range.startOffset === otherRange.startOffset &&
503 range.endOffset === otherRange.endOffset;
506 function doesRangeContainOtherRange(range, otherRange) {
507 return range.startOffset <= otherRange.startOffset &&
508 range.endOffset >= otherRange.endOffset;