Lines Matching refs:iSrc

107592 SQLITE_PRIVATE Expr *sqlite3CreateColumnExpr(sqlite3 *db, SrcList *pSrc, int iSrc, int iCol){
107595 SrcItem *pItem = &pSrc->a[iSrc];
111665 int iSrc, /* Which element of pSrcList to use */
111668 const SrcItem *pSrc = &pSrcList->a[iSrc];
111682 for(jj=0; jj<iSrc; jj++){
113644 int iSrc;
113656 iSrc = sqlite3TableColumnToStorage(pTab, iCol) - pParse->iSelfTab;
113666 sqlite3ExprCodeGeneratedColumn(pParse, pTab, pCol, iSrc);
113669 return iSrc;
113673 sqlite3VdbeAddOp2(v, OP_SCopy, iSrc, target);
113677 return iSrc;
121244 int iSrc; /* Index in pTabList->a[] of table being read */
121262 for(iSrc=0; iSrc<pTabList->nSrc; iSrc++){
121263 if( pExpr->iTable==pTabList->a[iSrc].iCursor ){
121264 pTab = pTabList->a[iSrc].pTab;
135899 int iSrc, iDest; /* Cursors from source and destination */
136113 iSrc = pParse->nTab++;
136149 sqlite3OpenTable(pParse, iSrc, iDbSrc, pSrc, OP_OpenRead);
136150 emptySrcTest = sqlite3VdbeAddOp2(v, OP_Rewind, iSrc, 0); VdbeCoverage(v);
136152 addr1 = sqlite3VdbeAddOp2(v, OP_Rowid, iSrc, regRowid);
136164 addr1 = sqlite3VdbeAddOp2(v, OP_Rowid, iSrc, regRowid);
136176 sqlite3VdbeAddOp3(v, OP_RowData, iSrc, regData, 1);
136181 sqlite3VdbeAddOp3(v, OP_RowCell, iDest, iSrc, regRowid);
136189 sqlite3VdbeAddOp2(v, OP_Next, iSrc, addr1); VdbeCoverage(v);
136190 sqlite3VdbeAddOp2(v, OP_Close, iSrc, 0);
136202 sqlite3VdbeAddOp3(v, OP_OpenRead, iSrc, pSrcIdx->tnum, iDbSrc);
136209 addr1 = sqlite3VdbeAddOp2(v, OP_Rewind, iSrc, 0); VdbeCoverage(v);
136232 sqlite3VdbeAddOp2(v, OP_RowCell, iDest, iSrc);
136238 sqlite3VdbeAddOp3(v, OP_RowData, iSrc, regData, 1);
136248 sqlite3VdbeAddOp2(v, OP_Next, iSrc, addr1+1); VdbeCoverage(v);
136250 sqlite3VdbeAddOp2(v, OP_Close, iSrc, 0);
148056 int iSrc /* Which FROM clause term to try to push into */
148061 pSrc = &pSrcList->a[iSrc];
148123 nChng += pushDownWhereTerms(pParse, pSubq, pWhere->pRight, pSrcList, iSrc);
148132 for(jj=0; jj<iSrc; jj++){
148137 for(jj++; jj<iSrc; jj++){
148170 if( sqlite3ExprIsSingleTableConstraint(pWhere, pSrcList, iSrc, 1) ){
163342 int iSrc;
163357 iSrc = pLevel->iFrom;
163358 pItem = &pTabList->a[iSrc];
163375 && sqlite3ExprIsSingleTableConstraint(pExpr, pTabList, iSrc, 0)