Lines Matching refs:sz
150 void init_buckets_impl( segment_ptr_type ptr, size_type sz, const Args&... args ) { in init_buckets_impl() argument
151 for (size_type i = 0; i < sz; ++i) { in init_buckets_impl()
157 void init_buckets( segment_ptr_type ptr, size_type sz, bool is_initial ) { in init_buckets() argument
159 init_buckets_impl(ptr, sz); in init_buckets()
161 init_buckets_impl(ptr, sz, reinterpret_cast<node_base*>(rehash_req_flag)); in init_buckets()
183 size_type sz; variable
186 sz = segment_size(k);
189 ptr = bucket_allocator_traits::allocate(my_allocator, sz);
195 init_buckets(ptr, sz, is_initial);
197 sz <<= 1;// double it to get entire capacity of the container
200 sz = segment_size(first_block);
203 ptr = bucket_allocator_traits::allocate(my_allocator, sz - embedded_buckets);
209 init_buckets(ptr, sz - embedded_buckets, is_initial);
214 my_mask.store(sz-1, std::memory_order_release);
219 size_type sz = segment_size( s ? s : 1 ); in delete_segment() local
224 deallocate_size = sz; in delete_segment()
289 … size_type sz = ++my_size; // prefix form is to enforce allocation after the first item inserted in insert_new_node() local
292 if( sz >= mask ) { // TODO: add custom load_factor in insert_new_node()
962 void rehash(size_type sz = 0) { in __TBB_requires()
963 this->reserve(sz); // TODO: add reduction of number of buckets as well in __TBB_requires()
1017 size_type sz = this->segment_size( s ? s : 1 ); in __TBB_requires() local
1018 for( segment_index_type i = 0; i < sz; i++ ) in __TBB_requires()