Searched refs:MemFree (Results 1 - 8 of 8) sorted by relevance
| /xsrc/external/mit/MesaLib.old/dist/src/imgui/ |
| H A D | imgui.h | 682 IMGUI_API void MemFree(void* ptr); 1190 inline ~ImVector() { if (Data) ImGui::MemFree(Data); } 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; } 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); } }
|
| H A D | imgui_draw.cpp | 133 #define STBTT_free(x,u) ((void)(u), ImGui::MemFree(x)) 1461 ImGui::MemFree(ConfigData[i].FontData); 1482 ImGui::MemFree(TexPixelsAlpha8); 1484 ImGui::MemFree(TexPixelsRGBA32); 1662 ImGui::MemFree(compressed_ttf);
|
| H A D | imgui.cpp | 957 #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); 2960 void ImGui::MemFree(void* ptr) function in class:ImGui 8992 ImGui::MemFree(file_data); 9063 ImGui::MemFree(buf);
|
| H A D | imgui_widgets.cpp | 3461 MemFree(clipboard_filtered);
|
| /xsrc/external/mit/MesaLib/dist/src/imgui/ |
| H A D | imgui.h | 682 IMGUI_API void MemFree(void* ptr); 1190 inline ~ImVector() { if (Data) ImGui::MemFree(Data); } 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; } 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); } }
|
| H A D | imgui_draw.cpp | 133 #define STBTT_free(x,u) ((void)(u), ImGui::MemFree(x)) 1461 ImGui::MemFree(ConfigData[i].FontData); 1482 ImGui::MemFree(TexPixelsAlpha8); 1484 ImGui::MemFree(TexPixelsRGBA32); 1662 ImGui::MemFree(compressed_ttf);
|
| H A D | imgui.cpp | 957 #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); 2960 void ImGui::MemFree(void* ptr) function in class:ImGui 8992 ImGui::MemFree(file_data); 9063 ImGui::MemFree(buf);
|
| H A D | imgui_widgets.cpp | 3461 MemFree(clipboard_filtered);
|
Completed in 86 milliseconds