Searched refs:membuff (Results 1 – 7 of 7) sorted by relevance
32 struct membuff { struct46 void membuff_purge(struct membuff *mb);101 int membuff_getbyte(struct membuff *mb);112 int membuff_peekbyte(struct membuff *mb);146 bool membuff_isempty(struct membuff *mb);154 int membuff_avail(struct membuff *mb);164 int membuff_size(struct membuff *mb);175 bool membuff_makecontig(struct membuff *mb);183 int membuff_free(struct membuff *mb);227 void membuff_uninit(struct membuff *mb);[all …]
15 void membuff_purge(struct membuff *mb) in membuff_purge()150 int membuff_getbyte(struct membuff *mb) in membuff_getbyte()157 int membuff_peekbyte(struct membuff *mb) in membuff_peekbyte()207 bool membuff_isempty(struct membuff *mb) in membuff_isempty()212 int membuff_avail(struct membuff *mb) in membuff_avail()214 struct membuff copy; 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()379 void membuff_uninit(struct membuff *mb) in membuff_uninit()[all …]
106 obj-y += membuff.o
25 struct membuff buf;
99 membuff_putbyte((struct membuff *)&gd->console_out, c); in console_record_putc()107 membuff_put((struct membuff *)&gd->console_out, s, strlen(s)); in console_record_puts()117 return membuff_getbyte((struct membuff *)&gd->console_in); in console_record_getc()125 if (membuff_peekbyte((struct membuff *)&gd->console_in) != -1) in console_record_tstc()731 ret = membuff_new((struct membuff *)&gd->console_out, in console_record_init()735 ret = membuff_new((struct membuff *)&gd->console_in, in console_record_init()743 membuff_purge((struct membuff *)&gd->console_out); in console_record_reset()744 membuff_purge((struct membuff *)&gd->console_in); in console_record_reset()757 return membuff_readline((struct membuff *)&gd->console_out, str, in console_record_readline()763 return membuff_avail((struct membuff *)&gd->console_out); in console_record_avail()
337 struct membuff console_out;344 struct membuff console_in;
42 struct membuff in;
Completed in 14 milliseconds