Lines Matching refs:bipbuf_t
20 return sizeof(bipbuf_t) + size; in bipbuf_sizeof()
23 int bipbuf_unused(const bipbuf_t* me) in bipbuf_unused()
32 int bipbuf_size(const bipbuf_t* me) in bipbuf_size()
37 int bipbuf_used(const bipbuf_t* me) in bipbuf_used()
42 void bipbuf_init(bipbuf_t* me, const unsigned int size) in bipbuf_init()
49 bipbuf_t *bipbuf_new(const unsigned int size) in bipbuf_new()
51 bipbuf_t *me = malloc(bipbuf_sizeof(size)); in bipbuf_new()
58 void bipbuf_free(bipbuf_t* me) in bipbuf_free()
63 int bipbuf_is_empty(const bipbuf_t* me) in bipbuf_is_empty()
70 static void __check_for_switch_to_b(bipbuf_t* me) in __check_for_switch_to_b()
77 unsigned char *bipbuf_request(bipbuf_t* me, const int size) in bipbuf_request()
91 int bipbuf_push(bipbuf_t* me, const int size) in bipbuf_push()
109 int bipbuf_offer(bipbuf_t* me, const unsigned char *data, const int size) in bipbuf_offer()
130 unsigned char *bipbuf_peek(const bipbuf_t* me, const unsigned int size) in bipbuf_peek()
142 unsigned char *bipbuf_peek_all(const bipbuf_t* me, unsigned int *size) in bipbuf_peek_all()
151 unsigned char *bipbuf_poll(bipbuf_t* me, const unsigned int size) in bipbuf_poll()