Home | History | Annotate | Download | only in flip_server

Lines Matching refs:RingBuffer

10 RingBuffer::RingBuffer(int buffer_size)
18 RingBuffer::~RingBuffer() {}
22 int RingBuffer::ReadableBytes() const {
28 int RingBuffer::BufferSize() const {
34 int RingBuffer::BytesFree() const {
40 bool RingBuffer::Empty() const {
46 bool RingBuffer::Full() const {
53 // Appends up-to-'size' bytes to the ringbuffer.
54 int RingBuffer::Write(const char* bytes, int size) {
101 void RingBuffer::GetWritablePtr(char** ptr, int* size) const {
117 void RingBuffer::GetReadablePtr(char** ptr, int* size) const {
132 int RingBuffer::Read(char* bytes, int size) {
176 void RingBuffer::Clear() {
184 bool RingBuffer::Reserve(int size) {
223 void RingBuffer::AdvanceReadablePtr(int amount_to_consume) {
236 void RingBuffer::AdvanceWritablePtr(int amount_to_produce) {
246 void RingBuffer::Resize(int buffer_size) {