Lines Matching refs:pFrame
12939 ** The currently executing frame is stored in Vdbe.pFrame. Vdbe.pFrame is
12983 VdbeFrame *pFrame; /* Used when flags==MEM_Frame */
13172 VdbeFrame *pFrame; /* Parent frame */
13174 int nFrame; /* Number of frames in pFrame list */
58840 VdbeFrame *pFrame = pMem->u.pFrame;
58841 pFrame->pParent = pFrame->v->pDelFrame;
58842 pFrame->v->pDelFrame = pFrame;
61112 SQLITE_PRIVATE int sqlite3VdbeFrameRestore(VdbeFrame *pFrame){
61113 Vdbe *v = pFrame->v;
61114 v->aOnceFlag = pFrame->aOnceFlag;
61115 v->nOnceFlag = pFrame->nOnceFlag;
61116 v->aOp = pFrame->aOp;
61117 v->nOp = pFrame->nOp;
61118 v->aMem = pFrame->aMem;
61119 v->nMem = pFrame->nMem;
61120 v->apCsr = pFrame->apCsr;
61121 v->nCursor = pFrame->nCursor;
61122 v->db->lastRowid = pFrame->lastRowid;
61123 v->nChange = pFrame->nChange;
61124 return pFrame->pc;
61136 if( p->pFrame ){
61137 VdbeFrame *pFrame;
61138 for(pFrame=p->pFrame; pFrame->pParent; pFrame=pFrame->pParent);
61139 sqlite3VdbeFrameRestore(pFrame);
61141 p->pFrame = 0;
65211 VdbeFrame *pFrame; /* Root frame of VDBE */
65327 VdbeFrame *pFrame; /* New vdbe frame to execute in */
65332 VdbeFrame *pFrame;
65337 VdbeFrame *pFrame;
65679 if( pOp->p1==SQLITE_OK && p->pFrame ){
65681 VdbeFrame *pFrame = p->pFrame;
65682 p->pFrame = pFrame->pParent;
65685 pc = sqlite3VdbeFrameRestore(pFrame);
68709 VdbeFrame *pFrame; /* Root frame of VDBE */
68770 if( p->pFrame ){
68771 for(u.bg.pFrame=p->pFrame; u.bg.pFrame->pParent; u.bg.pFrame=u.bg.pFrame->pParent);
68773 assert( pOp->p3<=u.bg.pFrame->nMem );
68774 u.bg.pMem = &u.bg.pFrame->aMem[pOp->p3];
70040 VdbeFrame *pFrame; /* New vdbe frame to execute in */
70062 for(u.cc.pFrame=p->pFrame; u.cc.pFrame && u.cc.pFrame->token!=u.cc.t; u.cc.pFrame=u.cc.pFrame->pParent);
70063 if( u.cc.pFrame ) break;
70087 u.cc.pFrame = sqlite3DbMallocZero(db, u.cc.nByte);
70088 if( !u.cc.pFrame ){
70093 u.cc.pRt->u.pFrame = u.cc.pFrame;
70095 u.cc.pFrame->v = p;
70096 u.cc.pFrame->nChildMem = u.cc.nMem;
70097 u.cc.pFrame->nChildCsr = u.cc.pProgram->nCsr;
70098 u.cc.pFrame->pc = pc;
70099 u.cc.pFrame->aMem = p->aMem;
70100 u.cc.pFrame->nMem = p->nMem;
70101 u.cc.pFrame->apCsr = p->apCsr;
70102 u.cc.pFrame->nCursor = p->nCursor;
70103 u.cc.pFrame->aOp = p->aOp;
70104 u.cc.pFrame->nOp = p->nOp;
70105 u.cc.pFrame->token = u.cc.pProgram->token;
70106 u.cc.pFrame->aOnceFlag = p->aOnceFlag;
70107 u.cc.pFrame->nOnceFlag = p->nOnceFlag;
70109 u.cc.pEnd = &VdbeFrameMem(u.cc.pFrame)[u.cc.pFrame->nChildMem];
70110 for(u.cc.pMem=VdbeFrameMem(u.cc.pFrame); u.cc.pMem!=u.cc.pEnd; u.cc.pMem++){
70115 u.cc.pFrame = u.cc.pRt->u.pFrame;
70116 assert( u.cc.pProgram->nMem+u.cc.pProgram->nCsr==u.cc.pFrame->nChildMem );
70117 assert( u.cc.pProgram->nCsr==u.cc.pFrame->nChildCsr );
70118 assert( pc==u.cc.pFrame->pc );
70122 u.cc.pFrame->pParent = p->pFrame;
70123 u.cc.pFrame->lastRowid = lastRowid;
70124 u.cc.pFrame->nChange = p->nChange;
70126 p->pFrame = u.cc.pFrame;
70127 p->aMem = aMem = &VdbeFrameMem(u.cc.pFrame)[-1];
70128 p->nMem = u.cc.pFrame->nChildMem;
70129 p->nCursor = (u16)u.cc.pFrame->nChildCsr;
70155 VdbeFrame *pFrame;
70158 u.cd.pFrame = p->pFrame;
70159 u.cd.pIn = &u.cd.pFrame->aMem[pOp->p1 + u.cd.pFrame->aOp[u.cd.pFrame->pc].p1];
70218 VdbeFrame *pFrame;
70220 if( p->pFrame ){
70221 for(u.ce.pFrame=p->pFrame; u.ce.pFrame->pParent; u.ce.pFrame=u.ce.pFrame->pParent);
70222 u.ce.pIn1 = &u.ce.pFrame->aMem[pOp->p1];