Lines Matching refs:allocator
1208 class allocator: public oneapi::tbb::cache_aligned_allocator<T> { class
1213 allocator() : m_unique_id( 0 ) {} in allocator() function in allocator
1214 allocator(size_t unique_id) { m_unique_id = unique_id; } in allocator() function in allocator
1216 ~allocator() { in ~allocator()
1222 allocator(const allocator<U>& a) noexcept { in allocator() function in allocator
1228 struct rebind { typedef allocator<U> other; };
1230 friend bool operator==(const allocator& lhs, const allocator& rhs) { in operator ==()
1306 CQ src_queue( allocator<T>(0) ); in TestMoveConstructors()
1320 CQ dst_queue( std::move(src_queue), allocator<T>(1) ); in TestMoveConstructors()
1334 CQ dst_queue2( std::move(dst_queue), allocator<T>(1) ); in TestMoveConstructors()
1357 TestMoveConstructors<ConcQWithSizeWrapper<Bar, allocator<Bar>>, Bar>(); in TestMoveConstruction()
1358 TestMoveConstructors<oneapi::tbb::concurrent_bounded_queue<Bar, allocator<Bar>>, Bar>(); in TestMoveConstruction()
1443 TQueue q2(v.begin(), v.end(), std::allocator<ComplexType>()); in TestDeductionGuides()
1444 …static_assert(std::is_same<decltype(q2), TQueue<ComplexType, std::allocator<ComplexType>>>::value); in TestDeductionGuides()
1451 TQueue q4(q2, std::allocator<ComplexType>()); in TestDeductionGuides()
1459 TQueue q6(std::move(q4), std::allocator<ComplexType>()); in TestDeductionGuides()
1748 using allocator_type = StaticSharedCountingAllocator<std::allocator<move_support_tests::Foo>>;