Home
last modified time | relevance | path

Searched refs:iSrc (Results 1 – 8 of 8) sorted by relevance

/sqlite-3.40.0/src/
H A Dauth.c148 int iSrc; /* Index in pTabList->a[] of table being read */ in sqlite3AuthRead() local
166 for(iSrc=0; iSrc<pTabList->nSrc; iSrc++){ in sqlite3AuthRead()
167 if( pExpr->iTable==pTabList->a[iSrc].iCursor ){ in sqlite3AuthRead()
168 pTab = pTabList->a[iSrc].pTab; in sqlite3AuthRead()
H A Dtest_vdbecov.c30 unsigned int iSrc, in test_vdbe_branch() argument
34 if( iSrc<sizeof(aBranchArray) ){ in test_vdbe_branch()
35 aBranchArray[iSrc] |= iBranch; in test_vdbe_branch()
H A Dinsert.c3005 iSrc = pParse->nTab++; in xferOptimization()
3041 sqlite3OpenTable(pParse, iSrc, iDbSrc, pSrc, OP_OpenRead); in xferOptimization()
3044 addr1 = sqlite3VdbeAddOp2(v, OP_Rowid, iSrc, regRowid); in xferOptimization()
3056 addr1 = sqlite3VdbeAddOp2(v, OP_Rowid, iSrc, regRowid); in xferOptimization()
3068 sqlite3VdbeAddOp3(v, OP_RowData, iSrc, regData, 1); in xferOptimization()
3073 sqlite3VdbeAddOp3(v, OP_RowCell, iDest, iSrc, regRowid); in xferOptimization()
3081 sqlite3VdbeAddOp2(v, OP_Next, iSrc, addr1); VdbeCoverage(v); in xferOptimization()
3082 sqlite3VdbeAddOp2(v, OP_Close, iSrc, 0); in xferOptimization()
3124 sqlite3VdbeAddOp2(v, OP_RowCell, iDest, iSrc); in xferOptimization()
3130 sqlite3VdbeAddOp3(v, OP_RowData, iSrc, regData, 1); in xferOptimization()
[all …]
H A Dexpr.c4185 int iSrc; in sqlite3ExprCodeTarget() local
4197 iSrc = sqlite3TableColumnToStorage(pTab, iCol) - pParse->iSelfTab; in sqlite3ExprCodeTarget()
4207 sqlite3ExprCodeGeneratedColumn(pParse, pTab, pCol, iSrc); in sqlite3ExprCodeTarget()
4210 return iSrc; in sqlite3ExprCodeTarget()
4214 sqlite3VdbeAddOp2(v, OP_SCopy, iSrc, target); in sqlite3ExprCodeTarget()
4218 return iSrc; in sqlite3ExprCodeTarget()
H A Dresolve.c763 Expr *sqlite3CreateColumnExpr(sqlite3 *db, SrcList *pSrc, int iSrc, int iCol){ in sqlite3CreateColumnExpr() argument
766 SrcItem *pItem = &pSrc->a[iSrc]; in sqlite3CreateColumnExpr()
/sqlite-3.40.0/ext/misc/
H A Dfossildelta.c372 int iSrc, iBlock; in delta_create() local
406 iSrc = iBlock*NHASH; in delta_create()
408 limitX = ( lenSrc-iSrc <= lenOut-y ) ? lenSrc : iSrc + lenOut - y; in delta_create()
409 for(x=iSrc; x<limitX; x++, y++){ in delta_create()
412 j = x - iSrc - 1; in delta_create()
416 for(k=1; k<iSrc && k<=i; k++){ in delta_create()
417 if( zSrc[iSrc-k]!=zOut[base+i-k] ) break; in delta_create()
422 ofst = iSrc-k; in delta_create()
432 bestOfst = iSrc-k; in delta_create()
H A Dunionvtab.c660 static int unionOpenDatabase(UnionTab *pTab, int iSrc, char **pzErr){ in unionOpenDatabase() argument
662 UnionSrc *pSrc = &pTab->aSrc[iSrc]; in unionOpenDatabase()
664 assert( pTab->bSwarm && iSrc<pTab->nSrc ); in unionOpenDatabase()
/sqlite-3.40.0/tool/
H A Dsqldiff.c1041 int iSrc, iBlock; in rbuDeltaCreate() local
1074 iSrc = iBlock*NHASH; in rbuDeltaCreate()
1076 j=0, x=iSrc, y=base+i; in rbuDeltaCreate()
1086 for(k=1; k<iSrc && (unsigned int)k<=i; k++){ in rbuDeltaCreate()
1087 if( zSrc[iSrc-k]!=zOut[base+i-k] ) break; in rbuDeltaCreate()
1092 ofst = iSrc-k; in rbuDeltaCreate()
1102 bestOfst = iSrc-k; in rbuDeltaCreate()