HomeSort by relevance Sort by last modified time
    Searched defs:ringbuffer_t (Results 1 - 2 of 2) sorted by null

  /system/bt/osi/include/
ringbuffer.h 23 typedef struct ringbuffer_t ringbuffer_t; typedef in typeref:struct:ringbuffer_t
33 ringbuffer_t* ringbuffer_init(const size_t size);
37 void ringbuffer_free(ringbuffer_t *rb);
40 size_t ringbuffer_available(const ringbuffer_t *rb);
43 size_t ringbuffer_size(const ringbuffer_t *rb);
48 size_t ringbuffer_insert(ringbuffer_t *rb, const uint8_t *p, size_t length);
54 size_t ringbuffer_peek(const ringbuffer_t *rb, off_t offset, uint8_t *p, size_t length);
57 size_t ringbuffer_pop(ringbuffer_t *rb, uint8_t *p, size_t length);
61 size_t ringbuffer_delete(ringbuffer_t *rb, size_t length)
    [all...]
  /system/bt/osi/src/
ringbuffer.c 25 struct ringbuffer_t { struct
33 ringbuffer_t* ringbuffer_init(const size_t size) {
34 ringbuffer_t* p = osi_calloc(sizeof(ringbuffer_t));
43 void ringbuffer_free(ringbuffer_t *rb) {
49 size_t ringbuffer_available(const ringbuffer_t *rb) {
54 size_t ringbuffer_size(const ringbuffer_t *rb) {
59 size_t ringbuffer_insert(ringbuffer_t *rb, const uint8_t *p, size_t length) {
76 size_t ringbuffer_delete(ringbuffer_t *rb, size_t length) {
90 size_t ringbuffer_peek(const ringbuffer_t *rb, off_t offset, uint8_t *p, size_t length)
    [all...]

Completed in 67 milliseconds