Home
last modified time | relevance | path

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

12

/oneTBB/include/oneapi/tbb/detail/
H A D_small_object_pool.h43 TBB_EXPORT void __TBB_EXPORTED_FUNC deallocate(d1::small_object_pool& pool, void* ptr, std::size_t…
45 TBB_EXPORT void __TBB_EXPORTED_FUNC deallocate(d1::small_object_pool& pool, void* ptr, std::size_t…
73 alloc.deallocate(object, ed); in delete_object()
82 alloc.deallocate(object); in delete_object()
86 void deallocate(Type* ptr, const execution_data& ed) { in deallocate() function
90 r1::deallocate(*m_pool, ptr, sizeof(Type), ed); in deallocate()
94 void deallocate(Type* ptr) { in deallocate() function
98 r1::deallocate(*m_pool, ptr, sizeof(Type)); in deallocate()
H A D_flow_graph_tagged_buffer_impl.h163 pointer_array_allocator_type().deallocate(pa, sz); in internal_free_buffer()
169 elements_array_allocator().deallocate(el, sz / 2); in internal_free_buffer()
H A D_node_handle.h92 node_allocator.deallocate(my_node, 1); in internal_destroy()
H A D_flow_graph_item_buffer_impl.h218 allocator_type().deallocate(my_array,my_array_size); in clean_up_buffer()
H A D_flow_graph_impl.h368 allocator.deallocate(static_cast<DerivedType*>(this), ed); in destruct_and_deallocate()
H A D_concurrent_queue_base.h299 page_allocator_traits::deallocate(page_allocator, curr_page, 1);
391 allocator_traits_type::deallocate(allocator, static_cast<padded_page*>(p), 1); in ~micro_queue_pop_finalizer()
H A D_concurrent_unordered_base.h855 segment_allocator_traits::deallocate(alloc, address, this->segment_size(index)); in destroy_segment()
921 node_allocator_traits::deallocate(dummy_node_allocator, node, 1); in destroy_node()
934 value_node_allocator_traits::deallocate(value_node_allocator, val_node, 1); in destroy_node()
1138 value_node_allocator_traits::deallocate(value_node_allocator, new_node, 1); in create_node()
/oneTBB/test/common/
H A Dallocator_test_common.h153 a.deallocate(p, 1); in TestBrokenAllocator()
165 pair_allocator.deallocate(pair_pointer, 1); in TestBrokenAllocator()
187 a.deallocate(array[k], k); in TestAllocatorConcept()
209 a.deallocate(p1, too_big); in TestAllocatorExceptions()
249 a.deallocate(array[i], size); in check_deallocate()
H A Dcustom_allocators.h79 void deallocate( value_type* ptr, std::size_t n ) { in deallocate() function
171 void deallocate( value_type* ptr, std::size_t n ) { in deallocate() function
174 static_cast<base_type*>(this)->deallocate(ptr, n); in deallocate()
282 void deallocate(const pointer ptr, const std::size_t n){ in deallocate() function
285 static_cast<base_type*>(this)->deallocate(ptr, n); in deallocate()
418 void deallocate( value_type* ptr, std::size_t n ) { in deallocate() function
421 static_cast<alloc_base_type*>(this)->deallocate(ptr, n); in deallocate()
/oneTBB/test/tbbmalloc/
H A Dtest_scalable_allocator.cpp78 void deallocate(void *p, size_t sz) { in deallocate() function in MinimalAllocator
81 cnt_provider_t::deallocate(std::allocator_traits<cnt_provider_t>::pointer(p), sz); in deallocate()
92 void deallocate(void *, size_t) { REQUIRE(false); } in deallocate() function in NullAllocator
H A Dtest_malloc_regression.cpp33 a.deallocate( str, size ); in operator ()()
88 a.deallocate( array[i], alloc_size ); in TestBootstrapLeak()
/oneTBB/src/tbb/
H A Dsmall_object_pool.cpp73 void __TBB_EXPORTED_FUNC deallocate(d1::small_object_pool& allocator, void* ptr, std::size_t number… in deallocate() function
79 void __TBB_EXPORTED_FUNC deallocate(d1::small_object_pool& allocator, void* ptr, std::size_t number… in deallocate() function
H A Dprivate_server.cpp174 tbb::cache_aligned_allocator<private_server>().deallocate( this, 1 ); in remove_server_ref()
351 … tbb::cache_aligned_allocator<padded_private_worker>().deallocate( my_thread_array, my_n_thread ); in ~private_server()
H A Dparallel_pipeline.cpp171 cache_aligned_allocator<task_info>().deallocate(array,array_size); in ~input_buffer()
265 cache_aligned_allocator<task_info>().deallocate(old_array,old_size); in grow()
/oneTBB/doc/main/reference/scalable_memory_pools/
H A Dmemory_pool_allocator_cls.rst19 It also provides a constructor to allocate and deallocate memory.
61 void deallocate(pointer p, size_type);
/oneTBB/include/oneapi/tbb/
H A Dcache_aligned_allocator.h58 void deallocate(T* p, std::size_t) { in deallocate() function
142 …m_upstream->deallocate(reinterpret_cast<void*>(base), correct_size(bytes) + correct_alignment(alig… in do_deallocate()
H A Dtbb_allocator.h64 void deallocate(T* p, std::size_t) { in deallocate() function
H A Dmemory_pool.h116 void deallocate( pointer p, size_type ) { in deallocate() function
238 …self.my_alloc.deallocate( static_cast<typename Alloc::value_type*>(raw_ptr), raw_bytes/unit_size ); in deallocate_request()
H A Dconcurrent_vector.h607 … segment_element_allocator_traits::deallocate(segment_allocator, new_segment, first_block_size); in create_segment()
666 …segment_element_allocator_traits::deallocate(segment_allocator, address, this->segment_size(seg_in… in deallocate_segment()
670 … segment_element_allocator_traits::deallocate(segment_allocator, address, elements_to_deallocate); in deallocate_segment()
993 segment_element_allocator_traits::deallocate(allocator, in internal_compact()
1001 segment_table_allocator_traits::deallocate(base_type::get_allocator(), in internal_compact()
1025 … segment_table_allocator_traits::deallocate(base_type::get_allocator(), buffer_table, max_block); in internal_compact()
H A Denumerable_thread_specific.h151 void deallocate(array* a) {
208 deallocate(r);
262 deallocate(a);
689 tbb::detail::allocator_traits<my_allocator_type>::deallocate(alloc, this, 1);
824 array_allocator_type().deallocate( reinterpret_cast<uintptr_t *>(_ptr),nelements);
H A Dscalable_allocator.h233 void deallocate(T* p, std::size_t) { in deallocate() function
/oneTBB/python/rml/
H A Dipc_server.cpp455 tbb::cache_aligned_allocator<ipc_server>().deallocate( this, 1 ); in remove_server_ref()
872 tbb::cache_aligned_allocator<padded_ipc_worker>().deallocate( my_thread_array, my_n_thread ); in ~ipc_server()
876 tbb::cache_aligned_allocator<ipc_waker>().deallocate( my_waker, 1 ); in ~ipc_server()
880 tbb::cache_aligned_allocator<ipc_stopper>().deallocate( my_stopper, 1 ); in ~ipc_server()
/oneTBB/src/tbb/def/
H A Dwin64-tbb.def46 ?deallocate@r1@detail@tbb@@YAXAEAVsmall_object_pool@d1@23@PEAX_KAEBUexecution_data@523@@Z
47 ?deallocate@r1@detail@tbb@@YAXAEAVsmall_object_pool@d1@23@PEAX_K@Z
H A Dwin32-tbb.def46 ?deallocate@r1@detail@tbb@@YAXAAVsmall_object_pool@d1@23@PAXIABUexecution_data@523@@Z
47 ?deallocate@r1@detail@tbb@@YAXAAVsmall_object_pool@d1@23@PAXI@Z
/oneTBB/examples/parallel_pipeline/square/
H A Dsquare.cpp58 oneapi::tbb::tbb_allocator<char>().deallocate( in free()

12