Searched refs:allocSize (Results 1 – 4 of 4) sorted by relevance
47 size_t allocSize; member76 preamble->allocSize = size; in debugAlloc()99 if (preamble->allocSize > kMaxAllocSize) { in debugFree()100 FATAL_ERROR("Invalid allocation size %zu", preamble->allocSize); in debugFree()105 uint8_t *trailer = static_cast<uint8_t *>(pointer) + preamble->allocSize; in debugFree()
79 uint32_t allocSize = 1024 * 1024 * 256; in exhaustHeap() local82 void *ptr = chreHeapAlloc(allocSize); in exhaustHeap()84 allocSize /= 2; in exhaustHeap()85 if (allocSize < 4) { in exhaustHeap()88 ptr = chreHeapAlloc(allocSize); in exhaustHeap()
23 ChunkAllocatorBase::ChunkAllocatorBase(size_t allocSize, size_t slotCount, in ChunkAllocatorBase() argument25 : mAllocSize(allocSize), in ChunkAllocatorBase()
31 ChunkAllocatorBase(size_t allocSize, size_t slotCount, uint8_t *rawMemory);