Lines Matching refs:nHeap
91 if (yy > nHeap) break; \
92 if (yy < nHeap && \
113 Int32 nNodes, nHeap, n1, n2, i, j, k; in BZ2_hbMakeCodeLengths() local
126 nHeap = 0; in BZ2_hbMakeCodeLengths()
134 nHeap++; in BZ2_hbMakeCodeLengths()
135 heap[nHeap] = i; in BZ2_hbMakeCodeLengths()
136 UPHEAP(nHeap); in BZ2_hbMakeCodeLengths()
139 AssertH( nHeap < (BZ_MAX_ALPHA_SIZE+2), 2001 ); in BZ2_hbMakeCodeLengths()
141 while (nHeap > 1) { in BZ2_hbMakeCodeLengths()
142 n1 = heap[1]; heap[1] = heap[nHeap]; nHeap--; DOWNHEAP(1); in BZ2_hbMakeCodeLengths()
143 n2 = heap[1]; heap[1] = heap[nHeap]; nHeap--; DOWNHEAP(1); in BZ2_hbMakeCodeLengths()
148 nHeap++; in BZ2_hbMakeCodeLengths()
149 heap[nHeap] = nNodes; in BZ2_hbMakeCodeLengths()
150 UPHEAP(nHeap); in BZ2_hbMakeCodeLengths()