• Home
  • Raw
  • Download

Lines Matching refs:iReg

15829     int iReg;             /* Reg with value of this column. 0 means none. */  member
71793 printf(" r[%d]={%d:%d}", x->iReg, x->iTable, x->iColumn);
76217 int iReg /* Register for new.* record */
76232 iKey2 = v->aMem[iReg].u.i;
76239 || (pCsr->nField==pTab->nCol+1 && op==SQLITE_DELETE && iReg==-1)
76245 preupdate.iNewReg = iReg;
78873 static void registerTrace(int iReg, Mem *p){
78874 printf("REG[%d] = ", iReg);
94187 pParse->aTempReg[pParse->nTempReg++] = pParse->aColCache[i].iReg;
94201 SQLITE_PRIVATE void sqlite3ExprCacheStore(Parse *pParse, int iTab, int iCol, int iReg){
94208 assert( iReg>0 || pParse->nErr || pParse->db->mallocFailed );
94247 p->iReg = iReg;
94256 SQLITE_PRIVATE void sqlite3ExprCacheRemove(Parse *pParse, int iReg, int nReg){
94260 if( p->iReg >= iReg && p->iReg < iReg+nReg ){
94311 static void sqlite3ExprCachePinRegister(Parse *pParse, int iReg){
94315 if( p->iReg==iReg ){
94389 int iReg, /* Store results here */
94399 sqlite3ExprCachePinRegister(pParse, p->iReg);
94400 return p->iReg;
94404 sqlite3ExprCodeGetColumnOfTable(v, pTab, iTable, iColumn, iReg);
94408 sqlite3ExprCacheStore(pParse, iTable, iColumn, iReg);
94410 return iReg;
94417 int iReg /* Store results here */
94419 int r1 = sqlite3ExprCodeGetColumn(pParse, pTab, iColumn, iTable, iReg, 0);
94420 if( r1!=iReg ) sqlite3VdbeAddOp2(pParse->pVdbe, OP_SCopy, r1, iReg);
94439 pParse->aTempReg[pParse->nTempReg++] = pParse->aColCache[i].iReg;
94475 int r = p->iReg;
94488 static void exprToRegister(Expr *p, int iReg){
94491 p->iTable = iReg;
96236 SQLITE_PRIVATE void sqlite3ReleaseTempReg(Parse *pParse, int iReg){
96237 if( iReg && pParse->nTempReg<ArraySize(pParse->aTempReg) ){
96241 if( p->iReg==iReg ){
96246 pParse->aTempReg[pParse->nTempReg++] = iReg;
96268 SQLITE_PRIVATE void sqlite3ReleaseTempRange(Parse *pParse, int iReg, int nReg){
96270 sqlite3ReleaseTempReg(pParse, iReg);
96273 sqlite3ExprCacheRemove(pParse, iReg, nReg);
96276 pParse->iRangeReg = iReg;
107962 int iReg = aiCol[i] + regData + 1;
107963 sqlite3VdbeAddOp2(v, OP_IsNull, iReg, iOk); VdbeCoverage(v);
108533 int iReg = pFKey->aCol[i].iFrom + regOld + 1;
108534 sqlite3VdbeAddOp2(v, OP_IsNull, iReg, iJump); VdbeCoverage(v);
109168 SQLITE_PRIVATE void sqlite3TableAffinity(Vdbe *v, Table *pTab, int iReg){
109189 if( iReg ){
109190 sqlite3VdbeAddOp4(v, OP_Affinity, iReg, i, 0, zColAff, i);
113990 int iReg;
113992 iReg = ++pParse->nMem;
113994 sqlite3VdbeAddOp2(v, OP_Pagecount, iDb, iReg);
113996 sqlite3VdbeAddOp3(v, OP_MaxPgcnt, iDb, iReg,
113999 sqlite3VdbeAddOp2(v, OP_ResultRow, iReg, 1);
123969 SQLITE_PRIVATE void sqlite3ColumnDefault(Vdbe *v, Table *pTab, int i, int iReg){
123985 sqlite3VdbeAddOp1(v, OP_RealAffinity, iReg);
125552 int iReg;
125588 iReg = ++pParse->nMem;
125589 sqlite3VdbeLoadString(v, iReg, pTab->zName);
125590 sqlite3VdbeAddOp2(v, OP_VCreate, iDb, iReg);
127357 int iReg; /* Register holding results */
127362 iReg = sqlite3ExprCodeTarget(pParse, pX->pRight, iTarget);
127364 iReg = iTarget;
127365 sqlite3VdbeAddOp2(v, OP_Null, 0, iReg);
127385 iReg = iTarget;
127484 int iOut = iReg + i - iEq;
127509 return iReg;
127971 static void codeExprOrVector(Parse *pParse, Expr *p, int iReg, int nReg){
127978 sqlite3VdbeAddOp3(v, OP_Copy, iSelect, iReg, nReg-1);
127986 sqlite3ExprCode(pParse, pList->a[i].pExpr, iReg+i);
127991 sqlite3ExprCode(pParse, p, iReg);
128145 int iReg; /* P3 Value for OP_VFilter */
128151 iReg = sqlite3GetTempRange(pParse, nConstraint+2);
128154 int iTarget = iReg+j+2;
128165 sqlite3VdbeAddOp2(v, OP_Integer, pLoop->u.vtab.idxNum, iReg);
128166 sqlite3VdbeAddOp2(v, OP_Integer, nConstraint, iReg+1);
128167 sqlite3VdbeAddOp4(v, OP_VFilter, iCur, addrNotFound, iReg,
128194 assert( pOp->opcode!=OP_Column || pOp->p3==iReg+j+2 );
128195 assert( pOp->opcode!=OP_Rowid || pOp->p2==iReg+j+2 );
128208 pRight->iTable = iReg+j+2;