Searched refs:canAllocate (Results 1 – 15 of 15) sorted by relevance
59 bool canAllocate() { return fFreeCount > 0; } in canAllocate() function
57 bool canAllocate(unsigned int count) const { in canAllocate() function
106 if (fDescriptorHeaps[fDescriptorHeaps.size() - 1]->canAllocate(count)) { in allocateTable()
161 if (fDescriptorHeaps[i]->canAllocate()) { in allocateHandle()
36 if (!Primary::canAllocate(Size)) in testPrimary()227 EXPECT_TRUE(Primary::canAllocate(Size)); in testReleaseToOS()
49 return AllocatorT::PrimaryT::canAllocate(NeededSize); in isTaggedAllocation()161 if (AllocatorT::PrimaryT::canAllocate(Size)) in testAllocator()
111 if (!Primary::canAllocate(Size)) in SCUDO_TYPED_TEST()271 EXPECT_TRUE(Primary::canAllocate(Size)); in SCUDO_TYPED_TEST()
42 return AllocatorT::PrimaryT::canAllocate(NeededSize); in isPrimaryAllocation()
65 static bool canAllocate(uptr Size) { return Size <= SizeClassMap::MaxSize; } in canAllocate() function
66 static bool canAllocate(uptr Size) { return Size <= SizeClassMap::MaxSize; } in canAllocate() function
317 if (LIKELY(PrimaryT::canAllocate(NeededSize))) {
58 static bool canAllocate(uptr Size) { return Size <= SizeClassMap::MaxSize; } in canAllocate() function
61 static bool canAllocate(uptr Size) { return Size <= SizeClassMap::MaxSize; } in canAllocate() function
346 if (LIKELY(PrimaryT::canAllocate(NeededSize))) {
305 boolean canAllocate = false; in componentAvailable()309 canAllocate = pool.getAllocatedCount() + count < pool.getSize(); in componentAvailable()311 return canAllocate; in componentAvailable()