Lines Matching refs:membuff
14 void membuff_purge(struct membuff *mb) in membuff_purge()
21 static int membuff_putrawflex(struct membuff *mb, int maxlen, bool update, in membuff_putrawflex()
75 int membuff_putraw(struct membuff *mb, int maxlen, bool update, char **data) in membuff_putraw()
87 bool membuff_putbyte(struct membuff *mb, int ch) in membuff_putbyte()
98 int membuff_getraw(struct membuff *mb, int maxlen, bool update, char **data) in membuff_getraw()
149 int membuff_getbyte(struct membuff *mb) in membuff_getbyte()
156 int membuff_peekbyte(struct membuff *mb) in membuff_peekbyte()
163 int membuff_get(struct membuff *mb, char *buff, int maxlen) in membuff_get()
186 int membuff_put(struct membuff *mb, const char *buff, int length) in membuff_put()
206 bool membuff_isempty(struct membuff *mb) in membuff_isempty()
211 int membuff_avail(struct membuff *mb) in membuff_avail()
213 struct membuff copy; in membuff_avail()
228 int membuff_size(struct membuff *mb) in membuff_size()
233 bool membuff_makecontig(struct membuff *mb) in membuff_makecontig()
284 int membuff_free(struct membuff *mb) in membuff_free()
290 int membuff_readline(struct membuff *mb, char *str, int maxlen, int minch) in membuff_readline()
325 int membuff_extend_by(struct membuff *mb, int by, int max) in membuff_extend_by()
361 void membuff_init(struct membuff *mb, char *buff, int size) in membuff_init()
368 int membuff_new(struct membuff *mb, int size) in membuff_new()
378 void membuff_uninit(struct membuff *mb) in membuff_uninit()
385 void membuff_dispose(struct membuff *mb) in membuff_dispose()