Home
last modified time | relevance | path

Searched refs:AllocatorType (Results 1 – 2 of 2) sorted by relevance

/system/utest/fbl/
A Dslab_allocator_tests.cpp245 using AllocatorType = typename Traits::AllocatorType; in do_slab_test() typedef
392 static size_t MaxAllocs() { return AllocatorType::AllocsPerSlab * AllocatorType::max_slabs(); } in MaxAllocs()
418 static size_t MaxAllocs() { return AllocatorType::AllocsPerSlab * AllocatorType::max_slabs(); } in MaxAllocs()
450 return AllocatorType::AllocsPerSlab * AllocatorType::max_slabs(); in MaxAllocs()
462 using AllocatorType = typename Traits::AllocatorType; in do_static_slab_test() typedef
486 case 0: ptr = AllocatorType::New(); break; in do_static_slab_test()
487 case 1: ptr = AllocatorType::New(i); break; in do_static_slab_test()
540 ObjCounterHelper<AllocatorType, in do_static_slab_test()
557 AllocatorType::obj_count(); in do_static_slab_test()
560 AllocatorType::max_obj_count(); in do_static_slab_test()
[all …]
/system/ulib/fbl/include/fbl/
A Dslab_allocator.h743 using AllocatorType = internal::SlabAllocator<SATraits>;
766 AllocatorType* slab_origin_ = nullptr;
889 using AllocatorType = SlabAllocator<SATraits>;
894 AllocatorType::ReturnToFreeList(reinterpret_cast<ObjType*>(ptr));

Completed in 10 milliseconds