/external/libcxx/src/experimental/ |
D | memory_resource.cpp | 27 : public memory_resource 40 virtual bool do_is_equal(memory_resource const & __other) const _NOEXCEPT in do_is_equal() 47 : public memory_resource 57 virtual bool do_is_equal(memory_resource const & __other) const _NOEXCEPT in do_is_equal() 93 memory_resource * new_delete_resource() _NOEXCEPT { in new_delete_resource() 97 memory_resource * null_memory_resource() _NOEXCEPT { in null_memory_resource() 103 static memory_resource * 104 __default_memory_resource(bool set = false, memory_resource * new_res = nullptr) _NOEXCEPT in __default_memory_resource() 107 _LIBCPP_SAFE_STATIC static atomic<memory_resource*> __res = in __default_memory_resource() 120 _LIBCPP_SAFE_STATIC static memory_resource * res = &res_init.resources.new_delete_res; in __default_memory_resource() [all …]
|
/external/llvm-project/libcxx/src/experimental/ |
D | memory_resource.cpp | 29 : public memory_resource 43 bool do_is_equal(memory_resource const & other) const _NOEXCEPT override in do_is_equal() 53 : public memory_resource 63 virtual bool do_is_equal(memory_resource const & __other) const _NOEXCEPT in do_is_equal() 89 memory_resource * new_delete_resource() _NOEXCEPT { in new_delete_resource() 93 memory_resource * null_memory_resource() _NOEXCEPT { in null_memory_resource() 99 static memory_resource * 100 __default_memory_resource(bool set = false, memory_resource * new_res = nullptr) _NOEXCEPT in __default_memory_resource() 103 _LIBCPP_SAFE_STATIC static atomic<memory_resource*> __res = in __default_memory_resource() 116 _LIBCPP_SAFE_STATIC static memory_resource * res = &res_init.resources.new_delete_res; in __default_memory_resource() [all …]
|
/external/libcxx/test/std/experimental/memory/memory.resource/memory.resource.public/ |
D | is_equal.pass.cpp | 30 using std::experimental::pmr::memory_resource; 35 memory_resource const* r1 = nullptr; in main() 36 memory_resource const* r2 = nullptr; in main() 45 memory_resource const& M1 = R1; in main() 49 memory_resource const& M2 = R2; in main() 62 memory_resource const& M1 = R1; in main() 66 memory_resource const& M2 = R2; in main() 79 memory_resource const& M1 = R1; in main() 83 memory_resource const& M2 = R2; in main()
|
D | dtor.pass.cpp | 28 using std::experimental::pmr::memory_resource; 33 std::has_virtual_destructor<memory_resource>::value in main() 37 std::is_nothrow_destructible<memory_resource>::value, in main() 41 std::is_abstract<memory_resource>::value in main() 48 memory_resource* M = new TR(42); in main()
|
/external/llvm-project/libcxx/test/std/experimental/memory/memory.resource/memory.resource.public/ |
D | is_equal.pass.cpp | 31 using std::experimental::pmr::memory_resource; 36 memory_resource const* r1 = nullptr; in main() 37 memory_resource const* r2 = nullptr; in main() 46 memory_resource const& M1 = R1; in main() 50 memory_resource const& M2 = R2; in main() 63 memory_resource const& M1 = R1; in main() 67 memory_resource const& M2 = R2; in main() 80 memory_resource const& M1 = R1; in main() 84 memory_resource const& M2 = R2; in main()
|
D | dtor.pass.cpp | 29 using std::experimental::pmr::memory_resource; 34 std::has_virtual_destructor<memory_resource>::value in main() 38 std::is_nothrow_destructible<memory_resource>::value, in main() 42 std::is_abstract<memory_resource>::value in main() 49 memory_resource* M = new TR(42); in main()
|
/external/llvm-project/libcxx/test/std/experimental/memory/memory.resource/memory.resource.eq/ |
D | equal.pass.cpp | 28 ex::memory_resource const * mr1(nullptr); in main() 29 ex::memory_resource const * mr2(nullptr); in main() 37 ex::memory_resource const & mr1 = r1; in main() 38 ex::memory_resource const & mr2 = r2; in main() 51 ex::memory_resource const & mr1 = r1; in main() 52 ex::memory_resource const & mr2 = r1; in main() 64 ex::memory_resource const & mr1 = r1; in main() 65 ex::memory_resource const & mr2 = r2; in main()
|
D | not_equal.pass.cpp | 29 ex::memory_resource const * mr1(nullptr); in main() 30 ex::memory_resource const * mr2(nullptr); in main() 38 ex::memory_resource const & mr1 = r1; in main() 39 ex::memory_resource const & mr2 = r2; in main() 53 ex::memory_resource const & mr1 = r1; in main() 54 ex::memory_resource const & mr2 = r2; in main() 67 ex::memory_resource const & mr1 = r1; in main() 68 ex::memory_resource const & mr2 = r1; in main()
|
/external/libcxx/test/std/experimental/memory/memory.resource/memory.resource.eq/ |
D | not_equal.pass.cpp | 28 ex::memory_resource const * mr1(nullptr); in main() 29 ex::memory_resource const * mr2(nullptr); in main() 37 ex::memory_resource const & mr1 = r1; in main() 38 ex::memory_resource const & mr2 = r2; in main() 52 ex::memory_resource const & mr1 = r1; in main() 53 ex::memory_resource const & mr2 = r2; in main() 66 ex::memory_resource const & mr1 = r1; in main() 67 ex::memory_resource const & mr2 = r1; in main()
|
D | equal.pass.cpp | 29 ex::memory_resource const * mr1(nullptr); in main() 30 ex::memory_resource const * mr2(nullptr); in main() 38 ex::memory_resource const & mr1 = r1; in main() 39 ex::memory_resource const & mr2 = r2; in main() 52 ex::memory_resource const & mr1 = r1; in main() 53 ex::memory_resource const & mr2 = r1; in main() 65 ex::memory_resource const & mr1 = r1; in main() 66 ex::memory_resource const & mr2 = r2; in main()
|
/external/libcxx/test/std/experimental/memory/memory.resource.global/ |
D | new_delete_resource.pass.cpp | 25 struct assert_on_compare : public ex::memory_resource 34 virtual bool do_is_equal(ex::memory_resource const &) const noexcept in do_is_equal() 42 decltype(ex::new_delete_resource()), ex::memory_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() 73 ex::memory_resource & r2 = c; in test_equality() 81 ex::memory_resource & r1 = *ex::new_delete_resource(); in test_allocate_deallocate()
|
D | default_resource.pass.cpp | 43 memory_resource* p = get_default_resource(); in main() 49 memory_resource *expect = &R; in main() 50 memory_resource *old = set_default_resource(expect); in main() 54 memory_resource *p = get_default_resource(); in main() 60 memory_resource* old = set_default_resource(nullptr); in main() 62 memory_resource* p = get_default_resource(); in main()
|
D | null_memory_resource.pass.cpp | 27 struct assert_on_compare : public ex::memory_resource 36 virtual bool do_is_equal(ex::memory_resource const &) const noexcept in do_is_equal() 44 decltype(ex::null_memory_resource()), ex::memory_resource* in test_return() 61 ex::memory_resource & r1 = *ex::null_memory_resource(); in test_equality() 62 ex::memory_resource & r2 = *ex::null_memory_resource(); in test_equality() 76 ex::memory_resource & r1 = *ex::null_memory_resource(); in test_equality() 78 ex::memory_resource & r2 = c; in test_equality()
|
/external/llvm-project/libcxx/test/std/experimental/memory/memory.resource.global/ |
D | new_delete_resource.pass.cpp | 25 struct assert_on_compare : public ex::memory_resource 34 virtual bool do_is_equal(ex::memory_resource const &) const noexcept in do_is_equal() 42 decltype(ex::new_delete_resource()), ex::memory_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() 73 ex::memory_resource & r2 = c; in test_equality() 81 ex::memory_resource & r1 = *ex::new_delete_resource(); in test_allocate_deallocate()
|
D | default_resource.pass.cpp | 43 memory_resource* p = get_default_resource(); in main() 49 memory_resource *expect = &R; in main() 50 memory_resource *old = set_default_resource(expect); in main() 54 memory_resource *p = get_default_resource(); in main() 60 memory_resource* old = set_default_resource(nullptr); in main() 62 memory_resource* p = get_default_resource(); in main()
|
D | null_memory_resource.pass.cpp | 25 struct assert_on_compare : public ex::memory_resource 34 virtual bool do_is_equal(ex::memory_resource const &) const noexcept in do_is_equal() 42 decltype(ex::null_memory_resource()), ex::memory_resource* in test_return() 59 ex::memory_resource & r1 = *ex::null_memory_resource(); in test_equality() 60 ex::memory_resource & r2 = *ex::null_memory_resource(); in test_equality() 74 ex::memory_resource & r1 = *ex::null_memory_resource(); in test_equality() 76 ex::memory_resource & r2 = c; in test_equality()
|
/external/libcxx/include/experimental/ |
D | memory_resource | 2 //===------------------------ memory_resource -----------------------------===// 15 experimental/memory_resource synopsis 24 class memory_resource; 26 bool operator==(const memory_resource& a, 27 const memory_resource& b) noexcept; 28 bool operator!=(const memory_resource& a, 29 const memory_resource& b) noexcept; 48 memory_resource* new_delete_resource() noexcept; 49 memory_resource* null_memory_resource() noexcept; 52 memory_resource* set_default_resource(memory_resource* r) noexcept; [all …]
|
/external/llvm-project/libcxx/include/experimental/ |
D | memory_resource | 2 //===------------------------ memory_resource -----------------------------===// 14 experimental/memory_resource synopsis 23 class memory_resource; 25 bool operator==(const memory_resource& a, 26 const memory_resource& b) noexcept; 27 bool operator!=(const memory_resource& a, 28 const memory_resource& b) noexcept; 47 memory_resource* new_delete_resource() noexcept; 48 memory_resource* null_memory_resource() noexcept; 51 memory_resource* set_default_resource(memory_resource* r) noexcept; [all …]
|
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/ |
D | resource.pass.cpp | 32 std::is_same<decltype(a.resource()), ex::memory_resource*>::value in main() 37 ex::memory_resource * mptr = (ex::memory_resource*)42; in main() 51 ex::memory_resource * mptr = (ex::memory_resource*)42; in main()
|
D | select_on_container_copy_construction.pass.cpp | 36 ex::memory_resource * mptr = (ex::memory_resource*)42; in main() 44 ex::memory_resource * mptr = (ex::memory_resource*)42; in main()
|
/external/llvm-project/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/ |
D | resource.pass.cpp | 32 std::is_same<decltype(a.resource()), ex::memory_resource*>::value in main() 37 ex::memory_resource * mptr = (ex::memory_resource*)42; in main() 51 ex::memory_resource * mptr = (ex::memory_resource*)42; in main()
|
/external/llvm-project/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/ |
D | do_is_equal.pass.cpp | 46 ex::memory_resource const & m1 = r1; in main() 50 ex::memory_resource const & m2 = r2; in main() 60 ex::memory_resource const & m1 = r1; in main() 65 ex::memory_resource const & m2 = r2; in main() 75 ex::memory_resource const & m1 = r1; in main() 79 ex::memory_resource const & m2 = r2; in main()
|
/external/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/ |
D | do_is_equal.pass.cpp | 45 ex::memory_resource const & m1 = r1; in main() 49 ex::memory_resource const & m2 = r2; in main() 59 ex::memory_resource const & m1 = r1; in main() 64 ex::memory_resource const & m2 = r2; in main() 74 ex::memory_resource const & m1 = r1; in main() 78 ex::memory_resource const & m2 = r2; in main()
|
/external/llvm-project/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/ |
D | other_alloc.pass.cpp | 47 A1 const a((ex::memory_resource*)42); in main() 50 assert(a2.resource() == (ex::memory_resource*)42); in main() 53 A1 a((ex::memory_resource*)42); in main() 56 assert(a2.resource() == (ex::memory_resource*)42); in main()
|
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/ |
D | other_alloc.pass.cpp | 46 A1 const a((ex::memory_resource*)42); in main() 49 assert(a2.resource() == (ex::memory_resource*)42); in main() 52 A1 a((ex::memory_resource*)42); in main() 55 assert(a2.resource() == (ex::memory_resource*)42); in main()
|