| /sqlite-3.40.0/src/ |
| H A D | whereexpr.c | 434 Expr *pLeft = pExpr->pLeft; in isAuxiliaryVtabOperator() local 436 assert( pLeft->op!=TK_COLUMN || (ExprUseYTab(pLeft) && pLeft->y.pTab!=0) ); in isAuxiliaryVtabOperator() 446 *ppLeft = pLeft; in isAuxiliaryVtabOperator() 790 Expr *pLeft = 0; in exprAnalyzeOrTerm() local 815 pLeft = pOrTerm->pExpr->pLeft; in exprAnalyzeOrTerm() 875 pLeft = pOrTerm->pExpr->pLeft; in exprAnalyzeOrTerm() 1092 if( pExpr->pLeft==0 in exprAnalyze() 1141 Expr *pLeft = sqlite3ExprSkipCollate(pExpr->pLeft); in exprAnalyze() local 1149 pLeft = pLeft->x.pList->a[pTerm->u.x.iField-1].pExpr; in exprAnalyze() 1274 Expr *pLeft = pExpr->pLeft; in exprAnalyze() local [all …]
|
| H A D | rowset.c | 311 if( pIn->pLeft ){ in rowSetTreeToList() 359 return pLeft; in rowSetNDeepTree() 361 p->pLeft = pLeft; in rowSetNDeepTree() 367 p->pLeft = p->pRight = 0; in rowSetNDeepTree() 384 p->pLeft = p->pRight = 0; in rowSetListToTree() 386 pLeft = p; in rowSetListToTree() 389 p->pLeft = pLeft; in rowSetListToTree() 461 if( pTree->pLeft==0 ){ in sqlite3RowSetTest() 467 pTree->pLeft = 0; in sqlite3RowSetTest() 490 p = pTree->pLeft; in sqlite3RowSetTest() [all …]
|
| H A D | expr.c | 622 Expr *pLeft = pExpr->pLeft; in codeVectorCompare() local 926 pRoot->pLeft = pLeft; in sqlite3ExprAttachSubtrees() 1489 pNew->pLeft = p->pLeft ? in exprDup() 1506 pNew->pLeft = p->pLeft; in exprDup() 2967 Expr *pLeft = pExpr->pLeft; in exprINAffinity() local 3108 pLeft = pExpr->pLeft; in sqlite3CodeRhsOfIN() 3441 pLeft = pExpr->pLeft; in sqlite3ExprCodeIN() 4319 Expr *pLeft = pExpr->pLeft; in sqlite3ExprCodeTarget() local 4376 Expr *pLeft = pExpr->pLeft; in sqlite3ExprCodeTarget() local 4590 Expr *pLeft = pExpr->pLeft; in sqlite3ExprCodeTarget() local [all …]
|
| H A D | resolve.c | 678 pExpr->pLeft = 0; in lookupName() 709 sqlite3ExprDelete(db, pExpr->pLeft); in lookupName() 710 pExpr->pLeft = 0; in lookupName() 933 pExpr->pLeft = 0; in resolveExprStep() 959 Expr *pLeft = pExpr->pLeft; in resolveExprStep() local 970 zDb = pLeft->u.zToken; in resolveExprStep() 971 pLeft = pRight->pLeft; in resolveExprStep() 975 zTable = pLeft->u.zToken; in resolveExprStep() 1270 assert( pExpr->pLeft!=0 ); in resolveExprStep() 1510 while( pParent->pLeft->op==TK_COLLATE ) pParent = pParent->pLeft; in resolveCompoundOrderBy() [all …]
|
| H A D | treeview.c | 535 sqlite3TreeViewExpr(pView, pExpr->pLeft, 0); in sqlite3TreeViewExpr() 595 sqlite3TreeViewExpr(pView, pExpr->pLeft, 0); in sqlite3TreeViewExpr() 645 sqlite3TreeViewExpr(pView, pExpr->pLeft, 0); in sqlite3TreeViewExpr() 659 sqlite3TreeViewExpr(pView, pExpr->pLeft, 0); in sqlite3TreeViewExpr() 734 sqlite3TreeViewExpr(pView, pExpr->pLeft, 1); in sqlite3TreeViewExpr() 757 pX = pExpr->pLeft; in sqlite3TreeViewExpr() 782 sqlite3TreeViewExpr(pView, pExpr->pLeft, 1); in sqlite3TreeViewExpr() 818 assert( ExprUseXSelect(pExpr->pLeft) ); in sqlite3TreeViewExpr() 824 sqlite3TreeViewExpr(pView, pExpr->pLeft, 0); in sqlite3TreeViewExpr() 851 sqlite3TreeViewExpr(pView, pExpr->pLeft, 1); in sqlite3TreeViewExpr() [all …]
|
| H A D | wherecode.c | 489 assert( pNew->pLeft!=0 ); in removeUnindexableInClauseTerms() 491 pOrigLhs = pNew->pLeft->x.pList; in removeUnindexableInClauseTerms() 507 pNew->pLeft->x.pList = pLhs; in removeUnindexableInClauseTerms() 516 pNew->pLeft = p; in removeUnindexableInClauseTerms() 1500 Expr *pLeft = pTerm->pExpr->pLeft; in sqlite3WhereCodeOneLoopStart() local 1501 assert( pLeft!=0 ); in sqlite3WhereCodeOneLoopStart() 1506 pCompare->pLeft = pLeft->x.pList->a[iFld-1].pExpr; in sqlite3WhereCodeOneLoopStart() 1508 pCompare->pLeft = pLeft; in sqlite3WhereCodeOneLoopStart() 1517 pCompare->pLeft = 0; in sqlite3WhereCodeOneLoopStart() 2397 pAndExpr->pLeft = 0; in sqlite3WhereCodeOneLoopStart() [all …]
|
| H A D | select.c | 493 pLeft = &pSrc->a[0]; in sqlite3ProcessJoin() 494 pRight = &pLeft[1]; in sqlite3ProcessJoin() 3857 pExpr->pLeft = substExpr(pSubst, pExpr->pLeft); in substExpr() 4740 Expr *pRight, *pLeft; in findConstInWhere() local 4754 pLeft = pExpr->pLeft; in findConstInWhere() 4756 assert( pLeft!=0 ); in findConstInWhere() 5087 pWhere = pWhere->pLeft; in pushDownWhereTerms() 5589 for(pLeft=pSel; pLeft->pPrior; pLeft=pLeft->pPrior); in resolveFromTermToCte() 5867 assert( pE->op!=TK_DOT || (pE->pLeft!=0 && pE->pLeft->op==TK_ID) ); in selectExpander() 6004 Expr *pLeft; in selectExpander() local [all …]
|
| H A D | fkey.c | 584 Expr *pLeft; /* Value from parent table row */ in fkScanChildren() local 591 pLeft = exprTableRegister(pParse, pTab, regData, iCol); in fkScanChildren() 596 pEq = sqlite3PExpr(pParse, TK_EQ, pLeft, pRight); in fkScanChildren() 616 Expr *pLeft; /* Value from parent table row */ in fkScanChildren() local 619 pLeft = exprTableRegister(pParse, pTab, regData, -1); in fkScanChildren() 621 pNe = sqlite3PExpr(pParse, TK_NE, pLeft, pRight); in fkScanChildren() 628 pLeft = exprTableRegister(pParse, pTab, regData, iCol); in fkScanChildren() 630 pEq = sqlite3PExpr(pParse, TK_IS, pLeft, pRight); in fkScanChildren()
|
| H A D | upsert.c | 146 sCol[0].pLeft = &sCol[1]; in sqlite3UpsertAnalyzeTarget() 172 sCol[0].pLeft = pExpr; in sqlite3UpsertAnalyzeTarget() 176 sCol[0].pLeft = &sCol[1]; in sqlite3UpsertAnalyzeTarget()
|
| H A D | walker.c | 73 if( pExpr->pLeft && walkExpr(pWalker, pExpr->pLeft) ) return WRC_Abort; in walkExpr()
|
| H A D | vdbemem.c | 1570 while( (op = pExpr->op)==TK_UPLUS || op==TK_SPAN ) pExpr = pExpr->pLeft; in valueFromExpr() 1583 rc = valueFromExpr(db, pExpr->pLeft, enc, aff, ppVal, pCtx); in valueFromExpr() 1596 && (pExpr->pLeft->op==TK_INTEGER || pExpr->pLeft->op==TK_FLOAT) ){ in valueFromExpr() 1597 pExpr = pExpr->pLeft; in valueFromExpr() 1629 if( SQLITE_OK==valueFromExpr(db,pExpr->pLeft,enc,affinity,&pVal,pCtx) in valueFromExpr()
|
| H A D | parse.y | 620 Select *pRight, *pLeft = A; 622 if( ALWAYS(pLeft) ) pLeft->selFlags &= ~SF_MultiValue; 625 pRight->pPrior = pLeft; 628 A = pLeft; 662 Expr *pLeft = tokenExpr(pParse, TK_ID, X); 663 Expr *pDot = sqlite3PExpr(pParse, TK_DOT, pLeft, pRight); 1059 p->pLeft = p->pRight = 0; 1309 }else if( A->pLeft->op==TK_VECTOR ){ 1310 int nExpr = A->pLeft->x.pList->nExpr;
|
| H A D | where.c | 331 || sqlite3ExprCompareSkip(pTerm->pExpr->pLeft, in whereScanNext() 361 assert(pX->pLeft); in whereScanNext() 1250 && (pE2 = pExpr->pLeft)->op==TK_COLUMN in allocateIndexInfo() 1348 || (pExpr->op==TK_COLLATE && pExpr->pLeft->op==TK_COLUMN in allocateIndexInfo() 1349 && pExpr->iColumn==pExpr->pLeft->iColumn) ); in allocateIndexInfo() 2717 int nCmp = sqlite3ExprVectorSize(pTerm->pExpr->pLeft); in whereRangeVectorLen() 2729 assert( ExprUseXList(pTerm->pExpr->pLeft) ); in whereRangeVectorLen() 2730 pLhs = pTerm->pExpr->pLeft->x.pList->a[i].pExpr; in whereRangeVectorLen() 3232 if( !whereUsablePartialIndex(iTab,jointype,pWC,pWhere->pLeft) ) return 0; in whereUsablePartialIndex() 3871 if( pX->pLeft ){ in sqlite3_vtab_collation()
|
| /sqlite-3.40.0/ext/fts3/ |
| H A D | fts3_expr.c | 598 pNew->pLeft = pSplit; in insertBinaryOperator() 736 while( pIter->pLeft ){ in fts3ExprParse() 737 pIter = pIter->pLeft; in fts3ExprParse() 739 pIter->pLeft = pRet; in fts3ExprParse() 825 pParent->pLeft = 0; in fts3ExprBalance() 916 Fts3Expr *pLeft = pRoot->pLeft; in fts3ExprBalance() local 919 pRoot->pLeft = 0; in fts3ExprBalance() 921 pLeft->pParent = 0; in fts3ExprBalance() 934 pRoot->pLeft = pLeft; in fts3ExprBalance() 1085 for(p=pDel; p && (p->pLeft||p->pRight); p=(p->pLeft ? p->pLeft : p->pRight)){ in sqlite3Fts3ExprFree() [all …]
|
| H A D | fts3.c | 4231 char *pLeft; in fts3EvalPhraseMergeToken() local 4246 pLeft = pList; in fts3EvalPhraseMergeToken() 4254 sqlite3_free(pLeft); in fts3EvalPhraseMergeToken() 4909 pRoot = pExpr->pLeft; in fts3EvalTokenCosts() 5298 Fts3Expr *pLeft = pExpr->pLeft; in fts3EvalNextRow() local 5338 if( pLeft->pPhrase && pLeft->pPhrase->doclist.aAll ){ in fts3EvalNextRow() 5352 Fts3Expr *pLeft = pExpr->pLeft; in fts3EvalNextRow() local 5356 assert_fts3_nc( pLeft->bStart || pLeft->iDocid==pRight->iDocid ); in fts3EvalNextRow() 5380 Fts3Expr *pLeft = pExpr->pLeft; in fts3EvalNextRow() local 5460 for(p=pExpr; p->pLeft; p=p->pLeft){ in fts3EvalNearTest() [all …]
|
| H A D | fts3_snippet.c | 259 assert( pExpr->pLeft && pExpr->pRight ); in fts3ExprIterate2() 260 rc = fts3ExprIterate2(pExpr->pLeft, piPhrase, x, pCtx); in fts3ExprIterate2() 907 assert( (pExpr->pLeft==0)==(pExpr->pRight==0) ); in fts3ExprLHitGather() 909 if( pExpr->pLeft ){ in fts3ExprLHitGather() 910 rc = fts3ExprLHitGather(pExpr->pLeft, p); in fts3ExprLHitGather()
|
| H A D | fts3Int.h | 461 Fts3Expr *pLeft; /* Left operand */ member
|
| /sqlite-3.40.0/ext/fts1/ |
| H A D | fts1.c | 2599 docListDelete(pLeft); in docListOfTerm() 2611 docListDelete(pLeft); in docListOfTerm() 2613 pLeft = pNew; in docListOfTerm() 2615 *ppResult = pLeft; in docListOfTerm() 2784 DocList *pLeft = NULL; in fulltextQuery() local 2820 if( pLeft==0 ){ in fulltextQuery() 2821 pLeft = pRight; in fulltextQuery() 2827 pLeft = pNew; in fulltextQuery() 2831 if( nNot && pLeft==0 ){ in fulltextQuery() 2849 pLeft = pNew; in fulltextQuery() [all …]
|
| /sqlite-3.40.0/ext/fts5/ |
| H A D | fts5_expr.c | 1052 if( pLeft->aTerm[0].pSynonym ){ in fts5ExprNodeTest_STRING() 2300 if( pLeft->eType==eType ) nChild += pLeft->nChild-1; in sqlite3Fts5ParseNode() 2367 || pLeft->eType==FTS5_EOF in sqlite3Fts5ParseImplicitAnd() 2368 || pLeft->eType==FTS5_AND in sqlite3Fts5ParseImplicitAnd() 2375 if( pLeft->eType==FTS5_AND ){ in sqlite3Fts5ParseImplicitAnd() 2376 pPrev = pLeft->apChild[pLeft->nChild-1]; in sqlite3Fts5ParseImplicitAnd() 2378 pPrev = pLeft; in sqlite3Fts5ParseImplicitAnd() 2388 pRet = pLeft; in sqlite3Fts5ParseImplicitAnd() 2394 if( pPrev==pLeft ){ in sqlite3Fts5ParseImplicitAnd() 2397 pLeft->apChild[pLeft->nChild-1] = pRight; in sqlite3Fts5ParseImplicitAnd() [all …]
|
| H A D | fts5Int.h | 763 Fts5ExprNode *pLeft, 770 Fts5ExprNode *pLeft,
|
| H A D | fts5_hash.c | 395 Fts5HashEntry *pLeft, in fts5HashEntryMerge() argument 398 Fts5HashEntry *p1 = pLeft; in fts5HashEntryMerge()
|
| /sqlite-3.40.0/ext/rtree/ |
| H A D | geopoly.c | 963 while( pRight && pLeft ){ in geopolyEventMerge() 964 if( pRight->x <= pLeft->x ){ in geopolyEventMerge() 969 pLast->pNext = pLeft; in geopolyEventMerge() 970 pLast = pLeft; in geopolyEventMerge() 971 pLeft = pLeft->pNext; in geopolyEventMerge() 974 pLast->pNext = pRight ? pRight : pLeft; in geopolyEventMerge() 1010 while( pRight && pLeft ){ in geopolySegmentMerge() 1011 double r = pRight->y - pLeft->y; in geopolySegmentMerge() 1018 pLast->pNext = pLeft; in geopolySegmentMerge() 1019 pLast = pLeft; in geopolySegmentMerge() [all …]
|
| H A D | rtree.c | 2461 RtreeNode *pLeft, in splitNodeStartree() argument 2593 RtreeNode *pLeft = 0; in SplitNode() local 2618 pLeft = nodeNew(pRtree, pNode); in SplitNode() 2623 pLeft = pNode; in SplitNode() 2625 pLeft->nRef++; in SplitNode() 2628 if( !pLeft || !pRight ){ in SplitNode() 2648 || (0==pLeft->iNode && SQLITE_OK!=(rc = nodeWrite(pRtree, pLeft))) in SplitNode() 2654 leftbbox.iRowid = pLeft->iNode; in SplitNode() 2689 for(i=0; i<NCELL(pLeft); i++){ in SplitNode() 2706 pLeft = 0; in SplitNode() [all …]
|
| /sqlite-3.40.0/ext/fts2/ |
| H A D | fts2.c | 1286 assert( pLeft->iType==pRight->iType ); in posListCmp() 1287 if( pLeft->iType==DL_DOCIDS ) return 0; in posListCmp() 1318 assert( pLeft->iType==pRight->iType ); in posListUnion() 1319 assert( pLeft->iType==pOut->iType ); in posListUnion() 1321 plrInit(&left, pLeft); in posListUnion() 1351 const char *pLeft, int nLeft, in docListUnion() argument 1417 plrInit(&left, pLeft); in posListPhraseMerge() 1459 const char *pLeft, int nLeft, in docListPhraseMerge() argument 1497 const char *pLeft, int nLeft, in docListAndMerge() argument 1532 const char *pLeft, int nLeft, in docListOrMerge() argument [all …]
|
| /sqlite-3.40.0/ext/lsm1/ |
| H A D | lsm_tree.c | 909 u32 iLeft; TreeNode *pLeft; /* New left-hand sibling node */ in treeInsert() local 912 pLeft = newTreeNode(pDb, &iLeft, &rc); in treeInsert() 916 pLeft->aiChildPtr[1] = getChildPtr(pNode, WORKING_VERSION, 0); in treeInsert() 917 pLeft->aiKeyPtr[1] = pNode->aiKeyPtr[0]; in treeInsert() 943 assert( pLeft->iV2==0 ); in treeInsert() 947 pLeft->aiKeyPtr[0] = iTreeKey; in treeInsert() 948 pLeft->aiChildPtr[0] = iLeftPtr; in treeInsert() 949 if( iRightPtr ) pLeft->aiChildPtr[1] = iRightPtr; in treeInsert() 952 pLeft->aiChildPtr[3] = (iRightPtr ? iRightPtr : pLeft->aiChildPtr[2]); in treeInsert() 953 pLeft->aiKeyPtr[2] = iTreeKey; in treeInsert() [all …]
|