Searched refs:cur_tok (Results 1 - 2 of 2) sorted by relevance
/third_party/ltp/pan/ |
H A 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/ |
H A 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()
|
Completed in 2 milliseconds