Home
last modified time | relevance | path

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

/third_party/quickjs/
Dquickjs-libc.c153 const uint8_t *fmt, *fmt_end; in js_printf_internal() local
174 fmt_end = fmt + fmt_len; in js_printf_internal()
175 while (fmt < fmt_end) { in js_printf_internal()
176 for (p = fmt; fmt < fmt_end && *fmt != '%'; fmt++) in js_printf_internal()
179 if (fmt >= fmt_end) in js_printf_internal()
/third_party/skia/third_party/externals/imgui/
Dimgui_widgets.cpp1887 …const char* fmt_end = ImParseFormatFindEnd(fmt_start); // Find end of format specifier, which its… in PatchFormatStringFloatToInt() local
1888 if (fmt_end > fmt_start && fmt_end[-1] == 'f') in PatchFormatStringFloatToInt()
1891 if (fmt_start == fmt && fmt_end[0] == 0) in PatchFormatStringFloatToInt()
1894 …r, IM_ARRAYSIZE(g.TempBuffer), "%.*s%%d%s", (int)(fmt_start - fmt), fmt, fmt_end); // Honor leadin… in PatchFormatStringFloatToInt()
2169 const char* fmt_end = ImParseFormatFindEnd(fmt); in SanitizeFormatString() local
2170 …IM_ASSERT((size_t)(fmt_end - fmt + 1) < fmt_out_size); // Format is too long, let us know if this … in SanitizeFormatString()
2171 while (fmt < fmt_end) in SanitizeFormatString()
3321 const char* fmt_end = ImParseFormatFindEnd(fmt_start); in ImParseFormatTrimDecorations() local
3322 if (fmt_end[0] == 0) // If we only have leading decoration, we don't need to copy the data. in ImParseFormatTrimDecorations()
3324 ImStrncpy(buf, fmt_start, ImMin((size_t)(fmt_end - fmt_start) + 1, buf_size)); in ImParseFormatTrimDecorations()
/third_party/flutter/skia/third_party/externals/imgui/
Dimgui_widgets.cpp1515 …const char* fmt_end = ImParseFormatFindEnd(fmt_start); // Find end of format specifier, which its… in PatchFormatStringFloatToInt() local
1516 if (fmt_end > fmt_start && fmt_end[-1] == 'f') in PatchFormatStringFloatToInt()
1519 if (fmt_start == fmt && fmt_end[0] == 0) in PatchFormatStringFloatToInt()
1522 …r, IM_ARRAYSIZE(g.TempBuffer), "%.*s%%d%s", (int)(fmt_start - fmt), fmt, fmt_end); // Honor leadin… in PatchFormatStringFloatToInt()
2583 const char* fmt_end = ImParseFormatFindEnd(fmt_start); in ImParseFormatTrimDecorations() local
2584 if (fmt_end[0] == 0) // If we only have leading decoration, we don't need to copy the data. in ImParseFormatTrimDecorations()
2586 ImStrncpy(buf, fmt_start, ImMin((int)(fmt_end + 1 - fmt_start), buf_size)); in ImParseFormatTrimDecorations()
/third_party/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()