Lines Matching refs:depth
446 * Compares to subtrees, using the tree depth as tie breaker when
449 #define smaller(tree, n, m, depth) \
451 (tree[n].Freq == tree[m].Freq && depth[n] <= depth[m]))
469 smaller(tree, s->heap[j+1], s->heap[j], s->depth)) {
473 if (smaller(tree, v, s->heap[j], s->depth)) break;
643 s->depth[n] = 0;
657 s->depth[node] = 0;
681 s->depth[node] = (uch)((s->depth[n] >= s->depth[m] ?
682 s->depth[n] : s->depth[m]) + 1);