Home | History | Annotate | Download | only in dist

Lines Matching defs:nMem

8502   int nMem;                     /* Number of memory cells required */
11006 int nMem; /* Number of registers allocated */
11102 int nMem; /* Number of memory cells used so far */
12955 int nMem; /* Number of entries in aMem */
13125 int nMem; /* Number of memory locations currently allocated */
58978 for(i=1, pX=&pVdbe->aMem[1]; i<=pVdbe->nMem; i++, pX++){
60715 assert( p->nMem>9 );
60962 for(i=1; i<p->nMem; i++){
61007 int nMem; /* Number of VM memory registers */
61023 nMem = pParse->nMem;
61030 ** cells (nMem+1-nCursor)..nMem, inclusive, will never be used by
61033 ** cursor 0 is stored in memory cell nMem. Memory cell (nMem-1)
61038 nMem += nCursor;
61048 if( pParse->explain && nMem<10 ){
61049 nMem = 10;
61068 p->aMem = allocSpace(p->aMem, nMem*sizeof(Mem), &zCsr, zEnd, &nByte);
61097 p->aMem--; /* aMem[] goes from 1..nMem */
61098 p->nMem = nMem; /* not from 0..nMem-1 */
61099 for(n=1; n<=nMem; n++){
61147 v->nMem = pFrame->nMem;
61183 releaseMemArray(&p->aMem[1], p->nMem);
61208 for(i=1; i<=p->nMem; i++) assert( p->aMem[i].flags==MEM_Invalid );
64394 ** with 1 and going up to Vdbe.nMem. Each register can store
64573 ** space. Memory cell (p->nMem) corresponds to cursor 0. Space for
64574 ** cursor 1 is managed by memory cell (p->nMem-1), etc.
64576 Mem *pMem = &p->aMem[p->nMem-iCur];
65350 int nMem; /* Number of memory registers for sub-program */
65540 assert( pOp->p2<=p->nMem );
65551 assert( pOp->p1<=p->nMem );
65557 assert( pOp->p2<=p->nMem );
65563 assert( pOp->p3<=p->nMem );
65569 assert( pOp->p2<=p->nMem );
65574 assert( pOp->p3<=p->nMem );
65635 assert( pOp->p1>0 && pOp->p1<=p->nMem );
65846 assert( pOp->p3<=p->nMem );
65919 assert( pOut<=&aMem[p->nMem] );
65920 assert( pIn1<=&aMem[p->nMem] );
65995 assert( pOp->p1+pOp->p2<=p->nMem+1 );
66272 assert( pOp->p3>0 && pOp->p3<=p->nMem );
66276 assert( u.ah.n==0 || (pOp->p2>0 && pOp->p2+u.ah.n<=p->nMem+1) );
66805 assert( u.ak.p1>0 && u.ak.p1+mx<=p->nMem+1 );
66806 assert( u.ak.p2>0 && u.ak.p2+mx<=p->nMem+1 );
66808 assert( u.ak.p1>0 && u.ak.p1+u.ak.n<=p->nMem+1 );
66809 assert( u.ak.p2>0 && u.ak.p2+u.ak.n<=p->nMem+1 );
67063 assert( pOp->p3>0 && pOp->p3<=p->nMem );
67343 assert( pIn1 <= &p->aMem[p->nMem] );
67406 assert( u.ap.nField>0 && pOp->p2>0 && pOp->p2+u.ap.nField<=p->nMem+1 );
67472 assert( pOp->p3>0 && pOp->p3<=p->nMem );
68047 assert( u.ax.p2<=p->nMem );
68598 assert( pOp->p4.i>0 && pOp->p4.i<=p->nMem );
68801 assert( pOp->p3<=u.bg.pFrame->nMem );
68805 assert( pOp->p3<=p->nMem );
69498 assert( pOp->p2>0 && pOp->p2+pOp->p3<=p->nMem+1 );
69913 assert( pOp->p3>0 && pOp->p3<=p->nMem );
70063 int nMem; /* Number of memory registers for sub-program */
70105 /* SubProgram.nMem is set to the number of memory cells used by the
70108 ** variable u.cc.nMem (and later, VdbeFrame.nChildMem) to this value.
70110 u.cc.nMem = u.cc.pProgram->nMem + u.cc.pProgram->nCsr;
70112 + u.cc.nMem * sizeof(Mem)
70124 u.cc.pFrame->nChildMem = u.cc.nMem;
70128 u.cc.pFrame->nMem = p->nMem;
70144 assert( u.cc.pProgram->nMem+u.cc.pProgram->nCsr==u.cc.pFrame->nChildMem );
70156 p->nMem = u.cc.pFrame->nChildMem;
70158 p->apCsr = (VdbeCursor **)&aMem[p->nMem+1];
70347 assert( pOp->p3>0 && pOp->p3<=p->nMem );
70396 assert( pOp->p1>0 && pOp->p1<=p->nMem );
70820 assert( pOp->p3>0 && pOp->p3<=p->nMem );
71502 pParse->nMem = 1;
75952 *prNotFound = ++pParse->nMem;
75968 *prNotFound = rMayHaveNull = ++pParse->nMem;
76189 sqlite3SelectDestInit(&dest, 0, ++pParse->nMem);
76715 assert( target>0 && target<=pParse->nMem );
77334 assert( target>0 && target<=pParse->nMem );
77372 iMem = ++pParse->nMem;
77731 int r1 = ++pParse->nMem;
78275 pCol->iMem = ++pParse->nMem;
78333 pItem->iMem = ++pParse->nMem;
78407 return ++pParse->nMem;
78446 i = pParse->nMem+1;
78447 pParse->nMem += nReg;
78958 int i = ++pParse->nMem;
79804 if( iMem+1+(nCol*2)>pParse->nMem ){
79805 pParse->nMem = iMem+1+(nCol*2);
79994 if( pParse->nMem<regRec ) pParse->nMem = regRec;
80024 iMem = pParse->nMem+1;
80053 analyzeOneTable(pParse, pTab, pOnlyIdx, iStatCur, pParse->nMem+1);
81442 pParse->nMem = 0;
82107 reg1 = pParse->regRowid = ++pParse->nMem;
82108 reg2 = pParse->regRoot = ++pParse->nMem;
82109 reg3 = ++pParse->nMem;
84085 int iMem = ++pParse->nMem;
85848 memCnt = ++pParse->nMem;
85873 int iRowSet = ++pParse->nMem; /* Register for rowset of rows to delete */
85874 int iRowid = ++pParse->nMem; /* Used for storing rowid values. */
86021 iOld = pParse->nMem+1;
86022 pParse->nMem += (1 + pTab->nCol);
89208 pToplevel->nMem++; /* Register to hold name of table */
89209 pInfo->regCtr = ++pToplevel->nMem; /* Max rowid register */
89210 pToplevel->nMem++; /* Rowid in sqlite_sequence */
89587 ** SELECT result into registers dest.iMem...dest.iMem+dest.nMem-1.
89593 regEof = ++pParse->nMem;
89596 sqlite3SelectDestInit(&dest, SRT_Coroutine, ++pParse->nMem);
89617 assert( dest.nMem==nColumn );
89748 regRowCount = ++pParse->nMem;
89763 aRegIdx[i] = ++pParse->nMem;
89797 regRowid = regIns = pParse->nMem+1;
89798 pParse->nMem += pTab->nCol + 1;
89801 pParse->nMem++;
92249 int mem = ++pParse->nMem;
92422 pParse->nMem = 2;
92462 int mem = ++pParse->nMem;
92513 pParse->nMem += 2;
92605 iReg = ++pParse->nMem;
93009 pParse->nMem = 6;
93047 pParse->nMem = 3;
93073 pParse->nMem = 3;
93093 pParse->nMem = 3;
93112 pParse->nMem = 2;
93136 pParse->nMem = 8;
93220 pParse->nMem = 6;
93266 if( pParse->nMem < cnt+4 ){
93267 pParse->nMem = cnt+4;
93516 pParse->nMem = 1;
93543 pParse->nMem = 3;
93590 pParse->nMem = 2;
94579 pDest->nMem = 0;
95110 pDest->iMem = pParse->nMem+1;
95111 pDest->nMem = nResultCol;
95112 pParse->nMem += nResultCol;
95114 assert( pDest->nMem==nResultCol );
95445 int regSortOut = ++pParse->nMem;
95998 p->iLimit = iLimit = ++pParse->nMem;
96016 p->iOffset = iOffset = ++pParse->nMem;
96017 pParse->nMem++; /* Allocate an extra register for limit+offset */
96444 pDest->nMem = dest.nMem;
96455 ** pIn->nMem columns to be output. pDest is where the output should
96493 j2 = sqlite3VdbeAddOp4(v, OP_Compare, pIn->iMem, regPrev+1, pIn->nMem,
96497 sqlite3ExprCodeCopy(pParse, pIn->iMem, regPrev+1, pIn->nMem);
96515 sqlite3VdbeAddOp3(v, OP_MakeRecord, pIn->iMem, pIn->nMem, r1);
96531 assert( pIn->nMem==1 );
96557 assert( pIn->nMem==1 );
96569 pDest->iMem = sqlite3GetTempRange(pParse, pIn->nMem);
96570 pDest->nMem = pIn->nMem;
96572 sqlite3ExprCodeMove(pParse, pIn->iMem, pDest->iMem, pDest->nMem);
96587 sqlite3VdbeAddOp2(v, OP_ResultRow, pIn->iMem, pIn->nMem);
96588 sqlite3ExprCacheAffinityChange(pParse, pIn->iMem, pIn->nMem);
96856 regLimitA = ++pParse->nMem;
96857 regLimitB = ++pParse->nMem;
96869 regAddrA = ++pParse->nMem;
96870 regEofA = ++pParse->nMem;
96871 regAddrB = ++pParse->nMem;
96872 regEofB = ++pParse->nMem;
96873 regOutA = ++pParse->nMem;
96874 regOutB = ++pParse->nMem;
98173 if( regHit==0 && pAggInfo->nAccumulator ) regHit = ++pParse->nMem;
98402 pItem->regReturn = ++pParse->nMem;
98579 int iFlag = ++pParse->nMem;
98580 int iBase = pParse->nMem+1;
98582 pParse->nMem += (pEList->nExpr*2);
98701 iUseFlag = ++pParse->nMem;
98702 iAbortFlag = ++pParse->nMem;
98703 regOutputRow = ++pParse->nMem;
98705 regReset = ++pParse->nMem;
98707 iAMem = pParse->nMem + 1;
98708 pParse->nMem += pGroupBy->nExpr;
98709 iBMem = pParse->nMem + 1;
98710 pParse->nMem += pGroupBy->nExpr;
99941 if( pParse->nMem<3 ){
99942 pParse->nMem = 3;
100255 pProgram->nMem = pSubParse->nMem;
100329 sqlite3VdbeAddOp3(v, OP_Program, reg, ignoreJump, ++pParse->nMem);
100724 reg = ++pParse->nMem;
100729 reg = ++pParse->nMem;
100755 regRowSet = ++pParse->nMem;
100756 regOldRowid = regNewRowid = ++pParse->nMem;
100758 regOld = pParse->nMem + 1;
100759 pParse->nMem += pTab->nCol;
100762 regNewRowid = ++pParse->nMem;
100764 regNew = pParse->nMem + 1;
100765 pParse->nMem += pTab->nCol;
100811 regRowCount = ++pParse->nMem;
101130 iReg = ++pParse->nMem;
101131 pParse->nMem += pTab->nCol+1;
106159 regBase = pParse->nMem + 1;
106161 pParse->nMem += nReg;
106419 pLevel->iLeftJoin = ++pParse->nMem;
106540 memEndValue = ++pParse->nMem;
106851 int regReturn = ++pParse->nMem; /* Register used with OP_Gosub */
106902 regRowset = ++pParse->nMem;
106903 regRowid = ++pParse->nMem;