Home | History | Annotate | Download | only in compile

Lines Matching defs:Range

42     // The ranges are all represented with a single value. This is the start of one range and
44 struct Range {
48 // Since this struct represents the start of one range and end of another, we have
54 auto cmp = [](const Range& r, size_t index) -> bool {
62 std::vector<Range> ranges;
63 ranges.push_back(Range{ 0 });
64 ranges.push_back(Range{ originalText.size() - 1 });
68 // Insert or update the Range marker for the start of this span.
74 Range{ span.firstChar, &localized.spans[i].firstChar, nullptr });
77 // Insert or update the Range marker for the end of this span.
83 Range{ span.lastChar, nullptr, &localized.spans[i].lastChar });