Searched refs:deallocate (Results 1 - 25 of 120) sorted by relevance

12345

/external/libcxx/test/std/experimental/memory/memory.resource/memory.resource.public/
H A Ddeallocate.pass.cpp15 // TESTING void * memory_resource::deallocate(void *, size_t, size_t = max_align)
18 // A) 'memory_resource' contains a member 'deallocate' with the required
20 // B) The return type of 'deallocate' is 'void'.
21 // C) 'deallocate' is not marked as 'noexcept'.
22 // D) Invoking 'deallocate' invokes 'do_deallocate' with the same arguments.
41 std::is_same<decltype(M.deallocate(nullptr, 0, 0)), void>::value
45 std::is_same<decltype(M.deallocate(nullptr, 0)), void>::value
51 ! noexcept(M.deallocate(nullptr, 0, 0))
55 ! noexcept(M.deallocate(nullptr, 0))
63 M.deallocate(
[all...]
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/
H A Ddeallocate.pass.cpp17 // void deallocate(pointer p, size_type n);
30 a.deallocate((int*)10, 20);
36 a.deallocate((int*)10, 20);
42 a.deallocate((int*)10, 20);
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/
H A Ddeallocate.pass.cpp15 // static void deallocate(allocator_type& a, pointer p, size_type n);
30 void deallocate(value_type* p, std::size_t n) function in struct:A
41 std::allocator_traits<A<int> >::deallocate(a, reinterpret_cast<int*>(static_cast<std::uintptr_t>(0xDEADBEEF)), 10);
/external/libcxx/test/libcxx/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
H A Ddb_deallocate.pass.cpp16 // T* polymorphic_allocator<T>::deallocate(T*, size_t size)
38 a.deallocate(nullptr, maxSize);
40 a.deallocate(nullptr, maxSize + 1);
/external/swiftshader/src/Common/
H A DMemory.hpp26 void deallocate(void *memory);
/external/libcxx/test/libcxx/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/
H A Ddb_deallocate.pass.cpp16 // T* polymorphic_allocator<T>::deallocate(T*, size_t size)
41 m1.deallocate(nullptr, maxSize);
43 m1.deallocate(nullptr, maxSize + 1);
/external/libcxx/test/std/utilities/memory/default.allocator/allocator.members/
H A Dallocate.pass.cpp40 a.deallocate(ap, 3);
49 a.deallocate(ap2, 3);
/external/parameter-framework/asio/include/asio/detail/
H A Dhandler_alloc_helpers.hpp39 inline void deallocate(void* p, std::size_t s, Handler& h) function in namespace:asio_handler_alloc_helpers
51 #define ASIO_DEFINE_HANDLER_PTR(op) struct ptr { Handler* h; void* v; op* p; ~ptr() { reset(); } void reset() { if (p) { p->~op(); p = 0; } if (v) { asio_handler_alloc_helpers::deallocate(v, sizeof(op), *h); v = 0; } } } /**/
/external/parameter-framework/asio-1.10.6/include/asio/detail/
H A Dhandler_alloc_helpers.hpp39 inline void deallocate(void* p, std::size_t s, Handler& h) function in namespace:asio_handler_alloc_helpers
51 #define ASIO_DEFINE_HANDLER_PTR(op) struct ptr { Handler* h; void* v; op* p; ~ptr() { reset(); } void reset() { if (p) { p->~op(); p = 0; } if (v) { asio_handler_alloc_helpers::deallocate(v, sizeof(op), *h); v = 0; } } } /**/
/external/fmtlib/test/
H A Dmock-allocator.h40 MOCK_METHOD2_T(deallocate, void (T *p, std::size_t n));
84 void deallocate(value_type *p, std::size_t n) { alloc_->deallocate(p, n); } function in class:AllocatorRef
/external/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx-std-suppression.h18 void deallocate(void *p) { function in class:std::allocator
26 static void deallocate(void *p) { function in class:std::allocator_traits
27 _Alloc().deallocate(p);
81 // Fake deallocate stack-based storage.
84 __alloc_traits::deallocate(getBuffer());
88 // Fake deallocate stack-based storage, then use the variable in the
92 __alloc_traits::deallocate(getBuffer());
/external/eigen/unsupported/test/
H A Dcxx11_tensor_reduction_sycl.cpp51 sycl_device.deallocate(gpu_in_data);
52 sycl_device.deallocate(gpu_out_data);
89 sycl_device.deallocate(gpu_in_data);
90 sycl_device.deallocate(gpu_out_data);
126 sycl_device.deallocate(gpu_in_data);
127 sycl_device.deallocate(gpu_out_data);
H A Dcxx11_tensor_forced_eval_sycl.cpp60 sycl_device.deallocate(gpu_in1_data);
61 sycl_device.deallocate(gpu_in2_data);
62 sycl_device.deallocate(gpu_out_data);
/external/llvm/unittests/Support/
H A DArrayRecyclerTest.cpp75 DUT.deallocate(Cap, A2);
87 DUT.deallocate(Cap, A2x);
88 DUT.deallocate(Cap, A1);
89 DUT.deallocate(Cap, A3);
/external/libcxx/test/std/containers/sequences/deque/deque.special/
H A Dswap_noexcept.pass.cpp38 void deallocate(void*, unsigned) {} function in struct:some_alloc
50 void deallocate(void*, unsigned) {} function in struct:some_alloc2
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.spec/
H A Dswap_noexcept.pass.cpp38 void deallocate(void*, unsigned) {} function in struct:some_alloc
50 void deallocate(void*, unsigned) {} function in struct:some_alloc2
/external/libcxx/test/std/containers/sequences/list/list.special/
H A Dswap_noexcept.pass.cpp38 void deallocate(void*, unsigned) {} function in struct:some_alloc
50 void deallocate(void*, unsigned) {} function in struct:some_alloc2
/external/libcxx/test/std/containers/sequences/vector/vector.cons/
H A Dmove_assign_noexcept.pass.cpp41 void deallocate(void*, unsigned) {} function in struct:some_alloc2
54 void deallocate(void*, unsigned) {} function in struct:some_alloc3
/external/libcxx/test/std/containers/sequences/vector/vector.special/
H A Dswap_noexcept.pass.cpp39 void deallocate(void*, unsigned) {} function in struct:some_alloc
51 void deallocate(void*, unsigned) {} function in struct:some_alloc2
/external/libcxx/test/std/containers/sequences/vector.bool/
H A Dmove_assign_noexcept.pass.cpp41 void deallocate(void*, unsigned) {} function in struct:some_alloc2
54 void deallocate(void*, unsigned) {} function in struct:some_alloc3
H A Dswap_noexcept.pass.cpp38 void deallocate(void*, unsigned) {} function in struct:some_alloc
50 void deallocate(void*, unsigned) {} function in struct:some_alloc2
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
H A Ddeallocate.pass.cpp17 // T* polymorphic_allocator<T>::deallocate(T*, size_t size)
38 a.deallocate(ret, N);
50 std::is_same<decltype(a.deallocate(nullptr, 0)), void>::value, "");
/external/libcxx/test/std/strings/basic.string/string.cons/
H A Dmove_assign_noexcept.pass.cpp44 void deallocate(void*, unsigned) {} function in struct:some_alloc2
57 void deallocate(void*, unsigned) {} function in struct:some_alloc3
/external/libcxx/test/std/strings/basic.string/string.nonmembers/string.special/
H A Dswap_noexcept.pass.cpp38 void deallocate(void*, unsigned) {} function in struct:some_alloc
50 void deallocate(void*, unsigned) {} function in struct:some_alloc2
/external/libcxx/test/std/containers/associative/multiset/multiset.special/
H A Dswap_noexcept.pass.cpp64 void deallocate(void*, unsigned) {} function in struct:some_alloc
76 void deallocate(void*, unsigned) {} function in struct:some_alloc2
89 void deallocate(void*, unsigned) {} function in struct:some_alloc3

Completed in 596 milliseconds

12345