Lines Matching refs:buf_get
87 char *buf_get;
157 gb->buf_get = gb->buf_buf;
180 gb->buf_get = gb->buf_put;
192 return (gb->buf_size + gb->buf_put - gb->buf_get) % gb->buf_size;
203 return (gb->buf_size + gb->buf_get - gb->buf_put - 1) % gb->buf_size;
262 len = gb->buf_buf + gb->buf_size - gb->buf_get;
264 memcpy(buf, gb->buf_get, len);
266 gb->buf_get = gb->buf_buf + count - len;
268 memcpy(buf, gb->buf_get, count);
270 gb->buf_get += count;
272 gb->buf_get = gb->buf_buf;