Home
last modified time | relevance | path

Searched refs:buffer_bytes_ (Results 1 – 2 of 2) sorted by relevance

/external/pigweed/pw_ring_buffer/
Dprefixed_entry_ring_buffer.cc45 buffer_bytes_ = buffer.size_bytes(); in SetBuffer()
99 if (buffer_bytes_ < total_write_bytes) { in InternalPushBack()
190 size_t bytes_until_wrap = buffer_bytes_ - data_read_idx; in InternalRead()
265 auto buffer_span = std::span(buffer_, buffer_bytes_); in Dering()
273 write_idx_ += buffer_bytes_; in Dering()
282 reader.read_idx += buffer_bytes_; in Dering()
361 return buffer_bytes_; in RawAvailableBytes()
367 return buffer_bytes_ - (write_idx_ - read_idx); in RawAvailableBytes()
379 return buffer_bytes_; in RawAvailableBytes()
384 size_t bytes_until_wrap = buffer_bytes_ - write_idx_; in RawWrite()
[all …]
/external/pigweed/pw_ring_buffer/public/pw_ring_buffer/
Dprefixed_entry_ring_buffer.h143 buffer_bytes_(0), in buffer_()
226 size_t TotalUsedBytes() { return buffer_bytes_ - RawAvailableBytes(); } in TotalUsedBytes()
332 size_t buffer_bytes_; variable