Lines Matching refs:heapHandle
254 MEMHeapHandle heapHandle; in DEMOConfigureMem() local
259 heapHandle = MEMCreateExpHeap(arenaLo, (u32)arenaHi - (u32)arenaLo); in DEMOConfigureMem()
260 if ( heapHandle == MEM_HEAP_INVALID_HANDLE ) in DEMOConfigureMem()
265 MEMInitAllocatorForExpHeap(&DemoAllocator1, heapHandle, 32); in DEMOConfigureMem()
270 heapHandle = MEMCreateExpHeap(arenaLo, (u32)arenaHi - (u32)arenaLo); in DEMOConfigureMem()
271 if ( heapHandle == MEM_HEAP_INVALID_HANDLE ) in DEMOConfigureMem()
276 MEMInitAllocatorForExpHeap(&DemoAllocator2, heapHandle, 32); in DEMOConfigureMem()
283 OSHeapHandle heapHandle; in DEMOConfigureMem() local
296 heapHandle = OSCreateHeap(arenaLo, arenaHi); in DEMOConfigureMem()
297 if ( heapHandle == -1 ) in DEMOConfigureMem()
305 OSSetCurrentHeap(heapHandle); in DEMOConfigureMem()
306 MEMInitAllocatorForOSHeap(&DemoAllocator1, heapHandle); in DEMOConfigureMem()
307 MEMInitAllocatorForOSHeap(&DemoAllocator2, heapHandle); in DEMOConfigureMem()