Lines Matching defs:buf_put
89 char *buf_put;
161 gb->buf_put = gb->buf_buf;
185 gb->buf_get = gb->buf_put;
197 return (gb->buf_size + gb->buf_put - gb->buf_get) % gb->buf_size;
208 return (gb->buf_size + gb->buf_get - gb->buf_put - 1) % gb->buf_size;
231 len = gb->buf_buf + gb->buf_size - gb->buf_put;
233 memcpy(gb->buf_put, buf, len);
235 gb->buf_put = gb->buf_buf + count - len;
237 memcpy(gb->buf_put, buf, count);
239 gb->buf_put += count;
241 gb->buf_put = gb->buf_buf;