Lines Matching refs:alloc
243 … const key_equal& equal = key_equal(), const allocator_type& alloc = allocator_type() )
249 my_segments(alloc) {}
253 concurrent_unordered_base( size_type bucket_count, const allocator_type& alloc ) in concurrent_unordered_base() argument
254 : concurrent_unordered_base(bucket_count, hasher(), key_equal(), alloc) {} in concurrent_unordered_base()
256 …oncurrent_unordered_base( size_type bucket_count, const hasher& hash, const allocator_type& alloc ) in concurrent_unordered_base() argument
257 : concurrent_unordered_base(bucket_count, hash, key_equal(), alloc) {} in concurrent_unordered_base()
259 explicit concurrent_unordered_base( const allocator_type& alloc ) in concurrent_unordered_base() argument
260 : concurrent_unordered_base(initial_bucket_count, hasher(), key_equal(), alloc) {} in concurrent_unordered_base()
265 … const key_equal& equal = key_equal(), const allocator_type& alloc = allocator_type() )
266 : concurrent_unordered_base(bucket_count, hash, equal, alloc) in concurrent_unordered_base() argument
273 size_type bucket_count, const allocator_type& alloc ) in concurrent_unordered_base() argument
274 : concurrent_unordered_base(first, last, bucket_count, hasher(), key_equal(), alloc) {} in concurrent_unordered_base()
278 … size_type bucket_count, const hasher& hash, const allocator_type& alloc ) in concurrent_unordered_base() argument
279 : concurrent_unordered_base(first, last, bucket_count, hash, key_equal(), alloc) {} in concurrent_unordered_base()
296 concurrent_unordered_base( const concurrent_unordered_base& other, const allocator_type& alloc ) in concurrent_unordered_base() argument
302 my_segments(other.my_segments, alloc) in concurrent_unordered_base()
322 concurrent_unordered_base( concurrent_unordered_base&& other, const allocator_type& alloc ) in concurrent_unordered_base() argument
328 my_segments(std::move(other.my_segments), alloc) in concurrent_unordered_base()
331 internal_move_construct_with_allocator(std::move(other), alloc, is_always_equal()); in concurrent_unordered_base()
337 const allocator_type& alloc = allocator_type() )
338 : concurrent_unordered_base(init.begin(), init.end(), bucket_count, hash, equal, alloc) {}
341 size_type bucket_count, const allocator_type& alloc ) in concurrent_unordered_base() argument
342 : concurrent_unordered_base(init, bucket_count, hasher(), key_equal(), alloc) {} in concurrent_unordered_base()
345 … size_type bucket_count, const hasher& hash, const allocator_type& alloc ) in concurrent_unordered_base() argument
346 : concurrent_unordered_base(init, bucket_count, hash, key_equal(), alloc) {} in concurrent_unordered_base()
811 unordered_segment_table( const base_allocator_type& alloc = base_allocator_type() )
812 : base_type(alloc) {} in base_type() argument
816 … unordered_segment_table( const unordered_segment_table& other, const base_allocator_type& alloc ) in unordered_segment_table() argument
817 : base_type(other, alloc) {} in unordered_segment_table()
821 unordered_segment_table( unordered_segment_table&& other, const base_allocator_type& alloc ) in unordered_segment_table() argument
822 : base_type(std::move(other), alloc) {} in unordered_segment_table()
829 segment_allocator_type alloc(this->get_allocator()); in create_segment()
831 segment_type new_segment = segment_allocator_traits::allocate(alloc, seg_size); in create_segment()
833 segment_allocator_traits::construct(alloc, new_segment + i, nullptr); in create_segment()
851 segment_allocator_type alloc(this->get_allocator()); in destroy_segment()
853 segment_allocator_traits::destroy(alloc, address + i); in destroy_segment()
855 segment_allocator_traits::deallocate(alloc, address, this->segment_size(index)); in destroy_segment()
1377 …rnal_move_construct_with_allocator( concurrent_unordered_base&& other, const allocator_type& alloc, in internal_move_construct_with_allocator() argument
1380 if (alloc == other.my_segments.get_allocator()) { in internal_move_construct_with_allocator()