Home
last modified time | relevance | path

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

/external/libxcam/xcore/
Dcalibration_parser.cpp41 char *tok_str = NULL; in parse_intrinsic_param() local
49 tok_str = strtok_r(line_str, str_tokens, &tok_endptr); in parse_intrinsic_param()
50 while(tok_str == NULL || tok_str[0] == '#') { in parse_intrinsic_param()
53 tok_str = strtok_r(line_str, str_tokens, &tok_endptr); in parse_intrinsic_param()
58 tok_str = strtok_r(line_str, str_tokens, &tok_endptr); in parse_intrinsic_param()
59 while(tok_str == NULL || tok_str[0] == '#') { in parse_intrinsic_param()
62 tok_str = strtok_r(line_str, str_tokens, &tok_endptr); in parse_intrinsic_param()
64 intrinsic_param.poly_length = strtol(tok_str, NULL, 10); in parse_intrinsic_param()
73 tok_str = strtok_r(NULL, str_tokens, &tok_endptr); in parse_intrinsic_param()
74 CHECK_NULL(tok_str); in parse_intrinsic_param()
[all …]
/external/python/cpython3/Tools/scripts/
Dhighlight.py34 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)