| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _small_object_pool.h | 40 TBB_EXPORT void* __TBB_EXPORTED_FUNC allocate(d1::small_object_pool*& pool, std::size_t number_of_b… 42 TBB_EXPORT void* __TBB_EXPORTED_FUNC allocate(d1::small_object_pool*& pool, std::size_t number_of_b… 53 void* allocated_object = r1::allocate(m_pool, sizeof(Type), ed); in new_object() 61 void* allocated_object = r1::allocate(m_pool, sizeof(Type)); in new_object()
|
| H A D | _flow_graph_tagged_buffer_impl.h | 103 new_elements_array = elements_array_allocator().allocate(my_size); in grow_array() 104 new_pointer_array = pointer_array_allocator_type().allocate(new_size); in grow_array() 142 pointer_array = pointer_array_allocator_type().allocate(my_size); in internal_initialize_buffer() 144 elements_array = elements_array_allocator().allocate(my_size / 2); in internal_initialize_buffer()
|
| H A D | _flow_graph_item_buffer_impl.h | 163 buffer_item_type* new_array = allocator_type().allocate(new_size); in grow_my_array()
|
| /oneTBB/examples/parallel_pipeline/square/ |
| H A D | square.cpp | 48 static TextSlice* allocate(std::size_t max_size) { in allocate() function in TextSlice 50 TextSlice* t = (TextSlice*)oneapi::tbb::tbb_allocator<char>().allocate(sizeof(TextSlice) + in allocate() 112 next_slice = TextSlice::allocate(MAX_CHAR_PER_INPUT_SLICE); in operator ()() 123 next_slice = TextSlice::allocate(MAX_CHAR_PER_INPUT_SLICE); in operator ()() 148 TextSlice* out = TextSlice::allocate(2 * MAX_CHAR_PER_INPUT_SLICE); in operator ()()
|
| /oneTBB/doc/main/tbb_userguide/ |
| H A D | Memory_Allocation.rst | 17 only one thread to allocate at a time. 22 that rapidly allocate and free memory. 35 Use the ``cache_aligned_allocator<T>`` template to always allocate on 55 cost in space, because it must allocate at least one cache line’s
|
| H A D | Working_on_the_Assembly_Line_pipeline.rst | 77 static TextSlice* allocate( size_t max_size ) { 79 …TextSlice* t = (TextSlice*)oneapi::tbb::tbb_allocator<char>().allocate( sizeof(TextSlice)+max_size… 257 TextSlice* out = TextSlice::allocate( 2*MAX_CHAR_PER_INPUT_SLICE ); 314 next_slice = TextSlice::allocate( MAX_CHAR_PER_INPUT_SLICE ); 324 next_slice = TextSlice::allocate( MAX_CHAR_PER_INPUT_SLICE );
|
| /oneTBB/test/common/ |
| H A D | allocator_test_common.h | 146 typename A::pointer p = a.allocate(1); in TestBrokenAllocator() 159 typename pair_allocator_type::pointer pair_pointer = pair_allocator.allocate(1); in TestBrokenAllocator() 176 array[k] = a.allocate(k); in TestAllocatorConcept() 204 p1 = a.allocate(too_big); in TestAllocatorExceptions() 232 array[i] = a.allocate(size); in check_allocate()
|
| H A D | custom_allocators.h | 72 value_type* allocate( std::size_t n ) { in allocate() function 161 value_type* allocate( std::size_t n ) { in allocate() function 165 value_type* ptr = static_cast<base_type*>(this)->allocate(n); in allocate() 269 value_type* allocate( std::size_t n ) { in allocate() function 276 value_type* ptr = static_cast<base_type*>(this)->allocate(n); in allocate() 405 value_type* allocate( std::size_t n ) { in allocate() function 415 return static_cast<alloc_base_type*>(this)->allocate(n); in allocate()
|
| /oneTBB/test/tbbmalloc/ |
| H A D | test_scalable_allocator.cpp | 73 void *allocate(size_t sz) { in allocate() function in MinimalAllocator 74 void *p = cnt_provider_t::allocate(sz); in allocate() 91 void *allocate(size_t) { return nullptr; } in allocate() function in NullAllocator
|
| H A D | test_malloc_regression.cpp | 32 char* str = a.allocate( size ); in operator ()() 59 array[i] = a.allocate( alloc_size ); in TestBootstrapLeak()
|
| /oneTBB/src/tbb/ |
| H A D | small_object_pool.cpp | 33 void* __TBB_EXPORTED_FUNC allocate(d1::small_object_pool*& allocator, std::size_t number_of_bytes, … in allocate() function 39 void* __TBB_EXPORTED_FUNC allocate(d1::small_object_pool*& allocator, std::size_t number_of_bytes) { in allocate() function
|
| H A D | arena_slot.h | 237 bool allocate = new_size > my_task_pool_size - min_task_pool_size/4; in prepare_task_pool() local 238 if ( allocate ) { in prepare_task_pool() 253 if ( allocate ) in prepare_task_pool()
|
| H A D | private_server.cpp | 339 my_thread_array = tbb::cache_aligned_allocator<padded_private_worker>().allocate( my_n_thread ); in private_server() 429 return new( tbb::cache_aligned_allocator<private_server>().allocate(1) ) private_server(client); in make_private_server()
|
| /oneTBB/doc/main/reference/scalable_memory_pools/ |
| H A D | memory_pool_allocator_cls.rst | 19 It also provides a constructor to allocate and deallocate memory. 60 pointer allocate(size_type n, const void* hint=0);
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | cache_aligned_allocator.h | 53 __TBB_nodiscard T* allocate(std::size_t n) { in allocate() function 125 std::uintptr_t base = reinterpret_cast<std::uintptr_t>(m_upstream->allocate(space)); in do_allocate()
|
| H A D | tbb_allocator.h | 59 __TBB_nodiscard T* allocate(std::size_t n) { in allocate() function
|
| H A D | memory_pool.h | 109 pointer allocate( size_type n, const void* /*hint*/ = nullptr) { 219 ptr = self.my_alloc.allocate( bytes/unit_size ); in allocate_request()
|
| H A D | enumerable_thread_specific.h | 144 array* allocate( std::size_t lg_size ) { 169 array* root = allocate(other.my_root.load(std::memory_order_relaxed)->lg_size); 252 array* a = allocate(s); 699 void* where = my_allocator_type().allocate(1); 819 return array_allocator_type().allocate(nelements);
|
| H A D | scalable_allocator.h | 224 __TBB_nodiscard T* allocate(std::size_t n) { in allocate() function
|
| H A D | concurrent_vector.h | 555 …segment_table_type new_segment_table = segment_table_allocator_traits::allocate(base_type::get_all… in allocate_long_table() 583 … new_segment = segment_element_allocator_traits::allocate(segment_allocator, first_block_size); in create_segment() 618 …new_segment = segment_element_allocator_traits::allocate(segment_allocator,this->segment_size(seg_… in create_segment() 970 …auto buffer_table = segment_table_allocator_traits::allocate(base_type::get_allocator(), max_block… in internal_compact()
|
| /oneTBB/doc/main/reference/ |
| H A D | scalable_memory_pools.rst | 9 Memory pools allocate and free memory from a specified region or an underlying allocator using
|
| /oneTBB/python/rml/ |
| H A D | ipc_server.cpp | 843 my_thread_array = tbb::cache_aligned_allocator<padded_ipc_worker>().allocate( my_n_thread ); in ipc_server() 850 my_waker = tbb::cache_aligned_allocator<ipc_waker>().allocate(1); in ipc_server() 853 my_stopper = tbb::cache_aligned_allocator<ipc_stopper>().allocate(1); in ipc_server() 1117 server = new( tbb::cache_aligned_allocator<ipc_server>().allocate(1) ) ipc_server(client); in __TBB_make_rml_server()
|
| /oneTBB/src/tbbmalloc/ |
| H A D | frontend.cpp | 103 void *allocate(MemoryPool *memPool, size_t size); 345 friend void *BootStrapBlocks::allocate(MemoryPool *, size_t); 361 inline FreeObject* allocate(); 874 void *BootStrapBlocks::allocate(MemoryPool *memPool, size_t size) in allocate() function in rml::internal::BootStrapBlocks 1842 static FreeObject *allocate(size_t size); 1868 FreeObject *StartupBlock::allocate(size_t size) in allocate() function in rml::internal::StartupBlock 2137 inline FreeObject* Block::allocate() in allocate() function in rml::internal::Block 2579 if( FreeObject *result = mallocBlock->allocate() ) in internalPoolMalloc() 2603 if( FreeObject *result = mallocBlock->allocate() ) in internalPoolMalloc() 2615 if( FreeObject *result = mallocBlock->allocate() ) in internalPoolMalloc() [all …]
|
| /oneTBB/src/tbb/def/ |
| H A D | win64-tbb.def | 44 ?allocate@r1@detail@tbb@@YAPEAXAEAPEAVsmall_object_pool@d1@23@_KAEBUexecution_data@523@@Z 45 ?allocate@r1@detail@tbb@@YAPEAXAEAPEAVsmall_object_pool@d1@23@_K@Z
|
| H A D | win32-tbb.def | 44 ?allocate@r1@detail@tbb@@YAPAXAAPAVsmall_object_pool@d1@23@IABUexecution_data@523@@Z 45 ?allocate@r1@detail@tbb@@YAPAXAAPAVsmall_object_pool@d1@23@I@Z
|