Home
last modified time | relevance | path

Searched refs:MemFree (Results 1 - 8 of 8) sorted by relevance

/third_party/mesa3d/src/imgui/
H A Dimgui.h682 IMGUI_API void MemFree(void* ptr);
1190 inline ~ImVector() { if (Data) ImGui::MemFree(Data); } in ~ImVector()
1199 inline void clear() { if (Data) { Size = Capacity = 0; ImGui::MemFree(Data); Data = NULL; } }
1213 inline void reserve(int new_capacity) { if (new_capacity <= Capacity) return; T* new_data = (T*)ImGui::MemAlloc((size_t)new_capacity * sizeof(T)); if (Data) { memcpy(new_data, Data, (size_t)Size * sizeof(T)); ImGui::MemFree(Data); } Data = new_data; Capacity = new_capacity; } in reserve()
1382 int MetricsActiveAllocations; // Number of active allocations, updated by MemAlloc/MemFree based on current context. May be off if you have multiple imgui contexts.
1526 // Helper: IM_NEW(), IM_PLACEMENT_NEW(), IM_DELETE() macros to call MemAlloc + Placement New, Placement Delete + MemFree
1534 template<typename T> void IM_DELETE(T* p) { if (p) { p->~T(); ImGui::MemFree(p); } } in IM_DELETE()
H A Dimgui_draw.cpp133 #define STBTT_free(x,u) ((void)(u), ImGui::MemFree(x))
1461 ImGui::MemFree(ConfigData[i].FontData); in ClearInputData()
1482 ImGui::MemFree(TexPixelsAlpha8); in ClearTexData()
1484 ImGui::MemFree(TexPixelsRGBA32); in ClearTexData()
1662 ImGui::MemFree(compressed_ttf); in AddFontFromMemoryCompressedBase85TTF()
H A Dimgui.cpp957 #pragma clang diagnostic ignored "-Wexit-time-destructors" // warning : declaration requires an exit-time destructor // exit-time destruction order is undefined. if MemFree() leads to users code that has been disabled before exit it might cause problems. ImGui coding style welcomes static/globals.
1317 ImGui::MemFree(dst);
1527 // Memory allocated with ImGui::MemAlloc(), must be freed by user using ImGui::MemFree()
1555 ImGui::MemFree(file_data); in ImFileLoadToMemory()
2960 void ImGui::MemFree(void* ptr) in MemFree() function in ImGui
8992 ImGui::MemFree(file_data); in LoadIniSettingsFromDisk()
9063 ImGui::MemFree(buf); in LoadIniSettingsFromMemory()
H A Dimgui_widgets.cpp3461 MemFree(clipboard_filtered);
/third_party/skia/third_party/externals/imgui/backends/
H A Dimgui_impl_dx9.cpp345 ImGui::MemFree(pixels); in ImGui_ImplDX9_CreateFontsTexture()
/third_party/skia/third_party/externals/imgui/
H A Dimgui.h940 IMGUI_API void MemFree(void* ptr);
1677 #define IM_FREE(_PTR) ImGui::MemFree(_PTR)
1680 template<typename T> void IM_DELETE(T* p) { if (p) { p->~T(); ImGui::MemFree(p); } } in IM_DELETE()
1920 int MetricsActiveAllocations; // Number of active allocations, updated by MemAlloc/MemFree based on current context. May be off if you have multiple imgui contexts.
H A Dimgui_widgets.cpp4332 MemFree(clipboard_data); in InputTextEx()
4366 MemFree(clipboard_filtered); in InputTextEx()
H A Dimgui.cpp849 #pragma clang diagnostic ignored "-Wexit-time-destructors" // warning: declaration requires an exit-time destructor // exit-time destruction order is undefined. if MemFree() leads to users code that has been disabled before exit it might cause problems. ImGui coding style welcomes static/globals.
1604 // Memory allocated with IM_ALLOC(), must be freed by user using IM_FREE() == ImGui::MemFree()
3369 // IM_FREE() == ImGui::MemFree()
3370 void ImGui::MemFree(void* ptr) in MemFree() function in ImGui

Completed in 87 milliseconds