Home
last modified time | relevance | path

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

/external/mesa3d/src/imgui/
Dimgui_widgets.cpp1521 …const char* fmt_end = ImParseFormatFindEnd(fmt_start); // Find end of format specifier, which its… in PatchFormatStringFloatToInt() local
1522 if (fmt_end > fmt_start && fmt_end[-1] == 'f') in PatchFormatStringFloatToInt()
1525 if (fmt_start == fmt && fmt_end[0] == 0) in PatchFormatStringFloatToInt()
1528 …r, IM_ARRAYSIZE(g.TempBuffer), "%.*s%%d%s", (int)(fmt_start - fmt), fmt, fmt_end); // Honor leadin… in PatchFormatStringFloatToInt()
2584 const char* fmt_end = ImParseFormatFindEnd(fmt_start); in ImParseFormatTrimDecorations() local
2585 if (fmt_end[0] == 0) // If we only have leading decoration, we don't need to copy the data. in ImParseFormatTrimDecorations()
2587 ImStrncpy(buf, fmt_start, ImMin((size_t)(fmt_end - fmt_start) + 1, buf_size)); in ImParseFormatTrimDecorations()