Home
last modified time | relevance | path

Searched refs:begin_char (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/tools/gn/
Dpattern.cc84 size_t begin_char, in RecursiveMatch() argument
90 return begin_char == s.size(); in RecursiveMatch()
96 if (s.size() - begin_char < sr.literal.size()) in RecursiveMatch()
98 if (s.compare(begin_char, sr.literal.size(), sr.literal) != 0) in RecursiveMatch()
102 return RecursiveMatch(s, begin_char + sr.literal.size(), in RecursiveMatch()
110 (begin_char == 0 || begin_char == s.size())) { in RecursiveMatch()
112 if (RecursiveMatch(s, begin_char, subrange_index + 1, false)) in RecursiveMatch()
117 if (begin_char < s.size() && s[begin_char] == '/') { in RecursiveMatch()
119 if (RecursiveMatch(s, begin_char + 1, subrange_index + 1, true)) in RecursiveMatch()
134 for (size_t i = begin_char; i < s.size() - min_next_size; i++) { in RecursiveMatch()
Dc_include_iterator.cc66 int* begin_char) { in ExtractInclude() argument
104 *begin_char = static_cast<int>(path->data() - line.data()) + 1; in ExtractInclude()
130 int begin_char; in GetNextIncludeString() local
131 IncludeType type = ExtractInclude(line, &include_contents, &begin_char); in GetNextIncludeString()
138 begin_char, in GetNextIncludeString()
142 begin_char + static_cast<int>(include_contents.size()), in GetNextIncludeString()
Derr.cc36 int begin_char; in FillRangeOnLine() local
38 begin_char = 0; in FillRangeOnLine()
40 begin_char = range.begin().char_offset() - 1; in FillRangeOnLine()
48 CHECK(end_char >= begin_char); in FillRangeOnLine()
49 CHECK(begin_char >= 0 && begin_char <= static_cast<int>(line->size())); in FillRangeOnLine()
51 for (int i = begin_char; i < end_char; i++) in FillRangeOnLine()
Dc_include_iterator_unittest.cc13 int line, int begin_char, int end_char) { in RangeIs() argument
16 range.begin().char_offset() == begin_char && in RangeIs()
Dpattern.h57 size_t begin_char,