Home
last modified time | relevance | path

Searched refs:memory_resource (Results 1 – 25 of 97) sorted by relevance

1234

/external/libcxx/src/experimental/
Dmemory_resource.cpp27 : 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/
Dmemory_resource.cpp29 : 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/
Dis_equal.pass.cpp30 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()
Ddtor.pass.cpp28 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/
Dis_equal.pass.cpp31 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()
Ddtor.pass.cpp29 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/
Dequal.pass.cpp28 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()
Dnot_equal.pass.cpp29 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/
Dnot_equal.pass.cpp28 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()
Dequal.pass.cpp29 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/
Dnew_delete_resource.pass.cpp25 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()
Ddefault_resource.pass.cpp43 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()
Dnull_memory_resource.pass.cpp27 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/
Dnew_delete_resource.pass.cpp25 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()
Ddefault_resource.pass.cpp43 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()
Dnull_memory_resource.pass.cpp25 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/
Dmemory_resource2 //===------------------------ 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/
Dmemory_resource2 //===------------------------ 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/
Dresource.pass.cpp32 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()
Dselect_on_container_copy_construction.pass.cpp36 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/
Dresource.pass.cpp32 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/
Ddo_is_equal.pass.cpp46 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/
Ddo_is_equal.pass.cpp45 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/
Dother_alloc.pass.cpp47 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/
Dother_alloc.pass.cpp46 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()

1234