Home
last modified time | relevance | path

Searched refs:deallocate (Results 1 – 25 of 495) sorted by relevance

12345678910>>...20

/third_party/boost/libs/interprocess/test/
Dmemory_algorithm_test_template.hpp53 a.deallocate(buffers[j]); in test_allocation()
62 a.deallocate(buffers[j]); in test_allocation()
72 a.deallocate(buffers[pos]); in test_allocation()
129 a.deallocate(buffers[pos]); in test_allocation_shrink()
182 a.deallocate(buffers[pos]); in test_allocation_expand()
258 a.deallocate(buffers[pos]); in test_allocation_shrink_and_expand()
290 a.deallocate(buffers[i]); in test_allocation_deallocation_expand()
330 a.deallocate(buffers[pos]); in test_allocation_deallocation_expand()
365 a.deallocate(buffers[i]); in test_allocation_with_reuse()
391 a.deallocate(ptr); in test_allocation_with_reuse()
[all …]
/third_party/boost/libs/core/test/
Dalloc_construct_test.cpp49 a.deallocate(p, 1); in test_construct()
61 a.deallocate(p, 1); in test_construct_value()
75 a.deallocate(p, 1); in test_construct_args()
90 a.deallocate(p, 3); in test_construct_n()
105 a.deallocate(p, 3); in test_construct_n_list()
120 a.deallocate(p, 3); in test_construct_n_iterator()
/third_party/boost/libs/context/test/
Dtest_fcontext.cpp50 void deallocate( void * vp, std::size_t size) const in deallocate() function in simple_stack_allocator
198 alloc.deallocate( sp, stack_allocator::default_stacksize() ); in test_setup()
211 alloc.deallocate( sp, stack_allocator::default_stacksize() ); in test_start()
225 alloc.deallocate( sp, stack_allocator::default_stacksize() ); in test_jump()
236 alloc.deallocate( sp, stack_allocator::default_stacksize() ); in test_result()
248 alloc.deallocate( sp, stack_allocator::default_stacksize() ); in test_arg()
264 alloc.deallocate( sp, stack_allocator::default_stacksize() ); in test_transfer()
275 alloc.deallocate( sp, stack_allocator::default_stacksize() ); in test_exception()
286 alloc.deallocate( sp, stack_allocator::default_stacksize() ); in test_fp()
296 alloc.deallocate( sp, stack_allocator::default_stacksize() ); in test_stacked()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Dallocator.h83 void deallocate(pointer p, std::size_t n = 0) noexcept { pool_->Deallocate(p); }
114 f_alloc.deallocate(p, f_n); in MakeUnique()
119 alloc.deallocate(data, n); in MakeUnique()
124 alloc.deallocate(data, n); in MakeUnique()
147 this->deallocate();
155 void deallocate() { in deallocate() function
166 deallocate(); in allocate()
170 ~MemGuard() noexcept { deallocate(); } in ~MemGuard()
/third_party/boost/libs/align/test/
Daligned_allocator_adaptor_test.cpp38 void deallocate(T* ptr, std::size_t) { in deallocate() function in A
81 a.deallocate(p, 1); in test_allocate()
90 a.deallocate(q, 1); in test_allocate()
91 a.deallocate(p, 1); in test_allocate()
96 a.deallocate(p, 0); in test_allocate()
108 a.deallocate(p, 1); in test_construct()
Daligned_allocator_test.cpp22 a.deallocate(p, 1); in test_allocate()
27 a.deallocate(p, 0); in test_allocate()
39 a.deallocate(p, 1); in test_construct()
/third_party/boost/libs/fiber/doc/
Dstack.qbk37 [`a.deallocate( sctx)`]
47 [important Calling `deallocate()` with a __stack_context__ not obtained from
83 void deallocate( stack_context &);
101 [member_heading protected_fixesize..deallocate]
103 void deallocate( stack_context & sctx);
130 void deallocate( stack_context &);
163 [member_heading pooled_fixesize..deallocate]
165 void deallocate( stack_context & sctx);
194 void deallocate( stack_context &);
212 [member_heading fixesize..deallocate]
[all …]
/third_party/boost/libs/asio/include/boost/asio/detail/
Dhandler_alloc_helpers.hpp75 inline void deallocate(void* p, std::size_t s, Handler& h) in deallocate() function
84 boost::asio::detail::thread_info_base::deallocate( in deallocate()
131 void deallocate(T* p, std::size_t n) in deallocate() function in boost::asio::detail::hook_allocator
133 boost_asio_handler_alloc_helpers::deallocate(p, sizeof(T) * n, handler_); in deallocate()
232 a.deallocate(static_cast<op*>(v), 1); \
272 a1.deallocate(static_cast<op*>(v), 1); \
Dthread_info_base.hpp83 static void deallocate(thread_info_base* this_thread, in deallocate() function in boost::asio::detail::thread_info_base
86 deallocate(default_tag(), this_thread, pointer, size); in deallocate()
117 static void deallocate(Purpose, thread_info_base* this_thread, in deallocate() function in boost::asio::detail::thread_info_base
/third_party/boost/boost/asio/detail/
Dhandler_alloc_helpers.hpp75 inline void deallocate(void* p, std::size_t s, Handler& h) in deallocate() function
84 boost::asio::detail::thread_info_base::deallocate( in deallocate()
131 void deallocate(T* p, std::size_t n) in deallocate() function in boost::asio::detail::hook_allocator
133 boost_asio_handler_alloc_helpers::deallocate(p, sizeof(T) * n, handler_); in deallocate()
232 a.deallocate(static_cast<op*>(v), 1); \
272 a1.deallocate(static_cast<op*>(v), 1); \
Dthread_info_base.hpp83 static void deallocate(thread_info_base* this_thread, in deallocate() function in boost::asio::detail::thread_info_base
86 deallocate(default_tag(), this_thread, pointer, size); in deallocate()
117 static void deallocate(Purpose, thread_info_base* this_thread, in deallocate() function in boost::asio::detail::thread_info_base
/third_party/boost/boost/statechart/detail/
Dmemory.hpp77 void deallocate( void * pObject ) in deallocate() function
84 alloc.deallocate( static_cast< MostDerived * >( pObject ), 1 ); in deallocate()
87 md_traits::deallocate( alloc, static_cast< MostDerived * >( pObject ), 1 ); in deallocate()
/third_party/boost/libs/interprocess/example/
Ddoc_managed_aligned_allocation.cpp62 managed_shm.deallocate(ptr); in main()
71 managed_shm.deallocate(ptr); in main()
86 managed_shm.deallocate(ptr); in main()
/third_party/boost/boost/lockfree/detail/
Dfreelist.hpp67 deallocate<false>(node); in freelist_stack()
78 deallocate<ThreadSafe>(node); in reserve()
114 deallocate<ThreadSafe>(n); in destruct()
121 deallocate<ThreadSafe>(n); in destruct()
132 Alloc::deallocate((T*)current_ptr, 1); in ~freelist_stack()
228 void deallocate (T * n) in deallocate() function in boost::lockfree::detail::freelist_stack
388 allocator_type::deallocate(nodes_, node_count_); in ~runtime_sized_freelist_storage()
424 deallocate<false>(static_cast<index_t>(i)); in initialize()
490 deallocate<ThreadSafe>(index); in destruct()
497 deallocate<ThreadSafe>(static_cast<index_t>(n - NodeStorage::nodes())); in destruct()
[all …]
/third_party/boost/boost/range/detail/
Dany_iterator_buffer.hpp46 void deallocate() in deallocate() function in boost::any_iterator_buffer
85 void deallocate() in deallocate() function in boost::any_iterator_heap_only_buffer
106 void deallocate() in deallocate() function in boost::any_iterator_stack_only_buffer
/third_party/boost/libs/log/src/
Dthread_specific.cpp103 static void deallocate(void* stg)
155 static void deallocate(void* stg)
192 static void deallocate(void* stg)
234 static void deallocate(void* stg)
265 traits_t::deallocate(m_Key); in ~thread_specific_base()
/third_party/boost/boost/multi_index/detail/
Dcopy_map.hpp97 deallocate((spc.data()+i)->second); in ~copy_map()
134 void deallocate(Node* node) in deallocate() function in boost::multi_index::detail::copy_map
136 alloc_traits::deallocate(al_,static_cast<pointer>(node),1); in deallocate()
150 deallocate((spc.data()+n)->second); in clone()
/third_party/boost/boost/coroutine2/detail/
Dpull_coroutine.ipp56 cb_->deallocate();
64 cb_->deallocate();
125 cb_->deallocate();
133 cb_->deallocate();
186 cb_->deallocate();
194 cb_->deallocate();
Dpush_control_block_cc.hpp42 void deallocate() noexcept;
68 void deallocate() noexcept;
91 void deallocate() noexcept;
Dpull_control_block_cc.hpp47 void deallocate() noexcept;
86 void deallocate() noexcept;
113 void deallocate() noexcept;
/third_party/boost/boost/gil/
Dimage.hpp175 this->deallocate(); in move_assign()
184 this->deallocate(); in move_assign()
192 img.deallocate(); in move_assign()
198 this->deallocate(); in move_assign()
218 deallocate(); in ~image()
358 catch (...) { deallocate(); throw; } in allocate_and_default_construct()
368 catch(...) { deallocate(); throw; } in allocate_and_fill()
379 catch(...) { deallocate(); throw; } in allocate_and_copy()
382 void deallocate() in deallocate() function in boost::gil::image
385 _alloc.deallocate(_memory, _allocated_bytes); in deallocate()
/third_party/boost/libs/container/test/
Dresource_adaptor_test.cpp106 void deallocate(char *p, std::size_t n) in deallocate() function
187 mr.deallocate(mr.allocate(16, 1), 16, 1); in test_do_allocate_deallocate()
190 mr.deallocate(mr.allocate(16, max_alignment_value*4u), 16, max_alignment_value*4u); in test_do_allocate_deallocate()
198 mr.deallocate(mr.allocate(16, 1), 16, 1); in test_do_allocate_deallocate()
201 mr.deallocate(mr.allocate(16, max_alignment_value*4u), 16, max_alignment_value*4u); in test_do_allocate_deallocate()
/third_party/boost/boost/log/detail/
Dthreadsafe_queue.hpp143 alloc_traits::deallocate(*m_pAllocator, m_pDeallocate, 1); in ~auto_deallocate()
181 alloc_traits::deallocate(get_allocator(), p, 1); in threadsafe_queue()
203 alloc_traits::deallocate(get_allocator(), p, 1); in ~threadsafe_queue()
228 alloc_traits::deallocate(get_allocator(), p, 1); in push()
/third_party/boost/boost/fiber/future/detail/
Dtask_object.hpp85 traity_type::deallocate( alloc_, ptr, 1); in reset()
104 traity_type::deallocate( a, p, 1); in destroy_()
159 traity_type::deallocate( alloc_, ptr, 1); in reset()
178 traity_type::deallocate( a, p, 1); in destroy_()
/third_party/boost/boost/context/
Dpooled_fixedsize_stack.hpp102 void deallocate( stack_context & sctx) BOOST_NOEXCEPT_OR_NOTHROW { in deallocate() function in boost::context::basic_pooled_fixedsize_stack::storage
139 void deallocate( stack_context & sctx) BOOST_NOEXCEPT_OR_NOTHROW { in deallocate() function in boost::context::basic_pooled_fixedsize_stack
140 storage_->deallocate( sctx); in deallocate()

12345678910>>...20