Searched refs:util_printf_next_spec_pos (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/util/tests/ |
D | u_printf_test.cpp | 28 TEST(u_printf_test, util_printf_next_spec_pos) in TEST() argument 30 EXPECT_EQ(util_printf_next_spec_pos("%d%d", 0), 1); in TEST() 31 EXPECT_EQ(util_printf_next_spec_pos("%%d", 0), -1); in TEST() 32 EXPECT_EQ(util_printf_next_spec_pos("%dd", 0), 1); in TEST() 33 EXPECT_EQ(util_printf_next_spec_pos("%%%%%%", 0), -1); in TEST() 34 EXPECT_EQ(util_printf_next_spec_pos("%%%%%%%d", 0), 7); in TEST() 35 EXPECT_EQ(util_printf_next_spec_pos("abcdef%d", 0), 7); in TEST() 36 EXPECT_EQ(util_printf_next_spec_pos("abcdef%d", 6), 7); in TEST() 37 EXPECT_EQ(util_printf_next_spec_pos("abcdef%d", 7), -1); in TEST() 38 EXPECT_EQ(util_printf_next_spec_pos("abcdef%%", 7), -1); in TEST() [all …]
|
/third_party/mesa3d/src/util/ |
D | u_printf.h | 33 size_t util_printf_next_spec_pos(const char *str, size_t pos);
|
D | u_printf.c | 45 size_t util_printf_next_spec_pos(const char *str, size_t pos) in util_printf_next_spec_pos() function
|
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
D | printf.cpp | 66 const size_t spec_pos = util_printf_next_spec_pos(format.c_str(), fmt_pos); in print_formatted() 68 const size_t next_spec = util_printf_next_spec_pos(format.c_str(), spec_pos); in print_formatted()
|
/third_party/mesa3d/src/compiler/spirv/ |
D | vtn_opencl.c | 823 fmt_pos = util_printf_next_spec_pos(info->strings, fmt_pos); in handle_printf()
|