Lines Matching refs:RingBuffer
25 static size_t GetBufferReadRegions(RingBuffer* buf, in GetBufferReadRegions()
54 RingBuffer* WebRtc_CreateBuffer(size_t element_count, size_t element_size) { in WebRtc_CreateBuffer()
55 RingBuffer* self = NULL; in WebRtc_CreateBuffer()
60 self = malloc(sizeof(RingBuffer)); in WebRtc_CreateBuffer()
79 void WebRtc_InitBuffer(RingBuffer* self) { in WebRtc_InitBuffer()
89 RingBuffer* self = (RingBuffer*)handle; in WebRtc_FreeBuffer()
98 size_t WebRtc_ReadBuffer(RingBuffer* self, in WebRtc_ReadBuffer()
143 size_t WebRtc_WriteBuffer(RingBuffer* self, in WebRtc_WriteBuffer()
177 int WebRtc_MoveReadPtr(RingBuffer* self, int element_count) { in WebRtc_MoveReadPtr()
214 size_t WebRtc_available_read(const RingBuffer* self) { in WebRtc_available_read()
226 size_t WebRtc_available_write(const RingBuffer* self) { in WebRtc_available_write()