Lines Matching refs:number_of_bytes
33 void* __TBB_EXPORTED_FUNC allocate(d1::small_object_pool*& allocator, std::size_t number_of_bytes, … in allocate() argument
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()
79 … deallocate(d1::small_object_pool& allocator, void* ptr, std::size_t number_of_bytes, const d1::ex… in deallocate() argument
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
87 …__TBB_ASSERT(number_of_bytes >= sizeof(small_object), "number of bytes should be at least sizeof(s… in deallocate_impl()
89 if (number_of_bytes <= small_object_size) { in deallocate_impl()