Lines Matching refs:aOp
7745 VdbeOp *aOp; /* Array of opcodes for sub-program */
7746 int nOp; /* Elements in aOp[] */
8025 SQLITE_PRIVATE int sqlite3VdbeAddOpList(Vdbe*, int nOp, VdbeOpList const *aOp);
12079 Op *aOp; /* Program instructions for parent frame */
12080 int nOp; /* Size of aOp array */
12261 int nOpAlloc; /* Number of slots allocated for aOp[] */
12262 Op *aOp; /* Space to hold the virtual machine's program */
32745 SQLITE_PRIVATE int sqlite3BitvecBuiltinTest(int sz, int *aOp){
32766 while( (op = aOp[pc])!=0 ){
32772 i = aOp[pc+2] - 1;
32773 aOp[pc+2] += aOp[pc+3];
32784 if( (--aOp[pc+1]) > 0 ) nx = 0;
55411 ** Resize the Vdbe.aOp array so that it is at least one op larger than
55415 ** SQLITE_NOMEM. In this case Vdbe.aOp and Vdbe.nOpAlloc remain
55422 pNew = sqlite3DbRealloc(p->db, p->aOp, nNew*sizeof(Op));
55425 p->aOp = pNew;
55459 pOp = &p->aOp[i];
55470 if( sqlite3VdbeAddopTrace ) sqlite3VdbePrintOp(0, i, &p->aOp[i]);
55602 Op *aOp;
55608 aOp = v->aOp;
55611 aOp = p->apSub[p->iSub-1]->aOp;
55616 pRet = &aOp[p->iAddr];
55713 for(pOp=p->aOp, i=p->nOp-1; i>=0; i--, pOp++){
55764 VdbeOp *aOp = p->aOp;
55765 assert( aOp && !p->db->mallocFailed );
55772 p->aOp = 0;
55773 return aOp;
55780 SQLITE_PRIVATE int sqlite3VdbeAddOpList(Vdbe *p, int nOp, VdbeOpList const *aOp){
55789 VdbeOpList const *pIn = aOp;
55792 VdbeOp *pOut = &p->aOp[i+addr];
55807 sqlite3VdbePrintOp(0, i+addr, &p->aOp[i+addr]);
55826 p->aOp[addr].p1 = val;
55838 p->aOp[addr].p2 = val;
55849 p->aOp[addr].p3 = val;
55859 if( p->aOp ){
55861 p->aOp[p->nOp-1].p5 = val;
55936 ** Free the space allocated for aOp and any p4 values allocated for the
55937 ** opcodes contained within. If aOp is not NULL it is assumed to contain
55940 static void vdbeFreeOpArray(sqlite3 *db, Op *aOp, int nOp){
55941 if( aOp ){
55943 for(pOp=aOp; pOp<&aOp[nOp]; pOp++){
55950 sqlite3DbFree(db, aOp);
55967 if( p->aOp ){
55968 VdbeOp *pOp = &p->aOp[addr];
56010 if( p->aOp==0 || db->mallocFailed ){
56021 pOp = &p->aOp[addr];
56081 assert( p->nOp>0 || p->aOp==0 );
56082 assert( p->aOp==0 || p->aOp[p->nOp-1].zComment==0 || p->db->mallocFailed );
56084 char **pz = &p->aOp[p->nOp-1].zComment;
56095 assert( p->nOp>0 || p->aOp==0 );
56096 assert( p->aOp==0 || p->aOp[p->nOp-1].zComment==0 || p->db->mallocFailed );
56098 char **pz = &p->aOp[p->nOp-1].zComment;
56143 return &p->aOp[addr];
56424 }while( i<nRow && p->explain==2 && p->aOp[i].opcode!=OP_Explain );
56438 pOp = &p->aOp[i];
56447 pOp = &apSub[j]->aOp[i];
56557 pOp = &p->aOp[0];
56575 pOp = &p->aOp[0];
56692 u8 *zCsr = (u8 *)&p->aOp[p->nOp]; /* Memory avaliable for alloation */
56693 u8 *zEnd = (u8 *)&p->aOp[p->nOpAlloc]; /* First byte past available mem */
56767 p->aOp[i].cnt = 0;
56768 p->aOp[i].cycles = 0;
56807 v->aOp = pFrame->aOp;
57603 fprintf(out, "%02x", p->aOp[i].opcode);
57608 p->aOp[i].cnt,
57609 p->aOp[i].cycles,
57610 p->aOp[i].cnt>0 ? p->aOp[i].cycles/p->aOp[i].cnt : 0
57612 sqlite3VdbePrintOp(out, i, &p->aOp[i]);
57668 vdbeFreeOpArray(db, pSub->aOp, pSub->nOp);
57671 vdbeFreeOpArray(db, p->aOp, p->nOp);
59630 for(j=0, pOp=p->aOp; j<p->nOp; j++, pOp++){
60554 Op *aOp = p->aOp; /* Copy of p->aOp */
61000 sqlite3VdbePrintOp(stdout, i, &aOp[i]);
61012 pOp = &aOp[pc];
61247 pc = p->aOp[pc].p2-1;
61249 aOp = p->aOp;
61814 assert( pOp>aOp );
65439 ** program stored in SubProgram.aOp. As well as these, one memory
65463 u.by.pFrame->aOp = p->aOp;
65489 p->aOp = aOp = u.by.pProgram->aOp;
65514 u.bz.pIn = &u.bz.pFrame->aMem[pOp->p1 + u.bz.pFrame->aOp[u.bz.pFrame->pc].p1];
65685 assert( pOp>p->aOp );
66407 sqlite3VdbePrintOp(stdout, origPc, &aOp[origPc]);
93342 pProgram->aOp = sqlite3VdbeTakeOpArray(v, &pProgram->nOp, &pTop->nMaxArg);