Searched refs:cur_tok (Results 1 – 3 of 3) sorted by relevance
/third_party/ltp/pan/ |
D | splitstr.c | 63 char *arg_string = NULL, **arg_array = NULL, *cur_tok = NULL; in splitstr() local 108 cur_tok = strtok(arg_string, separator); in splitstr() 109 while (cur_tok != NULL) { in splitstr() 110 arg_array[num_toks++] = cur_tok; in splitstr() 111 cur_tok = strtok(NULL, separator); in splitstr()
|
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
D | printf.cpp | 67 const size_t cur_tok = format.rfind('%', spec_pos); in print_formatted() local 72 size_t vec_pos = format.find_first_of("v", cur_tok + 1); in print_formatted() 73 size_t mod_pos = format.find_first_of("hl", cur_tok + 1); in print_formatted() 76 if (cur_tok != fmt_last_pos) { in print_formatted() 78 cur_tok - fmt_last_pos); in print_formatted() 83 print_str = format.substr(cur_tok, spec_pos + 1 - cur_tok); in print_formatted() 119 print_str.erase(vec_pos - cur_tok, std::min(mod_pos, spec_pos) - vec_pos); in print_formatted()
|
/third_party/cef/tools/yapf/yapf/yapflib/ |
D | reformatter.py | 108 for cur_tok in cur_uwline.tokens: 109 _RetainVerticalSpacingBetweenTokens(cur_tok, prev_tok) 110 prev_tok = cur_tok 113 def _RetainVerticalSpacingBetweenTokens(cur_tok, prev_tok): argument 128 if cur_tok.is_comment: 129 cur_lineno = cur_tok.lineno - cur_tok.value.count('\n') 131 cur_lineno = cur_tok.lineno 133 cur_tok.AdjustNewlinesBefore(cur_lineno - prev_lineno)
|