Home
last modified time | relevance | path

Searched refs:queue_head_ (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/executor/
Dmpmcqueue.cc31 void* result = queue_head_->content; in PopFront()
37 gpr_time_sub(gpr_now(GPR_CLOCK_MONOTONIC), queue_head_->insert_time); in PopFront()
58 queue_head_ = queue_head_->next; in PopFront()
86 queue_head_ = queue_tail_ = new_chunk; in InfLenFIFOQueue()
107 if (queue_tail_ == queue_head_ && curr_count != 0) { in Put()
118 new_chunk[curr_count - 1].next = queue_head_; in Put()
120 queue_head_->prev = &new_chunk[curr_count - 1]; in Put()
Dmpmcqueue.h158 Node* queue_head_ = nullptr; // Head of the queue, remove position variable
/external/libchrome/base/trace_event/
Dtrace_buffer.cc25 queue_head_(0), in TraceBufferRingBuffer()
41 *index = recyclable_chunks_queue_[queue_head_]; in GetChunk()
42 queue_head_ = NextQueueIndex(queue_head_); in GetChunk()
43 current_iteration_index_ = queue_head_; in GetChunk()
109 for (size_t queue_index = queue_head_; queue_index != queue_tail_; in EstimateTraceMemoryOverhead()
119 bool QueueIsEmpty() const { return queue_head_ == queue_tail_; } in QueueIsEmpty()
122 return queue_tail_ > queue_head_ in QueueSize()
123 ? queue_tail_ - queue_head_ in QueueSize()
124 : queue_tail_ + queue_capacity() - queue_head_; in QueueSize()
145 size_t queue_head_; member in base::trace_event::__anonfbd835010111::TraceBufferRingBuffer