Home
last modified time | relevance | path

Searched refs:heap_len (Results 1 – 5 of 5) sorted by relevance

/freebsd-9-stable/lib/libz/
Dtrees.c435 s->heap[SMALLEST] = s->heap[s->heap_len--]; \
460 while (j <= s->heap_len) {
462 if (j < s->heap_len &&
632 s->heap_len = 0, s->heap_max = HEAP_SIZE;
636 s->heap[++(s->heap_len)] = max_code = n;
648 while (s->heap_len < 2) {
649 node = s->heap[++(s->heap_len)] = (max_code < 2 ? ++max_code : 0);
660 for (n = s->heap_len/2; n >= 1; n--) pqdownheap(s, tree, n);
688 } while (s->heap_len >= 2);
Ddeflate.h207 int heap_len; /* number of elements in the heap */ member
/freebsd-9-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
Dtrees.c437 s->heap[SMALLEST] = s->heap[s->heap_len--]; \
462 while (j <= s->heap_len) {
464 if (j < s->heap_len &&
634 s->heap_len = 0, s->heap_max = HEAP_SIZE;
638 s->heap[++(s->heap_len)] = max_code = n;
650 while (s->heap_len < 2) {
651 node = s->heap[++(s->heap_len)] = (max_code < 2 ? ++max_code : 0);
662 for (n = s->heap_len/2; n >= 1; n--) pqdownheap(s, tree, n);
690 } while (s->heap_len >= 2);
Ddeflate.h204 int heap_len; /* number of elements in the heap */ member
/freebsd-9-stable/sys/net/
Dzlib.c454 int heap_len; /* number of elements in the heap */ member
2195 s->heap[SMALLEST] = s->heap[s->heap_len--]; \
2220 while (j <= s->heap_len) {
2222 if (j < s->heap_len &&
2392 s->heap_len = 0, s->heap_max = HEAP_SIZE;
2396 s->heap[++(s->heap_len)] = max_code = n;
2408 while (s->heap_len < 2) {
2409 node = s->heap[++(s->heap_len)] = (max_code < 2 ? ++max_code : 0);
2420 for (n = s->heap_len/2; n >= 1; n--) pqdownheap(s, tree, n);
2447 } while (s->heap_len >= 2);