Lines Matching refs:aMem
9560 Mem *aMem; /* Values */
12088 Mem *aMem; /* Array of memory cells for parent frame */
12089 int nMem; /* Number of entries in aMem */
12286 Mem *aMem; /* The memory locations */
54763 for(i=1, pX=&pVdbe->aMem[1]; i<=pVdbe->nMem; i++, pX++){
56349 Mem *aMem = VdbeFrameMem(p);
56350 VdbeCursor **apCsr = (VdbeCursor **)&aMem[p->nChildMem];
56354 releaseMemArray(aMem, p->nChildMem);
56384 Mem *pMem = p->pResultSet = &p->aMem[1]; /* First Mem of result set */
56417 pSub = &p->aMem[9];
56472 ** kept in p->aMem[9].z to hold the new program - assuming this subprogram
56724 p->aMem = allocSpace(p->aMem, nMem*sizeof(Mem), &zCsr, zEnd, &nByte);
56745 if( p->aMem ){
56746 p->aMem--; /* aMem[] goes from 1..nMem */
56749 p->aMem[n].flags = MEM_Null;
56750 p->aMem[n].db = db;
56756 assert( p->aMem[n].db==db );
56816 v->aMem = pFrame->aMem;
56828 ** Also release any dynamic memory held by the VM in the Vdbe.aMem memory
56852 if( p->aMem ){
56853 releaseMemArray(&p->aMem[1], p->nMem);
56874 ** Vdbe.aMem[] arrays have already been cleaned up. */
56877 for(i=1; i<=p->nMem; i++) assert( p->aMem==0 || p->aMem[i].flags==MEM_Null );
58106 p->aMem = pMem = (Mem*)&((char*)p)[ROUND8(sizeof(UnpackedRecord))];
58137 for(i=0, pMem=p->aMem; i<p->nField; i++, pMem++){
58224 rc = sqlite3MemCompare(&mem1, &pPKey2->aMem[i],
60135 Mem *pMem = &p->aMem[p->nMem-iCur];
60571 Mem *aMem = p->aMem; /* Copy of p->aMem */
61076 pOut = &aMem[pOp->p2];
61087 assert( memIsValid(&aMem[pOp->p1]) );
61088 REGISTER_TRACE(pOp->p1, &aMem[pOp->p1]);
61093 assert( memIsValid(&aMem[pOp->p2]) );
61094 REGISTER_TRACE(pOp->p2, &aMem[pOp->p2]);
61099 assert( memIsValid(&aMem[pOp->p3]) );
61100 REGISTER_TRACE(pOp->p3, &aMem[pOp->p3]);
61105 memAboutToChange(p, &aMem[pOp->p2]);
61110 memAboutToChange(p, &aMem[pOp->p3]);
61170 pIn1 = &aMem[pOp->p1];
61185 pIn1 = &aMem[pOp->p1];
61199 pIn1 = &aMem[pOp->p1];
61216 pIn3 = &aMem[pOp->p3];
61257 aMem = p->aMem;
61433 pIn1 = &aMem[u.ac.p1];
61434 pOut = &aMem[u.ac.p2];
61436 assert( pOut<=&aMem[p->nMem] );
61437 assert( pIn1<=&aMem[p->nMem] );
61459 pIn1 = &aMem[pOp->p1];
61460 pOut = &aMem[pOp->p2];
61481 pIn1 = &aMem[pOp->p1];
61482 pOut = &aMem[pOp->p2];
61546 u.ad.pMem = p->pResultSet = &aMem[pOp->p1];
61582 pIn1 = &aMem[pOp->p1];
61583 pIn2 = &aMem[pOp->p2];
61584 pOut = &aMem[pOp->p3];
61660 pIn1 = &aMem[pOp->p1];
61662 pIn2 = &aMem[pOp->p2];
61664 pOut = &aMem[pOp->p3];
61784 pOut = &aMem[pOp->p3];
61789 u.ag.pArg = &aMem[pOp->p2];
61898 pIn1 = &aMem[pOp->p1];
61899 pIn2 = &aMem[pOp->p2];
61900 pOut = &aMem[pOp->p3];
61927 pIn1 = &aMem[pOp->p1];
61942 pIn1 = &aMem[pOp->p1];
61968 pIn1 = &aMem[pOp->p1];
61987 pIn1 = &aMem[pOp->p1];
62010 pIn1 = &aMem[pOp->p1];
62034 pIn1 = &aMem[pOp->p1];
62050 pIn1 = &aMem[pOp->p1];
62068 pIn1 = &aMem[pOp->p1];
62162 pIn1 = &aMem[pOp->p1];
62163 aMem[pOp->p3];
62181 pOut = &aMem[pOp->p2];
62213 pOut = &aMem[pOp->p2];
62289 assert( memIsValid(&aMem[u.aj.p1+u.aj.idx]) );
62290 assert( memIsValid(&aMem[u.aj.p2+u.aj.idx]) );
62291 REGISTER_TRACE(u.aj.p1+u.aj.idx, &aMem[u.aj.p1+u.aj.idx]);
62292 REGISTER_TRACE(u.aj.p2+u.aj.idx, &aMem[u.aj.p2+u.aj.idx]);
62296 iCompare = sqlite3MemCompare(&aMem[u.aj.p1+u.aj.idx], &aMem[u.aj.p2+u.aj.idx], u.aj.pColl);
62348 pIn1 = &aMem[pOp->p1];
62354 pIn2 = &aMem[pOp->p2];
62367 pOut = &aMem[pOp->p3];
62384 pIn1 = &aMem[pOp->p1];
62385 pOut = &aMem[pOp->p2];
62401 pIn1 = &aMem[pOp->p1];
62402 pOut = &aMem[pOp->p2];
62428 pIn1 = &aMem[pOp->p1];
62450 pIn1 = &aMem[pOp->p1];
62462 pIn1 = &aMem[pOp->p1];
62521 u.am.pDest = &aMem[pOp->p3];
62568 u.am.pReg = &aMem[u.am.pC->pseudoTableReg];
62792 pIn1 = &aMem[pOp->p1];
62794 assert( pIn1 <= &p->aMem[p->nMem] );
62859 u.ao.pData0 = &aMem[u.ao.nField];
62866 pOut = &aMem[pOp->p3];
63307 pIn3 = &aMem[pOp->p3];
63470 pIn2 = &aMem[u.aw.p2];
63715 pIn3 = &aMem[pOp->p3];
63789 u.az.r.aMem = &aMem[pOp->p3];
63791 { int i; for(i=0; i<u.az.r.nField; i++) assert( memIsValid(&u.az.r.aMem[i]) ); }
63793 ExpandBlob(u.az.r.aMem);
63860 pIn2 = &aMem[pOp->p2];
63913 pIn3 = &aMem[pOp->p3];
63920 u.bb.r.aMem = pIn3;
63922 { int i; for(i=0; i<u.bb.r.nField; i++) assert( memIsValid(&u.bb.r.aMem[i]) ); }
63992 pIn3 = &aMem[pOp->p3];
63993 u.bc.aMx = &aMem[pOp->p4.i];
64022 u.bc.r.aMem = u.bc.aMx;
64024 { int i; for(i=0; i<u.bc.r.nField; i++) assert( memIsValid(&u.bc.r.aMem[i]) ); }
64066 pIn3 = &aMem[pOp->p3];
64201 u.be.pMem = &u.be.pFrame->aMem[pOp->p3];
64205 u.be.pMem = &aMem[pOp->p3];
64324 u.bf.pData = &aMem[pOp->p2];
64335 u.bf.pKey = &aMem[pOp->p3];
64488 pOut = &aMem[pOp->p2];
64788 pIn2 = &aMem[pOp->p2];
64831 u.bo.r.aMem = &aMem[pOp->p2];
64833 { int i; for(i=0; i<u.bo.r.nField; i++) assert( memIsValid(&u.bo.r.aMem[i]) ); }
64931 u.bq.r.aMem = &aMem[pOp->p3];
64933 { int i; for(i=0; i<u.bq.r.nField; i++) assert( memIsValid(&u.bq.r.aMem[i]) ); }
65038 assert( memIsValid(&aMem[pOp->p3]) );
65039 memAboutToChange(p, &aMem[pOp->p3]);
65040 aMem[pOp->p3].u.i += u.bs.nChange;
65253 u.bv.pnErr = &aMem[pOp->p3];
65256 pIn1 = &aMem[pOp->p1];
65289 pIn1 = &aMem[pOp->p1];
65290 pIn2 = &aMem[pOp->p2];
65311 pIn1 = &aMem[pOp->p1];
65320 sqlite3VdbeMemSetInt64(&aMem[pOp->p3], u.bw.val);
65354 pIn1 = &aMem[pOp->p1];
65355 pIn3 = &aMem[pOp->p3];
65413 u.by.pRt = &aMem[pOp->p3];
65466 u.by.pFrame->aMem = p->aMem;
65492 p->aMem = aMem = &VdbeFrameMem(u.by.pFrame)[-1];
65495 p->apCsr = (VdbeCursor **)&aMem[p->nMem+1];
65521 u.bz.pIn = &u.bz.pFrame->aMem[pOp->p1 + u.bz.pFrame->aOp[u.bz.pFrame->pc].p1];
65584 u.ca.pIn1 = &u.ca.pFrame->aMem[pOp->p1];
65586 u.ca.pIn1 = &aMem[pOp->p1];
65590 pIn2 = &aMem[pOp->p2];
65607 pIn1 = &aMem[pOp->p1];
65623 pIn1 = &aMem[pOp->p1];
65640 pIn1 = &aMem[pOp->p1];
65671 u.cb.pRec = &aMem[pOp->p2];
65682 u.cb.ctx.pMem = u.cb.pMem = &aMem[pOp->p3];
65723 u.cc.pMem = &aMem[pOp->p1];
65863 pOut = &aMem[pOp->p2];
66081 u.ch.pQuery = &aMem[pOp->p3];
66141 u.ci.pDest = &aMem[pOp->p3];
66243 u.ck.pName = &aMem[pOp->p1];
66297 u.cl.pX = &aMem[pOp->p3];
66431 registerTrace(p->trace, pOp->p2, &aMem[pOp->p2]);
66434 registerTrace(p->trace, pOp->p3, &aMem[pOp->p3]);