Searched refs:heap_max (Results 1 - 5 of 5) sorted by relevance

/freebsd-10.1-release/lib/libz/
H A Dtrees.c481 * IN assertion: the fields freq and dad are set, heap[heap_max] and
510 tree[s->heap[s->heap_max]].Len = 0; /* root of the heap */
512 for (h = s->heap_max+1; h < HEAP_SIZE; h++) {
632 s->heap_len = 0, s->heap_max = HEAP_SIZE;
670 s->heap[--(s->heap_max)] = n; /* keep the nodes sorted by frequency */
671 s->heap[--(s->heap_max)] = m;
690 s->heap[--(s->heap_max)] = s->heap[SMALLEST];
H A Ddeflate.h208 int heap_max; /* element of largest frequency */ member in struct:internal_state
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dtrees.c483 * IN assertion: the fields freq and dad are set, heap[heap_max] and
512 tree[s->heap[s->heap_max]].Len = 0; /* root of the heap */
514 for (h = s->heap_max+1; h < HEAP_SIZE; h++) {
634 s->heap_len = 0, s->heap_max = HEAP_SIZE;
672 s->heap[--(s->heap_max)] = n; /* keep the nodes sorted by frequency */
673 s->heap[--(s->heap_max)] = m;
692 s->heap[--(s->heap_max)] = s->heap[SMALLEST];
H A Ddeflate.h205 int heap_max; /* element of largest frequency */ member in struct:internal_state
/freebsd-10.1-release/sys/net/
H A Dzlib.c462 int heap_max; /* element of largest frequency */ member in struct:deflate_state
2248 * IN assertion: the fields freq and dad are set, heap[heap_max] and
2277 tree[s->heap[s->heap_max]].Len = 0; /* root of the heap */
2279 for (h = s->heap_max+1; h < HEAP_SIZE; h++) {
2399 s->heap_len = 0, s->heap_max = HEAP_SIZE;
2437 s->heap[--(s->heap_max)] = n; /* keep the nodes sorted by frequency */
2438 s->heap[--(s->heap_max)] = m;
2456 s->heap[--(s->heap_max)] = s->heap[SMALLEST];

Completed in 163 milliseconds