Searched refs:CanAllocate (Results 1 – 5 of 5) sorted by relevance
97 if (!a->CanAllocate(size, 1)) continue; in TestSizeClassAllocator()671 if (!a->CanAllocate(size, 1)) continue; in TestSizeClassAllocatorIteration()
340 static bool CanAllocate(uptr size, uptr alignment) { in CanAllocate() function714 static bool CanAllocate(uptr size, uptr alignment) { in CanAllocate() function1298 bool from_primary = primary_.CanAllocate(size, alignment);
2338 while ((node != nullptr) && !page->CanAllocate()) { in AllocateChunk()2380 if ((size >= size_in_bytes) || !page_for_node->CanAllocate()) { in AllocateChunk()2394 if (!page_for_node->CanAllocate()) { in AllocateChunk()2805 if (!Page::FromAllocationTop(allocation_info_.top())->CanAllocate()) { in AllocateChunk()
697 bool CanAllocate() { in CanAllocate() function
351 if (!PrimaryAllocator::CanAllocate(needed_size, alignment)) { in Allocate()