Searched refs:MemAlloc (Results 1 – 13 of 13) sorted by relevance
401 buf_bitmap_buffers.push_back((unsigned char*)ImGui::MemAlloc(BITMAP_BUFFERS_CHUNK_SIZE)); in ImFontAtlasBuildWithFreeType()443 … buf_bitmap_buffers.push_back((unsigned char*)ImGui::MemAlloc(BITMAP_BUFFERS_CHUNK_SIZE)); in ImFontAtlasBuildWithFreeType()496 atlas->TexPixelsAlpha8 = (unsigned char*)ImGui::MemAlloc(atlas->TexWidth * atlas->TexHeight); in ImFontAtlasBuildWithFreeType()
322 ImU32* dst_start = (ImU32*)ImGui::MemAlloc((size_t)width * height * bytes_per_pixel); in ImGui_ImplDX9_CreateFontsTexture()
132 #define STBTT_malloc(x,u) ((void)(u), ImGui::MemAlloc(x))1530 … TexPixelsRGBA32 = (unsigned int*)ImGui::MemAlloc((size_t)TexWidth * (size_t)TexHeight * 4); in GetTexDataAsRGBA32()1562 new_font_cfg.FontData = ImGui::MemAlloc(new_font_cfg.FontDataSize); in AddFont()1647 unsigned char* buf_decompressed_data = (unsigned char *)ImGui::MemAlloc(buf_decompressed_size); in AddFontFromMemoryCompressedTTF()1659 void* compressed_ttf = ImGui::MemAlloc((size_t)compressed_ttf_size); in AddFontFromMemoryCompressedBase85TTF()1964 atlas->TexPixelsAlpha8 = (unsigned char*)ImGui::MemAlloc(atlas->TexWidth * atlas->TexHeight); in ImFontAtlasBuildWithStbTruetype()
681 IMGUI_API void* MemAlloc(size_t size);1213 … { if (new_capacity <= Capacity) return; T* new_data = (T*)ImGui::MemAlloc((size_t)new_capac… in reserve()1533 #define IM_NEW(_TYPE) new(ImNewDummy(), ImGui::MemAlloc(sizeof(_TYPE))) _TYPE
1307 void* buf = ImGui::MemAlloc(len + 1); in ImStrdup()1318 dst = (char*)ImGui::MemAlloc(src_size); in ImStrdupcpy()1546 void* file_data = ImGui::MemAlloc(file_size + padding_bytes); in ImFileLoadToMemory()2953 void* ImGui::MemAlloc(size_t size) in MemAlloc() function in ImGui9016 char* buf = (char*)ImGui::MemAlloc(ini_size + 1); in LoadIniSettingsFromMemory()
3443 … ImWchar* clipboard_filtered = (ImWchar*)MemAlloc((clipboard_len+1) * sizeof(ImWchar)); in InputTextEx()
130 #define STBTT_malloc(x,u) ((void)(u), ImGui::MemAlloc(x))1521 TexPixelsRGBA32 = (unsigned int*)ImGui::MemAlloc((size_t)(TexWidth * TexHeight * 4)); in GetTexDataAsRGBA32()1553 new_font_cfg.FontData = ImGui::MemAlloc(new_font_cfg.FontDataSize); in AddFont()1636 unsigned char* buf_decompressed_data = (unsigned char *)ImGui::MemAlloc(buf_decompressed_size); in AddFontFromMemoryCompressedTTF()1648 void* compressed_ttf = ImGui::MemAlloc((size_t)compressed_ttf_size); in AddFontFromMemoryCompressedBase85TTF()1953 atlas->TexPixelsAlpha8 = (unsigned char*)ImGui::MemAlloc(atlas->TexWidth * atlas->TexHeight); in ImFontAtlasBuildWithStbTruetype()
674 IMGUI_API void* MemAlloc(size_t size);1205 … { if (new_capacity <= Capacity) return; T* new_data = (T*)ImGui::MemAlloc((size_t)new_capac… in reserve()1526 #define IM_NEW(_TYPE) new(ImNewDummy(), ImGui::MemAlloc(sizeof(_TYPE))) _TYPE
1293 void* buf = ImGui::MemAlloc(len + 1); in ImStrdup()1304 dst = (char*)ImGui::MemAlloc(src_size); in ImStrdupcpy()1508 void* file_data = ImGui::MemAlloc(file_size + padding_bytes); in ImFileLoadToMemory()2893 void* ImGui::MemAlloc(size_t size) in MemAlloc() function in ImGui8855 char* buf = (char*)ImGui::MemAlloc(ini_size + 1); in LoadIniSettingsFromMemory()
3437 … ImWchar* clipboard_filtered = (ImWchar*)MemAlloc((clipboard_len+1) * sizeof(ImWchar)); in InputTextEx()
939 IMGUI_API void* MemAlloc(size_t size);1676 #define IM_ALLOC(_SIZE) ImGui::MemAlloc(_SIZE)1679 #define IM_NEW(_TYPE) new(ImNewWrapper(), ImGui::MemAlloc(sizeof(_TYPE))) _TY…
3362 void* ImGui::MemAlloc(size_t size) in MemAlloc() function in ImGui
1487 to using the ImGui::MemAlloc()/MemFree() calls directly.2889 from the ImGuiIO structure (to match MemAlloc/MemFree)