Home
last modified time | relevance | path

Searched refs:pRight (Results 1 – 9 of 9) sorted by relevance

/titanic_50/usr/src/lib/libsqlite/src/
H A Dbtree_rb.c131 BtRbNode *pRight; /* Nodes right child, or NULL */ member
212 pY = pX->pRight; in leftRotate()
218 else pX->pParent->pRight = pY; in leftRotate()
222 pX->pRight = pb; in leftRotate()
245 pb = pY->pRight; in rightRotate()
250 else pX->pParent->pRight = pY; in rightRotate()
252 pY->pRight = pX; in rightRotate()
302 orig = append_node( orig, pNode->pRight, indent ); in append_node()
351 if( pNode->pRight ){ in check_redblack_tree()
352 pNode = pNode->pRight; in check_redblack_tree()
[all …]
H A Dexpr.c28 Expr *sqliteExpr(int op, Expr *pLeft, Expr *pRight, Token *pToken){ in sqliteExpr() argument
37 pNew->pRight = pRight; in sqliteExpr()
46 if( pLeft && pRight ){ in sqliteExpr()
47 sqliteExprSpan(pNew, &pLeft->span, &pRight->span); in sqliteExpr()
59 void sqliteExprSpan(Expr *pExpr, Token *pLeft, Token *pRight){ in sqliteExprSpan() argument
60 assert( pRight!=0 ); in sqliteExprSpan()
63 if( pExpr && pRight->z && pLeft->z ){ in sqliteExprSpan()
64 if( pLeft->dyn==0 && pRight->dyn==0 ){ in sqliteExprSpan()
66 pExpr->span.n = pRight->n + Addr(pRight->z) - Addr(pLeft->z); in sqliteExprSpan()
104 sqliteExprDelete(p->pRight); in sqliteExprDelete()
[all …]
H A Dwhere.c78 cnt = 1 + exprSplit(nSlot-1, &aSlot[1], pExpr->pRight); in exprSplit()
81 cnt += exprSplit(nSlot-cnt, &aSlot[cnt], pExpr->pRight); in exprSplit()
133 if( p->pRight ){ in exprTableUsage()
134 mask = exprTableUsage(pMaskSet, p->pRight); in exprTableUsage()
176 pInfo->prereqRight = exprTableUsage(pMaskSet, pExpr->pRight); in exprAnalyze()
182 if( pExpr->pRight && pExpr->pRight->op==TK_COLUMN ){ in exprAnalyze()
183 pInfo->idxRight = pExpr->pRight->iTable; in exprAnalyze()
518 if( aExpr[j].idxRight==iCur && aExpr[j].p->pRight->iColumn<0 in sqliteWhereBegin()
606 int iColumn = aExpr[j].p->pRight->iColumn; in sqliteWhereBegin()
756 sqliteExprCode(pParse, aExpr[k].p->pRight); in sqliteWhereBegin()
[all …]
H A Dpragma.c162 void sqlitePragma(Parse *pParse, Token *pLeft, Token *pRight, int minusFlag){ in sqlitePragma() argument
173 sqliteSetNString(&zRight, "-", 1, pRight->z, pRight->n, 0); in sqlitePragma()
175 zRight = sqliteStrNDup(pRight->z, pRight->n); in sqlitePragma()
212 if( pRight->z==pLeft->z ){ in sqlitePragma()
250 if( pRight->z==pLeft->z ){ in sqlitePragma()
298 if( pRight->z==pLeft->z ){ in sqlitePragma()
341 if( pRight->z==pLeft->z ){ in sqlitePragma()
523 if( pRight->z==pLeft->z ){ in sqlitePragma()
547 if( pRight->z==pLeft->z ){ in sqlitePragma()
H A Dselect.c201 p = p->pRight; in setJoinExpr()
813 && (pR=p->pRight)!=0 && pR->token.z && pR->token.z[0] ){ in sqliteResultSetOfSelect()
939 if( pE->op==TK_DOT && pE->pRight && pE->pRight->op==TK_ALL in fillInColumnList()
954 (pE->op!=TK_DOT || pE->pRight==0 || pE->pRight->op!=TK_ALL) ){ in fillInColumnList()
983 Expr *pExpr, *pLeft, *pRight; in fillInColumnList() local
997 pRight = sqliteExpr(TK_ID, 0, 0, 0); in fillInColumnList()
998 if( pRight==0 ) break; in fillInColumnList()
999 pRight->token.z = zName; in fillInColumnList()
1000 pRight->token.n = strlen(zName); in fillInColumnList()
1001 pRight->token.dyn = 0; in fillInColumnList()
[all …]
H A Dattach.c277 if( sqliteFixExpr(pFix, pExpr->pRight) ){ in sqliteFixExpr()
H A Dvdbe.c366 static Sorter *Merge(Sorter *pLeft, Sorter *pRight){ in Merge() argument
371 while( pLeft && pRight ){ in Merge()
372 int c = sqliteSortCompare(pLeft->zKey, pRight->zKey); in Merge()
377 pTail->pNext = pRight; in Merge()
378 pRight = pRight->pNext; in Merge()
384 }else if( pRight ){ in Merge()
385 pTail->pNext = pRight; in Merge()
H A DsqliteInt.h689 Expr *pLeft, *pRight; /* Left and right subnodes */ member
H A Dparse.y337 Expr *pRight = sqliteExpr(TK_ALL, 0, 0, 0);
339 A = sqliteExprListAppend(P, sqliteExpr(TK_DOT, pLeft, pRight, 0), 0);