Home
last modified time | relevance | path

Searched refs:bipbuf_t (Results 1 – 5 of 5) sorted by relevance

/memcached-1.6.32/
Dbipbuffer.h18 } bipbuf_t; typedef
26 bipbuf_t *bipbuf_new(const unsigned int size);
34 void bipbuf_init(bipbuf_t* me, const unsigned int size);
38 void bipbuf_free(bipbuf_t *me);
41 unsigned char *bipbuf_request(bipbuf_t* me, const int size);
42 int bipbuf_push(bipbuf_t* me, const int size);
69 unsigned char *bipbuf_poll(bipbuf_t* me, const unsigned int size);
73 int bipbuf_size(const bipbuf_t* me);
77 int bipbuf_is_empty(const bipbuf_t* me);
81 int bipbuf_used(const bipbuf_t* cb);
[all …]
Dbipbuffer.c20 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()
[all …]
Dlogger.h193 bipbuf_t *buf;
211 bipbuf_t *buf; /* per-watcher output buffer */
Dlogger.c1022 bipbuf_t *buf = l->buf; in logger_log()
Ditems.c89 bipbuf_t *buf;