Home
last modified time | relevance | path

Searched refs:CanAllocate (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator_combined.h68 if (primary_.CanAllocate(size, alignment)) in Allocate()
Dsanitizer_allocator_primary32.h150 static bool CanAllocate(uptr size, uptr alignment) { in CanAllocate() function
Dsanitizer_allocator_primary64.h109 static bool CanAllocate(uptr size, uptr alignment) { in CanAllocate() function
/external/pigweed/pw_allocator/
Dfreelist_heap_test.cc23 TEST(FreeListHeap, CanAllocate) { in TEST() argument
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc107 if (!a->CanAllocate(size, 1)) continue; in TestSizeClassAllocator()
679 if (!a->CanAllocate(size, 1)) continue; in TestSizeClassAllocatorIteration()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h348 static bool CanAllocate(uptr size, uptr alignment) { in CanAllocate() function
735 static bool CanAllocate(uptr size, uptr alignment) { in CanAllocate() function
1322 bool from_primary = primary_.CanAllocate(size, alignment);
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cpp218 if (!a->CanAllocate(size, 1)) continue; in TestSizeClassAllocator()
909 if (!a->CanAllocate(size, 1)) continue; in TestSizeClassAllocatorIteration()
/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_allocator.cpp344 if (PrimaryT::CanAllocate(AlignedSize, MinAlignment)) { in allocate()
/external/compiler-rt/lib/asan/
Dasan_allocator.cc351 if (!PrimaryAllocator::CanAllocate(needed_size, alignment)) { in Allocate()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_allocator.cpp518 if (!PrimaryAllocator::CanAllocate(needed_size, alignment)) in Allocate()