Home
last modified time | relevance | path

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

/external/libcxx/test/support/
Dmin_allocator.h22 class bare_allocator
27 bare_allocator() TEST_NOEXCEPT {} in bare_allocator() function
30 bare_allocator(bare_allocator<U>) TEST_NOEXCEPT {} in bare_allocator() function
42 friend bool operator==(bare_allocator, bare_allocator) {return true;}
43 friend bool operator!=(bare_allocator x, bare_allocator y) {return !(x == y);}
136 struct cpp03_allocator : bare_allocator<T>
159 struct cpp03_overload_allocator : bare_allocator<T>
/external/libcxx/test/std/thread/futures/futures.promise/
Dalloc_ctor.pass.cpp55 std::promise<int> p(std::allocator_arg, bare_allocator<void>()); in main()
60 std::promise<int&> p(std::allocator_arg, bare_allocator<void>()); in main()
65 std::promise<void> p(std::allocator_arg, bare_allocator<void>()); in main()
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
Dalloc.pass.cpp27 std::function<int(int)> f(std::allocator_arg, bare_allocator<int>()); in main()
Dalloc_nullptr.pass.cpp26 std::function<int(int)> f(std::allocator_arg, bare_allocator<int>(), nullptr); in main()
Dalloc_rfunction.pass.cpp67 std::function<int(int)> f2(std::allocator_arg, bare_allocator<A>(), std::move(f)); in main()
Dalloc_function.pass.cpp118 bare_allocator<DummyClass> alloc; in main()
Dalloc_F.pass.cpp113 bare_allocator<DummyClass> bare_alloc; in main()
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
Dallocate_shared.pass.cpp80 std::shared_ptr<A> p = std::allocate_shared<A>(bare_allocator<void>(), i, c); in main()
Dallocate_shared_cxx03.pass.cpp114 test<bare_allocator<void> >(); in main()
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
Dnullptr_t_deleter_allocator.pass.cpp54 std::shared_ptr<A> p(nullptr, test_deleter<A>(1), bare_allocator<void>()); in main()
Dpointer_deleter_allocator.pass.cpp57 std::shared_ptr<A> p(ptr, test_deleter<A>(3), bare_allocator<void>()); in main()
/external/libcxx/test/std/thread/futures/futures.task/futures.task.members/
Dctor_func_alloc.pass.cpp105 bare_allocator<void>(), A(5)); in main()