Searched refs:IM_ARRAYSIZE (Results 1 – 8 of 8) sorted by relevance
/external/mesa3d/src/imgui/ |
D | imgui_memory_editor.h | 519 …aPreviewAddr, mem_data, mem_size, PreviewDataType, DataFormat_Dec, buf, (size_t)IM_ARRAYSIZE(buf)); 522 …aPreviewAddr, mem_data, mem_size, PreviewDataType, DataFormat_Hex, buf, (size_t)IM_ARRAYSIZE(buf)); 525 …aPreviewAddr, mem_data, mem_size, PreviewDataType, DataFormat_Bin, buf, (size_t)IM_ARRAYSIZE(buf)); 617 IM_ASSERT(out_n < IM_ARRAYSIZE(out_buf)); in FormatBinary()
|
D | imgui.cpp | 1199 …for (int i = 0; i < IM_ARRAYSIZE(MouseDownDuration); i++) MouseDownDuration[i] = MouseDownDuration… in ImGuiIO() 1200 …for (int i = 0; i < IM_ARRAYSIZE(KeysDownDuration); i++) KeysDownDuration[i] = KeysDownDurationPr… in ImGuiIO() 1201 for (int i = 0; i < IM_ARRAYSIZE(NavInputsDownDuration); i++) NavInputsDownDuration[i] = -1.0f; in ImGuiIO() 2017 ImStrncpy(InputBuf, default_filter, IM_ARRAYSIZE(InputBuf)); in ImGuiTextFilter() 2031 bool value_changed = ImGui::InputText(label, InputBuf, IM_ARRAYSIZE(InputBuf)); in Draw() 3216 for (int i = 0; i < IM_ARRAYSIZE(g.IO.MouseDown); i++) in UpdateMouseInputs() 3322 for (int i = 0; i < IM_ARRAYSIZE(g.IO.MouseDown); i++) in UpdateHoveredWindowAndCaptureFlags() 3377 …IM_ASSERT(g.IO.KeyMap[n] >= -1 && g.IO.KeyMap[n] < IM_ARRAYSIZE(g.IO.KeysDown) && "io.KeyMap[] con… in NewFrame() 3469 for (int i = 0; i < IM_ARRAYSIZE(g.IO.KeysDown); i++) in NewFrame() 3481 …g.FramerateSecPerFrameIdx = (g.FramerateSecPerFrameIdx + 1) % IM_ARRAYSIZE(g.FramerateSecPerFrame); in NewFrame() [all …]
|
D | imgui_draw.cpp | 352 for (int i = 0; i < IM_ARRAYSIZE(CircleVtx12); i++) in ImDrawListSharedData() 354 const float a = ((float)i * 2 * IM_PI) / (float)IM_ARRAYSIZE(CircleVtx12); in ImDrawListSharedData() 948 const ImVec2& c = _Data->CircleVtx12[a % IM_ARRAYSIZE(_Data->CircleVtx12)]; in PathArcToFast() 1445 for (int n = 0; n < IM_ARRAYSIZE(CustomRectIds); n++) in ImFontAtlas() 1474 for (int n = 0; n < IM_ARRAYSIZE(CustomRectIds); n++) in ClearInputData() 1600 …ImFormatString(font_cfg.Name, IM_ARRAYSIZE(font_cfg.Name), "ProggyClean.ttf, %dpx", (int)font_cfg.… in AddFontDefault() 1625 ImFormatString(font_cfg.Name, IM_ARRAYSIZE(font_cfg.Name), "%s, %.0fpx", p, size_pixels); in AddFontFromFileTTF() 2259 …static ImWchar full_ranges[IM_ARRAYSIZE(base_ranges) + IM_ARRAYSIZE(accumulative_offsets_from_0x4E… in GetGlyphRangesChineseSimplifiedCommon() 2263 …E00, accumulative_offsets_from_0x4E00, IM_ARRAYSIZE(accumulative_offsets_from_0x4E00), full_ranges… in GetGlyphRangesChineseSimplifiedCommon() 2317 …static ImWchar full_ranges[IM_ARRAYSIZE(base_ranges) + IM_ARRAYSIZE(accumulative_offsets_from_0x4E… in GetGlyphRangesJapanese() [all …]
|
D | imgui_widgets.cpp | 249 …const char* text_end = g.TempBuffer + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), fm… in TextV() 329 …const char* value_text_end = value_text_begin + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempB… in LabelTextV() 354 …const char* text_end = text_begin + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), fmt,… in BulletTextV() 1051 ImFormatString(overlay_buf, IM_ARRAYSIZE(overlay_buf), "%.0f%%", fraction*100+0.01f); in ProgressBar() 1354 …ImFormatString(name, IM_ARRAYSIZE(name), "##Combo_%02d", g.BeginPopupStack.Size); // Recycle windo… in BeginCombo() 1511 IM_STATIC_ASSERT(IM_ARRAYSIZE(GDataTypeInfo) == ImGuiDataType_COUNT); 1528 …ImFormatString(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), "%.*s%%d%s", (int)(fmt_start - fmt), fmt,… in PatchFormatStringFloatToInt() 1675 …return (decimal_precision < IM_ARRAYSIZE(min_steps)) ? min_steps[decimal_precision] : ImPow(10.0f,… in GetMinimumStepAtDecimalPrecision() 1698 ImFormatString(v_str, IM_ARRAYSIZE(v_str), fmt_start, v); in RoundScalarWithFormatT() 1927 …const char* value_buf_end = value_buf + DataTypeFormatString(value_buf, IM_ARRAYSIZE(value_buf), d… in DragScalar() [all …]
|
D | imgui_internal.h | 686 void Clear() { for (int n = 0; n < IM_ARRAYSIZE(Layers); n++) Layers[n].resize(0); } in Clear() 687 void ClearFreeMemory() { for (int n = 0; n < IM_ARRAYSIZE(Layers); n++) Layers[n].clear(); } in ClearFreeMemory()
|
D | imgui.h | 73 #define IM_ARRAYSIZE(_ARR) ((int)(sizeof(_ARR)/sizeof(*_ARR))) // Size of a static… macro
|
/external/mesa3d/src/intel/tools/imgui/ |
D | imgui_impl_opengl3.cpp | 80 IM_ASSERT((int)strlen(glsl_version) + 2 < IM_ARRAYSIZE(g_GlslVersionString)); in ImGui_ImplOpenGL3_Init()
|
/external/mesa3d/src/vulkan/overlay-layer/ |
D | overlay.cpp | 1582 dynamic_state.dynamicStateCount = (uint32_t)IM_ARRAYSIZE(dynamic_states); in setup_swapchain_data_pipeline()
|