Pgno 8608 sqlite3/libsqlite/sqlite3.c #define PAGER_MJ_PGNO(x) ((Pgno)((PENDING_BYTE/((x)->pageSize))+1)) Pgno 8723 sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE Pgno sqlite3PagerPagenumber(DbPage*); Pgno 8770 sqlite3/libsqlite/sqlite3.c Pgno pgno; /* Page number for this page */ Pgno 36763 sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE Pgno sqlite3WalDbsize(Wal *pWal); Pgno 37244 sqlite3/libsqlite/sqlite3.c Pgno nOrig; /* Original number of pages in file */ Pgno 37245 sqlite3/libsqlite/sqlite3.c Pgno iSubRec; /* Index of first record in sub-journal */ Pgno 37435 sqlite3/libsqlite/sqlite3.c Pgno dbSize; /* Number of pages in the database */ Pgno 37436 sqlite3/libsqlite/sqlite3.c Pgno dbOrigSize; /* dbSize before the current transaction */ Pgno 37437 sqlite3/libsqlite/sqlite3.c Pgno dbFileSize; /* Number of pages in the database file */ Pgno 37438 sqlite3/libsqlite/sqlite3.c Pgno dbHintSize; /* Value passed to FCNTL_SIZE_HINT call */ Pgno 37462 sqlite3/libsqlite/sqlite3.c Pgno mxPgno; /* Maximum allowed size of the database */ Pgno 37474 sqlite3/libsqlite/sqlite3.c void *(*xCodec)(void*,void*,Pgno,int); /* Routine for en/decoding data */ Pgno 37788 sqlite3/libsqlite/sqlite3.c Pgno pgno = pPg->pgno; Pgno 38900 sqlite3/libsqlite/sqlite3.c Pgno pgno; /* The page number of a page in journal */ Pgno 38945 sqlite3/libsqlite/sqlite3.c if( pgno>(Pgno)pPager->dbSize || sqlite3BitvecTest(pDone, pgno) ){ Pgno 39394 sqlite3/libsqlite/sqlite3.c Pgno mxPg = 0; /* Size of the original file in pages */ Pgno 39592 sqlite3/libsqlite/sqlite3.c Pgno pgno = pPg->pgno; /* Page number to read */ Pgno 39845 sqlite3/libsqlite/sqlite3.c Pgno nPage; /* Value to return via *pnPage */ Pgno 39872 sqlite3/libsqlite/sqlite3.c nPage = (Pgno)(n / pPager->pageSize); Pgno 39883 sqlite3/libsqlite/sqlite3.c pPager->mxPgno = (Pgno)nPage; Pgno 39916 sqlite3/libsqlite/sqlite3.c Pgno nPage; /* Size of the database file */ Pgno 40295 sqlite3/libsqlite/sqlite3.c pPager->dbSize = (Pgno)(nByte/pageSize); Pgno 40589 sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE Pgno sqlite3PagerPagenumber(DbPage *pPg){ Pgno 40807 sqlite3/libsqlite/sqlite3.c Pgno pgno = pList->pgno; Pgno 41411 sqlite3/libsqlite/sqlite3.c Pgno nPage; /* Number of pages in database file */ Pgno 41650 sqlite3/libsqlite/sqlite3.c Pgno nPage = 0; Pgno 42231 sqlite3/libsqlite/sqlite3.c Pgno nPagePerSector = (pPager->sectorSize/pPager->pageSize); Pgno 42238 sqlite3/libsqlite/sqlite3.c Pgno nPageCount; /* Total number of pages in database file */ Pgno 42239 sqlite3/libsqlite/sqlite3.c Pgno pg1; /* First page of the sector pPg is located on. */ Pgno 42271 sqlite3/libsqlite/sqlite3.c Pgno pg = pg1+ii; Pgno 42630 sqlite3/libsqlite/sqlite3.c Pgno i; /* Iterator variable */ Pgno 42631 sqlite3/libsqlite/sqlite3.c const Pgno iSkip = PAGER_MJ_PGNO(pPager); /* Pending lock page */ Pgno 42632 sqlite3/libsqlite/sqlite3.c const Pgno dbSize = pPager->dbSize; /* Database image size */ Pgno 42680 sqlite3/libsqlite/sqlite3.c Pgno nNew = pPager->dbSize - (pPager->dbSize==PAGER_MJ_PGNO(pPager)); Pgno 43111 sqlite3/libsqlite/sqlite3.c Pgno needSyncPgno = 0; /* Old value of pPg->pgno, if sync is required */ Pgno 43113 sqlite3/libsqlite/sqlite3.c Pgno origPgno; /* The original page number */ Pgno 45018 sqlite3/libsqlite/sqlite3.c Pgno dbpage; Pgno 45988 sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE Pgno sqlite3WalDbsize(Wal *pWal){ Pgno 46069 sqlite3/libsqlite/sqlite3.c Pgno iMax = pWal->hdr.mxFrame; Pgno 46070 sqlite3/libsqlite/sqlite3.c Pgno iFrame; Pgno 46891 sqlite3/libsqlite/sqlite3.c Pgno pgno; /* Page number for this page */ Pgno 46910 sqlite3/libsqlite/sqlite3.c Pgno iTable; /* Root page of table */ Pgno 47087 sqlite3/libsqlite/sqlite3.c Pgno pgnoRoot; /* The root page of this tree */ Pgno 47098 sqlite3/libsqlite/sqlite3.c Pgno *aOverflow; /* Cache of overflow page locations */ Pgno 47227 sqlite3/libsqlite/sqlite3.c Pgno nPage; /* Number of pages in the database */ Pgno 47643 sqlite3/libsqlite/sqlite3.c Pgno iTab = 0; Pgno 48253 sqlite3/libsqlite/sqlite3.c static Pgno ptrmapPageno(BtShared *pBt, Pgno pgno){ Pgno 48255 sqlite3/libsqlite/sqlite3.c Pgno iPtrMap, ret; Pgno 48280 sqlite3/libsqlite/sqlite3.c Pgno iPtrmap; /* The pointer map page number */ Pgno 48565 sqlite3/libsqlite/sqlite3.c Pgno ovfl = get4byte(&pCell[info.iOverflow]); Pgno 49095 sqlite3/libsqlite/sqlite3.c static Pgno btreePagecount(BtShared *pBt){ Pgno 49337 sqlite3/libsqlite/sqlite3.c assert( sizeof(Pgno)==4 ); Pgno 50195 sqlite3/libsqlite/sqlite3.c Pgno pgno = pPage->pgno; Pgno 50210 sqlite3/libsqlite/sqlite3.c Pgno childPgno = get4byte(pCell); Pgno 50216 sqlite3/libsqlite/sqlite3.c Pgno childPgno = get4byte(&pPage->aData[pPage->hdrOffset+8]); Pgno 50307 sqlite3/libsqlite/sqlite3.c Pgno iDbPage = pDbPage->pgno; Pgno 50339 sqlite3/libsqlite/sqlite3.c Pgno nextOvfl = get4byte(pDbPage->aData); Pgno 50393 sqlite3/libsqlite/sqlite3.c Pgno nFreeList; /* Number of pages still on the free-list */ Pgno 50401 sqlite3/libsqlite/sqlite3.c Pgno iPtrPage; Pgno 50423 sqlite3/libsqlite/sqlite3.c Pgno iFreePg; Pgno 50433 sqlite3/libsqlite/sqlite3.c Pgno iFreePg; /* Index of free page to move pLastPg to */ Pgno 50539 sqlite3/libsqlite/sqlite3.c Pgno nFin; /* Number of pages in database after autovacuuming */ Pgno 50540 sqlite3/libsqlite/sqlite3.c Pgno nFree; /* Number of pages on the freelist initially */ Pgno 50541 sqlite3/libsqlite/sqlite3.c Pgno nPtrmap; /* Number of PtrMap pages to be freed */ Pgno 50542 sqlite3/libsqlite/sqlite3.c Pgno iFree; /* The next page to be freed */ Pgno 50544 sqlite3/libsqlite/sqlite3.c Pgno nOrig; /* Database size before freeing */ Pgno 50991 sqlite3/libsqlite/sqlite3.c pCur->pgnoRoot = (Pgno)iTable; Pgno 51233 sqlite3/libsqlite/sqlite3.c Pgno next = 0; Pgno 51248 sqlite3/libsqlite/sqlite3.c Pgno pgno; Pgno 51249 sqlite3/libsqlite/sqlite3.c Pgno iGuess = ovfl+1; Pgno 51390 sqlite3/libsqlite/sqlite3.c Pgno nextPage; Pgno 51404 sqlite3/libsqlite/sqlite3.c pCur->aOverflow = (Pgno *)sqlite3MallocZero(sizeof(Pgno)*nOvfl); Pgno 51774 sqlite3/libsqlite/sqlite3.c Pgno subpage; Pgno 51793 sqlite3/libsqlite/sqlite3.c Pgno pgno; Pgno 51818 sqlite3/libsqlite/sqlite3.c Pgno pgno; Pgno 51972 sqlite3/libsqlite/sqlite3.c Pgno chldPg; Pgno 52283 sqlite3/libsqlite/sqlite3.c Pgno mxPage; /* Total size of the database file */ Pgno 52295 sqlite3/libsqlite/sqlite3.c Pgno iTrunk; Pgno 52392 sqlite3/libsqlite/sqlite3.c Pgno iNewTrunk = get4byte(&pTrunk->aData[8]); Pgno 52428 sqlite3/libsqlite/sqlite3.c Pgno iPage; Pgno 52551 sqlite3/libsqlite/sqlite3.c Pgno iTrunk = 0; /* Page number of free-list trunk page */ Pgno 52683 sqlite3/libsqlite/sqlite3.c Pgno ovflPgno; Pgno 52699 sqlite3/libsqlite/sqlite3.c Pgno iNext = 0; Pgno 52768 sqlite3/libsqlite/sqlite3.c Pgno pgnoOvfl = 0; Pgno 52817 sqlite3/libsqlite/sqlite3.c Pgno pgnoPtrmap = pgnoOvfl; /* Overflow page pointer-map entry page */ Pgno 53139 sqlite3/libsqlite/sqlite3.c Pgno pgnoNew; /* Page number of pNew */ Pgno 53225 sqlite3/libsqlite/sqlite3.c Pgno n; Pgno 53238 sqlite3/libsqlite/sqlite3.c Pgno ovfl = get4byte(&z[info.iOverflow]); Pgno 53243 sqlite3/libsqlite/sqlite3.c Pgno child = get4byte(z); Pgno 53249 sqlite3/libsqlite/sqlite3.c Pgno child = get4byte(&pPage->aData[pPage->hdrOffset+8]); Pgno 53388 sqlite3/libsqlite/sqlite3.c Pgno pgno; /* Temp var to store a page number in */ Pgno 53996 sqlite3/libsqlite/sqlite3.c Pgno pgnoChild = 0; /* Page number of the new child page */ Pgno 54391 sqlite3/libsqlite/sqlite3.c Pgno n = pCur->apPage[iCellDepth+1]->pgno; Pgno 54450 sqlite3/libsqlite/sqlite3.c Pgno pgnoRoot; Pgno 54465 sqlite3/libsqlite/sqlite3.c Pgno pgnoMove; /* Move a page here to make room for the root-page */ Pgno 54508 sqlite3/libsqlite/sqlite3.c Pgno iPtrPage = 0; Pgno 54663 sqlite3/libsqlite/sqlite3.c rc = saveAllCursors(pBt, (Pgno)iTable, 0); Pgno 54665 sqlite3/libsqlite/sqlite3.c rc = clearDatabasePage(pBt, (Pgno)iTable, 0, pnChange); Pgno 54712 sqlite3/libsqlite/sqlite3.c rc = btreeGetPage(pBt, (Pgno)iTable, &pPage, 0); Pgno 54728 sqlite3/libsqlite/sqlite3.c Pgno maxRootPgno; Pgno 55008 sqlite3/libsqlite/sqlite3.c Pgno iPtrmapParent; Pgno 55049 sqlite3/libsqlite/sqlite3.c if( sqlite3PagerGet(pCheck->pPager, (Pgno)iPage, &pOvflPage) ){ Pgno 55067 sqlite3/libsqlite/sqlite3.c Pgno iFreePage = get4byte(&pOvflData[8+i*4]); Pgno 55142 sqlite3/libsqlite/sqlite3.c if( (rc = btreeGetPage(pBt, (Pgno)iPage, &pPage, 0))!=0 ){ Pgno 55190 sqlite3/libsqlite/sqlite3.c Pgno pgnoOvfl = get4byte(&pCell[info.iOverflow]); Pgno 55346 sqlite3/libsqlite/sqlite3.c Pgno i; Pgno 55719 sqlite3/libsqlite/sqlite3.c Pgno iNext; /* Page number of the next source page to copy */ Pgno 55728 sqlite3/libsqlite/sqlite3.c Pgno nRemaining; /* Number of pages left to copy */ Pgno 55729 sqlite3/libsqlite/sqlite3.c Pgno nPagecount; /* Total number of pages to copy */ Pgno 55954 sqlite3/libsqlite/sqlite3.c Pgno iDest = (Pgno)(iOff/nDestPgsz)+1; Pgno 56072 sqlite3/libsqlite/sqlite3.c for(ii=0; (nPage<0 || ii<nPage) && p->iNext<=(Pgno)nSrcPage && !rc; ii++){ Pgno 56073 sqlite3/libsqlite/sqlite3.c const Pgno iSrcPg = p->iNext; /* Source page number */ Pgno 56087 sqlite3/libsqlite/sqlite3.c if( p->iNext>(Pgno)nSrcPage ){ Pgno 56170 sqlite3/libsqlite/sqlite3.c const Pgno iSrcPg = (Pgno)((iOff/pgszSrc)+1);