Lines Matching refs:pRoot
789 Fts3Expr *pRoot = *pp; /* Initial root node */ in fts3ExprBalance() local
791 int eType = pRoot->eType; /* Type of node in this tree */ in fts3ExprBalance()
812 for(p=pRoot; p->eType==eType; p=p->pLeft){ in fts3ExprBalance()
827 pRoot = 0; in fts3ExprBalance()
867 assert( pParent==pRoot ); in fts3ExprBalance()
868 pRoot = pParent->pRight; in fts3ExprBalance()
897 pRoot = p; in fts3ExprBalance()
916 Fts3Expr *pLeft = pRoot->pLeft; in fts3ExprBalance()
917 Fts3Expr *pRight = pRoot->pRight; in fts3ExprBalance()
919 pRoot->pLeft = 0; in fts3ExprBalance()
920 pRoot->pRight = 0; in fts3ExprBalance()
934 pRoot->pLeft = pLeft; in fts3ExprBalance()
935 pLeft->pParent = pRoot; in fts3ExprBalance()
936 pRoot->pRight = pRight; in fts3ExprBalance()
937 pRight->pParent = pRoot; in fts3ExprBalance()
943 sqlite3Fts3ExprFree(pRoot); in fts3ExprBalance()
944 pRoot = 0; in fts3ExprBalance()
946 *pp = pRoot; in fts3ExprBalance()