Home
last modified time | relevance | path

Searched refs:allocSize (Results 1 – 5 of 5) sorted by relevance

/system/chre/platform/shared/include/chre/platform/shared/
Dmemory_debug.h47 size_t allocSize; member
76 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()
/system/bt/embdrv/sbc/decoder/srce/
Dalloc.c73 size_t allocSize = in OI_CODEC_SBC_Alloc() local
76 OI_ASSERT(codecDataBytes >= allocSize); in OI_CODEC_SBC_Alloc()
77 codecData += allocSize; in OI_CODEC_SBC_Alloc()
78 codecDataBytes -= allocSize; in OI_CODEC_SBC_Alloc()
/system/chre/apps/test/chqts/src/general_test/
Dheap_exhaustion_stability_test.cc76 uint32_t allocSize = 1024 * 1024 * 256; in exhaustHeap() local
79 void *ptr = chreHeapAlloc(allocSize); in exhaustHeap()
81 allocSize /= 2; in exhaustHeap()
82 if (allocSize < 4) { in exhaustHeap()
85 ptr = chreHeapAlloc(allocSize); in exhaustHeap()
/system/chre/apps/test/chqts/src/shared/
Dchunk_allocator.cc23 ChunkAllocatorBase::ChunkAllocatorBase(size_t allocSize, size_t slotCount, in ChunkAllocatorBase() argument
25 : mAllocSize(allocSize), in ChunkAllocatorBase()
Dchunk_allocator.h31 ChunkAllocatorBase(size_t allocSize, size_t slotCount, uint8_t *rawMemory);