Lines Matching refs:buffers
77 } buffers; member
110 cq->buffers.head = NULL; in _new_GlCharQueue()
111 cq->buffers.tail = NULL; in _new_GlCharQueue()
235 if(cq->buffers.tail) in _glq_append_chars()
236 cq->buffers.tail->next = node; in _glq_append_chars()
238 cq->buffers.head = node; in _glq_append_chars()
239 cq->buffers.tail = node; in _glq_append_chars()
256 memcpy(cq->buffers.tail->bytes + boff, chars + ndone, nnew); in _glq_append_chars()
282 cq->buffers.head = cq->buffers.tail = NULL; in _glq_empty_queue()
297 return (cq && cq->buffers.head) ? (cq->ntotal - cq->nflush) : 0; in _glq_char_count()
337 while(cq->buffers.head) { in _glq_flush_queue()
341 int is_tail = cq->buffers.head == cq->buffers.tail; in _glq_flush_queue()
364 int nnew = write_fn(data, cq->buffers.head->bytes + in _glq_flush_queue()
390 CqCharBuff *node = cq->buffers.head; in _glq_flush_queue()
394 cq->buffers.head = node->next; in _glq_flush_queue()