Searched refs:BufSize (Results 1 - 4 of 4) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui_widgets.cpp3036 if (new_text_len + BufTextLen >= BufSize)
3049 BufSize = edit_state->BufCapacityA = new_buf_size;
3532 callback_data.BufSize = edit_state.BufCapacityA;
3546 IM_ASSERT(callback_data.BufSize == edit_state.BufCapacityA);
3582 callback_data.BufSize = ImMax(buf_size, apply_new_text_length + 1);
3586 buf_size = callback_data.BufSize;
H A Dimgui.h753 ImGuiInputTextFlags_CallbackResize = 1 << 18, // Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow. Notify when the string wants to be resized (for string types which hold a cache of their Size). You will be provided a new BufSize in the callback and NEED to honor it. (see misc/cpp/imgui_stdlib.h for an example of using this)
1429 // - If you know your edits are not going to resize the underlying buffer allocation, you may modify the contents of 'Buf[]' directly. You need to update 'BufTextLen' accordingly (0 <= BufTextLen < BufSize) and set 'BufDirty'' to true so InputText can update its internal state.
1434 int BufSize; // Buffer size (in bytes) = capacity+1 // Read-only // [Resize,Completion,History,Always] Include zero-terminator storage. In C land == ARRAYSIZE(my_char_array), in C++ land: string.capacity()+1 member in struct:ImGuiInputTextCallbackData
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui_widgets.cpp3036 if (new_text_len + BufTextLen >= BufSize)
3049 BufSize = edit_state->BufCapacityA = new_buf_size;
3532 callback_data.BufSize = edit_state.BufCapacityA;
3546 IM_ASSERT(callback_data.BufSize == edit_state.BufCapacityA);
3582 callback_data.BufSize = ImMax(buf_size, apply_new_text_length + 1);
3586 buf_size = callback_data.BufSize;
H A Dimgui.h753 ImGuiInputTextFlags_CallbackResize = 1 << 18, // Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow. Notify when the string wants to be resized (for string types which hold a cache of their Size). You will be provided a new BufSize in the callback and NEED to honor it. (see misc/cpp/imgui_stdlib.h for an example of using this)
1429 // - If you know your edits are not going to resize the underlying buffer allocation, you may modify the contents of 'Buf[]' directly. You need to update 'BufTextLen' accordingly (0 <= BufTextLen < BufSize) and set 'BufDirty'' to true so InputText can update its internal state.
1434 int BufSize; // Buffer size (in bytes) = capacity+1 // Read-only // [Resize,Completion,History,Always] Include zero-terminator storage. In C land == ARRAYSIZE(my_char_array), in C++ land: string.capacity()+1 member in struct:ImGuiInputTextCallbackData

Completed in 39 milliseconds