Searched refs:fmt_end (Results 1 - 3 of 3) sorted by relevance
/third_party/python/Modules/_decimal/ |
H A D | _decimal.c | 3252 char const *fmt_end = fmt + size; in format_spec_z_search() local 3255 while (pos < fmt_end && *pos & 0x80) { in format_spec_z_search() 3258 if (pos < fmt_end && strchr("<>=^", *pos) != NULL) { in format_spec_z_search() 3263 if (pos < fmt_end && strchr("<>=^", *pos) != NULL) { in format_spec_z_search() 3268 if (pos < fmt_end && strchr("+- ", *pos) != NULL) { in format_spec_z_search() 3271 return pos < fmt_end && *pos == 'z' ? pos : NULL; in format_spec_z_search()
|
/third_party/skia/third_party/externals/imgui/ |
H A D | imgui_widgets.cpp | 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() 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 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() 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 happens to you! in SanitizeFormatString() 2171 while (fmt < fmt_end) in SanitizeFormatString() 3321 const char* fmt_end = ImParseFormatFindEnd(fmt_start); 3322 if (fmt_end[ [all...] |
/third_party/mesa3d/src/imgui/ |
H A D | imgui_widgets.cpp | 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() 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 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() 2584 const char* fmt_end = ImParseFormatFindEnd(fmt_start); 2585 if (fmt_end[0] == 0) // If we only have leading decoration, we don't need to copy the data. 2587 ImStrncpy(buf, fmt_start, ImMin((size_t)(fmt_end - fmt_start) + 1, buf_size));
|
Completed in 25 milliseconds