Searched refs:alloc (Results 1 – 5 of 5) sorted by relevance
33 void *ptr = da.alloc(kAllocSize); in TEST()42 ptrs[i] = da.alloc(kAllocSize); in TEST()50 EXPECT_EQ(nullptr, da.alloc(kAllocSize)); in TEST()57 void *newPtr = da.alloc(kAllocSize); in TEST()66 uint8_t *ptr = static_cast<uint8_t *>(da.alloc(kAllocSize)); in TEST()75 EXPECT_EQ(nullptr, da.alloc(kAllocSize + 1)); in TEST()76 EXPECT_EQ(nullptr, da.alloc(kAllocSize * 2)); in TEST()81 ExpectGoodAlloc(da, da.alloc(kAllocSize - 1)); in TEST()82 ExpectGoodAlloc(da, da.alloc(1)); in TEST()83 ExpectGoodAlloc(da, da.alloc(0)); in TEST()
33 void *alloc(size_t bytes);75 void *alloc(size_t bytes) { in alloc() function76 return ChunkAllocatorBase::alloc(bytes); in alloc()
36 void *ChunkAllocatorBase::alloc(size_t bytes) { in alloc() function in nanoapp_testing::ChunkAllocatorBase
81 void *ret = gChunkAlloc.alloc(*size); in getMessageMemory()
138 /* Non alloc sections */