Lines Matching defs:fmt
1406 int ImFormatString(char* buf, size_t buf_size, const char* fmt, ...)
1409 va_start(args, fmt);
1411 int w = stbsp_vsnprintf(buf, (int)buf_size, fmt, args);
1413 int w = vsnprintf(buf, buf_size, fmt, args);
1424 int ImFormatStringV(char* buf, size_t buf_size, const char* fmt, va_list args)
1427 int w = stbsp_vsnprintf(buf, (int)buf_size, fmt, args);
1429 int w = vsnprintf(buf, buf_size, fmt, args);
2146 void ImGuiTextBuffer::appendf(const char* fmt, ...)
2149 va_start(args, fmt);
2150 appendfv(fmt, args);
2155 void ImGuiTextBuffer::appendfv(const char* fmt, va_list args)
2160 int len = ImFormatStringV(NULL, 0, fmt, args); // FIXME-OPT: could do a first pass write attempt, likely successful on first pass.
2177 ImFormatStringV(&Buf[write_off - 1], (size_t)len + 1, fmt, args_copy);
6701 void ImGui::SetTooltipV(const char* fmt, va_list args)
6708 TextV(fmt, args);
6712 void ImGui::SetTooltip(const char* fmt, ...)
6715 va_start(args, fmt);
6716 SetTooltipV(fmt, args);
8777 void ImGui::LogText(const char* fmt, ...)
8784 va_start(args, fmt);
8786 vfprintf(g.LogFile, fmt, args);
8788 g.LogClipboard.appendfv(fmt, args);