Searched refs:buf_put (Results 1 – 1 of 1) sorted by relevance
89 char *buf_put; member161 gb->buf_put = gb->buf_buf; in gs_buf_alloc()185 gb->buf_get = gb->buf_put; in gs_buf_clear()197 return (gb->buf_size + gb->buf_put - gb->buf_get) % gb->buf_size; in gs_buf_data_avail()208 return (gb->buf_size + gb->buf_get - gb->buf_put - 1) % gb->buf_size; in gs_buf_space_avail()231 len = gb->buf_buf + gb->buf_size - gb->buf_put; in gs_buf_put()233 memcpy(gb->buf_put, buf, len); in gs_buf_put()235 gb->buf_put = gb->buf_buf + count - len; in gs_buf_put()237 memcpy(gb->buf_put, buf, count); in gs_buf_put()239 gb->buf_put += count; in gs_buf_put()[all …]