Lines Matching refs:ringbuffer_t
25 struct ringbuffer_t { struct
33 ringbuffer_t* ringbuffer_init(const size_t size) { in ringbuffer_init() argument
34 ringbuffer_t* p = in ringbuffer_init()
35 static_cast<ringbuffer_t*>(osi_calloc(sizeof(ringbuffer_t))); in ringbuffer_init()
44 void ringbuffer_free(ringbuffer_t* rb) { in ringbuffer_free()
49 size_t ringbuffer_available(const ringbuffer_t* rb) { in ringbuffer_available()
54 size_t ringbuffer_size(const ringbuffer_t* rb) { in ringbuffer_size()
59 size_t ringbuffer_insert(ringbuffer_t* rb, const uint8_t* p, size_t length) { in ringbuffer_insert()
74 size_t ringbuffer_delete(ringbuffer_t* rb, size_t length) { in ringbuffer_delete()
86 size_t ringbuffer_peek(const ringbuffer_t* rb, off_t offset, uint8_t* p, in ringbuffer_peek()
106 size_t ringbuffer_pop(ringbuffer_t* rb, uint8_t* p, size_t length) { in ringbuffer_pop()