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

/freebsd-10.1-release/lib/libz/
H A Dtrees.c430 * one less element. Updates heap and heap_len.
435 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);
657 /* The elements heap[heap_len/2+1 .. heap_len] ar
[all...]
H A Ddeflate.h207 int heap_len; /* number of elements in the heap */ member in struct:internal_state
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dtrees.c432 * one less element. Updates heap and heap_len.
437 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);
659 /* The elements heap[heap_len/2+1 .. heap_len] ar
[all...]
H A Ddeflate.h204 int heap_len; /* number of elements in the heap */ member in struct:internal_state
/freebsd-10.1-release/sys/net/
H A Dzlib.c461 int heap_len; /* number of elements in the heap */ member in struct:deflate_state
2197 * one less element. Updates heap and heap_len.
2202 s->heap[SMALLEST] = s->heap[s->heap_len--]; \
2227 while (j <= s->heap_len) {
2229 if (j < s->heap_len &&
2399 s->heap_len = 0, s->heap_max = HEAP_SIZE;
2403 s->heap[++(s->heap_len)] = max_code = n;
2415 while (s->heap_len < 2) {
2416 node = s->heap[++(s->heap_len)] = (max_code < 2 ? ++max_code : 0);
2424 /* The elements heap[heap_len/
[all...]

Completed in 38 milliseconds