Lines Matching defs:pFrame
18065 ** The currently executing frame is stored in Vdbe.pFrame. Vdbe.pFrame is
18104 VdbeFrame *pFrame; /* Used when flags==MEM_Frame */
18308 VdbeFrame *pFrame; /* Parent frame */
18310 int nFrame; /* Number of frames in pFrame list */
69996 VdbeFrame *pFrame = p->u.pFrame;
69997 pFrame->pParent = pFrame->v->pDelFrame;
69998 pFrame->v->pDelFrame = pFrame;
73414 SQLITE_PRIVATE int sqlite3VdbeFrameRestore(VdbeFrame *pFrame){
73415 Vdbe *v = pFrame->v;
73418 v->anExec = pFrame->anExec;
73420 v->aOp = pFrame->aOp;
73421 v->nOp = pFrame->nOp;
73422 v->aMem = pFrame->aMem;
73423 v->nMem = pFrame->nMem;
73424 v->apCsr = pFrame->apCsr;
73425 v->nCursor = pFrame->nCursor;
73426 v->db->lastRowid = pFrame->lastRowid;
73427 v->nChange = pFrame->nChange;
73428 v->db->nChange = pFrame->nDbChange;
73430 v->pAuxData = pFrame->pAuxData;
73431 pFrame->pAuxData = 0;
73432 return pFrame->pc;
73444 if( p->pFrame ){
73445 VdbeFrame *pFrame;
73446 for(pFrame=p->pFrame; pFrame->pParent; pFrame=pFrame->pParent);
73447 sqlite3VdbeFrameRestore(pFrame);
73448 p->pFrame = 0;
79132 VdbeFrame *pFrame;
79136 if( pOp->p1==SQLITE_OK && p->pFrame ){
79138 pFrame = p->pFrame;
79139 p->pFrame = pFrame->pParent;
79142 pcx = sqlite3VdbeFrameRestore(pFrame);
80540 if( p->pFrame ){
80542 if( (p->pFrame->aOnce[iAddr/8] & (1<<(iAddr & 7)))!=0 ){
80546 p->pFrame->aOnce[iAddr/8] |= 1<<(iAddr & 7);
82419 VdbeFrame *pFrame; /* Root frame of VDBE */
82477 if( p->pFrame ){
82478 for(pFrame=p->pFrame; pFrame->pParent; pFrame=pFrame->pParent);
82480 assert( pOp->p3<=pFrame->nMem );
82481 pMem = &pFrame->aMem[pOp->p3];
82761 if( p->pFrame==0 ){
84034 VdbeFrame *pFrame; /* New vdbe frame to execute in */
84055 for(pFrame=p->pFrame; pFrame && pFrame->token!=t; pFrame=pFrame->pParent);
84056 if( pFrame ) break;
84082 pFrame = sqlite3DbMallocZero(db, nByte);
84083 if( !pFrame ){
84088 pRt->u.pFrame = pFrame;
84090 pFrame->v = p;
84091 pFrame->nChildMem = nMem;
84092 pFrame->nChildCsr = pProgram->nCsr;
84093 pFrame->pc = (int)(pOp - aOp);
84094 pFrame->aMem = p->aMem;
84095 pFrame->nMem = p->nMem;
84096 pFrame->apCsr = p->apCsr;
84097 pFrame->nCursor = p->nCursor;
84098 pFrame->aOp = p->aOp;
84099 pFrame->nOp = p->nOp;
84100 pFrame->token = pProgram->token;
84102 pFrame->anExec = p->anExec;
84105 pEnd = &VdbeFrameMem(pFrame)[pFrame->nChildMem];
84106 for(pMem=VdbeFrameMem(pFrame); pMem!=pEnd; pMem++){
84111 pFrame = pRt->u.pFrame;
84112 assert( pProgram->nMem+pProgram->nCsr==pFrame->nChildMem
84113 || (pProgram->nCsr==0 && pProgram->nMem+1==pFrame->nChildMem) );
84114 assert( pProgram->nCsr==pFrame->nChildCsr );
84115 assert( (int)(pOp - aOp)==pFrame->pc );
84119 pFrame->pParent = p->pFrame;
84120 pFrame->lastRowid = db->lastRowid;
84121 pFrame->nChange = p->nChange;
84122 pFrame->nDbChange = p->db->nChange;
84123 assert( pFrame->pAuxData==0 );
84124 pFrame->pAuxData = p->pAuxData;
84127 p->pFrame = pFrame;
84128 p->aMem = aMem = VdbeFrameMem(pFrame);
84129 p->nMem = pFrame->nChildMem;
84130 p->nCursor = (u16)pFrame->nChildCsr;
84132 pFrame->aOnce = (u8*)&p->apCsr[pProgram->nCsr];
84133 memset(pFrame->aOnce, 0, (pProgram->nOp + 7)/8);
84157 VdbeFrame *pFrame;
84160 pFrame = p->pFrame;
84161 pIn = &pFrame->aMem[pOp->p1 + pFrame->aOp[pFrame->pc].p1];
84225 VdbeFrame *pFrame;
84226 if( p->pFrame ){
84227 for(pFrame=p->pFrame; pFrame->pParent; pFrame=pFrame->pParent);
84228 pIn1 = &pFrame->aMem[pOp->p1];
171358 static void rbuCheckpointFrame(sqlite3rbu *p, RbuFrame *pFrame){
171364 iOff = (i64)(pFrame->iWalFrame-1) * (p->pgsz + 24) + 32 + 24;
171368 iOff = (i64)(pFrame->iDbPage-1) * p->pgsz;
171974 RbuFrame *pFrame = &p->aFrame[p->nStep];
171975 iSector = (pFrame->iDbPage-1) / p->nPagePerSector;
171976 rbuCheckpointFrame(p, pFrame);