Lines Matching refs:line_range
67 DataRange clipped_range, line_range; in GetErrorText() local
69 GetClippedAndLineRange(data_line, &clipped_range, &line_range); in GetErrorText()
71 GetLineString(clipped_range, line_range, &spaces_before_caret); in GetErrorText()
77 size_t spaces_count = location_ + spaces_before_caret - line_range.GetBegin(); in GetErrorText()
112 DataRange* line_range) const { in GetClippedAndLineRange()
130 *line_range = DataRange(line_begin, line_end); in GetClippedAndLineRange()
134 const DataRange& line_range, in GetLineString() argument
143 reinterpret_cast<const char*>(segment_.GetBuffer(line_range.GetBegin())); in GetLineString()
145 if (line_range.GetBegin() != clipped_range.GetBegin()) { in GetLineString()
149 for (size_t index = 0; index < line_range.GetLength(); ++index) { in GetLineString()
155 if (index + line_range.GetBegin() < location_) { in GetLineString()
160 if (line_range.GetEnd() != clipped_range.GetEnd()) { in GetLineString()