Home | History | Annotate | Download | only in gn

Lines Matching defs:next

266     size_t next = str.find("{{", cur);
269 if (next == std::string::npos) {
273 } else if (next > cur) {
275 Subrange(Subrange::LITERAL, str.substr(cur, next - cur)));
279 if (str.compare(next, arraysize(kSource) - 1, kSource) == 0) {
283 cur = next + arraysize(kSource) - 1;
284 } else if (str.compare(next, arraysize(kSourceNamePart) - 1,
289 cur = next + arraysize(kSourceNamePart) - 1;
290 } else if (str.compare(next, arraysize(kSourceFilePart) - 1,
295 cur = next + arraysize(kSourceFilePart) - 1;
301 cur = next + 1;