Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/frontends/clover/core/
Dprintf.cpp66 const size_t spec_pos = util_printf_next_spec_pos(format, fmt_pos); in print_formatted() local
67 const size_t cur_tok = format.rfind('%', spec_pos); in print_formatted()
68 const size_t next_spec = util_printf_next_spec_pos(format, spec_pos); in print_formatted()
83 print_str = format.substr(cur_tok, spec_pos + 1 - cur_tok); in print_formatted()
90 if (spec_pos != std::string::npos && valid_str) { in print_formatted()
92 vec_pos + 1 < spec_pos; in print_formatted()
93 bool is_string = format[spec_pos] == 's'; in print_formatted()
95 .find(format[spec_pos]) != std::string::npos; in print_formatted()
109 size_t l = std::min(mod_pos, spec_pos) - vec_pos - 1; in print_formatted()
119 print_str.erase(vec_pos - cur_tok, std::min(mod_pos, spec_pos) - vec_pos); in print_formatted()
[all …]
/third_party/mesa3d/src/util/
Du_printf.cpp45 size_t next_tok, spec_pos; in util_printf_next_spec_pos() local
58 spec_pos = s.find_first_of("cdieEfFgGaAosuxXp", pos + 1); in util_printf_next_spec_pos()
59 if (spec_pos != std::string::npos) in util_printf_next_spec_pos()
60 if (spec_pos < next_tok) in util_printf_next_spec_pos()
61 return spec_pos; in util_printf_next_spec_pos()