Searched refs:fmt_start (Results 1 - 2 of 2) sorted by relevance
| /xsrc/external/mit/MesaLib.old/dist/src/imgui/ |
| H A D | imgui_widgets.cpp | 1520 const char* fmt_start = ImParseFormatFindStart(fmt); // Find % (if any, and ignore %%) local in function:PatchFormatStringFloatToInt 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). 1522 if (fmt_end > fmt_start && fmt_end[-1] == 'f') 1525 if (fmt_start == fmt && fmt_end[0] == 0) 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. 1694 const char* fmt_start = ImParseFormatFindStart(format); local in function:ImGui::RoundScalarWithFormatT 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 local in function:ImParseFormatTrimDecorations [all...] |
| /xsrc/external/mit/MesaLib/dist/src/imgui/ |
| H A D | imgui_widgets.cpp | 1520 const char* fmt_start = ImParseFormatFindStart(fmt); // Find % (if any, and ignore %%) local in function:PatchFormatStringFloatToInt 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). 1522 if (fmt_end > fmt_start && fmt_end[-1] == 'f') 1525 if (fmt_start == fmt && fmt_end[0] == 0) 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. 1694 const char* fmt_start = ImParseFormatFindStart(format); local in function:ImGui::RoundScalarWithFormatT 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 local in function:ImParseFormatTrimDecorations [all...] |
Completed in 18 milliseconds