Lines Matching refs:queue
604 struct words **queue = NULL; in cfail() local
616 if ((queue = (struct words **)calloc(qsize, sizeof (struct words *))) in cfail()
621 front = rear = queue; in cfail()
629 if (rear >= &queue[qsize - 1]) { in cfail()
630 frontoffset = front - queue; in cfail()
631 rearoffset = rear - queue; in cfail()
633 if ((queue = (struct words **)realloc(queue, in cfail()
638 front = queue + frontoffset; in cfail()
639 rear = queue + rearoffset; in cfail()
655 if (rear >= &queue[qsize - 1]) { in cfail()
656 frontoffset = front - queue; in cfail()
657 rearoffset = rear - queue; in cfail()
659 if ((queue = (struct words **)realloc(queue, in cfail()
664 front = queue + frontoffset; in cfail()
665 rear = queue + rearoffset; in cfail()