Lines Matching refs:size
50 NN_WEAK_SYMBOL void* malloc(size_t size) in malloc() argument
52 return s_pSystemHeap->Allocate(size); in malloc()
67 NN_WEAK_SYMBOL void* operator new (size_t size, const ::std::nothrow_t&) throw() in operator new() argument
69 return malloc(size); in operator new()
72 NN_WEAK_SYMBOL void* operator new[] (size_t size, const ::std::nothrow_t&) throw() in operator new[]() argument
74 return operator new(size, ::std::nothrow_t()); in operator new[]()
113 void InitializeAllocator(uptr addr, size_t size) in InitializeAllocator() argument
115 NN_TASSERT_(size >= sizeof(SystemExpHeap)); in InitializeAllocator()
119 …s_pSystemHeap = new (reinterpret_cast<void*>(heapAddr)) SystemExpHeap(headAddr, addr + size - head… in InitializeAllocator()
124 void InitializeAllocator(size_t size) in InitializeAllocator() argument
126 nnosMemoryBlockAllocate(&s_HeapMemoryBlock, size); in InitializeAllocator()
127 NN_TASSERT_(nnosMemoryBlockGetSize(&s_HeapMemoryBlock) == size); in InitializeAllocator()
128 InitializeAllocator(nnosMemoryBlockGetAddress(&s_HeapMemoryBlock), size); in InitializeAllocator()