Searched refs:heap_memory (Results 1 – 2 of 2) 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 …]
27 char *heap_memory = new char[kStackSize + 1]; in main() local28 char *child_stack = (argc > 1) ? stack_memory : heap_memory; in main()43 delete[] heap_memory; in main()