Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dbtree_rb.c128 BtRbNode *pRight; /* Nodes right child, or NULL */ member
209 pY = pX->pRight; in leftRotate()
215 else pX->pParent->pRight = pY; in leftRotate()
219 pX->pRight = pb; in leftRotate()
242 pb = pY->pRight; in rightRotate()
247 else pX->pParent->pRight = pY; in rightRotate()
249 pY->pRight = pX; in rightRotate()
299 orig = append_node( orig, pNode->pRight, indent ); in append_node()
348 if( pNode->pRight ){ in check_redblack_tree()
349 pNode = pNode->pRight; in check_redblack_tree()
[all …]
H A Dexpr.c25 Expr *sqliteExpr(int op, Expr *pLeft, Expr *pRight, Token *pToken){ in sqliteExpr() argument
34 pNew->pRight = pRight; in sqliteExpr()
43 if( pLeft && pRight ){ in sqliteExpr()
44 sqliteExprSpan(pNew, &pLeft->span, &pRight->span); in sqliteExpr()
56 void sqliteExprSpan(Expr *pExpr, Token *pLeft, Token *pRight){ in sqliteExprSpan() argument
57 assert( pRight!=0 ); in sqliteExprSpan()
60 if( pExpr && pRight->z && pLeft->z ){ in sqliteExprSpan()
61 if( pLeft->dyn==0 && pRight->dyn==0 ){ in sqliteExprSpan()
63 pExpr->span.n = pRight->n + Addr(pRight->z) - Addr(pLeft->z); in sqliteExprSpan()
101 sqliteExprDelete(p->pRight); in sqliteExprDelete()
[all …]
H A Dwhere.c75 cnt = 1 + exprSplit(nSlot-1, &aSlot[1], pExpr->pRight); in exprSplit()
78 cnt += exprSplit(nSlot-cnt, &aSlot[cnt], pExpr->pRight); in exprSplit()
130 if( p->pRight ){ in exprTableUsage()
131 mask = exprTableUsage(pMaskSet, p->pRight); in exprTableUsage()
173 pInfo->prereqRight = exprTableUsage(pMaskSet, pExpr->pRight); in exprAnalyze()
179 if( pExpr->pRight && pExpr->pRight->op==TK_COLUMN ){ in exprAnalyze()
180 pInfo->idxRight = pExpr->pRight->iTable; in exprAnalyze()
515 if( aExpr[j].idxRight==iCur && aExpr[j].p->pRight->iColumn<0 in sqliteWhereBegin()
603 int iColumn = aExpr[j].p->pRight->iColumn; in sqliteWhereBegin()
753 sqliteExprCode(pParse, aExpr[k].p->pRight); in sqliteWhereBegin()
[all …]
H A Dpragma.c159 void sqlitePragma(Parse *pParse, Token *pLeft, Token *pRight, int minusFlag){ in sqlitePragma() argument
170 sqliteSetNString(&zRight, "-", 1, pRight->z, pRight->n, 0); in sqlitePragma()
172 zRight = sqliteStrNDup(pRight->z, pRight->n); in sqlitePragma()
209 if( pRight->z==pLeft->z ){ in sqlitePragma()
247 if( pRight->z==pLeft->z ){ in sqlitePragma()
295 if( pRight->z==pLeft->z ){ in sqlitePragma()
338 if( pRight->z==pLeft->z ){ in sqlitePragma()
520 if( pRight->z==pLeft->z ){ in sqlitePragma()
544 if( pRight->z==pLeft->z ){ in sqlitePragma()
H A Dselect.c197 p = p->pRight; in setJoinExpr()
809 && (pR=p->pRight)!=0 && pR->token.z && pR->token.z[0] ){ in sqliteResultSetOfSelect()
935 if( pE->op==TK_DOT && pE->pRight && pE->pRight->op==TK_ALL in fillInColumnList()
950 (pE->op!=TK_DOT || pE->pRight==0 || pE->pRight->op!=TK_ALL) ){ in fillInColumnList()
979 Expr *pExpr, *pLeft, *pRight; in fillInColumnList() local
993 pRight = sqliteExpr(TK_ID, 0, 0, 0); in fillInColumnList()
994 if( pRight==0 ) break; in fillInColumnList()
995 pRight->token.z = zName; in fillInColumnList()
996 pRight->token.n = strlen(zName); in fillInColumnList()
997 pRight->token.dyn = 0; in fillInColumnList()
[all …]
H A Dattach.c274 if( sqliteFixExpr(pFix, pExpr->pRight) ){ in sqliteFixExpr()
H A Dvdbe.c364 static Sorter *Merge(Sorter *pLeft, Sorter *pRight){ in Merge() argument
369 while( pLeft && pRight ){ in Merge()
370 int c = sqliteSortCompare(pLeft->zKey, pRight->zKey); in Merge()
375 pTail->pNext = pRight; in Merge()
376 pRight = pRight->pNext; in Merge()
382 }else if( pRight ){ in Merge()
383 pTail->pNext = pRight; in Merge()
H A DsqliteInt.h686 Expr *pLeft, *pRight; /* Left and right subnodes */ member
H A Dparse.y335 Expr *pRight = sqliteExpr(TK_ALL, 0, 0, 0);
337 A = sqliteExprListAppend(P, sqliteExpr(TK_DOT, pLeft, pRight, 0), 0);