Home | History | Annotate | Download | only in dist

Lines Matching defs:ADDR

7227 #define ADDR(X)  (-1-(X))
7433 SQLITE_PRIVATE void sqlite3VdbeChangeP1(Vdbe*, int addr, int P1);
7434 SQLITE_PRIVATE void sqlite3VdbeChangeP2(Vdbe*, int addr, int P2);
7435 SQLITE_PRIVATE void sqlite3VdbeChangeP3(Vdbe*, int addr, int P3);
7437 SQLITE_PRIVATE void sqlite3VdbeJumpHere(Vdbe*, int addr);
7438 SQLITE_PRIVATE void sqlite3VdbeChangeToNoop(Vdbe*, int addr, int N);
7439 SQLITE_PRIVATE void sqlite3VdbeChangeP4(Vdbe*, int addr, const char *zP4, int N);
38959 int pc, addr;
38960 for(addr=hdr+1; (pc = get2byte(&data[addr]))>0; addr=pc){
38962 if( pc>usableSize-4 || pc<addr+4 ){
38973 memcpy(&data[addr], &data[pc], 2);
39022 int addr, pbegin, hdr;
39049 addr = hdr + 1;
39052 while( (pbegin = get2byte(&data[addr]))<start && pbegin>0 ){
39053 if( pbegin<addr+4 ){
39056 addr = pbegin;
39061 assert( pbegin>addr || pbegin==0 );
39062 put2byte(&data[addr], start);
39068 addr = hdr + 1;
39069 while( (pbegin = get2byte(&data[addr]))>0 ){
39071 assert( pbegin>addr );
39086 addr = pbegin;
47616 int addr = sqlite3VdbeAddOp3(p, op, p1, p2, p3);
47617 sqlite3VdbeChangeP4(p, addr, zP4, p4type);
47618 return addr;
47632 int addr = sqlite3VdbeAddOp3(p, op, p1, p2, p3);
47633 sqlite3VdbeChangeP4(p, addr, SQLITE_INT_TO_PTR(p4), P4_INT32);
47634 return addr;
47896 int addr;
47901 addr = p->nOp;
47907 VdbeOp *pOut = &p->aOp[i+addr];
47911 pOut->p2 = addr + ADDR(p2);
47922 sqlite3VdbePrintOp(0, i+addr, &p->aOp[i+addr]);
47928 return addr;
47937 SQLITE_PRIVATE void sqlite3VdbeChangeP1(Vdbe *p, int addr, int val){
47939 assert( addr>=0 );
47940 if( p->nOp>addr ){
47941 p->aOp[addr].p1 = val;
47949 SQLITE_PRIVATE void sqlite3VdbeChangeP2(Vdbe *p, int addr, int val){
47951 assert( addr>=0 );
47952 if( p->nOp>addr ){
47953 p->aOp[addr].p2 = val;
47960 SQLITE_PRIVATE void sqlite3VdbeChangeP3(Vdbe *p, int addr, int val){
47962 assert( addr>=0 );
47963 if( p->nOp>addr ){
47964 p->aOp[addr].p3 = val;
47981 ** Change the P2 operand of instruction addr so that it points to
47984 SQLITE_PRIVATE void sqlite3VdbeJumpHere(Vdbe *p, int addr){
47985 sqlite3VdbeChangeP2(p, addr, p->nOp);
48091 ** Change N opcodes starting at addr to No-ops.
48093 SQLITE_PRIVATE void sqlite3VdbeChangeToNoop(Vdbe *p, int addr, int N){
48095 VdbeOp *pOp = &p->aOp[addr];
48129 ** If addr<0 then change P4 on the most recently inserted instruction.
48131 SQLITE_PRIVATE void sqlite3VdbeChangeP4(Vdbe *p, int addr, const char *zP4, int n){
48144 assert( addr<p->nOp );
48145 if( addr<0 ){
48146 addr = p->nOp - 1;
48148 pOp = &p->aOp[addr];
48247 ** a new VDBE is created. So we are free to set addr to p->nOp-1 without
48252 SQLITE_PRIVATE VdbeOp *sqlite3VdbeGetOp(Vdbe *p, int addr){
48255 if( addr<0 ){
48259 addr = p->nOp - 1;
48261 assert( (addr>=0 && addr<p->nOp) || p->db->mallocFailed );
48265 return &p->aOp[addr];
60756 int addr;
60761 addr = sqlite3VdbeAddOp4(pParse->pVdbe, opcode, in2, dest, in1,
60768 return addr;
62107 int addr; /* Address of OP_OpenEphemeral instruction */
62130 addr = sqlite3VdbeAddOp2(v, OP_OpenEphemeral, pExpr->iTable, !isRowid);
62211 sqlite3VdbeChangeP4(v, addr, (void *)&keyInfo, P4_KEYINFO);
63036 int addr;
63044 addr
63046 sqlite3VdbeJumpHere(v, addr);
65162 int addr; /* The address of an instruction */
65231 addr = sqlite3VdbeAddOp3(v, OP_Lt, regSamplerecno, 0, regLast);
65236 sqlite3VdbeJumpHere(v, addr);
65351 addr = sqlite3VdbeAddOp1(v, OP_IfNot, iMem);
65366 sqlite3VdbeJumpHere(v, addr);
70862 int end, addr = 0; /* A couple addresses of generated code */
71027 addr = sqlite3VdbeAddOp3(v, OP_RowSetRead, iRowSet, end, iRowid);
71044 sqlite3VdbeAddOp2(v, OP_Goto, 0, addr);
74224 int addr; /* A VDBE address */
74237 addr = sqlite3VdbeCurrentAddr(v);
74239 sqlite3VdbeAddOp2(v, OP_Rewind, 0, addr+9);
74241 sqlite3VdbeAddOp3(v, OP_Ne, memId-1, addr+7, memId);
74245 sqlite3VdbeAddOp2(v, OP_Goto, 0, addr+9);
74246 sqlite3VdbeAddOp2(v, OP_Next, 0, addr+2);
77296 int addr;
77303 addr = sqlite3VdbeAddOpList(v, ArraySize(getCacheSize), getCacheSize);
77304 sqlite3VdbeChangeP1(v, addr, iDb);
77305 sqlite3VdbeChangeP1(v, addr+1, iDb);
77306 sqlite3VdbeChangeP1(v, addr+6, SQLITE_DEFAULT_CACHE_SIZE);
77313 addr = sqlite3VdbeAddOp2(v, OP_IfPos, 2, 0);
77315 sqlite3VdbeJumpHere(v, addr);
77581 int iLimit, addr;
77590 addr = sqlite3VdbeAddOp1(v, OP_IncrVacuum, iDb);
77593 sqlite3VdbeAddOp2(v, OP_IfPos, 1, addr);
77594 sqlite3VdbeJumpHere(v, addr);
77987 int i, j, addr, mxErr;
78027 addr = sqlite3VdbeAddOp1(v, OP_IfPos, 1); /* Halt if out of errors */
78029 sqlite3VdbeJumpHere(v, addr);
78056 addr = sqlite3VdbeAddOp1(v, OP_IsNull, 2);
78063 sqlite3VdbeJumpHere(v, addr);
78073 addr = sqlite3VdbeAddOp1(v, OP_IfPos, 1); /* Stop if out of errors */
78075 sqlite3VdbeJumpHere(v, addr);
78098 addr = sqlite3VdbeAddOpList(v, ArraySize(idxErr), idxErr);
78099 sqlite3VdbeChangeP4(v, addr+1, "rowid ", P4_STATIC);
78100 sqlite3VdbeChangeP4(v, addr+3, " missing from index ", P4_STATIC);
78101 sqlite3VdbeChangeP4(v, addr+4, pIdx->zName, P4_STATIC);
78102 sqlite3VdbeJumpHere(v, addr+9);
78120 addr = sqlite3VdbeAddOp1(v, OP_IfPos, 1);
78122 sqlite3VdbeJumpHere(v, addr);
78123 addr = sqlite3VdbeAddOpList(v, ArraySize(cntIdx), cntIdx);
78124 sqlite3VdbeChangeP1(v, addr+1, j+2);
78125 sqlite3VdbeChangeP2(v, addr+1, addr+4);
78126 sqlite3VdbeChangeP1(v, addr+3, j+2);
78127 sqlite3VdbeChangeP2(v, addr+3, addr+2);
78128 sqlite3VdbeJumpHere(v, addr+4);
78129 sqlite3VdbeChangeP4(v, addr+6,
78131 sqlite3VdbeChangeP4(v, addr+7, pIdx->zName, P4_STATIC);
78135 addr = sqlite3VdbeAddOpList(v, ArraySize(endCode), endCode);
78136 sqlite3VdbeChangeP2(v, addr, -mxErr);
78137 sqlite3VdbeJumpHere(v, addr+1);
78138 sqlite3VdbeChangeP4(v, addr+2, "ok", P4_STATIC);
78266 int addr = sqlite3VdbeAddOpList(v, ArraySize(setCookie), setCookie);
78267 sqlite3VdbeChangeP1(v, addr, iDb);
78268 sqlite3VdbeChangeP1(v, addr+1, atoi(zRight));
78269 sqlite3VdbeChangeP1(v, addr+2, iDb);
78270 sqlite3VdbeChangeP2(v, addr+2, iCookie);
78278 int addr = sqlite3VdbeAddOpList(v, ArraySize(readCookie), readCookie);
78279 sqlite3VdbeChangeP1(v, addr, iDb);
78280 sqlite3VdbeChangeP1(v, addr+1, iDb);
78281 sqlite3VdbeChangeP3(v, addr+1, iCookie);
79007 "addr", "opcode", "p1", "p2", "p3", "p4", "p5", "comment",
79698 int addr;
79700 addr = sqlite3VdbeAddOp1(v, OP_IfNeg, p->iOffset);
79703 sqlite3VdbeJumpHere(v, addr);
80032 int addr;
80052 addr = 1 + sqlite3VdbeAddOp2(v, OP_Sort, iTab, addrBreak);
80111 sqlite3VdbeAddOp2(v, OP_Next, iTab, addr);
80771 int addr = 0;
80785 addr = sqlite3VdbeAddOp1(v, OP_IfZero, p->iLimit);
80792 if( addr ){
80793 sqlite3VdbeJumpHere(v, addr);
80803 int addr;
80824 addr = sqlite3VdbeAddOp2(v, OP_OpenEphemeral, unionTab, 0);
80826 p->addrOpenEphm[0] = addr;
80898 int addr;
80910 addr = sqlite3VdbeAddOp2(v, OP_OpenEphemeral, tab1, 0);
80912 p->addrOpenEphm[0] = addr;
80926 addr = sqlite3VdbeAddOp2(v, OP_OpenEphemeral, tab2, 0);
80928 p->addrOpenEphm[1] = addr;
81008 int addr = pLoop->addrOpenEphm[i];
81009 if( addr<0 ){
81015 sqlite3VdbeChangeP2(v, addr, nCol);
81016 sqlite3VdbeChangeP4(v, addr, (char*)pKeyInfo, P4_KEYINFO);
81064 int addr;
81066 addr = sqlite3VdbeCurrentAddr(v);
81185 return addr;
84273 { OP_Rewind, 0, ADDR(9), 0},
84276 { OP_Ne, 2, ADDR(8), 1},
84279 { OP_Ne, 2, ADDR(8), 1},
84281 { OP_Next, 0, ADDR(1), 0}, /* 8 */
84913 int addr = 0; /* VDBE instruction address of the start of the loop */
85185 addr = sqlite3VdbeAddOp0(v, OP_Goto);
85188 addr = sqlite3VdbeAddOp3(v, OP_RowSetRead, regRowSet, 0, regOldRowid);
85194 sqlite3VdbeAddOp3(v, OP_NotExists, iCur, addr, regOldRowid);
85270 TRIGGER_BEFORE, pTab, regOldRowid, onError, addr);
85278 sqlite3VdbeAddOp3(v, OP_NotExists, iCur, addr, regOldRowid);
85298 aRegIdx, (chngRowid?regOldRowid:0), 1, onError, addr, 0);
85337 TRIGGER_AFTER, pTab, regOldRowid, onError, addr);
85342 sqlite3VdbeAddOp2(v, OP_Goto, 0, addr);
85343 sqlite3VdbeJumpHere(v, addr);
85426 int addr; /* Address of top of loop */
85466 addr = sqlite3VdbeAddOp2(v, OP_Rewind, ephemTab, 0);
85475 sqlite3VdbeAddOp2(v, OP_Next, ephemTab, addr+1);
85476 sqlite3VdbeJumpHere(v, addr);
90778 int addr;
90779 addr = sqlite3VdbeAddOp1(v, OP_IfPos, pLevel->iLeftJoin);
90793 sqlite3VdbeJumpHere(v, addr);