Lines Matching defs:ADDR
8577 #define ADDR(X) (-1-(X))
8787 SQLITE_PRIVATE void sqlite3VdbeChangeP1(Vdbe*, u32 addr, int P1);
8788 SQLITE_PRIVATE void sqlite3VdbeChangeP2(Vdbe*, u32 addr, int P2);
8789 SQLITE_PRIVATE void sqlite3VdbeChangeP3(Vdbe*, u32 addr, int P3);
8791 SQLITE_PRIVATE void sqlite3VdbeJumpHere(Vdbe*, int addr);
8792 SQLITE_PRIVATE void sqlite3VdbeChangeToNoop(Vdbe*, int addr);
8793 SQLITE_PRIVATE void sqlite3VdbeChangeP4(Vdbe*, int addr, const char *zP4, int N);
50581 int pc, addr;
50582 for(addr=hdr+1; (pc = get2byte(&data[addr]))>0; addr=pc){
50584 if( pc>usableSize-4 || pc<addr+4 ){
50595 memcpy(&data[addr], &data[pc], 2);
50644 int addr, pbegin, hdr;
50671 addr = hdr + 1;
50674 while( (pbegin = get2byte(&data[addr]))<start && pbegin>0 ){
50675 if( pbegin<addr+4 ){
50678 addr = pbegin;
50683 assert( pbegin>addr || pbegin==0 );
50684 put2byte(&data[addr], start);
50690 addr = hdr + 1;
50691 while( (pbegin = get2byte(&data[addr]))>0 ){
50693 assert( pbegin>addr );
50708 addr = pbegin;
59730 int addr = sqlite3VdbeAddOp3(p, op, p1, p2, p3);
59731 sqlite3VdbeChangeP4(p, addr, zP4, p4type);
59732 return addr;
59745 int addr = sqlite3VdbeAddOp3(p, OP_ParseSchema, iDb, 0, 0);
59746 sqlite3VdbeChangeP4(p, addr, zWhere, P4_DYNAMIC);
59761 int addr = sqlite3VdbeAddOp3(p, op, p1, p2, p3);
59762 sqlite3VdbeChangeP4(p, addr, SQLITE_INT_TO_PTR(p4), P4_INT32);
59763 return addr;
60028 int addr;
60033 addr = p->nOp;
60039 VdbeOp *pOut = &p->aOp[i+addr];
60043 pOut->p2 = addr + ADDR(p2);
60054 sqlite3VdbePrintOp(0, i+addr, &p->aOp[i+addr]);
60060 return addr;
60069 SQLITE_PRIVATE void sqlite3VdbeChangeP1(Vdbe *p, u32 addr, int val){
60071 if( ((u32)p->nOp)>addr ){
60072 p->aOp[addr].p1 = val;
60080 SQLITE_PRIVATE void sqlite3VdbeChangeP2(Vdbe *p, u32 addr, int val){
60082 if( ((u32)p->nOp)>addr ){
60083 p->aOp[addr].p2 = val;
60090 SQLITE_PRIVATE void sqlite3VdbeChangeP3(Vdbe *p, u32 addr, int val){
60092 if( ((u32)p->nOp)>addr ){
60093 p->aOp[addr].p3 = val;
60110 ** Change the P2 operand of instruction addr so that it points to
60113 SQLITE_PRIVATE void sqlite3VdbeJumpHere(Vdbe *p, int addr){
60114 assert( addr>=0 || p->db->mallocFailed );
60115 if( addr>=0 ) sqlite3VdbeChangeP2(p, addr, p->nOp);
60209 ** Change the opcode at addr into OP_Noop
60211 SQLITE_PRIVATE void sqlite3VdbeChangeToNoop(Vdbe *p, int addr){
60213 VdbeOp *pOp = &p->aOp[addr];
60244 ** If addr<0 then change P4 on the most recently inserted instruction.
60246 SQLITE_PRIVATE void sqlite3VdbeChangeP4(Vdbe *p, int addr, const char *zP4, int n){
60259 assert( addr<p->nOp );
60260 if( addr<0 ){
60261 addr = p->nOp - 1;
60263 pOp = &p->aOp[addr];
60364 ** a new VDBE is created. So we are free to set addr to p->nOp-1 without
60369 SQLITE_PRIVATE VdbeOp *sqlite3VdbeGetOp(Vdbe *p, int addr){
60374 if( addr<0 ){
60378 addr = p->nOp - 1;
60380 assert( (addr>=0 && addr<p->nOp) || p->db->mallocFailed );
60384 return &p->aOp[addr];
74677 int addr;
74682 addr = sqlite3VdbeAddOp4(pParse->pVdbe, opcode, in2, dest, in1,
74685 addr;
76060 int addr; /* Address of OP_OpenEphemeral instruction */
76083 addr
76166 sqlite3VdbeChangeP4(v, addr, (void *)&keyInfo, P4_KEYINFO);
76950 int addr;
76958 addr = sqlite3VdbeAddOp1(v, op, r1);
76960 sqlite3VdbeJumpHere(v, addr);
85737 int end, addr = 0; /* A couple addresses of generated code */
85904 addr = sqlite3VdbeAddOp3(v, OP_RowSetRead, iRowSet, end, iRowid);
85922 sqlite3VdbeAddOp2(v, OP_Goto, 0, addr);
89226 int addr; /* A VDBE address */
89241 addr = sqlite3VdbeCurrentAddr(v);
89243 sqlite3VdbeAddOp2(v, OP_Rewind, 0, addr+9);
89245 sqlite3VdbeAddOp3(v, OP_Ne, memId-1, addr+7, memId);
89249 sqlite3VdbeAddOp2(v, OP_Goto, 0, addr+9);
89250 sqlite3VdbeAddOp2(v, OP_Next, 0, addr+2);
92507 int addr;
92514 addr = sqlite3VdbeAddOpList(v, ArraySize(getCacheSize), getCacheSize);
92515 sqlite3VdbeChangeP1(v, addr, iDb);
92516 sqlite3VdbeChangeP1(v, addr+1, iDb);
92517 sqlite3VdbeChangeP1(v, addr+6, SQLITE_DEFAULT_CACHE_SIZE);
92801 int iLimit, addr;
92810 addr = sqlite3VdbeAddOp1(v, OP_IncrVacuum, iDb);
92813 sqlite3VdbeAddOp2(v, OP_IfPos, 1, addr);
92814 sqlite3VdbeJumpHere(v, addr);
93203 int i, j, addr, mxErr;
93243 addr = sqlite3VdbeAddOp1(v, OP_IfPos, 1); /* Halt if out of errors */
93245 sqlite3VdbeJumpHere(v, addr);
93273 addr = sqlite3VdbeAddOp1(v, OP_IsNull, 2);
93280 sqlite3VdbeJumpHere(v, addr);
93290 addr = sqlite3VdbeAddOp1(v, OP_IfPos, 1); /* Stop if out of errors */
93292 sqlite3VdbeJumpHere(v, addr);
93315 addr = sqlite3VdbeAddOpList(v, ArraySize(idxErr), idxErr);
93316 sqlite3VdbeChangeP4(v, addr+1, "rowid ", P4_STATIC);
93317 sqlite3VdbeChangeP4(v, addr+3, " missing from index ", P4_STATIC);
93318 sqlite3VdbeChangeP4(v, addr+4, pIdx->zName, P4_TRANSIENT);
93319 sqlite3VdbeJumpHere(v, addr+9);
93337 addr = sqlite3VdbeAddOp1(v, OP_IfPos, 1);
93339 sqlite3VdbeJumpHere(v, addr);
93340 addr = sqlite3VdbeAddOpList(v, ArraySize(cntIdx), cntIdx);
93341 sqlite3VdbeChangeP1(v, addr+1, j+2);
93342 sqlite3VdbeChangeP2(v, addr+1, addr+4);
93343 sqlite3VdbeChangeP1(v, addr+3, j+2);
93344 sqlite3VdbeChangeP2(v, addr+3, addr+2);
93345 sqlite3VdbeJumpHere(v, addr+4);
93346 sqlite3VdbeChangeP4(v, addr+6,
93348 sqlite3VdbeChangeP4(v, addr+7, pIdx->zName, P4_TRANSIENT);
93352 addr = sqlite3VdbeAddOpList(v, ArraySize(endCode), endCode);
93353 sqlite3VdbeChangeP2(v, addr, -mxErr);
93354 sqlite3VdbeJumpHere(v, addr+1);
93355 sqlite3VdbeChangeP4(v, addr+2, "ok", P4_STATIC);
93483 int addr = sqlite3VdbeAddOpList(v, ArraySize(setCookie), setCookie);
93484 sqlite3VdbeChangeP1(v, addr, iDb);
93485 sqlite3VdbeChangeP1(v, addr+1, sqlite3Atoi(zRight));
93486 sqlite3VdbeChangeP1(v, addr+2, iDb);
93487 sqlite3VdbeChangeP2(v, addr+2, iCookie);
93495 int addr = sqlite3VdbeAddOpList(v, ArraySize(readCookie), readCookie);
93496 sqlite3VdbeChangeP1(v, addr, iDb);
93497 sqlite3VdbeChangeP1(v, addr+1, iDb);
93498 sqlite3VdbeChangeP3(v, addr+1, iCookie);
94305 "addr", "opcode", "p1", "p2", "p3", "p4", "p5", "comment",
95005 int addr;
95007 addr = sqlite3VdbeAddOp1(v, OP_IfNeg, p->iOffset);
95010 sqlite3VdbeJumpHere(v, addr);
95424 int addr;
95448 addr = 1 + sqlite3VdbeAddOp2(v, OP_SorterSort, iTab, addrBreak);
95454 addr = 1 + sqlite3VdbeAddOp2(v, OP_Sort, iTab, addrBreak);
95511 sqlite3VdbeAddOp2(v, OP_SorterNext, iTab, addr);
95513 sqlite3VdbeAddOp2(v, OP_Next, iTab, addr);
96172 int addr = 0;
96188 addr = sqlite3VdbeAddOp1(v, OP_IfZero, p->iLimit);
96203 if( addr ){
96204 sqlite3VdbeJumpHere(v, addr);
96214 int addr;
96235 addr = sqlite3VdbeAddOp2(v, OP_OpenEphemeral, unionTab, 0);
96237 p->addrOpenEphm[0] = addr;
96312 int addr;
96324 addr = sqlite3VdbeAddOp2(v, OP_OpenEphemeral, tab1, 0);
96326 p->addrOpenEphm[0] = addr;
96341 addr = sqlite3VdbeAddOp2(v, OP_OpenEphemeral, tab2, 0);
96343 p->addrOpenEphm[1] = addr;
96427 int addr = pLoop->addrOpenEphm[i];
96428 if( addr<0 ){
96434 sqlite3VdbeChangeP2(v, addr, nCol);
96435 sqlite3VdbeChangeP4(v, addr, (char*)pKeyInfo, P4_KEYINFO);
96483 int addr;
96485 addr = sqlite3VdbeCurrentAddr(v);
96604 return addr;
99922 { OP_Rewind, 0, ADDR(9), 0},
99925 { OP_Ne, 2, ADDR(8), 1},
99928 { OP_Ne, 2, ADDR(8), 1},
99930 { OP_Next, 0, ADDR(1), 0}, /* 8 */
100574 int addr = 0; /* VDBE instruction address of the start of the loop */
100848 addr = sqlite3VdbeAddOp0(v, OP_Goto);
100851 addr = sqlite3VdbeAddOp3(v, OP_RowSetRead, regRowSet, 0, regOldRowid);
100857 sqlite3VdbeAddOp3(v, OP_NotExists, iCur, addr, regOldRowid);
100933 TRIGGER_BEFORE, pTab, regOldRowid, onError, addr);
100941 sqlite3VdbeAddOp3(v, OP_NotExists, iCur, addr, regOldRowid);
100961 aRegIdx, (chngRowid?regOldRowid:0), 1, onError, addr, 0);
101000 TRIGGER_AFTER, pTab, regOldRowid, onError, addr);
101005 sqlite3VdbeAddOp2(v, OP_Goto, 0, addr);
101006 sqlite3VdbeJumpHere(v, addr);
101091 int addr; /* Address of top of loop */
101132 addr = sqlite3VdbeAddOp2(v, OP_Rewind, ephemTab, 0);
101142 sqlite3VdbeAddOp2(v, OP_Next, ephemTab, addr+1);
101143 sqlite3VdbeJumpHere(v, addr);
107733 int addr;
107734 addr = sqlite3VdbeAddOp1(v, OP_IfPos, pLevel->iLeftJoin);
107748 sqlite3VdbeJumpHere(v, addr);