Home
last modified time | relevance | path

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

/external/libcxx/test/std/experimental/memory/memory.resource.global/
Ddefault_resource.pass.cpp43 memory_resource* p = get_default_resource(); in main()
46 assert(p == get_default_resource()); in main()
54 memory_resource *p = get_default_resource(); in main()
57 assert(p == get_default_resource()); in main()
62 memory_resource* p = get_default_resource(); in main()
65 assert(p == get_default_resource()); in main()
68 static_assert(noexcept(get_default_resource()), in main()
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
Dresource.pass.cpp48 assert(a.resource() == ex::get_default_resource()); in main()
55 assert(a.resource() == ex::get_default_resource()); in main()
Dselect_on_container_copy_construction.pass.cpp40 assert(other.resource() == ex::get_default_resource()); in main()
49 assert(other.resource() == ex::get_default_resource()); in main()
/external/libcxx/test/libcxx/experimental/memory/memory.resource.global/
Dglobal_memory_resource_lifetime.pass.cpp36 if (!res) res = ex::get_default_resource(); in ~POSType()
52 ex::memory_resource* resource = ex::get_default_resource();
/external/libcxx/test/std/experimental/memory/memory.resource.aliases/
Dheader_set_synop.pass.cpp51 assert(m.get_allocator().resource() == pmr::get_default_resource()); in main()
65 assert(m.get_allocator().resource() == pmr::get_default_resource()); in main()
Dheader_map_synop.pass.cpp53 assert(m.get_allocator().resource() == pmr::get_default_resource()); in main()
67 assert(m.get_allocator().resource() == pmr::get_default_resource()); in main()
Dheader_unordered_set_synop.pass.cpp64 assert(m.get_allocator().resource() == pmr::get_default_resource()); in main()
83 assert(m.get_allocator().resource() == pmr::get_default_resource()); in main()
Dheader_unordered_map_synop.pass.cpp66 assert(m.get_allocator().resource() == pmr::get_default_resource()); in main()
85 assert(m.get_allocator().resource() == pmr::get_default_resource()); in main()
Dheader_vector_synop.pass.cpp36 assert(d.get_allocator().resource() == pmr::get_default_resource()); in main()
Dheader_forward_list_synop.pass.cpp36 assert(d.get_allocator().resource() == pmr::get_default_resource()); in main()
Dheader_list_synop.pass.cpp36 assert(d.get_allocator().resource() == pmr::get_default_resource()); in main()
Dheader_deque_synop.pass.cpp36 assert(d.get_allocator().resource() == pmr::get_default_resource()); in main()
Dheader_regex_synop.pass.cpp55 assert(s.get_allocator().resource() == pmr::get_default_resource()); in main()
Dheader_string_synop.pass.cpp71 assert(s.get_allocator().resource() == pmr::get_default_resource()); in main()
/external/libcxx/src/experimental/
Dmemory_resource.cpp133 memory_resource * get_default_resource() _NOEXCEPT in get_default_resource() function
/external/libcxx/include/experimental/
Dmemory_resource53 memory_resource* get_default_resource() noexcept;
148 memory_resource * get_default_resource() _NOEXCEPT;
165 : __res_(_VSTD_LFTS_PMR::get_default_resource())