Searched refs:ringbuffer_size (Results 1 – 6 of 6) sorted by relevance
/hardware/nxp/secure_element/libese-spi/p73/utils/ |
D | ringbuffer.cpp | 54 size_t ringbuffer_size(const ringbuffer_t* rb) { in ringbuffer_size() function 77 if (length > ringbuffer_size(rb)) length = ringbuffer_size(rb); in ringbuffer_delete() 91 assert((size_t)offset <= ringbuffer_size(rb)); in ringbuffer_peek() 94 const size_t bytes_to_copy = (offset + length > ringbuffer_size(rb)) in ringbuffer_peek() 95 ? ringbuffer_size(rb) - offset in ringbuffer_peek()
|
D | ringbuffer.h | 43 size_t ringbuffer_size(const ringbuffer_t* rb);
|
/hardware/qcom/sm8150/display/libhistogram/ |
D | ringbuffer.cpp | 25 histogram::Ringbuffer::Ringbuffer(size_t ringbuffer_size, std::unique_ptr<histogram::TimeKeeper> tk… in Ringbuffer() argument 26 rb_max_size(ringbuffer_size), in Ringbuffer() 33 size_t ringbuffer_size, std::unique_ptr<histogram::TimeKeeper> tk) { in create() argument 34 if ((ringbuffer_size == 0) || !tk) in create() 36 …return std::unique_ptr<histogram::Ringbuffer>(new histogram::Ringbuffer(ringbuffer_size, std::move… in create() 72 bool histogram::Ringbuffer::resize(size_t ringbuffer_size) { in resize() argument 74 if (ringbuffer_size == 0) in resize() 76 rb_max_size = ringbuffer_size; in resize()
|
D | ringbuffer.h | 50 … static std::unique_ptr<Ringbuffer> create(size_t ringbuffer_size, std::unique_ptr<TimeKeeper> tk); 52 bool resize(size_t ringbuffer_size); 63 Ringbuffer(size_t ringbuffer_size, std::unique_ptr<TimeKeeper> tk);
|
/hardware/qcom/sdm845/display/libhistogram/ |
D | ringbuffer.cpp | 25 histogram::Ringbuffer::Ringbuffer(size_t ringbuffer_size, std::unique_ptr<histogram::TimeKeeper> tk… in Ringbuffer() argument 26 rb_max_size(ringbuffer_size), in Ringbuffer() 33 size_t ringbuffer_size, std::unique_ptr<histogram::TimeKeeper> tk) { in create() argument 34 if ((ringbuffer_size == 0) || !tk) in create() 36 …return std::unique_ptr<histogram::Ringbuffer>(new histogram::Ringbuffer(ringbuffer_size, std::move… in create() 72 bool histogram::Ringbuffer::resize(size_t ringbuffer_size) { in resize() argument 74 if (ringbuffer_size == 0) in resize() 76 rb_max_size = ringbuffer_size; in resize()
|
D | ringbuffer.h | 50 … static std::unique_ptr<Ringbuffer> create(size_t ringbuffer_size, std::unique_ptr<TimeKeeper> tk); 52 bool resize(size_t ringbuffer_size); 63 Ringbuffer(size_t ringbuffer_size, std::unique_ptr<TimeKeeper> tk);
|