Home
last modified time | relevance | path

Searched refs:tok (Results 1 – 2 of 2) sorted by relevance

/art/cmdline/
Dtoken_range.h117 std::string tok; in Split() local
124 if (!tok.empty()) { in Split()
125 new_token_list.push_back(tok); in Split()
126 tok = ""; in Split()
131 tok += c; in Split()
136 if (!tok.empty()) { in Split()
137 new_token_list.push_back(tok); in Split()
231 return RemoveIf([&](const std::string& tok) { return tok == token; }); in RemoveToken()
290 const std::string& tok = *it; in MatchSubstrings() local
292 if (tok == wildcard) { in MatchSubstrings()
[all …]
/art/tools/
Dcpplint.py3429 for tok in tokens:
3434 if Search(r'sizeof\(.+\)', tok): continue
3435 if Search(r'arraysize\(\w+\)', tok): continue
3437 tok = tok.lstrip('(')
3438 tok = tok.rstrip(')')
3439 if not tok: continue
3440 if Match(r'\d+', tok): continue
3441 if Match(r'0[xX][0-9a-fA-F]+', tok): continue
3442 if Match(r'k[A-Z0-9]\w*', tok): continue
3443 if Match(r'(.+::)?k[A-Z0-9]\w*', tok): continue
[all …]