Searched refs:CanAllocate (Results 1 – 5 of 5) sorted by relevance
107 if (!a->CanAllocate(size, 1)) continue; in TestSizeClassAllocator()679 if (!a->CanAllocate(size, 1)) continue; in TestSizeClassAllocatorIteration()
348 static bool CanAllocate(uptr size, uptr alignment) { in CanAllocate() function735 static bool CanAllocate(uptr size, uptr alignment) { in CanAllocate() function1322 bool from_primary = primary_.CanAllocate(size, alignment);
2367 DCHECK(page()->CanAllocate()); in AllocateChunk()2379 DCHECK(page()->CanAllocate()); in AllocateChunk()2392 DCHECK(page()->CanAllocate()); in AllocateChunk()2418 if (!page()->CanAllocate()) return false; in AllocateChunk()
530 bool CanAllocate() { in CanAllocate() function
351 if (!PrimaryAllocator::CanAllocate(needed_size, alignment)) { in Allocate()