Pgno 10167 ext/sqlite3/libsqlite/sqlite3.c #define PAGER_MJ_PGNO(x) ((Pgno)((PENDING_BYTE/((x)->pageSize))+1)) Pgno 10314 ext/sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE Pgno sqlite3PagerPagenumber(DbPage*); Pgno 10363 ext/sqlite3/libsqlite/sqlite3.c Pgno pgno; /* Page number for this page */ Pgno 14582 ext/sqlite3/libsqlite/sqlite3.c Pgno pgnoRoot; /* Root page of the open btree cursor */ Pgno 41591 ext/sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE Pgno sqlite3WalDbsize(Wal *pWal); Pgno 42079 ext/sqlite3/libsqlite/sqlite3.c Pgno nOrig; /* Original number of pages in file */ Pgno 42080 ext/sqlite3/libsqlite/sqlite3.c Pgno iSubRec; /* Index of first record in sub-journal */ Pgno 42281 ext/sqlite3/libsqlite/sqlite3.c Pgno dbSize; /* Number of pages in the database */ Pgno 42282 ext/sqlite3/libsqlite/sqlite3.c Pgno dbOrigSize; /* dbSize before the current transaction */ Pgno 42283 ext/sqlite3/libsqlite/sqlite3.c Pgno dbFileSize; /* Number of pages in the database file */ Pgno 42284 ext/sqlite3/libsqlite/sqlite3.c Pgno dbHintSize; /* Value passed to FCNTL_SIZE_HINT call */ Pgno 42313 ext/sqlite3/libsqlite/sqlite3.c Pgno mxPgno; /* Maximum allowed size of the database */ Pgno 42325 ext/sqlite3/libsqlite/sqlite3.c void *(*xCodec)(void*,void*,Pgno,int); /* Routine for en/decoding data */ Pgno 42660 ext/sqlite3/libsqlite/sqlite3.c Pgno pgno = pPg->pgno; Pgno 43792 ext/sqlite3/libsqlite/sqlite3.c Pgno pgno; /* The page number of a page in journal */ Pgno 43837 ext/sqlite3/libsqlite/sqlite3.c if( pgno>(Pgno)pPager->dbSize || sqlite3BitvecTest(pDone, pgno) ){ Pgno 44306 ext/sqlite3/libsqlite/sqlite3.c Pgno mxPg = 0; /* Size of the original file in pages */ Pgno 44511 ext/sqlite3/libsqlite/sqlite3.c Pgno pgno = pPg->pgno; /* Page number to read */ Pgno 44770 ext/sqlite3/libsqlite/sqlite3.c Pgno nPage; /* Value to return via *pnPage */ Pgno 44797 ext/sqlite3/libsqlite/sqlite3.c nPage = (Pgno)((n+pPager->pageSize-1) / pPager->pageSize); Pgno 44805 ext/sqlite3/libsqlite/sqlite3.c pPager->mxPgno = (Pgno)nPage; Pgno 44838 ext/sqlite3/libsqlite/sqlite3.c Pgno nPage; /* Size of the database file */ Pgno 45271 ext/sqlite3/libsqlite/sqlite3.c pPager->dbSize = (Pgno)((nByte+pageSize-1)/pageSize); Pgno 45656 ext/sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE Pgno sqlite3PagerPagenumber(DbPage *pPg){ Pgno 45877 ext/sqlite3/libsqlite/sqlite3.c Pgno pgno = pList->pgno; Pgno 46534 ext/sqlite3/libsqlite/sqlite3.c Pgno nPage; /* Number of pages in database file */ Pgno 46775 ext/sqlite3/libsqlite/sqlite3.c Pgno nPage = 0; Pgno 47428 ext/sqlite3/libsqlite/sqlite3.c Pgno nPageCount; /* Total number of pages in database file */ Pgno 47429 ext/sqlite3/libsqlite/sqlite3.c Pgno pg1; /* First page of the sector pPg is located on. */ Pgno 47434 ext/sqlite3/libsqlite/sqlite3.c Pgno nPagePerSector = (pPager->sectorSize/pPager->pageSize); Pgno 47463 ext/sqlite3/libsqlite/sqlite3.c Pgno pg = pg1+ii; Pgno 47873 ext/sqlite3/libsqlite/sqlite3.c Pgno nNew = pPager->dbSize - (pPager->dbSize==PAGER_MJ_PGNO(pPager)); Pgno 48359 ext/sqlite3/libsqlite/sqlite3.c Pgno needSyncPgno = 0; /* Old value of pPg->pgno, if sync is required */ Pgno 48361 ext/sqlite3/libsqlite/sqlite3.c Pgno origPgno; /* The original page number */ Pgno 50310 ext/sqlite3/libsqlite/sqlite3.c Pgno dbpage; Pgno 51384 ext/sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE Pgno sqlite3WalDbsize(Wal *pWal){ Pgno 51466 ext/sqlite3/libsqlite/sqlite3.c Pgno iMax = pWal->hdr.mxFrame; Pgno 51467 ext/sqlite3/libsqlite/sqlite3.c Pgno iFrame; Pgno 52379 ext/sqlite3/libsqlite/sqlite3.c Pgno pgno; /* Page number for this page */ Pgno 52398 ext/sqlite3/libsqlite/sqlite3.c Pgno iTable; /* Root page of table */ Pgno 52589 ext/sqlite3/libsqlite/sqlite3.c Pgno *aOverflow; /* Cache of overflow page locations */ Pgno 52593 ext/sqlite3/libsqlite/sqlite3.c Pgno pgnoRoot; /* The root page of this tree */ Pgno 52748 ext/sqlite3/libsqlite/sqlite3.c Pgno nPage; /* Number of pages in the database */ Pgno 53198 ext/sqlite3/libsqlite/sqlite3.c Pgno iTab = 0; Pgno 53888 ext/sqlite3/libsqlite/sqlite3.c static Pgno ptrmapPageno(BtShared *pBt, Pgno pgno){ Pgno 53890 ext/sqlite3/libsqlite/sqlite3.c Pgno iPtrMap, ret; Pgno 53915 ext/sqlite3/libsqlite/sqlite3.c Pgno iPtrmap; /* The pointer map page number */ Pgno 54195 ext/sqlite3/libsqlite/sqlite3.c Pgno ovfl = get4byte(&pCell[info.iOverflow]); Pgno 54831 ext/sqlite3/libsqlite/sqlite3.c static Pgno btreePagecount(BtShared *pBt){ Pgno 55085 ext/sqlite3/libsqlite/sqlite3.c assert( sizeof(Pgno)==4 ); Pgno 56081 ext/sqlite3/libsqlite/sqlite3.c Pgno pgno = pPage->pgno; Pgno 56096 ext/sqlite3/libsqlite/sqlite3.c Pgno childPgno = get4byte(pCell); Pgno 56102 ext/sqlite3/libsqlite/sqlite3.c Pgno childPgno = get4byte(&pPage->aData[pPage->hdrOffset+8]); Pgno 56194 ext/sqlite3/libsqlite/sqlite3.c Pgno iDbPage = pDbPage->pgno; Pgno 56226 ext/sqlite3/libsqlite/sqlite3.c Pgno nextOvfl = get4byte(pDbPage->aData); Pgno 56279 ext/sqlite3/libsqlite/sqlite3.c Pgno nFreeList; /* Number of pages still on the free-list */ Pgno 56287 ext/sqlite3/libsqlite/sqlite3.c Pgno iPtrPage; Pgno 56309 ext/sqlite3/libsqlite/sqlite3.c Pgno iFreePg; Pgno 56319 ext/sqlite3/libsqlite/sqlite3.c Pgno iFreePg; /* Index of free page to move pLastPg to */ Pgno 56322 ext/sqlite3/libsqlite/sqlite3.c Pgno iNear = 0; /* nearby parameter for allocateBtreePage() */ Pgno 56374 ext/sqlite3/libsqlite/sqlite3.c static Pgno finalDbSize(BtShared *pBt, Pgno nOrig, Pgno nFree){ Pgno 56376 ext/sqlite3/libsqlite/sqlite3.c Pgno nPtrmap; /* Number of PtrMap pages to be freed */ Pgno 56377 ext/sqlite3/libsqlite/sqlite3.c Pgno nFin; /* Return value */ Pgno 56409 ext/sqlite3/libsqlite/sqlite3.c Pgno nOrig = btreePagecount(pBt); Pgno 56410 ext/sqlite3/libsqlite/sqlite3.c Pgno nFree = get4byte(&pBt->pPage1->aData[36]); Pgno 56411 ext/sqlite3/libsqlite/sqlite3.c Pgno nFin = finalDbSize(pBt, nOrig, nFree); Pgno 56451 ext/sqlite3/libsqlite/sqlite3.c Pgno nFin; /* Number of pages in database after autovacuuming */ Pgno 56452 ext/sqlite3/libsqlite/sqlite3.c Pgno nFree; /* Number of pages on the freelist initially */ Pgno 56453 ext/sqlite3/libsqlite/sqlite3.c Pgno iFree; /* The next page to be freed */ Pgno 56454 ext/sqlite3/libsqlite/sqlite3.c Pgno nOrig; /* Database size before freeing */ Pgno 56917 ext/sqlite3/libsqlite/sqlite3.c pCur->pgnoRoot = (Pgno)iTable; Pgno 57128 ext/sqlite3/libsqlite/sqlite3.c Pgno next = 0; Pgno 57143 ext/sqlite3/libsqlite/sqlite3.c Pgno pgno; Pgno 57144 ext/sqlite3/libsqlite/sqlite3.c Pgno iGuess = ovfl+1; Pgno 57293 ext/sqlite3/libsqlite/sqlite3.c Pgno nextPage; Pgno 57308 ext/sqlite3/libsqlite/sqlite3.c Pgno *aNew = (Pgno*)sqlite3Realloc( Pgno 57309 ext/sqlite3/libsqlite/sqlite3.c pCur->aOverflow, nOvfl*2*sizeof(Pgno) Pgno 57319 ext/sqlite3/libsqlite/sqlite3.c memset(pCur->aOverflow, 0, nOvfl*sizeof(Pgno)); Pgno 57704 ext/sqlite3/libsqlite/sqlite3.c Pgno subpage; Pgno 57723 ext/sqlite3/libsqlite/sqlite3.c Pgno pgno; Pgno 57748 ext/sqlite3/libsqlite/sqlite3.c Pgno pgno; Pgno 57918 ext/sqlite3/libsqlite/sqlite3.c Pgno chldPg; Pgno 58324 ext/sqlite3/libsqlite/sqlite3.c Pgno mxPage; /* Total size of the database file */ Pgno 58339 ext/sqlite3/libsqlite/sqlite3.c Pgno iTrunk; Pgno 58451 ext/sqlite3/libsqlite/sqlite3.c Pgno iNewTrunk = get4byte(&pTrunk->aData[8]); Pgno 58487 ext/sqlite3/libsqlite/sqlite3.c Pgno iPage; Pgno 58641 ext/sqlite3/libsqlite/sqlite3.c Pgno iTrunk = 0; /* Page number of free-list trunk page */ Pgno 58784 ext/sqlite3/libsqlite/sqlite3.c Pgno ovflPgno; Pgno 58804 ext/sqlite3/libsqlite/sqlite3.c Pgno iNext = 0; Pgno 58873 ext/sqlite3/libsqlite/sqlite3.c Pgno pgnoOvfl = 0; Pgno 58955 ext/sqlite3/libsqlite/sqlite3.c Pgno pgnoPtrmap = pgnoOvfl; /* Overflow page pointer-map entry page */ Pgno 59492 ext/sqlite3/libsqlite/sqlite3.c Pgno pgnoNew; /* Page number of pNew */ Pgno 59579 ext/sqlite3/libsqlite/sqlite3.c Pgno n; Pgno 59592 ext/sqlite3/libsqlite/sqlite3.c Pgno ovfl = get4byte(&z[info.iOverflow]); Pgno 59597 ext/sqlite3/libsqlite/sqlite3.c Pgno child = get4byte(z); Pgno 59603 ext/sqlite3/libsqlite/sqlite3.c Pgno child = get4byte(&pPage->aData[pPage->hdrOffset+8]); Pgno 59746 ext/sqlite3/libsqlite/sqlite3.c Pgno pgno; /* Temp var to store a page number in */ Pgno 59748 ext/sqlite3/libsqlite/sqlite3.c Pgno aPgno[NB+2]; /* Page numbers of new pages before shuffling */ Pgno 59749 ext/sqlite3/libsqlite/sqlite3.c Pgno aPgOrder[NB+2]; /* Copy of aPgno[] used for sorting pages */ Pgno 60408 ext/sqlite3/libsqlite/sqlite3.c Pgno pgnoChild = 0; /* Page number of the new child page */ Pgno 60818 ext/sqlite3/libsqlite/sqlite3.c Pgno n = pCur->apPage[iCellDepth+1]->pgno; Pgno 60875 ext/sqlite3/libsqlite/sqlite3.c Pgno pgnoRoot; Pgno 60890 ext/sqlite3/libsqlite/sqlite3.c Pgno pgnoMove; /* Move a page here to make room for the root-page */ Pgno 60933 ext/sqlite3/libsqlite/sqlite3.c Pgno iPtrPage = 0; Pgno 61098 ext/sqlite3/libsqlite/sqlite3.c rc = saveAllCursors(pBt, (Pgno)iTable, 0); Pgno 61105 ext/sqlite3/libsqlite/sqlite3.c rc = clearDatabasePage(pBt, (Pgno)iTable, 0, pnChange); Pgno 61161 ext/sqlite3/libsqlite/sqlite3.c rc = btreeGetPage(pBt, (Pgno)iTable, &pPage, 0); Pgno 61177 ext/sqlite3/libsqlite/sqlite3.c Pgno maxRootPgno; Pgno 61495 ext/sqlite3/libsqlite/sqlite3.c Pgno iPtrmapParent; Pgno 61535 ext/sqlite3/libsqlite/sqlite3.c if( sqlite3PagerGet(pCheck->pPager, (Pgno)iPage, &pOvflPage) ){ Pgno 61553 ext/sqlite3/libsqlite/sqlite3.c Pgno iFreePage = get4byte(&pOvflData[8+i*4]); Pgno 61681 ext/sqlite3/libsqlite/sqlite3.c if( (rc = btreeGetPage(pBt, (Pgno)iPage, &pPage, 0))!=0 ){ Pgno 61731 ext/sqlite3/libsqlite/sqlite3.c Pgno pgnoOvfl = get4byte(&pCell[info.iOverflow]); Pgno 61921 ext/sqlite3/libsqlite/sqlite3.c Pgno i; Pgno 62325 ext/sqlite3/libsqlite/sqlite3.c Pgno iNext; /* Page number of the next source page to copy */ Pgno 62334 ext/sqlite3/libsqlite/sqlite3.c Pgno nRemaining; /* Number of pages left to copy */ Pgno 62335 ext/sqlite3/libsqlite/sqlite3.c Pgno nPagecount; /* Total number of pages to copy */ Pgno 62592 ext/sqlite3/libsqlite/sqlite3.c Pgno iDest = (Pgno)(iOff/nDestPgsz)+1; Pgno 62716 ext/sqlite3/libsqlite/sqlite3.c for(ii=0; (nPage<0 || ii<nPage) && p->iNext<=(Pgno)nSrcPage && !rc; ii++){ Pgno 62717 ext/sqlite3/libsqlite/sqlite3.c const Pgno iSrcPg = p->iNext; /* Source page number */ Pgno 62732 ext/sqlite3/libsqlite/sqlite3.c if( p->iNext>(Pgno)nSrcPage ){ Pgno 62799 ext/sqlite3/libsqlite/sqlite3.c Pgno iPg; Pgno 62818 ext/sqlite3/libsqlite/sqlite3.c for(iPg=nDestTruncate; rc==SQLITE_OK && iPg<=(Pgno)nDstPage; iPg++){ Pgno 62840 ext/sqlite3/libsqlite/sqlite3.c const Pgno iSrcPg = (Pgno)((iOff/pgszSrc)+1);