Home
last modified time | relevance | path

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

/external/libcxx/test/std/experimental/memory/memory.resource.global/
Dnew_delete_resource.pass.cpp42 decltype(ex::new_delete_resource()), ex::memory_resource* in test_return()
47 assert(ex::new_delete_resource()); in test_return()
51 assert(ex::new_delete_resource() == ex::new_delete_resource()); in test_return()
59 ex::memory_resource & r1 = *ex::new_delete_resource(); in test_equality()
60 ex::memory_resource & r2 = *ex::new_delete_resource(); in test_equality()
71 ex::memory_resource & r1 = *ex::new_delete_resource(); in test_equality()
81 ex::memory_resource & r1 = *ex::new_delete_resource(); in test_allocate_deallocate()
98 static_assert(noexcept(ex::new_delete_resource()), "Must be noexcept"); in main()
Ddefault_resource.pass.cpp45 assert(p == new_delete_resource()); in main()
52 assert(old == new_delete_resource()); in main()
64 assert(p == new_delete_resource()); in main()
/external/libcxx/src/experimental/
Dmemory_resource.cpp81 memory_resource * new_delete_resource() _NOEXCEPT { in new_delete_resource() function
98 new_res = new_res ? new_res : new_delete_resource(); in __default_memory_resource()
111 new_res = new_res ? new_res : new_delete_resource(); in __default_memory_resource()
123 new_res = new_res ? new_res : new_delete_resource(); in __default_memory_resource()
/external/libcxx/test/libcxx/experimental/memory/memory.resource.global/
Dnew_delete_resource_lifetime.pass.cpp32 POSType() {res = ex::new_delete_resource(); ptr = res->allocate(42); n = 42; } in POSType()
46 ex::memory_resource* resource = ex::new_delete_resource();
/external/libcxx/test/std/experimental/memory/memory.resource/memory.resource.priv/
Dprotected_members.fail.cpp23 ex::memory_resource *m = ex::new_delete_resource(); in main()
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/
Ddefault.pass.cpp47 assert(a2.resource() == ex::new_delete_resource()); in main()
/external/libcxx/include/experimental/
Dmemory_resource48 memory_resource* new_delete_resource() noexcept;
142 memory_resource * new_delete_resource() _NOEXCEPT;