Lines Matching refs:pFrame
18829 VdbeFrame *pFrame; /* Used when flags==MEM_Frame */ member
19036 VdbeFrame *pFrame; /* Parent frame */ member
71587 VdbeFrame *pFrame = p->u.pFrame;
71588 pFrame->pParent = pFrame->v->pDelFrame;
71589 pFrame->v->pDelFrame = pFrame;
75084 SQLITE_PRIVATE int sqlite3VdbeFrameRestore(VdbeFrame *pFrame){
75085 Vdbe *v = pFrame->v;
75088 v->anExec = pFrame->anExec;
75090 v->aOp = pFrame->aOp;
75091 v->nOp = pFrame->nOp;
75092 v->aMem = pFrame->aMem;
75093 v->nMem = pFrame->nMem;
75094 v->apCsr = pFrame->apCsr;
75095 v->nCursor = pFrame->nCursor;
75096 v->db->lastRowid = pFrame->lastRowid;
75097 v->nChange = pFrame->nChange;
75098 v->db->nChange = pFrame->nDbChange;
75100 v->pAuxData = pFrame->pAuxData;
75101 pFrame->pAuxData = 0;
75102 return pFrame->pc;
75114 if( p->pFrame ){
75115 VdbeFrame *pFrame;
75116 for(pFrame=p->pFrame; pFrame->pParent; pFrame=pFrame->pParent);
75117 sqlite3VdbeFrameRestore(pFrame);
75118 p->pFrame = 0;
80928 VdbeFrame *pFrame;
80932 if( pOp->p1==SQLITE_OK && p->pFrame ){
80934 pFrame = p->pFrame;
80935 p->pFrame = pFrame->pParent;
80938 pcx = sqlite3VdbeFrameRestore(pFrame);
82235 if( p->pFrame ){
82237 if( (p->pFrame->aOnce[iAddr/8] & (1<<(iAddr & 7)))!=0 ){
82241 p->pFrame->aOnce[iAddr/8] |= 1<<(iAddr & 7);
84244 VdbeFrame *pFrame; /* Root frame of VDBE */
84302 if( p->pFrame ){
84303 for(pFrame=p->pFrame; pFrame->pParent; pFrame=pFrame->pParent);
84305 assert( pOp->p3<=pFrame->nMem );
84306 pMem = &pFrame->aMem[pOp->p3];
84585 if( p->pFrame==0 ){
85844 VdbeFrame *pFrame; /* New vdbe frame to execute in */
85865 for(pFrame=p->pFrame; pFrame && pFrame->token!=t; pFrame=pFrame->pParent);
85866 if( pFrame ) break;
85892 pFrame = sqlite3DbMallocZero(db, nByte);
85893 if( !pFrame ){
85898 pRt->u.pFrame = pFrame;
85900 pFrame->v = p;
85901 pFrame->nChildMem = nMem;
85902 pFrame->nChildCsr = pProgram->nCsr;
85903 pFrame->pc = (int)(pOp - aOp);
85904 pFrame->aMem = p->aMem;
85905 pFrame->nMem = p->nMem;
85906 pFrame->apCsr = p->apCsr;
85907 pFrame->nCursor = p->nCursor;
85908 pFrame->aOp = p->aOp;
85909 pFrame->nOp = p->nOp;
85910 pFrame->token = pProgram->token;
85912 pFrame->anExec = p->anExec;
85915 pEnd = &VdbeFrameMem(pFrame)[pFrame->nChildMem];
85916 for(pMem=VdbeFrameMem(pFrame); pMem!=pEnd; pMem++){
85921 pFrame = pRt->u.pFrame;
85922 assert( pProgram->nMem+pProgram->nCsr==pFrame->nChildMem
85923 || (pProgram->nCsr==0 && pProgram->nMem+1==pFrame->nChildMem) );
85924 assert( pProgram->nCsr==pFrame->nChildCsr );
85925 assert( (int)(pOp - aOp)==pFrame->pc );
85929 pFrame->pParent = p->pFrame;
85930 pFrame->lastRowid = db->lastRowid;
85931 pFrame->nChange = p->nChange;
85932 pFrame->nDbChange = p->db->nChange;
85933 assert( pFrame->pAuxData==0 );
85934 pFrame->pAuxData = p->pAuxData;
85937 p->pFrame = pFrame;
85938 p->aMem = aMem = VdbeFrameMem(pFrame);
85939 p->nMem = pFrame->nChildMem;
85940 p->nCursor = (u16)pFrame->nChildCsr;
85942 pFrame->aOnce = (u8*)&p->apCsr[pProgram->nCsr];
85943 memset(pFrame->aOnce, 0, (pProgram->nOp + 7)/8);
85967 VdbeFrame *pFrame;
85970 pFrame = p->pFrame;
85971 pIn = &pFrame->aMem[pOp->p1 + pFrame->aOp[pFrame->pc].p1];
86035 VdbeFrame *pFrame;
86036 if( p->pFrame ){
86037 for(pFrame=p->pFrame; pFrame->pParent; pFrame=pFrame->pParent);
86038 pIn1 = &pFrame->aMem[pOp->p1];
175440 static void rbuCheckpointFrame(sqlite3rbu *p, RbuFrame *pFrame){
175446 iOff = (i64)(pFrame->iWalFrame-1) * (p->pgsz + 24) + 32 + 24;
175450 iOff = (i64)(pFrame->iDbPage-1) * p->pgsz;
176056 RbuFrame *pFrame = &p->aFrame[p->nStep];
176057 iSector = (pFrame->iDbPage-1) / p->nPagePerSector;
176058 rbuCheckpointFrame(p, pFrame);