Searched refs:tok (Results 1 – 2 of 2) sorted by relevance
117 std::string tok; in Split() local124 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() local292 if (tok == wildcard) { in MatchSubstrings()[all …]
3429 for tok in tokens:3434 if Search(r'sizeof\(.+\)', tok): continue3435 if Search(r'arraysize\(\w+\)', tok): continue3437 tok = tok.lstrip('(')3438 tok = tok.rstrip(')')3439 if not tok: continue3440 if Match(r'\d+', tok): continue3441 if Match(r'0[xX][0-9a-fA-F]+', tok): continue3442 if Match(r'k[A-Z0-9]\w*', tok): continue3443 if Match(r'(.+::)?k[A-Z0-9]\w*', tok): continue[all …]