Lines Matching refs:queue
615 struct words **queue = NULL; in cfail() local
627 if ((queue = (struct words **)calloc(qsize, sizeof (struct words *))) in cfail()
632 front = rear = queue; in cfail()
640 if (rear >= &queue[qsize - 1]) { in cfail()
641 frontoffset = front - queue; in cfail()
642 rearoffset = rear - queue; in cfail()
644 if ((queue = (struct words **)realloc(queue, in cfail()
649 front = queue + frontoffset; in cfail()
650 rear = queue + rearoffset; in cfail()
666 if (rear >= &queue[qsize - 1]) { in cfail()
667 frontoffset = front - queue; in cfail()
668 rearoffset = rear - queue; in cfail()
670 if ((queue = (struct words **)realloc(queue, in cfail()
675 front = queue + frontoffset; in cfail()
676 rear = queue + rearoffset; in cfail()