Searched refs:heap_memory (Results 1 – 3 of 3) sorted by relevance
25 void* const heap_memory=winapi::HeapAlloc(winapi::GetProcessHeap(),0,size); in allocate_raw_heap_memory() local26 if(!heap_memory) in allocate_raw_heap_memory()30 return heap_memory; in allocate_raw_heap_memory()33 inline void free_raw_heap_memory(void* heap_memory) in free_raw_heap_memory() argument35 BOOST_VERIFY(winapi::HeapFree(winapi::GetProcessHeap(),0,heap_memory)!=0); in free_raw_heap_memory()41 void* const heap_memory=allocate_raw_heap_memory(sizeof(T)); in heap_new() local44 T* const data=new (heap_memory) T(static_cast<Args&&>(args)...); in heap_new()49 free_raw_heap_memory(heap_memory); in heap_new()58 void* const heap_memory=allocate_raw_heap_memory(sizeof(T)); in heap_new() local61 T* const data=new (heap_memory) T(); in heap_new()[all …]
25 managed_heap_memory heap_memory(1000); in main() local27 MyList * mylist = heap_memory.construct<MyList>("MyList") in main()28 (heap_memory.get_segment_manager()); in main()31 managed_heap_memory::handle_t list_handle = heap_memory.get_handle_from_address(mylist); in main()50 heap_memory.grow(1000); in main()55 (heap_memory.get_address_from_handle(list_handle)); in main()76 heap_memory.destroy_ptr(mylist); in main()
370 boost/detail/winapi/heap_memory.hpp