Lines Matching refs:put_child
160 static void put_child(struct trie *t, struct tnode *tn, int i, struct node *n);
480 static inline void put_child(struct trie *t, struct tnode *tn, int i,
731 put_child(t, tn, 2*i, (struct node *) left);
732 put_child(t, tn, 2*i+1, (struct node *) right);
753 put_child(t, tn, 2*i, node);
755 put_child(t, tn, 2*i+1, node);
763 put_child(t, tn, 2*i, inode->child[0]);
764 put_child(t, tn, 2*i+1, inode->child[1]);
794 put_child(t, tn, 2*i, NULL);
799 put_child(t, tn, 2*i+1, NULL);
805 put_child(t, left, j, inode->child[j]);
806 put_child(t, right, j, inode->child[j + size]);
808 put_child(t, tn, 2*i, resize(t, left));
809 put_child(t, tn, 2*i+1, resize(t, right));
864 put_child(t, tn, i/2, (struct node *)newn);
879 put_child(t, tn, i/2, right);
884 put_child(t, tn, i/2, left);
890 put_child(t, tn, i/2, NULL);
891 put_child(t, newBinNode, 0, left);
892 put_child(t, newBinNode, 1, right);
893 put_child(t, tn, i/2, resize(t, newBinNode));
1124 put_child(t, (struct tnode *)tp, cindex, (struct node *)l);
1154 put_child(t, tn, missbit, (struct node *)l);
1155 put_child(t, tn, 1-missbit, n);
1159 put_child(t, (struct tnode *)tp, cindex,
1592 put_child(t, (struct tnode *)tp, cindex, NULL);