Lines Matching refs:createNode
455 // "createNode" is used to generate new tree roots that link
464 TreeTy* createNode(TreeTy* L, value_type_ref V, TreeTy* R) {
481 TreeTy* createNode(TreeTy* newLeft, TreeTy* oldTree, TreeTy* newRight) {
482 return createNode(newLeft, getValue(oldTree), newRight);
507 return createNode(LL, L, createNode(LR,V,R));
514 return createNode(createNode(LL,L,LRL), LR, createNode(LRR,V,R));
523 return createNode(createNode(L,V,RL), R, RR);
530 return createNode(createNode(L,V,RLL), RL, createNode(RLR,R,RR));
533 return createNode(L,V,R);
541 return createNode(T, V, T);
548 return createNode(getLeft(T), V, getRight(T));