Lines Matching refs:shpq_last
39 if (pqp->shpq_last + 1 == pqp->shpq_size) {
53 assert(pqp->shpq_last + 1 < pqp->shpq_size);
55 i = ++pqp->shpq_last;
85 assert(i <= pqp->shpq_last && i != 0);
88 pqp->shpq_items[i] = pqp->shpq_items[pqp->shpq_last];
89 pqp->shpq_items[pqp->shpq_last] = NULL;
90 pqp->shpq_last--;
92 if (pqp->shpq_last < i)
97 for (; i * 2 <= pqp->shpq_last; i = c) {
131 if (pqp->shpq_last * 4 < pqp->shpq_size) {
153 if (pqp->shpq_last == 0)
164 if (pqp->shpq_last == 0)
180 for (i = 1; i <= pqp->shpq_last; i++) {
197 for (i = 1; i <= pqp->shpq_last; i++) {
209 pqp->shpq_last = 0;