Lines Matching defs:mb
15 void membuff_purge(struct membuff *mb) in membuff_purge()
22 static int membuff_putrawflex(struct membuff *mb, int maxlen, bool update, in membuff_putrawflex()
76 int membuff_putraw(struct membuff *mb, int maxlen, bool update, char **data) in membuff_putraw()
88 bool membuff_putbyte(struct membuff *mb, int ch) in membuff_putbyte()
99 int membuff_getraw(struct membuff *mb, int maxlen, bool update, char **data) in membuff_getraw()
150 int membuff_getbyte(struct membuff *mb) in membuff_getbyte()
157 int membuff_peekbyte(struct membuff *mb) in membuff_peekbyte()
164 int membuff_get(struct membuff *mb, char *buff, int maxlen) in membuff_get()
187 int membuff_put(struct membuff *mb, const char *buff, int length) in membuff_put()
207 bool membuff_isempty(struct membuff *mb) in membuff_isempty()
212 int membuff_avail(struct membuff *mb) in membuff_avail()
229 int membuff_size(struct membuff *mb) in membuff_size()
234 bool membuff_makecontig(struct membuff *mb) in membuff_makecontig()
285 int membuff_free(struct membuff *mb) in membuff_free()
291 int membuff_readline(struct membuff *mb, char *str, int maxlen, int minch) in membuff_readline()
326 int membuff_extend_by(struct membuff *mb, int by, int max) in membuff_extend_by()
362 void membuff_init(struct membuff *mb, char *buff, int size) in membuff_init()
369 int membuff_new(struct membuff *mb, int size) in membuff_new()
379 void membuff_uninit(struct membuff *mb) in membuff_uninit()
386 void membuff_dispose(struct membuff *mb) in membuff_dispose()