Lines Matching refs:Expr

60 static int whereClauseInsert(WhereClause *pWC, Expr *p, u16 wtFlags){  in whereClauseInsert()
111 static u16 exprCommute(Parse *pParse, Expr *pExpr){ in exprCommute()
119 SWAP(Expr*,pExpr->pRight,pExpr->pLeft); in exprCommute()
174 Expr *pExpr, /* Test this expression */ in isLikeOrGlob()
175 Expr **ppPrefix, /* Pointer to TK_STRING expression with pattern prefix */ in isLikeOrGlob()
180 Expr *pRight, *pLeft; /* Right and left size of LIKE operator */ in isLikeOrGlob()
233 Expr *pPrefix; in isLikeOrGlob()
353 Expr *pExpr, /* Test this expression */ in isAuxiliaryVtabOperator()
355 Expr **ppLeft, /* Column expression to left of MATCH/op2 */ in isAuxiliaryVtabOperator()
356 Expr **ppRight /* Expression to left of MATCH/op2 */ in isAuxiliaryVtabOperator()
369 Expr *pCol; /* Column reference */ in isAuxiliaryVtabOperator()
434 Expr *pLeft = pExpr->pLeft; in isAuxiliaryVtabOperator()
435 Expr *pRight = pExpr->pRight; in isAuxiliaryVtabOperator()
444 SWAP(Expr*, pLeft, pRight); in isAuxiliaryVtabOperator()
461 static void transferJoinMarkings(Expr *pDerived, Expr *pBase){ in transferJoinMarkings()
520 Expr *pNew; /* New virtual expression */ in whereCombineDisjuncts()
648 Expr *pExpr = pTerm->pExpr; /* The expression of the term */ in exprAnalyzeOrTerm()
790 Expr *pLeft = 0; in exprAnalyzeOrTerm()
862 Expr *pDup; /* A transient duplicate expression */ in exprAnalyzeOrTerm()
864 Expr *pLeft = 0; /* The LHS of the IN operator */ in exprAnalyzeOrTerm()
865 Expr *pNew; /* The complete IN operator */ in exprAnalyzeOrTerm()
913 static int termIsEquivalence(Parse *pParse, Expr *pExpr){ in termIsEquivalence()
979 Expr *pExpr /* An operand of a comparison operator */ in exprMightBeIndexed2()
1004 Expr *pExpr, /* An operand of a comparison operator */ in exprMightBeIndexed()
1056 Expr *pExpr; /* The expression to be analyzed */ in exprAnalyze()
1060 Expr *pStr1 = 0; /* RHS of LIKE/GLOB operator */ in exprAnalyze()
1141 Expr *pLeft = sqlite3ExprSkipCollate(pExpr->pLeft); in exprAnalyze()
1142 Expr *pRight = sqlite3ExprSkipCollate(pExpr->pRight); in exprAnalyze()
1164 Expr *pDup; in exprAnalyze()
1237 Expr *pNewExpr; in exprAnalyze()
1273 Expr *pNewExpr; in exprAnalyze()
1274 Expr *pLeft = pExpr->pLeft; in exprAnalyze()
1317 Expr *pLeft; /* LHS of LIKE/GLOB operator */ in exprAnalyze()
1318 Expr *pStr2; /* Copy of pStr1 - RHS of LIKE/GLOB operator */ in exprAnalyze()
1319 Expr *pNewExpr1; in exprAnalyze()
1320 Expr *pNewExpr2; in exprAnalyze()
1408 Expr *pNew; in exprAnalyze()
1409 Expr *pLeft = sqlite3ExprForVectorField(pParse, pExpr->pLeft, i, nLeft); in exprAnalyze()
1410 Expr *pRight = sqlite3ExprForVectorField(pParse, pExpr->pRight, i, nLeft); in exprAnalyze()
1462 Expr *pRight = 0, *pLeft = 0; in exprAnalyze()
1472 Expr *pNewExpr; in exprAnalyze()
1492 SWAP(Expr*, pLeft, pRight); in exprAnalyze()
1527 void sqlite3WhereSplit(WhereClause *pWC, Expr *pExpr, u8 op){ in sqlite3WhereSplit()
1528 Expr *pE2 = sqlite3ExprSkipCollateAndLikely(pExpr); in sqlite3WhereSplit()
1554 Expr *pExpr, /* Expression that defines the limit/offset */ in whereAddLimitExpr()
1560 Expr *pNew; in whereAddLimitExpr()
1564 Expr *pVal = sqlite3Expr(db, TK_INTEGER, 0); in whereAddLimitExpr()
1570 Expr *pVal = sqlite3Expr(db, TK_REGISTER, 0); in whereAddLimitExpr()
1629 Expr *pExpr = pOrderBy->a[ii].pExpr; in sqlite3WhereAddLimit()
1735 Expr *p in sqlite3WhereExprUsageFull()
1759 Bitmask sqlite3WhereExprUsageNN(WhereMaskSet *pMaskSet, Expr *p){ in sqlite3WhereExprUsageNN()
1768 Bitmask sqlite3WhereExprUsage(WhereMaskSet *pMaskSet, Expr *p){ in sqlite3WhereExprUsage()
1816 Expr *pColRef; in sqlite3WhereTabFuncArgs()
1817 Expr *pTerm; in sqlite3WhereTabFuncArgs()
1824 Expr *pRhs; in sqlite3WhereTabFuncArgs()