Home | History | Annotate | Download | only in orig

Lines Matching defs:nMem

10355   int nMem
13223 int nMem; /* Number of memory cells used so far */
15393 int nMem; /* Number of entries in aMem */
15583 int nMem; /* Number of memory locations currently allocated */
65723 for(i=1, pX=&pVdbe->aMem[1]; i<=pVdbe->nMem; i++, pX++){
68117 assert( p->nMem>9 );
68357 for(i=1; i<p->nMem; i++){
68402 int nMem; /* Number of VM memory registers */
68419 nMem = pParse->nMem;
68426 ** cells (nMem+1-nCursor)..nMem, inclusive, will never be used by
68429 ** cursor 0 is stored in memory cell nMem. Memory cell (nMem-1)
68434 nMem += nCursor;
68444 if( pParse->explain && nMem<10 ){
68445 nMem = 10;
68464 p->aMem = allocSpace(p->aMem, nMem*sizeof(Mem), &zCsr, zEnd, &nByte);
68496 p->aMem--; /* aMem[] goes from 1..nMem */
68497 p->nMem = nMem; /* not from 0..nMem-1 */
68498 for(n=1; n<=nMem; n++){
68566 v->nMem = pFrame->nMem;
68594 releaseMemArray(&p->aMem[1], p->nMem);
68619 for(i=1; i<=p->nMem; i++) assert( p->aMem[i].flags==MEM_Undefined );
73006 ** space. Memory cell (p->nMem) corresponds to cursor 0. Space for
73007 ** cursor 1 is managed by memory cell (p->nMem-1), etc.
73009 Mem *pMem = &p->aMem[p->nMem-iCur];
73424 assert( pOp->p2<=(p->nMem-p->nCursor) );
73553 assert( pOp->p1<=(p->nMem-p->nCursor) );
73560 assert( pOp->p2<=(p->nMem-p->nCursor) );
73567 assert( pOp->p3<=(p->nMem-p->nCursor) );
73574 assert( pOp->p2<=(p->nMem-p->nCursor) );
73579 assert( pOp->p3<=(p->nMem-p->nCursor) );
73678 assert( pOp->p1>0 && pOp->p1<=(p->nMem-p->nCursor) );
73718 assert( pOp->p1>0 && pOp->p1<=(p->nMem-p->nCursor) );
73983 assert( pOp->p3<=(p->nMem-p->nCursor) );
74008 assert( pOp->p3<=(p->nMem-p->nCursor) );
74029 assert( pOp->p1>0 && pOp->p1<=(p->nMem-p->nCursor) );
74096 assert( pOut<=&aMem[(p->nMem-p->nCursor)] );
74097 assert( pIn1<=&aMem[(p->nMem-p->nCursor)] );
74181 assert( pOp->p1+pOp->p2<=(p->nMem-p->nCursor)+1 );
74495 assert( pOp->p3>0 && pOp->p3<=(p->nMem-p->nCursor) );
74496 assert( n==0 || (pOp->p2>0 && pOp->p2+n<=(p->nMem-p->nCursor)+1) );
74991 assert( p1>0 && p1+mx<=(p->nMem-p->nCursor)+1 );
74992 assert( p2>0 && p2+mx<=(p->nMem-p->nCursor)+1 );
74994 assert( p1>0 && p1+n<=(p->nMem-p->nCursor)+1 );
74995 assert( p2>0 && p2+n<=(p->nMem-p->nCursor)+1 );
75253 assert( pOp->p3>0 && pOp->p3<=(p->nMem-p->nCursor) );
75510 assert( pIn1 <= &p->aMem[(p->nMem-p->nCursor)] );
75572 assert( nField>0 && pOp->p2>0 && pOp->p2+nField<=(p->nMem-p->nCursor)+1 );
75663 assert( pOp->p3>0 && pOp->p3<=(p->nMem-p->nCursor) );
76246 assert( p2<=(p->nMem-p->nCursor) );
77022 assert( pOp->p3<=pFrame->nMem );
77026 assert( pOp->p3<=(p->nMem-p->nCursor) );
77759 assert( pOp->p2>0 && pOp->p2+pOp->p3<=(p->nMem-p->nCursor)+1 );
78214 assert( pOp->p3>0 && pOp->p3<=(p->nMem-p->nCursor) );
78362 int nMem; /* Number of memory registers for sub-program */
78403 /* SubProgram.nMem is set to the number of memory cells used by the
78406 ** variable nMem (and later, VdbeFrame.nChildMem) to this value.
78408 nMem = pProgram->nMem + pProgram->nCsr;
78410 + nMem * sizeof(Mem)
78422 pFrame->nChildMem = nMem;
78426 pFrame->nMem = p->nMem;
78445 assert( pProgram->nMem+pProgram->nCsr==pFrame->nChildMem );
78458 p->nMem = pFrame->nChildMem;
78460 p->apCsr = (VdbeCursor **)&aMem[p->nMem+1];
78695 assert( pOp->p3>0 && pOp->p3<=(p->nMem-p->nCursor) );
78696 assert( n==0 || (pOp->p2>0 && pOp->p2+n<=(p->nMem-p->nCursor)+1) );
78774 assert( pOp->p1>0 && pOp->p1<=(p->nMem-p->nCursor) );
79208 assert( pOp->p3>0 && pOp->p3<=(p->nMem-p->nCursor) );
79907 pParse->nMem = 1;
86753 *prRhsHasNull = ++pParse->nMem;
86791 *prRhsHasNull = rMayHaveNull = ++pParse->nMem;
87003 sqlite3SelectDestInit(&dest, 0, ++pParse->nMem);
87590 assert( target>0 && target<=pParse->nMem );
87890 r1 = pParse->nMem+1;
87891 pParse->nMem += nFarg;
88243 r2 = ++pParse->nMem;
88266 assert( target>0 && target<=pParse->nMem );
88311 iMem = ++pParse->nMem;
88994 pCol->iMem = ++pParse->nMem;
89052 pItem->iMem = ++pParse->nMem;
89124 return ++pParse->nMem;
89163 i = pParse->nMem+1;
89164 pParse->nMem += nReg;
89678 int i = ++pParse->nMem;
91004 pParse->nMem = MAX(pParse->nMem, iMem);
91098 pParse->nMem = MAX(pParse->nMem, regPrev+nColTest);
91244 pParse->nMem = MAX(pParse->nMem, regCol+nCol);
91323 iMem = pParse->nMem+1;
91353 analyzeOneTable(pParse, pTab, pOnlyIdx, iStatCur,pParse->nMem+1,pParse->nTab);
93009 pParse->nMem = 0;
93768 reg1 = pParse->regRowid = ++pParse->nMem;
93769 reg2 = pParse->regRoot = ++pParse->nMem;
93770 reg3 = ++pParse->nMem;
94734 regYield = ++pParse->nMem;
94735 regRec = ++pParse->nMem;
94736 regRowid = ++pParse->nMem;
96091 int iMem = ++pParse->nMem;
98032 memCnt = ++pParse->nMem;
98065 iRowSet = ++pParse->nMem;
98073 iPk = pParse->nMem+1;
98074 pParse->nMem += nPk;
98108 iKey = pParse->nMem + 1;
98110 if( iKey>pParse->nMem ) pParse->nMem = iKey;
98131 iKey = ++pParse->nMem;
98355 iOld = pParse->nMem+1;
98356 pParse->nMem += (1 + pTab->nCol);
102023 pToplevel->nMem++; /* Register to hold name of table */
102024 pInfo->regCtr = ++pToplevel->nMem; /* Max rowid register */
102025 pToplevel->nMem++; /* Rowid in sqlite_sequence */
102377 regRowid = regIns = pParse->nMem+1;
102378 pParse->nMem += pTab->nCol + 1;
102381 pParse->nMem++;
102438 regYield = ++pParse->nMem;
102542 regRowCount = ++pParse->nMem;
102556 aRegIdx[i] = ++pParse->nMem;
106127 pParse->nMem = 2;
106250 pParse->nMem += 2;
106342 iReg = ++pParse->nMem;
106829 pParse->nMem = 6;
106863 pParse->nMem = 4;
106898 pParse->nMem = 6;
106902 pParse->nMem = 3;
106906 assert( pParse->nMem<=ArraySize(azCol) );
106907 setAllColumnNames(v, pParse->nMem, azCol);
106918 sqlite3VdbeAddOp2(v, OP_ResultRow, 1, pParse->nMem);
106934 pParse->nMem = 5;
106954 pParse->nMem = 3;
106972 pParse->nMem = 2;
106997 pParse->nMem = 8;
107042 regResult = pParse->nMem+1;
107043 pParse->nMem += 4;
107044 regKey = ++pParse->nMem;
107045 regRow = ++pParse->nMem;
107060 if( pTab->nCol+regRow>pParse->nMem ) pParse->nMem = pTab->nCol + regRow;
107199 pParse->nMem = 6;
107250 pParse->nMem = MAX( pParse->nMem, cnt+8 );
107287 pParse->nMem = MAX(pParse->nMem, 8+j);
107532 pParse->nMem = 1;
107562 pParse->nMem = 3;
107668 pParse->nMem = 2;
109145 int regRecord = ++pParse->nMem; /* Assembled sorter record */
109155 regBase = pParse->nMem + 1;
109156 pParse->nMem += nBase;
109176 regPrevKey = pParse->nMem+1;
109177 pParse->nMem += pSort->nOBSat;
109198 pSort->regReturn = ++pParse->nMem;
109337 pParse->nMem += nPrefixReg;
109339 pDest->iSdst = pParse->nMem+1;
109340 pParse->nMem += nResultCol;
109341 }else if( pDest->iSdst+nResultCol > pParse->nMem ){
109347 pParse->nMem += nResultCol;
109381 regPrev = pParse->nMem+1;
109382 pParse->nMem += nResultCol;
109858 int regSortOut = ++pParse->nMem;
110464 p->iLimit = iLimit = ++pParse->nMem;
110482 p->iOffset = iOffset = ++pParse->nMem;
110483 pParse->nMem++; /* Allocate an extra register for limit+offset */
110654 regCurrent = ++pParse->nMem;
111527 regPrev = pParse->nMem+1;
111528 pParse->nMem += nExpr+1;
111552 regLimitA = ++pParse->nMem;
111553 regLimitB = ++pParse->nMem;
111565 regAddrA = ++pParse->nMem;
111566 regAddrB = ++pParse->nMem;
111567 regOutA = ++pParse->nMem;
111568 regOutB = ++pParse->nMem;
113321 if( regHit==0 && pAggInfo->nAccumulator ) regHit = ++pParse->nMem;
113589 pItem->regReturn = ++pParse->nMem;
113612 pItem->regReturn = ++pParse->nMem;
113825 sAggInfo.mnReg = pParse->nMem+1;
113840 sAggInfo.mxReg = pParse->nMem;
113870 iUseFlag = ++pParse->nMem;
113871 iAbortFlag = ++pParse->nMem;
113872 regOutputRow = ++pParse->nMem;
113874 regReset = ++pParse->nMem;
113876 iAMem = pParse->nMem + 1;
113877 pParse->nMem += pGroupBy->nExpr;
113878 iBMem = pParse->nMem + 1;
113879 pParse->nMem += pGroupBy->nExpr;
115043 if( pParse->nMem<3 ){
115044 pParse->nMem = 3;
115358 pProgram->nMem = pSubParse->nMem;
115433 sqlite3VdbeAddOp3(v, OP_Program, reg, ignoreJump, ++pParse->nMem);
115863 reg = ++pParse->nMem;
115869 reg = ++pParse->nMem;
115886 regRowSet = ++pParse->nMem;
115887 regOldRowid = regNewRowid = ++pParse->nMem;
115889 regOld = pParse->nMem + 1;
115890 pParse->nMem += pTab->nCol;
115893 regNewRowid = ++pParse->nMem;
115895 regNew = pParse->nMem + 1;
115896 pParse->nMem += pTab->nCol;
115956 iPk = pParse->nMem+1;
115957 pParse->nMem += nPk;
115958 regKey = ++pParse->nMem;
115987 regRowCount = ++pParse->nMem;
116317 regArg = pParse->nMem + 1;
116318 pParse->nMem += nArg;
116319 regRec = ++pParse->nMem;
116320 regRowid = ++pParse->nMem;
117192 iReg = ++pParse->nMem;
119012 regBase = pParse->nMem + 1;
119014 pParse->nMem += nReg;
119171 pLevel->iLeftJoin = ++pParse->nMem;
119243 iReleaseReg = ++pParse->nMem;
119319 memEndValue = ++pParse->nMem;
119334 iRowidReg = ++pParse->nMem;
119450 pLevel->iLikeRepCntr = ++pParse->nMem;
119587 iRowidReg = ++pParse->nMem;
119676 int regReturn = ++pParse->nMem; /* Register used with OP_Gosub */
119731 regRowset = ++pParse->nMem;
119739 regRowid = ++pParse->nMem;