Lines Matching refs:jobqueue
118 getq(const struct printer *pp, struct jobqueue *(*namelist[])) in getq()
121 register struct jobqueue *q, **queue; in getq()
143 queue = (struct jobqueue **)malloc(arraysz * sizeof(struct jobqueue *)); in getq()
156 entrysz = sizeof(struct jobqueue) - sizeof(q->job_cfname) + in getq()
158 q = (struct jobqueue *)malloc(entrysz); in getq()
170 queue = (struct jobqueue **)reallocarray((char *)queue, in getq()
171 arraysz, 2 * sizeof(struct jobqueue *)); in getq()
182 qsort(queue, nitems, sizeof(struct jobqueue *), compar); in getq()
198 const struct jobqueue *qe1, *qe2; in compar()
200 qe1 = *(const struct jobqueue * const *)p1; in compar()
201 qe2 = *(const struct jobqueue * const *)p2; in compar()