Lines Matching defs:nelems
784 cyc_index_t nelems = cpu->cyp_nelems;
791 if ((heap_left = CYC_HEAP_LEFT(heap_me)) >= nelems)
803 if (heap_right >= nelems)
1654 cyc_index_t ndx, nelems;
1666 nelems = cpu->cyp_nelems++;
1668 if (nelems == 0) {
1677 ndx = cpu->cyp_heap[nelems];
1699 if (cyclic_upheap(cpu, nelems)) {
1762 cyc_index_t ndx = arg->cyx_ndx, nelems, i;
1776 nelems = cpu->cyp_nelems;
1777 ASSERT(nelems > 0);
1820 for (i = 0; i < nelems; i++) {
1825 if (i == nelems)
1828 cpu->cyp_nelems = --nelems;
1830 if (nelems == 0) {
1839 if (i == nelems) {
1857 heap[i] = (last = heap[nelems]);
1858 heap[nelems] = ndx;
1887 ASSERT(nelems != 0);
1960 cyc_index_t nelems, i;
1970 nelems = cpu->cyp_nelems;
1971 ASSERT(nelems > 0);
1980 for (i = nelems - 1; i >= 0; i--) {