Lines Matching refs:pOne
515 WhereTerm *pOne, /* First disjunct */ in whereCombineDisjuncts() argument
518 u16 eOp = pOne->eOperator | pTwo->eOperator; in whereCombineDisjuncts()
524 if( (pOne->wtFlags | pTwo->wtFlags) & TERM_VNULL ) return; in whereCombineDisjuncts()
525 if( (pOne->eOperator & (WO_EQ|WO_LT|WO_LE|WO_GT|WO_GE))==0 ) return; in whereCombineDisjuncts()
529 assert( pOne->pExpr->pLeft!=0 && pOne->pExpr->pRight!=0 ); in whereCombineDisjuncts()
531 if( sqlite3ExprCompare(0,pOne->pExpr->pLeft, pTwo->pExpr->pLeft, -1) ) return; in whereCombineDisjuncts()
532 if( sqlite3ExprCompare(0,pOne->pExpr->pRight, pTwo->pExpr->pRight,-1) )return; in whereCombineDisjuncts()
543 pNew = sqlite3ExprDup(db, pOne->pExpr, 0); in whereCombineDisjuncts()
746 WhereTerm *pOne; in exprAnalyzeOrTerm() local
747 while( (pOne = whereNthSubterm(&pOrWc->a[0],iOne++))!=0 ){ in exprAnalyzeOrTerm()
751 whereCombineDisjuncts(pSrc, pWC, pOne, pTwo); in exprAnalyzeOrTerm()