Searched refs:heap_len (Results 1 – 2 of 2) sorted by relevance
433 s->heap[SMALLEST] = s->heap[s->heap_len--]; \458 while (j <= s->heap_len) {460 if (j < s->heap_len &&630 s->heap_len = 0, s->heap_max = HEAP_SIZE;634 s->heap[++(s->heap_len)] = max_code = n;646 while (s->heap_len < 2) {647 node = s->heap[++(s->heap_len)] = (max_code < 2 ? ++max_code : 0);658 for (n = s->heap_len/2; n >= 1; n--) pqdownheap(s, tree, n);686 } while (s->heap_len >= 2);
210 int heap_len; /* number of elements in the heap */ member