Home | History | Annotate | Download | only in compile

Lines Matching refs:Span

38     for (const StringPool::Span& span : string->value->spans) {
39 localized.spans.push_back(Span{ *span.name, span.firstChar, span.lastChar });
66 const StringPool::Span& span = string->value->spans[i];
68 // Insert or update the Range marker for the start of this span.
69 auto iter = std::lower_bound(ranges.begin(), ranges.end(), span.firstChar, cmp);
70 if (iter != ranges.end() && iter->start == span.firstChar) {
74 Range{ span.firstChar, &localized.spans[i].firstChar, nullptr });
77 // Insert or update the Range marker for the end of this span.
78 iter = std::lower_bound(ranges.begin(), ranges.end(), span.lastChar, cmp);
79 if (iter != ranges.end() && iter->start == span.lastChar) {
83 Range{ span.lastChar, nullptr, &localized.spans[i].lastChar });