• Home
  • Raw
  • Download

Lines Matching refs:tok

108   for (StringPiece tok : WordScanner(str)) {  in PatsubstFunc()  local
110 pat.AppendSubst(tok, repl, s); in PatsubstFunc()
117 for (StringPiece tok : WordScanner(str)) { in StripFunc() local
118 ww.Write(tok); in StripFunc()
158 for (StringPiece tok : WordScanner(text)) { in FilterFunc() local
160 if (pat.Match(tok)) { in FilterFunc()
161 ww.Write(tok); in FilterFunc()
176 for (StringPiece tok : WordScanner(text)) { in FilterOutFunc() local
179 if (pat.Match(tok)) { in FilterOutFunc()
185 ww.Write(tok); in FilterOutFunc()
200 for (StringPiece tok : toks) { in SortFunc() local
201 if (prev != tok) { in SortFunc()
202 ww.Write(tok); in SortFunc()
203 prev = tok; in SortFunc()
231 for (StringPiece tok : WordScanner(text)) { in WordFunc() local
234 AppendString(tok, s); in WordFunc()
265 for (StringPiece tok : WordScanner(text)) { in WordlistFunc() local
268 ww.Write(tok); in WordlistFunc()
286 for (StringPiece tok : WordScanner(text)) { in FirstwordFunc() local
287 AppendString(tok, s); in FirstwordFunc()
295 for (StringPiece tok : WordScanner(text)) { in LastwordFunc() local
296 last = tok; in LastwordFunc()
327 for (StringPiece tok : WordScanner(pat)) { in WildcardFunc() local
328 ScopedTerminator st(tok); in WildcardFunc()
329 Glob(tok.data(), &files); in WildcardFunc()
339 for (StringPiece tok : WordScanner(text)) { in DirFunc() local
340 ww.Write(Dirname(tok)); in DirFunc()
348 for (StringPiece tok : WordScanner(text)) { in NotdirFunc() local
349 if (tok == "/") { in NotdirFunc()
352 ww.Write(Basename(tok)); in NotdirFunc()
360 for (StringPiece tok : WordScanner(text)) { in SuffixFunc() local
361 StringPiece suf = GetExt(tok); in SuffixFunc()
370 for (StringPiece tok : WordScanner(text)) { in BasenameFunc() local
371 ww.Write(StripExt(tok)); in BasenameFunc()
379 for (StringPiece tok : WordScanner(text)) { in AddsuffixFunc() local
380 ww.Write(tok); in AddsuffixFunc()
389 for (StringPiece tok : WordScanner(text)) { in AddprefixFunc() local
391 AppendString(tok, s); in AddprefixFunc()
409 for (StringPiece tok : WordScanner(text)) { in RealpathFunc() local
410 ScopedTerminator st(tok); in RealpathFunc()
412 if (realpath(tok.data(), buf)) in RealpathFunc()
421 for (StringPiece tok : WordScanner(text)) { in AbspathFunc() local
422 AbsPath(tok, &buf); in AbspathFunc()
553 for (StringPiece tok : WordScanner(cmd)) { in ShouldStoreCommandResult() local
554 if (pat.Match(tok) && !nopat.Match(tok)) { in ShouldStoreCommandResult()
652 for (StringPiece tok : WordScanner(list)) { in ForeachFunc() local
654 new SimpleVar(tok.as_string(), VarOrigin::AUTOMATIC)); in ForeachFunc()