Lines Matching refs:node0
565 struct key_vector *node0, *node1; in inflate() local
605 node0 = tnode_new(inode->key, inode->pos, inode->bits - 1); in inflate()
608 if (!node0) in inflate()
610 tnode_free_append(tn, node0); in inflate()
615 put_child(node0, j, get_child(inode, j)); in inflate()
617 put_child(node0, j, get_child(inode, j)); in inflate()
622 NODE_INIT_PARENT(node0, tn); in inflate()
626 put_child(tn, 2 * i, node0); in inflate()
660 struct key_vector *node0 = get_child(oldtnode, --i); in halve() local
664 if (!node1 || !node0) { in halve()
665 put_child(tn, i / 2, node1 ? : node0); in halve()
670 inode = tnode_new(node0->key, oldtnode->pos, 1); in halve()
677 put_child(inode, 0, node0); in halve()