Home
last modified time | relevance | path

Searched refs:tok_type (Results 1 – 8 of 8) sorted by relevance

/external/iproute2/misc/
Dssfilter.y31 static int tok_type = -1; variable
243 tok_type = DCOND; in yylex()
247 tok_type = SCOND; in yylex()
251 tok_type = DPORT; in yylex()
255 tok_type = SPORT; in yylex()
259 tok_type = DEVNAME; in yylex()
263 tok_type = FWMARK; in yylex()
289 tok_type = AUTOBOUND; in yylex()
292 if (tok_type == DEVNAME) { in yylex()
300 if (tok_type == FWMARK) { in yylex()
[all …]
/external/python/cpython3/Tools/scripts/
Dhighlight.py35 tok_type = tokenize.COMMENT
38 prev_tok_type, prev_tok_str = tok_type, tok_str
39 tok_type, tok_str, (srow, scol), (erow, ecol), logical_lineno = tok
41 if tok_type == tokenize.COMMENT:
43 elif tok_type == tokenize.OP and tok_str[:1] not in '{}[](),.:;@':
45 elif tok_type == tokenize.STRING:
49 elif tok_type == tokenize.NAME:
/external/tensorflow/tensorflow/python/autograph/pyct/
Dparser.py84 tok_type, tok_string, _, _, _ = tok
85 if tok_type == tokenize.INDENT:
89 elif tok_type not in (
100 tok_type, tok_string, _, _, _ = tok
101 if tok_type == tokenize.INDENT:
111 tokens[i] = (tok_type, tok_string)
Dorigin_info.py252 tok_type, tok_string, loc, _, _ = token
254 if tok_type == tokenize.COMMENT:
/external/python/cpython2/Lib/
Dtokenize.py207 tok_type, token, start, end, line = t
208 if tok_type == ENDMARKER:
210 if tok_type == INDENT:
213 elif tok_type == DEDENT:
217 elif tok_type in (NEWLINE, NL):
228 if tok_type in (NEWLINE, NL):
/external/python/cpython3/Lib/
Dtokenize.py191 tok_type, token, start, end, line = t
192 if tok_type == ENCODING:
195 if tok_type == ENDMARKER:
197 if tok_type == INDENT:
200 elif tok_type == DEDENT:
204 elif tok_type in (NEWLINE, NL):
215 if tok_type in (NEWLINE, NL):
/external/python/cpython2/Lib/lib2to3/pgen2/
Dtokenize.py202 tok_type, token, start, end, line = t
206 if tok_type in (NEWLINE, NL):
/external/python/cpython3/Lib/lib2to3/pgen2/
Dtokenize.py190 tok_type, token, start, end, line = t
194 if tok_type in (NEWLINE, NL):