Home
last modified time | relevance | path

Searched refs:BufTextLen (Results 1 – 16 of 16) sorted by relevance

/third_party/flutter/skia/third_party/externals/imgui/misc/cpp/
Dimgui_stdlib.cpp31 str->resize(data->BufTextLen); in InputTextCallback()
/third_party/skia/third_party/externals/imgui/misc/cpp/
Dimgui_stdlib.cpp30 str->resize(data->BufTextLen); in InputTextCallback()
/third_party/skia/tools/viewer/
DSkSLSlide.cpp30 SkString tmp(data->Buf, data->BufTextLen); in InputTextCallback()
DParticlesSlide.cpp63 SkString tmp(data->Buf, data->BufTextLen); in InputTextCallback()
/third_party/mesa3d/src/imgui/
Dimgui_memory_editor.h334 if (data->SelectionStart == 0 && data->SelectionEnd == data->BufTextLen) in Callback()
337 data->DeleteChars(0, data->BufTextLen); in Callback()
Dimgui_widgets.cpp3016 IM_ASSERT(pos + bytes_count <= BufTextLen); in DeleteChars()
3029 BufTextLen -= bytes_count; in DeleteChars()
3036 if (new_text_len + BufTextLen >= BufSize) in InsertChars()
3046 int new_buf_size = BufTextLen + ImClamp(new_text_len * 4, 32, ImMax(256, new_text_len)) + 1; in InsertChars()
3052 if (BufTextLen != pos) in InsertChars()
3053 memmove(Buf + pos + new_text_len, Buf + pos, (size_t)(BufTextLen - pos)); in InsertChars()
3055 Buf[BufTextLen + new_text_len] = '\0'; in InsertChars()
3061 BufTextLen += new_text_len; in InsertChars()
3531 callback_data.BufTextLen = edit_state.CurLenA; in InputTextEx()
3553 …IM_ASSERT(callback_data.BufTextLen == (int)strlen(callback_data.Buf)); // You need to maintain Buf… in InputTextEx()
[all …]
Dimgui.h1433 …int BufTextLen; // Text length (in bytes) // Read-write // [Re… member
/third_party/flutter/skia/third_party/externals/imgui/
Dimgui_widgets.cpp3016 IM_ASSERT(pos + bytes_count <= BufTextLen); in DeleteChars()
3029 BufTextLen -= bytes_count; in DeleteChars()
3036 if (new_text_len + BufTextLen >= BufSize) in InsertChars()
3046 int new_buf_size = BufTextLen + ImClamp(new_text_len * 4, 32, ImMax(256, new_text_len)) + 1; in InsertChars()
3052 if (BufTextLen != pos) in InsertChars()
3053 memmove(Buf + pos + new_text_len, Buf + pos, (size_t)(BufTextLen - pos)); in InsertChars()
3055 Buf[BufTextLen + new_text_len] = '\0'; in InsertChars()
3061 BufTextLen += new_text_len; in InsertChars()
3525 callback_data.BufTextLen = edit_state.CurLenA; in InputTextEx()
3547 …IM_ASSERT(callback_data.BufTextLen == (int)strlen(callback_data.Buf)); // You need to maintain Buf… in InputTextEx()
[all …]
Dimgui.h1426 …int BufTextLen; // Text length (in bytes) // Read-write // [Re… member
Dimgui_demo.cpp3355 data->DeleteChars(0, data->BufTextLen); in TextEditCallback()
/third_party/flutter/skia/tools/viewer/
DParticlesSlide.cpp37 SkString tmp(data->Buf, data->BufTextLen); in InputTextCallback()
/third_party/skia/third_party/externals/imgui/
Dimgui_widgets.cpp3800 IM_ASSERT(pos + bytes_count <= BufTextLen); in DeleteChars()
3813 BufTextLen -= bytes_count; in DeleteChars()
3820 if (new_text_len + BufTextLen >= BufSize) in InsertChars()
3830 int new_buf_size = BufTextLen + ImClamp(new_text_len * 4, 32, ImMax(256, new_text_len)) + 1; in InsertChars()
3836 if (BufTextLen != pos) in InsertChars()
3837 memmove(Buf + pos + new_text_len, Buf + pos, (size_t)(BufTextLen - pos)); in InsertChars()
3839 Buf[BufTextLen + new_text_len] = '\0'; in InsertChars()
3845 BufTextLen += new_text_len; in InsertChars()
4457 callback_data.BufTextLen = state->CurLenA; in InputTextEx()
4480 …IM_ASSERT(callback_data.BufTextLen == (int)strlen(callback_data.Buf)); // You need to maintain Buf… in InputTextEx()
[all …]
Dimgui.h1980 …int BufTextLen; // Text length (in bytes) // Read-write // [Re… member
1992 void SelectAll() { SelectionStart = 0; SelectionEnd = BufTextLen; } in SelectAll()
1993 void ClearSelection() { SelectionStart = SelectionEnd = BufTextLen; } in ClearSelection()
Dimgui_demo.cpp1343 data->DeleteChars(0, data->BufTextLen); in ShowDemoWindowWidgets()
1349 data->DeleteChars(0, data->BufTextLen); in ShowDemoWindowWidgets()
6560 data->DeleteChars(0, data->BufTextLen);
/third_party/flutter/skia/third_party/externals/imgui/docs/
DCHANGELOG.txt1085 - InputText(): Added BufTextLen field in ImGuiTextEditCallbackData. Requesting user to update it if…
1109 - InputText(): Added BufTextLen in ImGuiTextEditCallbackData. Requesting user to maintain it if buf…
/third_party/skia/third_party/externals/imgui/docs/
DCHANGELOG.txt2764 - InputText(): Added BufTextLen field in ImGuiTextEditCallbackData. Requesting user to update it if…
2788 - InputText(): Added BufTextLen in ImGuiTextEditCallbackData. Requesting user to maintain it if buf…