Home
last modified time | relevance | path

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

/system/utest/fbl/
A Dslab_allocator_tests.cpp145 static constexpr size_t MaxAllocs(size_t slabs) { return AllocatorType::AllocsPerSlab * slabs; } in MaxAllocs() function
170 static constexpr size_t MaxAllocs(size_t slabs) { return AllocatorType::AllocsPerSlab * slabs; } in MaxAllocs() function
195 static constexpr size_t MaxAllocs(size_t slabs) { return AllocatorType::AllocsPerSlab * slabs; } in MaxAllocs() function
242 const size_t MAX_ALLOCS = Traits::MaxAllocs(allocator.max_slabs()); in do_slab_test()
365 EXPECT_TRUE(do_slab_test<Traits>(allocator, Traits::MaxAllocs(SlabCount) / 2), in slab_test()
368 EXPECT_TRUE(do_slab_test<Traits>(allocator, Traits::MaxAllocs(SlabCount) + 4), in slab_test()
392 static size_t MaxAllocs() { return AllocatorType::AllocsPerSlab * AllocatorType::max_slabs(); } in MaxAllocs() function
449 static size_t MaxAllocs() { in MaxAllocs() function
464 const size_t MAX_ALLOCS = Traits::MaxAllocs(); in do_static_slab_test()
579 EXPECT_TRUE(do_static_slab_test<Traits>(Traits::MaxAllocs() / 2), in static_slab_test()
[all …]

Completed in 6 milliseconds