Lines Matching refs:fHeap
8408 // 2) Fills array fHeap with pointers to all non-zero
8416 std::vector<long long *> fHeap(HUF_ENCSIZE);
8428 fHeap[nf] = &frq[i];
8436 // adjust the fHeap and hlink array accordingly. Function
8442 fHeap[nf] = &frq[*iM];
8473 std::make_heap(&fHeap[0], &fHeap[nf], FHeapCompare());
8481 // values in fHeap, add the smallest frq to the second-smallest
8482 // frq, and remove the smallest frq value from fHeap.
8485 int mm = fHeap[0] - frq;
8486 std::pop_heap(&fHeap[0], &fHeap[nf], FHeapCompare());
8489 int m = fHeap[0] - frq;
8490 std::pop_heap(&fHeap[0], &fHeap[nf], FHeapCompare());
8493 std::push_heap(&fHeap[0], &fHeap[nf], FHeapCompare());