Lines Matching refs:depth
442 * Compares to subtrees, using the tree depth as tie breaker when
445 #define smaller(tree, n, m, depth) \
447 (tree[n].Freq == tree[m].Freq && depth[n] <= depth[m]))
465 smaller(tree, s->heap[j+1], s->heap[j], s->depth)) {
469 if (smaller(tree, v, s->heap[j], s->depth)) break;
639 s->depth[n] = 0;
653 s->depth[node] = 0;
677 s->depth[node] = (uch)((s->depth[n] >= s->depth[m] ?
678 s->depth[n] : s->depth[m]) + 1);