Lines Matching refs:buffers
75 } buffers; member
108 cq->buffers.head = NULL; in _new_GlCharQueue()
109 cq->buffers.tail = NULL; in _new_GlCharQueue()
233 if(cq->buffers.tail) in _glq_append_chars()
234 cq->buffers.tail->next = node; in _glq_append_chars()
236 cq->buffers.head = node; in _glq_append_chars()
237 cq->buffers.tail = node; in _glq_append_chars()
254 memcpy(cq->buffers.tail->bytes + boff, chars + ndone, nnew); in _glq_append_chars()
280 cq->buffers.head = cq->buffers.tail = NULL; in _glq_empty_queue()
295 return (cq && cq->buffers.head) ? (cq->ntotal - cq->nflush) : 0; in _glq_char_count()
335 while(cq->buffers.head) { in _glq_flush_queue()
339 int is_tail = cq->buffers.head == cq->buffers.tail; in _glq_flush_queue()
362 int nnew = write_fn(data, cq->buffers.head->bytes + in _glq_flush_queue()
388 CqCharBuff *node = cq->buffers.head; in _glq_flush_queue()
392 cq->buffers.head = node->next; in _glq_flush_queue()