Lines Matching defs:pos
43 size_t util_printf_next_spec_pos(const std::string &s, size_t pos)
47 pos = s.find_first_of('%', pos);
49 if (pos == std::string::npos)
52 if (s[pos + 1] == '%') {
53 pos += 2;
57 next_tok = s.find_first_of('%', pos + 1);
58 spec_pos = s.find_first_of("cdieEfFgGaAosuxXp", pos + 1);
63 pos++;
67 size_t util_printf_next_spec_pos(const char *str, size_t pos)
69 return util_printf_next_spec_pos(std::string(str), pos);