Home
last modified time | relevance | path

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

/external/pigweed/pw_ring_buffer/
Dprefixed_entry_ring_buffer.cc49 buffer_bytes_ = buffer.size_bytes(); in SetBuffer()
105 if (buffer_bytes_ < total_write_bytes) { in InternalPushBack()
206 size_t bytes_until_wrap = buffer_bytes_ - data_read_idx; in InternalRead()
265 auto buffer_span = span(buffer_, buffer_bytes_); in InternalDering()
273 write_idx_ += buffer_bytes_; in InternalDering()
282 reader.read_idx_ += buffer_bytes_; in InternalDering()
372 return buffer_bytes_; in RawAvailableBytes()
378 return buffer_bytes_ - (write_idx_ - read_idx); in RawAvailableBytes()
390 return buffer_bytes_; in RawAvailableBytes()
399 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.h257 buffer_bytes_(0), in buffer_()
352 size_t TotalUsedBytes() const { return buffer_bytes_ - RawAvailableBytes(); } in TotalUsedBytes()
355 size_t TotalSizeBytes() const { return buffer_bytes_; } in TotalSizeBytes()
497 size_t buffer_bytes_; variable
/external/cronet/net/disk_cache/blockfile/
Dbackend_impl.h186 return buffer_bytes_; in GetTotalBuffersSize()
419 int buffer_bytes_; // Total size of the temporary entries' buffers. variable
Dbackend_impl.cc236 buffer_bytes_ = 0; in SyncInit()
950 if (buffer_bytes_ + to_add > MaxBuffersSize()) in IsAllocAllowed()
953 buffer_bytes_ += to_add; in IsAllocAllowed()
954 CACHE_UMA(COUNTS_50000, "BufferBytes", 0, buffer_bytes_ / 1024); in IsAllocAllowed()
959 buffer_bytes_ -= size; in BufferDeleted()