Lines Matching refs:clist
58 * We use the NetBSD based clist system, it is much more efficient than the
59 * old style clist stuff used by free bsd.
100 * Initialize a particular clist. Ok, they are really ring buffers,
104 clalloc(struct clist *clp, int size, int quot)
129 clfree(struct clist *clp)
140 * Get a character from a clist.
143 getc(struct clist *clp)
169 * Copy clist to buffer.
173 q_to_b(struct clist *clp, u_char *cp, int count)
199 * Return count of contiguous characters in clist.
203 ndqb(struct clist *clp, int flag)
239 * Flush count bytes from clist.
242 ndflush(struct clist *clp, int count)
272 putc(int c, struct clist *clp)
354 * Copy buffer to clist.
358 b_to_q(const u_char *cp, int count, struct clist *clp)
410 * Given a non-NULL pointer into the clist return the pointer
418 nextc(struct clist *clp, u_char *cp, int *c)
446 * Given a non-NULL pointer into the clist return the pointer
456 firstc(struct clist *clp, int *c)
478 * Remove the last character in the clist and return it.
481 unputc(struct clist *clp)
514 catq(struct clist *from, struct clist *to)