Searched refs:number_of_bytes (Results 1 – 3 of 3) sorted by relevance
| /oneTBB/src/tbb/ |
| H A D | small_object_pool.cpp | 36 return pool->allocate_impl(allocator, number_of_bytes); in allocate() 39 void* __TBB_EXPORTED_FUNC allocate(d1::small_object_pool*& allocator, std::size_t number_of_bytes) { in allocate() argument 43 return pool->allocate_impl(allocator, number_of_bytes); in allocate() 46 …all_object_pool_impl::allocate_impl(d1::small_object_pool*& allocator, std::size_t number_of_bytes) in allocate_impl() argument 50 if (number_of_bytes <= small_object_size) { in allocate_impl() 64 obj = new (cache_aligned_allocate(number_of_bytes)) small_object{nullptr}; in allocate_impl() 73 …XPORTED_FUNC deallocate(d1::small_object_pool& allocator, void* ptr, std::size_t number_of_bytes) { in deallocate() argument 76 pool->deallocate_impl(ptr, number_of_bytes, *tls); in deallocate() 82 pool->deallocate_impl(ptr, number_of_bytes, tls); in deallocate() 85 void small_object_pool_impl::deallocate_impl(void* ptr, std::size_t number_of_bytes, thread_data& t… in deallocate_impl() argument [all …]
|
| H A D | small_object_pool_impl.h | 42 void* allocate_impl(small_object_pool*& allocator, std::size_t number_of_bytes); 43 void deallocate_impl(void* ptr, std::size_t number_of_bytes, thread_data& td);
|
| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _small_object_pool.h | 40 …XPORT void* __TBB_EXPORTED_FUNC allocate(d1::small_object_pool*& pool, std::size_t number_of_bytes, 42 …PORT void* __TBB_EXPORTED_FUNC allocate(d1::small_object_pool*& pool, std::size_t number_of_bytes); 43 …__TBB_EXPORTED_FUNC deallocate(d1::small_object_pool& pool, void* ptr, std::size_t number_of_bytes, 45 …_TBB_EXPORTED_FUNC deallocate(d1::small_object_pool& pool, void* ptr, std::size_t number_of_bytes);
|