Searched refs:ImTextCountCharsFromUtf8 (Results 1 - 6 of 6) sorted by relevance
/third_party/mesa3d/src/imgui/ |
H A D | imgui_internal.h | 146 IMGUI_API int ImTextCountCharsFromUtf8(const char* in_text, const char* in_text_end); // return number of UTF-8 code-points (NOT bytes count)
|
H A D | imgui_widgets.cpp | 3548 if (callback_data.CursorPos != utf8_cursor_pos) { edit_state.StbState.cursor = ImTextCountCharsFromUtf8(callback_data.Buf, callback_data.Buf + callback_data.CursorPos); edit_state.CursorFollow = true; } 3549 if (callback_data.SelectionStart != utf8_selection_start) { edit_state.StbState.select_start = ImTextCountCharsFromUtf8(callback_data.Buf, callback_data.Buf + callback_data.SelectionStart); } 3550 if (callback_data.SelectionEnd != utf8_selection_end) { edit_state.StbState.select_end = ImTextCountCharsFromUtf8(callback_data.Buf, callback_data.Buf + callback_data.SelectionEnd); }
|
H A D | imgui.cpp | 1514 const int filename_wsize = ImTextCountCharsFromUtf8(filename, NULL) + 1; in ImFileOpen() 1515 const int mode_wsize = ImTextCountCharsFromUtf8(mode, NULL) + 1; in ImFileOpen() 1652 int ImTextCountCharsFromUtf8(const char* in_text, const char* in_text_end) in ImTextCountCharsFromUtf8() function 9208 const int wbuf_length = ImTextCountCharsFromUtf8(text, NULL) + 1; in SetClipboardTextFn_DefaultImpl()
|
/third_party/skia/third_party/externals/imgui/ |
H A D | imgui_widgets.cpp | 4391 w_text.resize(ImTextCountCharsFromUtf8(apply_new_text, apply_new_text + apply_new_text_length) + 1); in InputTextEx() 4475 if (callback_data.CursorPos != utf8_cursor_pos || buf_dirty) { state->Stb.cursor = ImTextCountCharsFromUtf8(callback_data.Buf, callback_data.Buf + callback_data.CursorPos); state->CursorFollow = true; } in InputTextEx() 4476 if (callback_data.SelectionStart != utf8_selection_start || buf_dirty) { state->Stb.select_start = (callback_data.SelectionStart == callback_data.CursorPos) ? state->Stb.cursor : ImTextCountCharsFromUtf8(callback_data.Buf, callback_data.Buf + callback_data.SelectionStart); } in InputTextEx() 4477 if (callback_data.SelectionEnd != utf8_selection_end || buf_dirty) { state->Stb.select_end = (callback_data.SelectionEnd == callback_data.SelectionStart) ? state->Stb.select_start : ImTextCountCharsFromUtf8(callback_data.Buf, callback_data.Buf + callback_data.SelectionEnd); } in InputTextEx()
|
H A D | imgui_internal.h | 334 IMGUI_API int ImTextCountCharsFromUtf8(const char* in_text, const char* in_text_end); // return number of UTF-8 code-points (NOT bytes count)
|
H A D | imgui.cpp | 1583 // Previously we used ImTextCountCharsFromUtf8/ImTextStrFromUtf8 here but we now need to support ImWchar16 and ImWchar32! in ImFileOpen() 1722 int ImTextCountCharsFromUtf8(const char* in_text, const char* in_text_end)
|
Completed in 73 milliseconds