Searched refs:pExpr (Results 1 - 8 of 8) sorted by relevance

/osnet-11/usr/src/lib/libsqlite/src/
H A Dauth.c98 ** The pExpr should be a TK_COLUMN expression. The table referred to
108 Expr *pExpr, /* The expression to check authorization on */
109 SrcList *pTabList /* All table that pExpr might refer to */
119 assert( pExpr->op==TK_COLUMN );
121 if( pExpr->iTable==pTabList->a[iSrc].iCursor ) break;
132 assert( pExpr->iTable==pStack->newIdx || pExpr->iTable==pStack->oldIdx );
136 if( pExpr->iColumn>=0 ){
137 assert( pExpr->iColumn<pTab->nCol );
138 zCol = pTab->aCol[pExpr
106 sqliteAuthRead( Parse *pParse, Expr *pExpr, SrcList *pTabList ) argument
[all...]
H A Dexpr.c59 void sqliteExprSpan(Expr *pExpr, Token *pLeft, Token *pRight){ argument
62 /* Note: pExpr might be NULL due to a prior malloc failure */
63 if( pExpr && pRight->z && pLeft->z ){
65 pExpr->span.z = pLeft->z;
66 pExpr->span.n = pRight->n + Addr(pRight->z) - Addr(pLeft->z);
68 pExpr->span.z = 0;
167 pItem->pExpr = pNewExpr = sqliteExprDup(pOldExpr = p->a[i].pExpr);
251 ExprList *sqliteExprListAppend(ExprList *pList, Expr *pExpr, Token *pName){ argument
255 /* sqliteExprDelete(pExpr); // Lea
792 getFunctionName(Expr *pExpr, const char **pzName, int *pnName) argument
826 sqliteExprCheck(Parse *pParse, Expr *pExpr, int allowAgg, int *pIsAgg) argument
1014 sqliteExprCode(Parse *pParse, Expr *pExpr) argument
1303 sqliteExprIfTrue(Parse *pParse, Expr *pExpr, int dest, int jumpIfNull) argument
1398 sqliteExprIfFalse(Parse *pParse, Expr *pExpr, int dest, int jumpIfNull) argument
1553 sqliteExprAnalyzeAggregates(Parse *pParse, Expr *pExpr) argument
[all...]
H A Dwhere.c66 ** split pExpr into subexpressions and fills aSlot[] with those subexpressions.
69 static int exprSplit(int nSlot, ExprInfo *aSlot, Expr *pExpr){ argument
71 if( pExpr==0 || nSlot<1 ) return 0;
72 if( nSlot==1 || pExpr->op!=TK_AND ){
73 aSlot[0].p = pExpr;
76 if( pExpr->pLeft->op!=TK_AND ){
77 aSlot[0].p = pExpr->pLeft;
78 cnt = 1 + exprSplit(nSlot-1, &aSlot[1], pExpr->pRight);
80 cnt = exprSplit(nSlot, aSlot, pExpr->pLeft);
81 cnt += exprSplit(nSlot-cnt, &aSlot[cnt], pExpr
174 Expr *pExpr = pInfo->p; local
300 Expr *pExpr = *ppExpr; local
1005 Expr *pExpr = aExpr[k].p; local
1064 Expr *pExpr = aExpr[k].p; local
[all...]
H A Dselect.c329 type = sqliteExprType(pOrderBy->a[i].pExpr);
339 sqliteExprCode(pParse, pOrderBy->a[i].pExpr);
362 zType[i] = sqliteExprType(pEList->a[i].pExpr)==SQLITE_SO_NUM ? 'n' : 't';
438 sqliteExprCode(pParse, pEList->a[i].pExpr);
668 Expr *p = pEList->a[i].pExpr;
718 p = pEList->a[i].pExpr;
810 }else if( (p=pEList->a[i].pExpr)->op==TK_DOT
935 Expr *pE = pEList->a[k].pExpr;
950 Expr *pE = a[k].pExpr;
955 pNew = sqliteExprListAppend(pNew, a[k].pExpr,
981 Expr *pExpr, *pLeft, *pRight; local
1527 substExpr(Expr *pExpr, int iTable, ExprList *pEList) argument
1758 Expr *pExpr; local
1848 Expr *pExpr; local
[all...]
H A Dattach.c268 Expr *pExpr /* The expression to be fixed to one database */
270 while( pExpr ){
271 if( sqliteFixSelect(pFix, pExpr->pSelect) ){
274 if( sqliteFixExprList(pFix, pExpr->pList) ){
277 if( sqliteFixExpr(pFix, pExpr->pRight) ){
280 pExpr = pExpr->pLeft;
291 if( sqliteFixExpr(pFix, pList->a[i].pExpr) ){
H A Dupdate.c120 if( sqliteExprResolveIds(pParse, pTabList, 0, pChanges->a[i].pExpr) ){
123 if( sqliteExprCheck(pParse, pChanges->a[i].pExpr, 0, 0) ){
130 pRecnoExpr = pChanges->a[i].pExpr;
139 pRecnoExpr = pChanges->a[i].pExpr;
296 sqliteExprCode(pParse, pChanges->a[j].pExpr);
374 sqliteExprCode(pParse, pChanges->a[j].pExpr);
H A Dinsert.c250 if( sqliteExprResolveIds(pParse, &dummy, 0, pList->a[i].pExpr) ){
253 if( sqliteExprCheck(pParse, pList->a[i].pExpr, 0, 0) ){
372 sqliteExprCode(pParse, pList->a[keyColumn].pExpr);
396 sqliteExprCode(pParse, pList->a[j].pExpr);
430 sqliteExprCode(pParse, pList->a[keyColumn].pExpr);
469 sqliteExprCode(pParse, pList->a[j].pExpr);
H A DsqliteInt.h728 Expr *pExpr; /* The list of expressions */ member in struct:ExprList::ExprList_item
894 ** The pExpr field points to an expression that is part of either the
897 ** up. Do not try to delete the expression attached to AggExpr.pExpr.
899 ** If AggExpr.pExpr==0, that means the expression is "count(*)".
903 Expr *pExpr; /* The expression */ member in struct:AggExpr

Completed in 389 milliseconds