Lines Matching refs:buffer_t
29 struct buffer_t { struct
30 buffer_t* root; argument
36 buffer_t* buffer_new(size_t size) { in buffer_new() argument
39 buffer_t* buffer = in buffer_new()
40 static_cast<buffer_t*>(osi_calloc(sizeof(buffer_t) + size)); in buffer_new()
49 buffer_t* buffer_new_ref(const buffer_t* buf) { in buffer_new_ref()
54 buffer_t* buffer_new_slice(const buffer_t* buf, size_t slice_size) { in buffer_new_slice()
59 buffer_t* ret = static_cast<buffer_t*>(osi_calloc(sizeof(buffer_t))); in buffer_new_slice()
70 void buffer_free(buffer_t* buffer) { in buffer_free()
83 void* buffer_ptr(const buffer_t* buf) { in buffer_ptr()
88 size_t buffer_length(const buffer_t* buf) { in buffer_length()