Home
last modified time | relevance | path

Searched refs:ring_buffer_ (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/modules/video_coding/
Dtimestamp_map.cc20 : ring_buffer_(new TimestampDataTuple[capacity]), in VCMTimestampMap()
28 ring_buffer_[next_add_idx_].timestamp = timestamp; in Add()
29 ring_buffer_[next_add_idx_].data = data; in Add()
40 if (ring_buffer_[next_pop_idx_].timestamp == timestamp) { in Pop()
42 VCMFrameInformation* data = ring_buffer_[next_pop_idx_].data; in Pop()
43 ring_buffer_[next_pop_idx_].data = nullptr; in Pop()
46 } else if (IsNewerTimestamp(ring_buffer_[next_pop_idx_].timestamp, in Pop()
Dtimestamp_map.h35 std::unique_ptr<TimestampDataTuple[]> ring_buffer_; variable
/external/pigweed/pw_multisink/public/pw_multisink/
Dmultisink.h35 MultiSink(ByteSpan buffer) : ring_buffer_(true), sequence_id_(0) { in MultiSink()
36 ring_buffer_.SetBuffer(buffer); in MultiSink()
51 return ring_buffer_.PushBack(entry, sequence_id_++); in HandleEntry()
81 void Clear() { ring_buffer_.Clear(); } in Clear()
102 ring_buffer::PrefixedEntryRingBufferMulti ring_buffer_;
/external/pigweed/pw_trace_tokenized/
Dtrace_buffer.cc30 ring_buffer_.SetBuffer(raw_buffer_); in TraceBuffer()
62 buffer->ring_buffer_.PushBack(std::span<const std::byte>( in TraceSinkEndBlock()
67 return ring_buffer_; in RingBuffer()
75 pw::ring_buffer::PrefixedEntryRingBuffer ring_buffer_{false}; member in pw::trace::__anon76b02f780111::TraceBuffer
/external/pigweed/pw_log_multisink/
Dlog_queue.cc70 status = ring_buffer_.TryPushBack(log_entry, kLogKey); in PushTokenizedMessage()
92 PW_TRY(ring_buffer_.PeekFrontWithPreamble(entry_buffer, in Pop()
94 PW_DCHECK_OK(ring_buffer_.PopFront()); in Pop()
109 while (ring_buffer_.EntryCount() > 0 && in PopMultiple()
/external/pigweed/pw_log_multisink/public/pw_log_multisink/
Dlog_queue.h64 ring_buffer_(true) { in pop_status_for_test_()
65 ring_buffer_.SetBuffer(log_buffer); in pop_status_for_test_()
119 pw::ring_buffer::PrefixedEntryRingBuffer ring_buffer_{true};
/external/perfetto/src/profiling/perf/
Devent_reader.cc217 ring_buffer_(std::move(ring_buffer)) {} in EventReader()
253 char* event = ring_buffer_.ReadRecordNonconsuming(); in ReadUntilSample()
261 ring_buffer_.Consume(event_hdr->size); in ReadUntilSample()
278 ring_buffer_.Consume(event_hdr->size); in ReadUntilSample()
285 ring_buffer_.Consume(event_hdr->size); in ReadUntilSample()
291 ring_buffer_.Consume(event_hdr->size); in ReadUntilSample()
Devent_reader.h114 PerfRingBuffer ring_buffer_; variable
/external/pigweed/pw_multisink/
Dmultisink.cc52 return ring_buffer_.AttachReader(drain.reader_); in AttachDrain()
58 return ring_buffer_.DetachReader(drain.reader_); in DetachDrain()