Home
last modified time | relevance | path

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

/external/chromium_org/tools/gn/
Dpattern.cc118 size_t begin_char, in RecursiveMatch() argument
124 return begin_char == s.size(); in RecursiveMatch()
130 if (s.size() - begin_char < sr.literal.size()) in RecursiveMatch()
132 if (s.compare(begin_char, sr.literal.size(), sr.literal) != 0) in RecursiveMatch()
136 return RecursiveMatch(s, begin_char + sr.literal.size(), in RecursiveMatch()
144 (begin_char == 0 || begin_char == s.size())) { in RecursiveMatch()
146 if (RecursiveMatch(s, begin_char, subrange_index + 1, false)) in RecursiveMatch()
151 if (begin_char < s.size() && s[begin_char] == '/') { in RecursiveMatch()
153 if (RecursiveMatch(s, begin_char + 1, subrange_index + 1, true)) in RecursiveMatch()
168 for (size_t i = begin_char; i < s.size() - min_next_size; i++) { in RecursiveMatch()
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()
Dpattern.h59 size_t begin_char,