Lines Matching refs:text_end
2078 bool ImGuiTextFilter::PassFilter(const char* text, const char* text_end) const in PassFilter()
2094 if (ImStristr(text, text_end, f.begin()+1, f.end()) != NULL) in PassFilter()
2100 if (ImStristr(text, text_end, f.begin(), f.end()) != NULL) in PassFilter()
2272 const char* ImGui::FindRenderedTextEnd(const char* text, const char* text_end) in FindRenderedTextEnd() argument
2275 if (!text_end) in FindRenderedTextEnd()
2276 text_end = (const char*)-1; in FindRenderedTextEnd()
2278 …while (text_display_end < text_end && *text_display_end != '\0' && (text_display_end[0] != '#' || … in FindRenderedTextEnd()
2285 void ImGui::RenderText(ImVec2 pos, const char* text, const char* text_end, bool hide_text_after_has… in RenderText() argument
2294 text_display_end = FindRenderedTextEnd(text, text_end); in RenderText()
2298 if (!text_end) in RenderText()
2299 text_end = text + strlen(text); // FIXME-OPT in RenderText()
2300 text_display_end = text_end; in RenderText()
2311 void ImGui::RenderTextWrapped(ImVec2 pos, const char* text, const char* text_end, float wrap_width) in RenderTextWrapped() argument
2316 if (!text_end) in RenderTextWrapped()
2317 text_end = text + strlen(text); // FIXME-OPT in RenderTextWrapped()
2319 if (text != text_end) in RenderTextWrapped()
2321 …DrawList->AddText(g.Font, g.FontSize, pos, GetColorU32(ImGuiCol_Text), text, text_end, wrap_width); in RenderTextWrapped()
2323 LogRenderedText(&pos, text, text_end); in RenderTextWrapped()
2357 …t ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* te… in RenderTextClipped() argument
2360 const char* text_display_end = FindRenderedTextEnd(text, text_end); in RenderTextClipped()
3898 ImVec2 ImGui::CalcTextSize(const char* text, const char* text_end, bool hide_text_after_double_hash… in CalcTextSize() argument
3904 … text_display_end = FindRenderedTextEnd(text, text_end); // Hide anything after a '##' string in CalcTextSize()
3906 text_display_end = text_end; in CalcTextSize()
8794 void ImGui::LogRenderedText(const ImVec2* ref_pos, const char* text, const char* text_end) in LogRenderedText() argument
8799 if (!text_end) in LogRenderedText()
8800 text_end = FindRenderedTextEnd(text, text_end); in LogRenderedText()
8814 const char* line_end = ImStreolRange(line_start, text_end); in LogRenderedText()
8816 const bool is_last_line = (line_end == text_end); in LogRenderedText()
9238 const char* text_end = text + strlen(text); in SetClipboardTextFn_DefaultImpl() local
9239 g.PrivateClipboard.resize((int)(text_end - text) + 1); in SetClipboardTextFn_DefaultImpl()
9240 memcpy(&g.PrivateClipboard[0], text, (size_t)(text_end - text)); in SetClipboardTextFn_DefaultImpl()
9241 g.PrivateClipboard[(int)(text_end - text)] = 0; in SetClipboardTextFn_DefaultImpl()