Searched refs:fmt_start (Results 1 - 2 of 2) sorted by relevance
/third_party/skia/third_party/externals/imgui/ |
H A D | imgui_widgets.cpp | 1886 const char* fmt_start = ImParseFormatFindStart(fmt); // Find % (if any, and ignore %%) in PatchFormatStringFloatToInt() local 1887 const char* fmt_end = ImParseFormatFindEnd(fmt_start); // Find end of format specifier, which itself is an exercise of confidence/recklessness (because snprintf is dependent on libc or user). in PatchFormatStringFloatToInt() 1888 if (fmt_end > fmt_start && fmt_end[-1] == 'f') in PatchFormatStringFloatToInt() 1891 if (fmt_start == fmt && fmt_end[0] == 0) in PatchFormatStringFloatToInt() 1894 ImFormatString(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), "%.*s%%d%s", (int)(fmt_start - fmt), fmt, fmt_end); // Honor leading and trailing decorations, but lose alignment/precision. in PatchFormatStringFloatToInt() 2183 const char* fmt_start = ImParseFormatFindStart(format); in RoundScalarWithFormatT() local 2184 if (fmt_start[0] != '%' || fmt_start[1] == '%') // Don't apply if the value is not visible in the format string in RoundScalarWithFormatT() 2189 SanitizeFormatString(fmt_start, fmt_sanitized, IM_ARRAYSIZE(fmt_sanitized)); in RoundScalarWithFormatT() 2190 fmt_start in RoundScalarWithFormatT() [all...] |
/third_party/mesa3d/src/imgui/ |
H A D | imgui_widgets.cpp | 1520 const char* fmt_start = ImParseFormatFindStart(fmt); // Find % (if any, and ignore %%) in PatchFormatStringFloatToInt() local 1521 const char* fmt_end = ImParseFormatFindEnd(fmt_start); // Find end of format specifier, which itself is an exercise of confidence/recklessness (because snprintf is dependent on libc or user). in PatchFormatStringFloatToInt() 1522 if (fmt_end > fmt_start && fmt_end[-1] == 'f') in PatchFormatStringFloatToInt() 1525 if (fmt_start == fmt && fmt_end[0] == 0) in PatchFormatStringFloatToInt() 1528 ImFormatString(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), "%.*s%%d%s", (int)(fmt_start - fmt), fmt, fmt_end); // Honor leading and trailing decorations, but lose alignment/precision. in PatchFormatStringFloatToInt() 1694 const char* fmt_start = ImParseFormatFindStart(format); 1695 if (fmt_start[0] != '%' || fmt_start[1] == '%') // Don't apply if the value is not visible in the format string 1698 ImFormatString(v_str, IM_ARRAYSIZE(v_str), fmt_start, v); 2581 const char* fmt_start [all...] |
Completed in 11 milliseconds