Searched refs:malloc_allocator (Results 1 – 4 of 4) sorted by relevance
23 RawT* memory = reinterpret_cast<RawT*>(malloc_allocator::allocate(10 * sizeof(RawT))); in tests()37 RawT* memory = reinterpret_cast<RawT*>(malloc_allocator::allocate(10 * sizeof(RawT))); in tests()51 using Alloc = libkern::safe_allocation<RawT, malloc_allocator, tracking_trapping_policy>; in tests()52 RawT* memory = reinterpret_cast<RawT*>(malloc_allocator::allocate(10 * sizeof(RawT))); in tests()
21 struct malloc_allocator { struct31 const auto result = malloc_allocator::allocate(n); in allocate_zero() argument103 using test_safe_allocation = libkern::safe_allocation<T, malloc_allocator, assert_trapping_policy>;
24 T* memory = reinterpret_cast<T*>(malloc_allocator::allocate(10 * sizeof(T))); in tests()30 T* memory = reinterpret_cast<T*>(malloc_allocator::allocate(10 * sizeof(T))); in tests()
26 T* memory = reinterpret_cast<T*>(malloc_allocator::allocate(10 * sizeof(T))); in tests()