• Home
  • Raw
  • Download

Lines Matching refs:pFrame

18829     VdbeFrame *pFrame;  /* Used when flags==MEM_Frame */  member
19036 VdbeFrame *pFrame; /* Parent frame */ member
71603 VdbeFrame *pFrame = p->u.pFrame;
71604 pFrame->pParent = pFrame->v->pDelFrame;
71605 pFrame->v->pDelFrame = pFrame;
75100 SQLITE_PRIVATE int sqlite3VdbeFrameRestore(VdbeFrame *pFrame){
75101 Vdbe *v = pFrame->v;
75104 v->anExec = pFrame->anExec;
75106 v->aOp = pFrame->aOp;
75107 v->nOp = pFrame->nOp;
75108 v->aMem = pFrame->aMem;
75109 v->nMem = pFrame->nMem;
75110 v->apCsr = pFrame->apCsr;
75111 v->nCursor = pFrame->nCursor;
75112 v->db->lastRowid = pFrame->lastRowid;
75113 v->nChange = pFrame->nChange;
75114 v->db->nChange = pFrame->nDbChange;
75116 v->pAuxData = pFrame->pAuxData;
75117 pFrame->pAuxData = 0;
75118 return pFrame->pc;
75130 if( p->pFrame ){
75131 VdbeFrame *pFrame;
75132 for(pFrame=p->pFrame; pFrame->pParent; pFrame=pFrame->pParent);
75133 sqlite3VdbeFrameRestore(pFrame);
75134 p->pFrame = 0;
80944 VdbeFrame *pFrame;
80948 if( pOp->p1==SQLITE_OK && p->pFrame ){
80950 pFrame = p->pFrame;
80951 p->pFrame = pFrame->pParent;
80954 pcx = sqlite3VdbeFrameRestore(pFrame);
82251 if( p->pFrame ){
82253 if( (p->pFrame->aOnce[iAddr/8] & (1<<(iAddr & 7)))!=0 ){
82257 p->pFrame->aOnce[iAddr/8] |= 1<<(iAddr & 7);
84260 VdbeFrame *pFrame; /* Root frame of VDBE */
84318 if( p->pFrame ){
84319 for(pFrame=p->pFrame; pFrame->pParent; pFrame=pFrame->pParent);
84321 assert( pOp->p3<=pFrame->nMem );
84322 pMem = &pFrame->aMem[pOp->p3];
84601 if( p->pFrame==0 ){
85860 VdbeFrame *pFrame; /* New vdbe frame to execute in */
85881 for(pFrame=p->pFrame; pFrame && pFrame->token!=t; pFrame=pFrame->pParent);
85882 if( pFrame ) break;
85908 pFrame = sqlite3DbMallocZero(db, nByte);
85909 if( !pFrame ){
85914 pRt->u.pFrame = pFrame;
85916 pFrame->v = p;
85917 pFrame->nChildMem = nMem;
85918 pFrame->nChildCsr = pProgram->nCsr;
85919 pFrame->pc = (int)(pOp - aOp);
85920 pFrame->aMem = p->aMem;
85921 pFrame->nMem = p->nMem;
85922 pFrame->apCsr = p->apCsr;
85923 pFrame->nCursor = p->nCursor;
85924 pFrame->aOp = p->aOp;
85925 pFrame->nOp = p->nOp;
85926 pFrame->token = pProgram->token;
85928 pFrame->anExec = p->anExec;
85931 pEnd = &VdbeFrameMem(pFrame)[pFrame->nChildMem];
85932 for(pMem=VdbeFrameMem(pFrame); pMem!=pEnd; pMem++){
85937 pFrame = pRt->u.pFrame;
85938 assert( pProgram->nMem+pProgram->nCsr==pFrame->nChildMem
85939 || (pProgram->nCsr==0 && pProgram->nMem+1==pFrame->nChildMem) );
85940 assert( pProgram->nCsr==pFrame->nChildCsr );
85941 assert( (int)(pOp - aOp)==pFrame->pc );
85945 pFrame->pParent = p->pFrame;
85946 pFrame->lastRowid = db->lastRowid;
85947 pFrame->nChange = p->nChange;
85948 pFrame->nDbChange = p->db->nChange;
85949 assert( pFrame->pAuxData==0 );
85950 pFrame->pAuxData = p->pAuxData;
85953 p->pFrame = pFrame;
85954 p->aMem = aMem = VdbeFrameMem(pFrame);
85955 p->nMem = pFrame->nChildMem;
85956 p->nCursor = (u16)pFrame->nChildCsr;
85958 pFrame->aOnce = (u8*)&p->apCsr[pProgram->nCsr];
85959 memset(pFrame->aOnce, 0, (pProgram->nOp + 7)/8);
85983 VdbeFrame *pFrame;
85986 pFrame = p->pFrame;
85987 pIn = &pFrame->aMem[pOp->p1 + pFrame->aOp[pFrame->pc].p1];
86051 VdbeFrame *pFrame;
86052 if( p->pFrame ){
86053 for(pFrame=p->pFrame; pFrame->pParent; pFrame=pFrame->pParent);
86054 pIn1 = &pFrame->aMem[pOp->p1];
175468 static void rbuCheckpointFrame(sqlite3rbu *p, RbuFrame *pFrame){
175474 iOff = (i64)(pFrame->iWalFrame-1) * (p->pgsz + 24) + 32 + 24;
175478 iOff = (i64)(pFrame->iDbPage-1) * p->pgsz;
176084 RbuFrame *pFrame = &p->aFrame[p->nStep];
176085 iSector = (pFrame->iDbPage-1) / p->nPagePerSector;
176086 rbuCheckpointFrame(p, pFrame);