Lines Matching refs:pc
20111 int pc; /* Program Counter in parent (calling) frame */ member
20321 int pc; /* The program counter */ member
47686 int i, nx, pc, op;
47701 pc = 0;
47702 while( (op = aOp[pc])!=0 ){
47708 i = aOp[pc+2] - 1;
47709 aOp[pc+2] += aOp[pc+3];
47720 if( (--aOp[pc+1]) > 0 ) nx = 0;
47721 pc += nx;
64593 int pc; /* Address of the i-th cell */
64654 pc = get2byte(pAddr);
64655 if( pc<iFree ){ put2byte(pAddr, pc+sz); }
64656 else if( pc<iFree2 ){ put2byte(pAddr, pc+sz2); }
64668 pc = get2byte(pAddr);
64669 testcase( pc==iCellFirst );
64670 testcase( pc==iCellLast );
64674 if( pc<iCellFirst || pc>iCellLast ){
64677 assert( pc>=iCellFirst && pc<=iCellLast );
64678 size = pPage->xCellSize(pPage, &src[pc]);
64680 if( cbrk<iCellFirst || pc+size>usableSize ){
64685 testcase( pc+size==usableSize );
64689 if( cbrk==pc ) continue;
64695 memcpy(&data[cbrk], &src[pc], size);
64731 int pc = get2byte(&aData[iAddr]); /* Address of a free slot */
64736 assert( pc>0 );
64737 while( pc<=maxPC ){
64741 size = get2byte(&aData[pc+2]);
64752 memcpy(&aData[iAddr], &aData[pc], 2);
64754 }else if( x+pc > maxPC ){
64761 put2byte(&aData[pc+2], x);
64763 return &aData[pc + x];
64765 iAddr = pc;
64766 pc = get2byte(&aData[pc]);
64767 if( pc<=iAddr+size ){
64768 if( pc ){
64775 if( pc>maxPC+nByte-4 ){
65046 int pc; /* Address of a freeblock within pPage->aData[] */
65078 pc = get2byte(&data[hdr+1]);
65080 if( pc>0 ){
65082 if( pc<iCellFirst ){
65089 if( pc>iCellLast ){
65093 next = get2byte(&data[pc]);
65094 size = get2byte(&data[pc+2]);
65096 if( next<=pc+size+3 ) break;
65097 pc = next;
65103 if( pc+size>(unsigned int)usableSize ){
65132 int pc; /* Address of a freeblock within pPage->aData[] */
65144 pc = get2byteAligned(&data[cellOffset+i*2]);
65145 testcase( pc==iCellFirst );
65146 testcase( pc==iCellLast );
65147 if( pc<iCellFirst || pc>iCellLast ){
65150 sz = pPage->xCellSize(pPage, &data[pc]);
65151 testcase( pc+sz==usableSize );
65152 if( pc+sz>usableSize ){
69769 u32 pc; /* Offset to cell content of cell being deleted */
69783 pc = get2byte(ptr);
69785 testcase( pc==get2byte(&data[hdr+5]) );
69786 testcase( pc+sz==pPage->pBt->usableSize );
69787 if( pc+sz > pPage->pBt->usableSize ){
69791 rc = freeSpace(pPage, pc, sz);
72954 u32 pc; /* Address of a cell */
73038 pc = get2byteAligned(pCellIdx);
73040 if( pc<contentOffset || pc>usableSize-4 ){
73042 pc, contentOffset, usableSize-4);
73046 pCell = &data[pc];
73048 if( pc+info.nSize>usableSize ){
73067 assert( pc + info.nSize - 4 <= usableSize );
73094 btreeHeapInsert(heap, (pc<<16)|(pc+info.nSize-1));
73111 pc = get2byteAligned(&data[cellStart+i*2]);
73112 size = pPage->xCellSize(pPage, &data[pc]);
73113 btreeHeapInsert(heap, (pc<<16)|(pc+size-1));
77994 SQLITE_PRIVATE void sqlite3VdbePrintOp(FILE *pOut, int pc, VdbeOp *pOp){
78009 fprintf(pOut, zFormat1, pc,
78200 i = p->pc++;
78247 if( pOp->opcode==OP_Init && p->pc>1 ) break;
78447 p->pc = -1;
78661 return pFrame->pc;
79173 if( p->pc>=0 && p->bIsReader ){
79312 if( p->pc>=0 ){
79378 if( sqlite3GlobalConfig.xSqllog && v->rc==SQLITE_OK && v->zSql && v->pc>=0 ){
79423 if( p->pc>=0 ){
79464 char c, pc = 0;
79467 if( pc=='\n' ) fprintf(out, "-- ");
79469 pc = c;
79471 if( pc!='\n' ) fprintf(out, "\n");
81888 if( p->pc<0 && p->expired ){
81893 if( p->pc<0 ){
81918 p->pc = 0;
81997 int savedPc = v->pc;
82570 if( p->magic!=VDBE_MAGIC_RUN || p->pc>=0 ){
82924 return v!=0 && v->magic==VDBE_MAGIC_RUN && v->pc>=0;
84241 if( p->pc==0
84266 for(pOp=&aOp[p->pc]; 1; pOp++){
84608 p->pc = pcx;
85019 p->pc = (int)(pOp - aOp) + 1;
86668 p->pc = (int)(pOp - aOp);
86777 p->pc = (int)(pOp - aOp);
86856 p->pc = (int)(pOp - aOp);
89693 pFrame->pc = (int)(pOp - aOp);
89719 assert( (int)(pOp - aOp)==pFrame->pc );
89775 pIn = &pFrame->aMem[pOp->p1 + pFrame->aOp[pFrame->pc].p1];
91280 if( v->pc>4 ){
91281 v->pc = 4;
91282 assert( v->aOp[v->pc].opcode==OP_NotExists );
145160 int pc,
145164 sqlite3VdbePrintOp(0, pc, pOp);