Lines Matching refs:allocator
145 … void push( ticket_type k, queue_rep_type& base, queue_allocator_type& allocator, Args&&... args ) in push() argument
148 page_allocator_type page_allocator(allocator); in push()
169 void abort_push( ticket_type k, queue_rep_type& base, queue_allocator_type& allocator ) { in abort_push() argument
171 prepare_page(k, base, allocator, p); in abort_push()
176 bool pop( void* dst, ticket_type k, queue_rep_type& base, queue_allocator_type& allocator ) { in pop() argument
187 page_allocator_type page_allocator(allocator); in pop()
200 micro_queue& assign( const micro_queue& src, queue_allocator_type& allocator, in assign() argument
215 …head_page.store(make_copy(allocator, srcp, index, end_in_first_page, g_index, construct_item), std… in assign()
225 … cur_page->next = make_copy( allocator, srcp, 0, items_per_page, g_index, construct_item ); in assign()
233 … cur_page->next = make_copy( allocator, srcp, 0, last_index, g_index, construct_item ); in assign()
248 …padded_page* make_copy( queue_allocator_type& allocator, const padded_page* src_page, size_type be… in make_copy() argument
251 page_allocator_type page_allocator(allocator); in make_copy()
283 …void clear(queue_allocator_type& allocator, padded_page* new_head = nullptr, padded_page* new_tail…
286 page_allocator_type page_allocator(allocator);
308 void clear_and_invalidate(queue_allocator_type& allocator) { in clear_and_invalidate() argument
310 clear(allocator, invalid_page, invalid_page); in clear_and_invalidate()
372 my_ticket_type(k), my_queue(queue), my_page(p), allocator(alloc) in micro_queue_pop_finalizer()
390 allocator_traits_type::destroy(allocator, static_cast<padded_page*>(p)); in ~micro_queue_pop_finalizer()
391 allocator_traits_type::deallocate(allocator, static_cast<padded_page*>(p), 1); in ~micro_queue_pop_finalizer()
398 Allocator& allocator; variable