Lines Matching refs:aOp
8500 VdbeOp *aOp; /* Array of opcodes for sub-program */
8501 int nOp; /* Elements in aOp[] */
8785 SQLITE_PRIVATE int sqlite3VdbeAddOpList(Vdbe*, int nOp, VdbeOpList const *aOp);
12946 Op *aOp; /* Program instructions for parent frame */
12954 int nOp; /* Size of aOp array */
13120 Op *aOp; /* Space to hold the virtual machine's program */
13127 int nOpAlloc; /* Number of slots allocated for aOp[] */
36145 SQLITE_PRIVATE int sqlite3BitvecBuiltinTest(int sz, int *aOp){
36166 while( (op = aOp[pc])!=0 ){
36172 i = aOp[pc+2] - 1;
36173 aOp[pc+2] += aOp[pc+3];
36184 if( (--aOp[pc+1]) > 0 ) nx = 0;
59613 ** Resize the Vdbe.aOp array so that it is at least one op larger than
59617 ** SQLITE_NOMEM. In this case Vdbe.aOp and Vdbe.nOpAlloc remain
59624 pNew = sqlite3DbRealloc(p->db, p->aOp, nNew*sizeof(Op));
59627 p->aOp = pNew;
59661 pOp = &p->aOp[i];
59671 if( sqlite3VdbeAddopTrace ) sqlite3VdbePrintOp(0, i, &p->aOp[i]);
59815 Op *aOp;
59821 aOp = v->aOp;
59824 aOp = p->apSub[p->iSub-1]->aOp;
59829 pRet = &aOp[p->iAddr];
59926 for(pOp=p->aOp, i=p->nOp-1; i>=0; i--, pOp++){
59983 VdbeOp *aOp = p->aOp;
59984 assert( aOp && !p->db->mallocFailed );
59991 p->aOp = 0;
59992 return aOp;
59999 SQLITE_PRIVATE int sqlite3VdbeAddOpList(Vdbe *p, int nOp, VdbeOpList const *aOp){
60008 VdbeOpList const *pIn = aOp;
60011 VdbeOp *pOut = &p->aOp[i+addr];
60026 sqlite3VdbePrintOp(0, i+addr, &p->aOp[i+addr]);
60044 p->aOp[addr].p1 = val;
60055 p->aOp[addr].p2 = val;
60065 p->aOp[addr].p3 = val;
60075 if( p->aOp ){
60077 p->aOp[p->nOp-1].p5 = val;
60153 ** Free the space allocated for aOp and any p4 values allocated for the
60154 ** opcodes contained within. If aOp is not NULL it is assumed to contain
60157 static void vdbeFreeOpArray(sqlite3 *db, Op *aOp, int nOp){
60158 if( aOp ){
60160 for(pOp=aOp; pOp<&aOp[nOp]; pOp++){
60167 sqlite3DbFree(db, aOp);
60184 if( p->aOp ){
60185 VdbeOp *pOp = &p->aOp[addr];
60224 if( p->aOp==0 || db->mallocFailed ){
60235 pOp = &p->aOp[addr];
60293 assert( p->nOp>0 || p->aOp==0 );
60294 assert( p->aOp==0 || p->aOp[p->nOp-1].zComment==0 || p->db->mallocFailed );
60296 assert( p->aOp );
60297 sqlite3DbFree(p->db, p->aOp[p->nOp-1].zComment);
60298 p->aOp[p->nOp-1].zComment = sqlite3VMPrintf(p->db, zFormat, ap);
60356 return &p->aOp[addr];
60702 }while( i<nRow && p->explain==2 && p->aOp[i].opcode!=OP_Explain );
60716 pOp = &p->aOp[i];
60725 pOp = &apSub[j]->aOp[i];
60836 pOp = &p->aOp[0];
60854 pOp = &p->aOp[0];
60949 p->aOp[i].cnt = 0;
60950 p->aOp[i].cycles = 0;
61015 zCsr = (u8*)&p->aOp[p->nOp]; /* Memory avaliable for allocation */
61016 zEnd = (u8*)&p->aOp[p->nOpAlloc]; /* First byte past end of zCsr[] */
61116 v->aOp = pFrame->aOp;
61892 fprintf(out, "%02x", p->aOp[i].opcode);
61897 p->aOp[i].cnt,
61898 p->aOp[i].cycles,
61899 p->aOp[i].cnt>0 ? p->aOp[i].cycles/p->aOp[i].cnt : 0
61901 sqlite3VdbePrintOp(out, i, &p->aOp[i]);
61958 vdbeFreeOpArray(db, pSub->aOp, pSub->nOp);
61962 vdbeFreeOpArray(db, p->aOp, p->nOp);
64974 Op *aOp = p->aOp; /* Copy of p->aOp */
65444 sqlite3VdbePrintOp(stdout, i, &aOp[i]);
65456 pOp = &aOp[pc];
65693 pc = p->aOp[pc].p2-1;
65695 aOp = p->aOp;
66282 assert( pOp>aOp );
70078 ** program stored in SubProgram.aOp. As well as these, one memory
70103 u.cc.pFrame->aOp = p->aOp;
70131 p->aOp = aOp = u.cc.pProgram->aOp;
70159 u.cd.pIn = &u.cd.pFrame->aMem[pOp->p1 + u.cd.pFrame->aOp[u.cd.pFrame->pc].p1];
70331 assert( pOp>p->aOp );
71085 sqlite3VdbePrintOp(stdout, origPc, &aOp[origPc]);
100217 pProgram->aOp = sqlite3VdbeTakeOpArray(v, &pProgram->nOp, &pTop->nMaxArg);