Lines Matching refs:ExprHasProperty
47 while( ExprHasProperty(pExpr, EP_Skip|EP_IfNullRow) ){ in sqlite3ExprAffinity()
70 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in sqlite3ExprAffinity()
128 while( pExpr && ExprHasProperty(pExpr, EP_Skip) ){ in sqlite3ExprSkipCollate()
141 while( pExpr && ExprHasProperty(pExpr, EP_Skip|EP_Unlikely) ){ in sqlite3ExprSkipCollateAndLikely()
142 if( ExprHasProperty(pExpr, EP_Unlikely) ){ in sqlite3ExprSkipCollateAndLikely()
196 assert( !ExprHasProperty(p, EP_IntValue) ); in sqlite3ExprCollSeq()
211 if( ExprHasProperty(p->x.pList->a[i].pExpr, EP_Collate) ){ in sqlite3ExprCollSeq()
371 if( ExprHasProperty(p, EP_Commuted) ){ in sqlite3ExprCompareCollSeq()
631 int isCommuted = ExprHasProperty(pExpr,EP_Commuted); in codeVectorCompare()
1081 assert( !ExprHasProperty(pNew, EP_InnerON|EP_OuterON) ); in sqlite3ExprFunction()
1115 if( ExprHasProperty(pExpr, EP_FromDDL) ){ in sqlite3ExprFunctionUsable()
1153 assert( !ExprHasProperty(pExpr, EP_IntValue|EP_Reduced|EP_TokenOnly) ); in sqlite3ExprAssignVarNumber()
1225 if( ExprHasProperty(p, EP_Leaf) && !ExprHasProperty(p, EP_TokenOnly) ){ in sqlite3ExprDeleteNN()
1232 if( !ExprHasProperty(p, (EP_TokenOnly|EP_Leaf)) ){ in sqlite3ExprDeleteNN()
1237 assert( !ExprHasProperty(p, EP_WinFunc) ); in sqlite3ExprDeleteNN()
1240 assert( !ExprHasProperty(p, EP_WinFunc) ); in sqlite3ExprDeleteNN()
1245 if( ExprHasProperty(p, EP_WinFunc) ){ in sqlite3ExprDeleteNN()
1251 if( !ExprHasProperty(p, EP_Static) ){ in sqlite3ExprDeleteNN()
1306 if( ExprHasProperty(p, EP_TokenOnly) ) return EXPR_TOKENONLYSIZE; in exprStructSize()
1307 if( ExprHasProperty(p, EP_Reduced) ) return EXPR_REDUCEDSIZE; in exprStructSize()
1352 || ExprHasProperty(p, EP_WinFunc) in dupedExprStructSize()
1357 assert( !ExprHasProperty(p, EP_TokenOnly|EP_Reduced) ); in dupedExprStructSize()
1358 assert( !ExprHasProperty(p, EP_OuterON) ); in dupedExprStructSize()
1377 if( !ExprHasProperty(p, EP_IntValue) && p->u.zToken ){ in dupedExprNodeSize()
1445 if( !ExprHasProperty(p, EP_IntValue) && p->u.zToken ){ in exprDup()
1451 assert( ExprHasProperty(p, EP_Reduced)==0 ); in exprDup()
1486 if( ExprHasProperty(pNew, EP_Reduced|EP_TokenOnly|EP_WinFunc) ){ in exprDup()
1488 if( !ExprHasProperty(pNew, EP_TokenOnly|EP_Leaf) ){ in exprDup()
1495 if( ExprHasProperty(p, EP_WinFunc) ){ in exprDup()
1497 assert( ExprHasProperty(pNew, EP_WinFunc) ); in exprDup()
1504 if( !ExprHasProperty(p, EP_TokenOnly|EP_Leaf) ){ in exprDup()
1508 || ExprHasProperty(p->pLeft, EP_Subquery) ); in exprDup()
1555 if( pExpr->op==TK_FUNCTION && ExprHasProperty(pExpr, EP_WinFunc) ){ in gatherSelectWindowsCallback()
2102 if( !ExprHasProperty(pExpr, EP_Quoted|EP_IntValue) in sqlite3ExprIdToTrueFalse()
2119 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in sqlite3ExprTruthValue()
2184 if( pWalker->eCode==2 && ExprHasProperty(pExpr, EP_OuterON) ){ in exprNodeIsConstant()
2194 if( (pWalker->eCode>=4 || ExprHasProperty(pExpr,EP_ConstFunc)) in exprNodeIsConstant()
2195 && !ExprHasProperty(pExpr, EP_WinFunc) in exprNodeIsConstant()
2217 if( ExprHasProperty(pExpr, EP_FixedCol) && pWalker->eCode!=2 ){ in exprNodeIsConstant()
2331 if( !ExprHasProperty(pExpr, EP_OuterON) ) return 0; /* rule (4a) */ in sqlite3ExprIsTableConstraint()
2334 if( ExprHasProperty(pExpr, EP_OuterON) ) return 0; /* rule (5) */ in sqlite3ExprIsTableConstraint()
2511 return ExprHasProperty(p, EP_CanBeNull) || in sqlite3ExprCanBeNull()
2589 if( ExprHasProperty(pX, EP_VarSelect) ) return 0; /* Correlated subq */ in isCandidateForInOpt()
2647 assert( !ExprHasProperty(pIn, EP_xIsSelect) ); in sqlite3InRhsIsConstant()
3076 if( !ExprHasProperty(pExpr, EP_VarSelect) && pParse->iSelfTab==0 ){ in sqlite3CodeRhsOfIN()
3081 if( ExprHasProperty(pExpr, EP_Subrtn) ){ in sqlite3CodeRhsOfIN()
3099 assert( !ExprHasProperty(pExpr, EP_TokenOnly|EP_Reduced) ); in sqlite3CodeRhsOfIN()
3270 if( ExprHasProperty(pExpr, EP_Subrtn) ){ in sqlite3CodeSubselect()
3280 assert( !ExprHasProperty(pExpr, EP_Reduced|EP_TokenOnly) ); in sqlite3CodeSubselect()
3296 if( !ExprHasProperty(pExpr, EP_VarSelect) ){ in sqlite3CodeSubselect()
4115 && !ExprHasProperty(pExpr, EP_Leaf) in sqlite3ExprCodeTarget()
4154 if( ExprHasProperty(pExpr, EP_FixedCol) ){ in sqlite3ExprCodeTarget()
4243 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in sqlite3ExprCodeTarget()
4249 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in sqlite3ExprCodeTarget()
4267 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in sqlite3ExprCodeTarget()
4279 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in sqlite3ExprCodeTarget()
4302 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in sqlite3ExprCodeTarget()
4328 ExprHasProperty(pExpr,EP_Commuted)); in sqlite3ExprCodeTarget()
4383 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in sqlite3ExprCodeTarget()
4441 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in sqlite3ExprCodeTarget()
4460 if( ExprHasProperty(pExpr, EP_WinFunc) ){ in sqlite3ExprCodeTarget()
4470 assert( !ExprHasProperty(pExpr, EP_TokenOnly) ); in sqlite3ExprCodeTarget()
4474 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in sqlite3ExprCodeTarget()
4549 if( nFarg>=2 && ExprHasProperty(pExpr, EP_InfixFunc) ){ in sqlite3ExprCodeTarget()
4633 if( !ExprHasProperty(pExpr, EP_Collate) in sqlite3ExprCodeTarget()
4856 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in sqlite3ExprCodeTarget()
4913 if( pExpr!=0 && ExprHasProperty(pExpr, EP_HasFunc) ){ in sqlite3ExprCodeRunJustOnce()
4990 if( ALWAYS(pExpr) && ExprHasProperty(pExpr,EP_Subquery) ){ in sqlite3ExprCode()
5264 r1, r2, dest, jumpIfNull, ExprHasProperty(pExpr,EP_Commuted)); in sqlite3ExprIfTrue()
5441 r1, r2, dest, jumpIfNull,ExprHasProperty(pExpr,EP_Commuted)); in sqlite3ExprIfFalse()
5621 assert( !ExprHasProperty(pA, EP_IntValue) ); in sqlite3ExprCompare()
5622 assert( !ExprHasProperty(pB, EP_IntValue) ); in sqlite3ExprCompare()
5628 if( ExprHasProperty(pA,EP_WinFunc)!=ExprHasProperty(pB,EP_WinFunc) ){ in sqlite3ExprCompare()
5631 if( ExprHasProperty(pA,EP_WinFunc) ){ in sqlite3ExprCompare()
5734 if( seenNot && ExprHasProperty(p, EP_xIsSelect) ) return 0; in exprImpliesNotNull()
5852 if( ExprHasProperty(pExpr, EP_OuterON) ) return WRC_Prune; in impliesNotNullRow()
6142 if( ExprHasProperty(pExpr, EP_WinFunc) ){ in sqlite3ReferencesSrcList()
6170 if( ALWAYS(!ExprHasProperty(pExpr, EP_TokenOnly|EP_Reduced)) in agginfoPersistExprCb()
6271 assert( !ExprHasProperty(pExpr, EP_TokenOnly|EP_Reduced) ); in analyzeAggregate()
6357 assert( !ExprHasProperty(pExpr, EP_xIsSelect) ); in analyzeAggregate()
6374 assert( !ExprHasProperty(pExpr, EP_TokenOnly|EP_Reduced) ); in analyzeAggregate()