Searched refs:tok_str (Results 1 – 3 of 3) sorted by relevance
/external/deqp-deps/amber/src/ |
D | tokenizer.cc | 79 std::string tok_str; in NextToken() local 94 tok->SetStringValue(tok_str); in NextToken() 100 tok_str += '\a'; in NextToken() 107 tok_str += '\b'; in NextToken() 114 tok_str += '\t'; in NextToken() 121 tok_str += '\n'; in NextToken() 128 tok_str += '\v'; in NextToken() 135 tok_str += '\f'; in NextToken() 142 tok_str += '\r'; in NextToken() 149 tok_str += c; in NextToken() [all …]
|
/external/python/cpython3/Tools/scripts/ |
D | highlight.py | 34 kind = tok_str = '' 38 prev_tok_type, prev_tok_str = tok_type, tok_str 39 tok_type, tok_str, (srow, scol), (erow, ecol), logical_lineno = tok 43 elif tok_type == tokenize.OP and tok_str[:1] not in '{}[](),.:;@': 50 if tok_str in ('def', 'class', 'import', 'from'): 54 elif keyword.iskeyword(tok_str): 56 elif is_builtin(tok_str) and prev_tok_str != '.': 61 text, written = tok_str, (erow, ecol)
|
/external/python/cpython3/Parser/ |
D | pegen.c | 69 const char* tok_str = PyBytes_AS_STRING(t->bytes); in _PyPegen_check_barry_as_flufl() local 70 if (p->flags & PyPARSE_BARRY_AS_BDFL && strcmp(tok_str, "<>") != 0) { in _PyPegen_check_barry_as_flufl() 75 return strcmp(tok_str, "!="); in _PyPegen_check_barry_as_flufl()
|