Pgno 8344 third_party/sqlite/amalgamation/sqlite3.c #define PAGER_MJ_PGNO(x) ((Pgno)((PENDING_BYTE/((x)->pageSize))+1)) Pgno 8406 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3PagerAcquire(Pager *pPager, Pgno pgno, DbPage **ppPage, int clrFlag); Pgno 8408 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE DbPage *sqlite3PagerLookup(Pager *pPager, Pgno pgno); Pgno 8415 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3PagerMovepage(Pager*,DbPage*,Pgno,int); Pgno 8451 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PagerTruncateImage(Pager*,Pgno); Pgno 8459 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE Pgno sqlite3PagerPagenumber(DbPage*); Pgno 8506 third_party/sqlite/amalgamation/sqlite3.c Pgno pgno; /* Page number for this page */ Pgno 8565 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3PcacheFetch(PCache*, Pgno, int createFlag, PgHdr**); Pgno 8574 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PcacheMove(PgHdr*, Pgno); Pgno 8577 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PcacheTruncate(PCache*, Pgno x); Pgno 11363 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3BackupUpdate(sqlite3_backup *, Pgno, const u8 *); Pgno 34531 third_party/sqlite/amalgamation/sqlite3.c Pgno pgno, /* Page number to obtain */ Pgno 34714 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PcacheMove(PgHdr *p, Pgno newPgno){ Pgno 34735 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PcacheTruncate(PCache *pCache, Pgno pgno){ Pgno 36395 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3WalRead(Wal *pWal, Pgno pgno, int *pInWal, int nOut, u8 *pOut); Pgno 36398 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE Pgno sqlite3WalDbsize(Wal *pWal); Pgno 36405 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3WalUndo(Wal *pWal, int (*xUndo)(void *, Pgno), void *pUndoCtx); Pgno 36416 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3WalFrames(Wal *pWal, int, PgHdr *, Pgno, int, int); Pgno 36879 third_party/sqlite/amalgamation/sqlite3.c Pgno nOrig; /* Original number of pages in file */ Pgno 36880 third_party/sqlite/amalgamation/sqlite3.c Pgno iSubRec; /* Index of first record in sub-journal */ Pgno 37070 third_party/sqlite/amalgamation/sqlite3.c Pgno dbSize; /* Number of pages in the database */ Pgno 37071 third_party/sqlite/amalgamation/sqlite3.c Pgno dbOrigSize; /* dbSize before the current transaction */ Pgno 37072 third_party/sqlite/amalgamation/sqlite3.c Pgno dbFileSize; /* Number of pages in the database file */ Pgno 37073 third_party/sqlite/amalgamation/sqlite3.c Pgno dbHintSize; /* Value passed to FCNTL_SIZE_HINT call */ Pgno 37097 third_party/sqlite/amalgamation/sqlite3.c Pgno mxPgno; /* Maximum allowed size of the database */ Pgno 37109 third_party/sqlite/amalgamation/sqlite3.c void *(*xCodec)(void*,void*,Pgno,int); /* Routine for en/decoding data */ Pgno 37423 third_party/sqlite/amalgamation/sqlite3.c Pgno pgno = pPg->pgno; Pgno 38081 third_party/sqlite/amalgamation/sqlite3.c static PgHdr *pager_lookup(Pager *pPager, Pgno pgno){ Pgno 38123 third_party/sqlite/amalgamation/sqlite3.c static int addToSavepointBitvecs(Pager *pPager, Pgno pgno){ Pgno 38535 third_party/sqlite/amalgamation/sqlite3.c Pgno pgno; /* The page number of a page in journal */ Pgno 38580 third_party/sqlite/amalgamation/sqlite3.c if( pgno>(Pgno)pPager->dbSize || sqlite3BitvecTest(pDone, pgno) ){ Pgno 38901 third_party/sqlite/amalgamation/sqlite3.c static int pager_truncate(Pager *pPager, Pgno nPage){ Pgno 39029 third_party/sqlite/amalgamation/sqlite3.c Pgno mxPg = 0; /* Size of the original file in pages */ Pgno 39227 third_party/sqlite/amalgamation/sqlite3.c Pgno pgno = pPg->pgno; /* Page number to read */ Pgno 39319 third_party/sqlite/amalgamation/sqlite3.c static int pagerUndoCallback(void *pCtx, Pgno iPg){ Pgno 39388 third_party/sqlite/amalgamation/sqlite3.c Pgno nTruncate, /* Database size after this commit */ Pgno 39479 third_party/sqlite/amalgamation/sqlite3.c static int pagerPagecount(Pager *pPager, Pgno *pnPage){ Pgno 39480 third_party/sqlite/amalgamation/sqlite3.c Pgno nPage; /* Value to return via *pnPage */ Pgno 39507 third_party/sqlite/amalgamation/sqlite3.c nPage = (Pgno)(n / pPager->pageSize); Pgno 39518 third_party/sqlite/amalgamation/sqlite3.c pPager->mxPgno = (Pgno)nPage; Pgno 39551 third_party/sqlite/amalgamation/sqlite3.c Pgno nPage; /* Size of the database file */ Pgno 39930 third_party/sqlite/amalgamation/sqlite3.c pPager->dbSize = (Pgno)(nByte/pageSize); Pgno 40122 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3PagerTruncateImage(Pager *pPager, Pgno nPage){ Pgno 40224 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE Pgno sqlite3PagerPagenumber(DbPage *pPg){ Pgno 40442 third_party/sqlite/amalgamation/sqlite3.c Pgno pgno = pList->pgno; Pgno 41034 third_party/sqlite/amalgamation/sqlite3.c Pgno nPage; /* Number of pages in database file */ Pgno 41273 third_party/sqlite/amalgamation/sqlite3.c Pgno nPage = 0; Pgno 41389 third_party/sqlite/amalgamation/sqlite3.c Pgno pgno, /* Page number to fetch */ Pgno 41500 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE DbPage *sqlite3PagerLookup(Pager *pPager, Pgno pgno){ Pgno 41886 third_party/sqlite/amalgamation/sqlite3.c Pgno nPagePerSector = (pPager->sectorSize/pPager->pageSize); Pgno 41893 third_party/sqlite/amalgamation/sqlite3.c Pgno nPageCount; /* Total number of pages in database file */ Pgno 41894 third_party/sqlite/amalgamation/sqlite3.c Pgno pg1; /* First page of the sector pPg is located on. */ Pgno 41926 third_party/sqlite/amalgamation/sqlite3.c Pgno pg = pg1+ii; Pgno 42285 third_party/sqlite/amalgamation/sqlite3.c Pgno i; /* Iterator variable */ Pgno 42286 third_party/sqlite/amalgamation/sqlite3.c const Pgno iSkip = PAGER_MJ_PGNO(pPager); /* Pending lock page */ Pgno 42287 third_party/sqlite/amalgamation/sqlite3.c const Pgno dbSize = pPager->dbSize; /* Database image size */ Pgno 42335 third_party/sqlite/amalgamation/sqlite3.c Pgno nNew = pPager->dbSize - (pPager->dbSize==PAGER_MJ_PGNO(pPager)); Pgno 42721 third_party/sqlite/amalgamation/sqlite3.c void *(*xCodec)(void*,void*,Pgno,int), Pgno 42764 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3PagerMovepage(Pager *pPager, DbPage *pPg, Pgno pgno, int isCommit){ Pgno 42766 third_party/sqlite/amalgamation/sqlite3.c Pgno needSyncPgno = 0; /* Old value of pPg->pgno, if sync is required */ Pgno 42768 third_party/sqlite/amalgamation/sqlite3.c Pgno origPgno; /* The original page number */ Pgno 44650 third_party/sqlite/amalgamation/sqlite3.c Pgno dbpage; Pgno 45497 third_party/sqlite/amalgamation/sqlite3.c Pgno pgno, /* Database page number to read data for */ Pgno 45611 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE Pgno sqlite3WalDbsize(Wal *pWal){ Pgno 45689 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE int sqlite3WalUndo(Wal *pWal, int (*xUndo)(void *, Pgno), void *pUndoCtx){ Pgno 45692 third_party/sqlite/amalgamation/sqlite3.c Pgno iMax = pWal->hdr.mxFrame; Pgno 45693 third_party/sqlite/amalgamation/sqlite3.c Pgno iFrame; Pgno 45841 third_party/sqlite/amalgamation/sqlite3.c Pgno nTruncate, /* Database size after this commit */ Pgno 46495 third_party/sqlite/amalgamation/sqlite3.c Pgno pgno; /* Page number for this page */ Pgno 46514 third_party/sqlite/amalgamation/sqlite3.c Pgno iTable; /* Root page of table */ Pgno 46691 third_party/sqlite/amalgamation/sqlite3.c Pgno pgnoRoot; /* The root page of this tree */ Pgno 46702 third_party/sqlite/amalgamation/sqlite3.c Pgno *aOverflow; /* Cache of overflow page locations */ Pgno 46831 third_party/sqlite/amalgamation/sqlite3.c Pgno nPage; /* Number of pages in the database */ Pgno 47242 third_party/sqlite/amalgamation/sqlite3.c Pgno iRoot, /* Root page of b-tree */ Pgno 47247 third_party/sqlite/amalgamation/sqlite3.c Pgno iTab = 0; Pgno 47321 third_party/sqlite/amalgamation/sqlite3.c static int hasReadConflicts(Btree *pBtree, Pgno iRoot){ Pgno 47341 third_party/sqlite/amalgamation/sqlite3.c static int querySharedCacheTableLock(Btree *p, Pgno iTab, u8 eLock){ Pgno 47413 third_party/sqlite/amalgamation/sqlite3.c static int setSharedCacheTableLock(Btree *p, Pgno iTable, u8 eLock){ Pgno 47644 third_party/sqlite/amalgamation/sqlite3.c static int btreeSetHasContent(BtShared *pBt, Pgno pgno){ Pgno 47666 third_party/sqlite/amalgamation/sqlite3.c static int btreeGetHasContent(BtShared *pBt, Pgno pgno){ Pgno 47737 third_party/sqlite/amalgamation/sqlite3.c static int saveAllCursors(BtShared *pBt, Pgno iRoot, BtCursor *pExcept){ Pgno 47857 third_party/sqlite/amalgamation/sqlite3.c static Pgno ptrmapPageno(BtShared *pBt, Pgno pgno){ Pgno 47859 third_party/sqlite/amalgamation/sqlite3.c Pgno iPtrMap, ret; Pgno 47881 third_party/sqlite/amalgamation/sqlite3.c static void ptrmapPut(BtShared *pBt, Pgno key, u8 eType, Pgno parent, int *pRC){ Pgno 47884 third_party/sqlite/amalgamation/sqlite3.c Pgno iPtrmap; /* The pointer map page number */ Pgno 47932 third_party/sqlite/amalgamation/sqlite3.c static int ptrmapGet(BtShared *pBt, Pgno key, u8 *pEType, Pgno *pPgno){ Pgno 48161 third_party/sqlite/amalgamation/sqlite3.c Pgno ovfl = get4byte(&pCell[info.iOverflow]); Pgno 48635 third_party/sqlite/amalgamation/sqlite3.c static MemPage *btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt){ Pgno 48658 third_party/sqlite/amalgamation/sqlite3.c Pgno pgno, /* Number of the page to fetch */ Pgno 48677 third_party/sqlite/amalgamation/sqlite3.c static MemPage *btreePageLookup(BtShared *pBt, Pgno pgno){ Pgno 48691 third_party/sqlite/amalgamation/sqlite3.c static Pgno btreePagecount(BtShared *pBt){ Pgno 48710 third_party/sqlite/amalgamation/sqlite3.c Pgno pgno, /* Number of the page to get */ Pgno 48933 third_party/sqlite/amalgamation/sqlite3.c assert( sizeof(Pgno)==4 ); Pgno 49791 third_party/sqlite/amalgamation/sqlite3.c Pgno pgno = pPage->pgno; Pgno 49806 third_party/sqlite/amalgamation/sqlite3.c Pgno childPgno = get4byte(pCell); Pgno 49812 third_party/sqlite/amalgamation/sqlite3.c Pgno childPgno = get4byte(&pPage->aData[pPage->hdrOffset+8]); Pgno 49835 third_party/sqlite/amalgamation/sqlite3.c static int modifyPagePointer(MemPage *pPage, Pgno iFrom, Pgno iTo, u8 eType){ Pgno 49898 third_party/sqlite/amalgamation/sqlite3.c Pgno iPtrPage, /* Pointer map 'page-no' entry for pDbPage */ Pgno 49899 third_party/sqlite/amalgamation/sqlite3.c Pgno iFreePage, /* The location to move pDbPage to */ Pgno 49903 third_party/sqlite/amalgamation/sqlite3.c Pgno iDbPage = pDbPage->pgno; Pgno 49935 third_party/sqlite/amalgamation/sqlite3.c Pgno nextOvfl = get4byte(pDbPage->aData); Pgno 49968 third_party/sqlite/amalgamation/sqlite3.c static int allocateBtreePage(BtShared *, MemPage **, Pgno *, Pgno, u8); Pgno 49988 third_party/sqlite/amalgamation/sqlite3.c static int incrVacuumStep(BtShared *pBt, Pgno nFin, Pgno iLastPg){ Pgno 49989 third_party/sqlite/amalgamation/sqlite3.c Pgno nFreeList; /* Number of pages still on the free-list */ Pgno 49997 third_party/sqlite/amalgamation/sqlite3.c Pgno iPtrPage; Pgno 50019 third_party/sqlite/amalgamation/sqlite3.c Pgno iFreePg; Pgno 50029 third_party/sqlite/amalgamation/sqlite3.c Pgno iFreePg; /* Index of free page to move pLastPg to */ Pgno 50135 third_party/sqlite/amalgamation/sqlite3.c Pgno nFin; /* Number of pages in database after autovacuuming */ Pgno 50136 third_party/sqlite/amalgamation/sqlite3.c Pgno nFree; /* Number of pages on the freelist initially */ Pgno 50137 third_party/sqlite/amalgamation/sqlite3.c Pgno nPtrmap; /* Number of PtrMap pages to be freed */ Pgno 50138 third_party/sqlite/amalgamation/sqlite3.c Pgno iFree; /* The next page to be freed */ Pgno 50140 third_party/sqlite/amalgamation/sqlite3.c Pgno nOrig; /* Database size before freeing */ Pgno 50587 third_party/sqlite/amalgamation/sqlite3.c pCur->pgnoRoot = (Pgno)iTable; Pgno 50825 third_party/sqlite/amalgamation/sqlite3.c Pgno ovfl, /* Current overflow page number */ Pgno 50827 third_party/sqlite/amalgamation/sqlite3.c Pgno *pPgnoNext /* OUT: Next overflow page number */ Pgno 50829 third_party/sqlite/amalgamation/sqlite3.c Pgno next = 0; Pgno 50844 third_party/sqlite/amalgamation/sqlite3.c Pgno pgno; Pgno 50845 third_party/sqlite/amalgamation/sqlite3.c Pgno iGuess = ovfl+1; Pgno 50986 third_party/sqlite/amalgamation/sqlite3.c Pgno nextPage; Pgno 51000 third_party/sqlite/amalgamation/sqlite3.c pCur->aOverflow = (Pgno *)sqlite3MallocZero(sizeof(Pgno)*nOvfl); Pgno 51255 third_party/sqlite/amalgamation/sqlite3.c static void assertParentIndex(MemPage *pParent, int iIdx, Pgno iChild){ Pgno 51370 third_party/sqlite/amalgamation/sqlite3.c Pgno subpage; Pgno 51389 third_party/sqlite/amalgamation/sqlite3.c Pgno pgno; Pgno 51414 third_party/sqlite/amalgamation/sqlite3.c Pgno pgno; Pgno 51568 third_party/sqlite/amalgamation/sqlite3.c Pgno chldPg; Pgno 51869 third_party/sqlite/amalgamation/sqlite3.c Pgno *pPgno, Pgno 51870 third_party/sqlite/amalgamation/sqlite3.c Pgno nearby, Pgno 51879 third_party/sqlite/amalgamation/sqlite3.c Pgno mxPage; /* Total size of the database file */ Pgno 51891 third_party/sqlite/amalgamation/sqlite3.c Pgno iTrunk; Pgno 51988 third_party/sqlite/amalgamation/sqlite3.c Pgno iNewTrunk = get4byte(&pTrunk->aData[8]); Pgno 52024 third_party/sqlite/amalgamation/sqlite3.c Pgno iPage; Pgno 52145 third_party/sqlite/amalgamation/sqlite3.c static int freePage2(BtShared *pBt, MemPage *pMemPage, Pgno iPage){ Pgno 52147 third_party/sqlite/amalgamation/sqlite3.c Pgno iTrunk = 0; /* Page number of free-list trunk page */ Pgno 52279 third_party/sqlite/amalgamation/sqlite3.c Pgno ovflPgno; Pgno 52295 third_party/sqlite/amalgamation/sqlite3.c Pgno iNext = 0; Pgno 52364 third_party/sqlite/amalgamation/sqlite3.c Pgno pgnoOvfl = 0; Pgno 52413 third_party/sqlite/amalgamation/sqlite3.c Pgno pgnoPtrmap = pgnoOvfl; /* Overflow page pointer-map entry page */ Pgno 52566 third_party/sqlite/amalgamation/sqlite3.c Pgno iChild, /* If non-zero, replace first 4 bytes with this value */ Pgno 52728 third_party/sqlite/amalgamation/sqlite3.c Pgno pgnoNew; /* Page number of pNew */ Pgno 52814 third_party/sqlite/amalgamation/sqlite3.c Pgno n; Pgno 52827 third_party/sqlite/amalgamation/sqlite3.c Pgno ovfl = get4byte(&z[info.iOverflow]); Pgno 52832 third_party/sqlite/amalgamation/sqlite3.c Pgno child = get4byte(z); Pgno 52838 third_party/sqlite/amalgamation/sqlite3.c Pgno child = get4byte(&pPage->aData[pPage->hdrOffset+8]); Pgno 52977 third_party/sqlite/amalgamation/sqlite3.c Pgno pgno; /* Temp var to store a page number in */ Pgno 53573 third_party/sqlite/amalgamation/sqlite3.c Pgno pgnoChild = 0; /* Page number of the new child page */ Pgno 53968 third_party/sqlite/amalgamation/sqlite3.c Pgno n = pCur->apPage[iCellDepth+1]->pgno; Pgno 54027 third_party/sqlite/amalgamation/sqlite3.c Pgno pgnoRoot; Pgno 54042 third_party/sqlite/amalgamation/sqlite3.c Pgno pgnoMove; /* Move a page here to make room for the root-page */ Pgno 54085 third_party/sqlite/amalgamation/sqlite3.c Pgno iPtrPage = 0; Pgno 54173 third_party/sqlite/amalgamation/sqlite3.c Pgno pgno, /* Page number to clear */ Pgno 54240 third_party/sqlite/amalgamation/sqlite3.c rc = saveAllCursors(pBt, (Pgno)iTable, 0); Pgno 54242 third_party/sqlite/amalgamation/sqlite3.c rc = clearDatabasePage(pBt, (Pgno)iTable, 0, pnChange); Pgno 54268 third_party/sqlite/amalgamation/sqlite3.c static int btreeDropTable(Btree *p, Pgno iTable, int *piMoved){ Pgno 54289 third_party/sqlite/amalgamation/sqlite3.c rc = btreeGetPage(pBt, (Pgno)iTable, &pPage, 0); Pgno 54305 third_party/sqlite/amalgamation/sqlite3.c Pgno maxRootPgno; Pgno 54557 third_party/sqlite/amalgamation/sqlite3.c static int checkRef(IntegrityCk *pCheck, Pgno iPage, char *zContext){ Pgno 54578 third_party/sqlite/amalgamation/sqlite3.c Pgno iChild, /* Child page number */ Pgno 54580 third_party/sqlite/amalgamation/sqlite3.c Pgno iParent, /* Expected pointer map parent page number */ Pgno 54585 third_party/sqlite/amalgamation/sqlite3.c Pgno iPtrmapParent; Pgno 54626 third_party/sqlite/amalgamation/sqlite3.c if( sqlite3PagerGet(pCheck->pPager, (Pgno)iPage, &pOvflPage) ){ Pgno 54644 third_party/sqlite/amalgamation/sqlite3.c Pgno iFreePage = get4byte(&pOvflData[8+i*4]); Pgno 54719 third_party/sqlite/amalgamation/sqlite3.c if( (rc = btreeGetPage(pBt, (Pgno)iPage, &pPage, 0))!=0 ){ Pgno 54767 third_party/sqlite/amalgamation/sqlite3.c Pgno pgnoOvfl = get4byte(&pCell[info.iOverflow]); Pgno 54923 third_party/sqlite/amalgamation/sqlite3.c Pgno i; Pgno 55296 third_party/sqlite/amalgamation/sqlite3.c Pgno iNext; /* Page number of the next source page to copy */ Pgno 55305 third_party/sqlite/amalgamation/sqlite3.c Pgno nRemaining; /* Number of pages left to copy */ Pgno 55306 third_party/sqlite/amalgamation/sqlite3.c Pgno nPagecount; /* Total number of pages to copy */ Pgno 55479 third_party/sqlite/amalgamation/sqlite3.c static int backupOnePage(sqlite3_backup *p, Pgno iSrcPg, const u8 *zSrcData){ Pgno 55531 third_party/sqlite/amalgamation/sqlite3.c Pgno iDest = (Pgno)(iOff/nDestPgsz)+1; Pgno 55649 third_party/sqlite/amalgamation/sqlite3.c for(ii=0; (nPage<0 || ii<nPage) && p->iNext<=(Pgno)nSrcPage && !rc; ii++){ Pgno 55650 third_party/sqlite/amalgamation/sqlite3.c const Pgno iSrcPg = p->iNext; /* Source page number */ Pgno 55664 third_party/sqlite/amalgamation/sqlite3.c if( p->iNext>(Pgno)nSrcPage ){ Pgno 55747 third_party/sqlite/amalgamation/sqlite3.c const Pgno iSrcPg = (Pgno)((iOff/pgszSrc)+1); Pgno 55879 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE void sqlite3BackupUpdate(sqlite3_backup *pBackup, Pgno iPage, const u8 *aData){ Pgno 33 third_party/sqlite/src/src/backup.c Pgno iNext; /* Page number of the next source page to copy */ Pgno 42 third_party/sqlite/src/src/backup.c Pgno nRemaining; /* Number of pages left to copy */ Pgno 43 third_party/sqlite/src/src/backup.c Pgno nPagecount; /* Total number of pages to copy */ Pgno 216 third_party/sqlite/src/src/backup.c static int backupOnePage(sqlite3_backup *p, Pgno iSrcPg, const u8 *zSrcData){ Pgno 268 third_party/sqlite/src/src/backup.c Pgno iDest = (Pgno)(iOff/nDestPgsz)+1; Pgno 386 third_party/sqlite/src/src/backup.c for(ii=0; (nPage<0 || ii<nPage) && p->iNext<=(Pgno)nSrcPage && !rc; ii++){ Pgno 387 third_party/sqlite/src/src/backup.c const Pgno iSrcPg = p->iNext; /* Source page number */ Pgno 401 third_party/sqlite/src/src/backup.c if( p->iNext>(Pgno)nSrcPage ){ Pgno 484 third_party/sqlite/src/src/backup.c const Pgno iSrcPg = (Pgno)((iOff/pgszSrc)+1); Pgno 616 third_party/sqlite/src/src/backup.c void sqlite3BackupUpdate(sqlite3_backup *pBackup, Pgno iPage, const u8 *aData){ Pgno 123 third_party/sqlite/src/src/btree.c Pgno iRoot, /* Root page of b-tree */ Pgno 128 third_party/sqlite/src/src/btree.c Pgno iTab = 0; Pgno 202 third_party/sqlite/src/src/btree.c static int hasReadConflicts(Btree *pBtree, Pgno iRoot){ Pgno 222 third_party/sqlite/src/src/btree.c static int querySharedCacheTableLock(Btree *p, Pgno iTab, u8 eLock){ Pgno 294 third_party/sqlite/src/src/btree.c static int setSharedCacheTableLock(Btree *p, Pgno iTable, u8 eLock){ Pgno 525 third_party/sqlite/src/src/btree.c static int btreeSetHasContent(BtShared *pBt, Pgno pgno){ Pgno 547 third_party/sqlite/src/src/btree.c static int btreeGetHasContent(BtShared *pBt, Pgno pgno){ Pgno 618 third_party/sqlite/src/src/btree.c static int saveAllCursors(BtShared *pBt, Pgno iRoot, BtCursor *pExcept){ Pgno 738 third_party/sqlite/src/src/btree.c static Pgno ptrmapPageno(BtShared *pBt, Pgno pgno){ Pgno 740 third_party/sqlite/src/src/btree.c Pgno iPtrMap, ret; Pgno 762 third_party/sqlite/src/src/btree.c static void ptrmapPut(BtShared *pBt, Pgno key, u8 eType, Pgno parent, int *pRC){ Pgno 765 third_party/sqlite/src/src/btree.c Pgno iPtrmap; /* The pointer map page number */ Pgno 813 third_party/sqlite/src/src/btree.c static int ptrmapGet(BtShared *pBt, Pgno key, u8 *pEType, Pgno *pPgno){ Pgno 1042 third_party/sqlite/src/src/btree.c Pgno ovfl = get4byte(&pCell[info.iOverflow]); Pgno 1516 third_party/sqlite/src/src/btree.c static MemPage *btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt){ Pgno 1539 third_party/sqlite/src/src/btree.c Pgno pgno, /* Number of the page to fetch */ Pgno 1558 third_party/sqlite/src/src/btree.c static MemPage *btreePageLookup(BtShared *pBt, Pgno pgno){ Pgno 1572 third_party/sqlite/src/src/btree.c static Pgno btreePagecount(BtShared *pBt){ Pgno 1591 third_party/sqlite/src/src/btree.c Pgno pgno, /* Number of the page to get */ Pgno 1814 third_party/sqlite/src/src/btree.c assert( sizeof(Pgno)==4 ); Pgno 2672 third_party/sqlite/src/src/btree.c Pgno pgno = pPage->pgno; Pgno 2687 third_party/sqlite/src/src/btree.c Pgno childPgno = get4byte(pCell); Pgno 2693 third_party/sqlite/src/src/btree.c Pgno childPgno = get4byte(&pPage->aData[pPage->hdrOffset+8]); Pgno 2716 third_party/sqlite/src/src/btree.c static int modifyPagePointer(MemPage *pPage, Pgno iFrom, Pgno iTo, u8 eType){ Pgno 2779 third_party/sqlite/src/src/btree.c Pgno iPtrPage, /* Pointer map 'page-no' entry for pDbPage */ Pgno 2780 third_party/sqlite/src/src/btree.c Pgno iFreePage, /* The location to move pDbPage to */ Pgno 2784 third_party/sqlite/src/src/btree.c Pgno iDbPage = pDbPage->pgno; Pgno 2816 third_party/sqlite/src/src/btree.c Pgno nextOvfl = get4byte(pDbPage->aData); Pgno 2849 third_party/sqlite/src/src/btree.c static int allocateBtreePage(BtShared *, MemPage **, Pgno *, Pgno, u8); Pgno 2869 third_party/sqlite/src/src/btree.c static int incrVacuumStep(BtShared *pBt, Pgno nFin, Pgno iLastPg){ Pgno 2870 third_party/sqlite/src/src/btree.c Pgno nFreeList; /* Number of pages still on the free-list */ Pgno 2878 third_party/sqlite/src/src/btree.c Pgno iPtrPage; Pgno 2900 third_party/sqlite/src/src/btree.c Pgno iFreePg; Pgno 2910 third_party/sqlite/src/src/btree.c Pgno iFreePg; /* Index of free page to move pLastPg to */ Pgno 3016 third_party/sqlite/src/src/btree.c Pgno nFin; /* Number of pages in database after autovacuuming */ Pgno 3017 third_party/sqlite/src/src/btree.c Pgno nFree; /* Number of pages on the freelist initially */ Pgno 3018 third_party/sqlite/src/src/btree.c Pgno nPtrmap; /* Number of PtrMap pages to be freed */ Pgno 3019 third_party/sqlite/src/src/btree.c Pgno iFree; /* The next page to be freed */ Pgno 3021 third_party/sqlite/src/src/btree.c Pgno nOrig; /* Database size before freeing */ Pgno 3468 third_party/sqlite/src/src/btree.c pCur->pgnoRoot = (Pgno)iTable; Pgno 3706 third_party/sqlite/src/src/btree.c Pgno ovfl, /* Current overflow page number */ Pgno 3708 third_party/sqlite/src/src/btree.c Pgno *pPgnoNext /* OUT: Next overflow page number */ Pgno 3710 third_party/sqlite/src/src/btree.c Pgno next = 0; Pgno 3725 third_party/sqlite/src/src/btree.c Pgno pgno; Pgno 3726 third_party/sqlite/src/src/btree.c Pgno iGuess = ovfl+1; Pgno 3867 third_party/sqlite/src/src/btree.c Pgno nextPage; Pgno 3881 third_party/sqlite/src/src/btree.c pCur->aOverflow = (Pgno *)sqlite3MallocZero(sizeof(Pgno)*nOvfl); Pgno 4136 third_party/sqlite/src/src/btree.c static void assertParentIndex(MemPage *pParent, int iIdx, Pgno iChild){ Pgno 4251 third_party/sqlite/src/src/btree.c Pgno subpage; Pgno 4270 third_party/sqlite/src/src/btree.c Pgno pgno; Pgno 4295 third_party/sqlite/src/src/btree.c Pgno pgno; Pgno 4449 third_party/sqlite/src/src/btree.c Pgno chldPg; Pgno 4750 third_party/sqlite/src/src/btree.c Pgno *pPgno, Pgno 4751 third_party/sqlite/src/src/btree.c Pgno nearby, Pgno 4760 third_party/sqlite/src/src/btree.c Pgno mxPage; /* Total size of the database file */ Pgno 4772 third_party/sqlite/src/src/btree.c Pgno iTrunk; Pgno 4869 third_party/sqlite/src/src/btree.c Pgno iNewTrunk = get4byte(&pTrunk->aData[8]); Pgno 4905 third_party/sqlite/src/src/btree.c Pgno iPage; Pgno 5026 third_party/sqlite/src/src/btree.c static int freePage2(BtShared *pBt, MemPage *pMemPage, Pgno iPage){ Pgno 5028 third_party/sqlite/src/src/btree.c Pgno iTrunk = 0; /* Page number of free-list trunk page */ Pgno 5160 third_party/sqlite/src/src/btree.c Pgno ovflPgno; Pgno 5176 third_party/sqlite/src/src/btree.c Pgno iNext = 0; Pgno 5245 third_party/sqlite/src/src/btree.c Pgno pgnoOvfl = 0; Pgno 5294 third_party/sqlite/src/src/btree.c Pgno pgnoPtrmap = pgnoOvfl; /* Overflow page pointer-map entry page */ Pgno 5447 third_party/sqlite/src/src/btree.c Pgno iChild, /* If non-zero, replace first 4 bytes with this value */ Pgno 5609 third_party/sqlite/src/src/btree.c Pgno pgnoNew; /* Page number of pNew */ Pgno 5695 third_party/sqlite/src/src/btree.c Pgno n; Pgno 5708 third_party/sqlite/src/src/btree.c Pgno ovfl = get4byte(&z[info.iOverflow]); Pgno 5713 third_party/sqlite/src/src/btree.c Pgno child = get4byte(z); Pgno 5719 third_party/sqlite/src/src/btree.c Pgno child = get4byte(&pPage->aData[pPage->hdrOffset+8]); Pgno 5858 third_party/sqlite/src/src/btree.c Pgno pgno; /* Temp var to store a page number in */ Pgno 6454 third_party/sqlite/src/src/btree.c Pgno pgnoChild = 0; /* Page number of the new child page */ Pgno 6849 third_party/sqlite/src/src/btree.c Pgno n = pCur->apPage[iCellDepth+1]->pgno; Pgno 6908 third_party/sqlite/src/src/btree.c Pgno pgnoRoot; Pgno 6923 third_party/sqlite/src/src/btree.c Pgno pgnoMove; /* Move a page here to make room for the root-page */ Pgno 6966 third_party/sqlite/src/src/btree.c Pgno iPtrPage = 0; Pgno 7054 third_party/sqlite/src/src/btree.c Pgno pgno, /* Page number to clear */ Pgno 7121 third_party/sqlite/src/src/btree.c rc = saveAllCursors(pBt, (Pgno)iTable, 0); Pgno 7123 third_party/sqlite/src/src/btree.c rc = clearDatabasePage(pBt, (Pgno)iTable, 0, pnChange); Pgno 7149 third_party/sqlite/src/src/btree.c static int btreeDropTable(Btree *p, Pgno iTable, int *piMoved){ Pgno 7170 third_party/sqlite/src/src/btree.c rc = btreeGetPage(pBt, (Pgno)iTable, &pPage, 0); Pgno 7186 third_party/sqlite/src/src/btree.c Pgno maxRootPgno; Pgno 7438 third_party/sqlite/src/src/btree.c static int checkRef(IntegrityCk *pCheck, Pgno iPage, char *zContext){ Pgno 7459 third_party/sqlite/src/src/btree.c Pgno iChild, /* Child page number */ Pgno 7461 third_party/sqlite/src/src/btree.c Pgno iParent, /* Expected pointer map parent page number */ Pgno 7466 third_party/sqlite/src/src/btree.c Pgno iPtrmapParent; Pgno 7507 third_party/sqlite/src/src/btree.c if( sqlite3PagerGet(pCheck->pPager, (Pgno)iPage, &pOvflPage) ){ Pgno 7525 third_party/sqlite/src/src/btree.c Pgno iFreePage = get4byte(&pOvflData[8+i*4]); Pgno 7600 third_party/sqlite/src/src/btree.c if( (rc = btreeGetPage(pBt, (Pgno)iPage, &pPage, 0))!=0 ){ Pgno 7648 third_party/sqlite/src/src/btree.c Pgno pgnoOvfl = get4byte(&pCell[info.iOverflow]); Pgno 7804 third_party/sqlite/src/src/btree.c Pgno i; Pgno 293 third_party/sqlite/src/src/btreeInt.h Pgno pgno; /* Page number for this page */ Pgno 312 third_party/sqlite/src/src/btreeInt.h Pgno iTable; /* Root page of table */ Pgno 489 third_party/sqlite/src/src/btreeInt.h Pgno pgnoRoot; /* The root page of this tree */ Pgno 500 third_party/sqlite/src/src/btreeInt.h Pgno *aOverflow; /* Cache of overflow page locations */ Pgno 629 third_party/sqlite/src/src/btreeInt.h Pgno nPage; /* Number of pages in the database */ Pgno 449 third_party/sqlite/src/src/pager.c Pgno nOrig; /* Original number of pages in file */ Pgno 450 third_party/sqlite/src/src/pager.c Pgno iSubRec; /* Index of first record in sub-journal */ Pgno 640 third_party/sqlite/src/src/pager.c Pgno dbSize; /* Number of pages in the database */ Pgno 641 third_party/sqlite/src/src/pager.c Pgno dbOrigSize; /* dbSize before the current transaction */ Pgno 642 third_party/sqlite/src/src/pager.c Pgno dbFileSize; /* Number of pages in the database file */ Pgno 643 third_party/sqlite/src/src/pager.c Pgno dbHintSize; /* Value passed to FCNTL_SIZE_HINT call */ Pgno 667 third_party/sqlite/src/src/pager.c Pgno mxPgno; /* Maximum allowed size of the database */ Pgno 679 third_party/sqlite/src/src/pager.c void *(*xCodec)(void*,void*,Pgno,int); /* Routine for en/decoding data */ Pgno 993 third_party/sqlite/src/src/pager.c Pgno pgno = pPg->pgno; Pgno 1651 third_party/sqlite/src/src/pager.c static PgHdr *pager_lookup(Pager *pPager, Pgno pgno){ Pgno 1693 third_party/sqlite/src/src/pager.c static int addToSavepointBitvecs(Pager *pPager, Pgno pgno){ Pgno 2105 third_party/sqlite/src/src/pager.c Pgno pgno; /* The page number of a page in journal */ Pgno 2150 third_party/sqlite/src/src/pager.c if( pgno>(Pgno)pPager->dbSize || sqlite3BitvecTest(pDone, pgno) ){ Pgno 2471 third_party/sqlite/src/src/pager.c static int pager_truncate(Pager *pPager, Pgno nPage){ Pgno 2599 third_party/sqlite/src/src/pager.c Pgno mxPg = 0; /* Size of the original file in pages */ Pgno 2797 third_party/sqlite/src/src/pager.c Pgno pgno = pPg->pgno; /* Page number to read */ Pgno 2889 third_party/sqlite/src/src/pager.c static int pagerUndoCallback(void *pCtx, Pgno iPg){ Pgno 2958 third_party/sqlite/src/src/pager.c Pgno nTruncate, /* Database size after this commit */ Pgno 3049 third_party/sqlite/src/src/pager.c static int pagerPagecount(Pager *pPager, Pgno *pnPage){ Pgno 3050 third_party/sqlite/src/src/pager.c Pgno nPage; /* Value to return via *pnPage */ Pgno 3077 third_party/sqlite/src/src/pager.c nPage = (Pgno)(n / pPager->pageSize); Pgno 3088 third_party/sqlite/src/src/pager.c pPager->mxPgno = (Pgno)nPage; Pgno 3121 third_party/sqlite/src/src/pager.c Pgno nPage; /* Size of the database file */ Pgno 3500 third_party/sqlite/src/src/pager.c pPager->dbSize = (Pgno)(nByte/pageSize); Pgno 3692 third_party/sqlite/src/src/pager.c void sqlite3PagerTruncateImage(Pager *pPager, Pgno nPage){ Pgno 3794 third_party/sqlite/src/src/pager.c Pgno sqlite3PagerPagenumber(DbPage *pPg){ Pgno 4012 third_party/sqlite/src/src/pager.c Pgno pgno = pList->pgno; Pgno 4604 third_party/sqlite/src/src/pager.c Pgno nPage; /* Number of pages in database file */ Pgno 4843 third_party/sqlite/src/src/pager.c Pgno nPage = 0; Pgno 4959 third_party/sqlite/src/src/pager.c Pgno pgno, /* Page number to fetch */ Pgno 5070 third_party/sqlite/src/src/pager.c DbPage *sqlite3PagerLookup(Pager *pPager, Pgno pgno){ Pgno 5456 third_party/sqlite/src/src/pager.c Pgno nPagePerSector = (pPager->sectorSize/pPager->pageSize); Pgno 5463 third_party/sqlite/src/src/pager.c Pgno nPageCount; /* Total number of pages in database file */ Pgno 5464 third_party/sqlite/src/src/pager.c Pgno pg1; /* First page of the sector pPg is located on. */ Pgno 5496 third_party/sqlite/src/src/pager.c Pgno pg = pg1+ii; Pgno 5855 third_party/sqlite/src/src/pager.c Pgno i; /* Iterator variable */ Pgno 5856 third_party/sqlite/src/src/pager.c const Pgno iSkip = PAGER_MJ_PGNO(pPager); /* Pending lock page */ Pgno 5857 third_party/sqlite/src/src/pager.c const Pgno dbSize = pPager->dbSize; /* Database image size */ Pgno 5905 third_party/sqlite/src/src/pager.c Pgno nNew = pPager->dbSize - (pPager->dbSize==PAGER_MJ_PGNO(pPager)); Pgno 6291 third_party/sqlite/src/src/pager.c void *(*xCodec)(void*,void*,Pgno,int), Pgno 6334 third_party/sqlite/src/src/pager.c int sqlite3PagerMovepage(Pager *pPager, DbPage *pPg, Pgno pgno, int isCommit){ Pgno 6336 third_party/sqlite/src/src/pager.c Pgno needSyncPgno = 0; /* Old value of pPg->pgno, if sync is required */ Pgno 6338 third_party/sqlite/src/src/pager.c Pgno origPgno; /* The original page number */ Pgno 53 third_party/sqlite/src/src/pager.h #define PAGER_MJ_PGNO(x) ((Pgno)((PENDING_BYTE/((x)->pageSize))+1)) Pgno 115 third_party/sqlite/src/src/pager.h int sqlite3PagerAcquire(Pager *pPager, Pgno pgno, DbPage **ppPage, int clrFlag); Pgno 117 third_party/sqlite/src/src/pager.h DbPage *sqlite3PagerLookup(Pager *pPager, Pgno pgno); Pgno 124 third_party/sqlite/src/src/pager.h int sqlite3PagerMovepage(Pager*,DbPage*,Pgno,int); Pgno 160 third_party/sqlite/src/src/pager.h void sqlite3PagerTruncateImage(Pager*,Pgno); Pgno 168 third_party/sqlite/src/src/pager.h Pgno sqlite3PagerPagenumber(DbPage*); Pgno 206 third_party/sqlite/src/src/pcache.c Pgno pgno, /* Page number to obtain */ Pgno 389 third_party/sqlite/src/src/pcache.c void sqlite3PcacheMove(PgHdr *p, Pgno newPgno){ Pgno 410 third_party/sqlite/src/src/pcache.c void sqlite3PcacheTruncate(PCache *pCache, Pgno pgno){ Pgno 29 third_party/sqlite/src/src/pcache.h Pgno pgno; /* Page number for this page */ Pgno 88 third_party/sqlite/src/src/pcache.h int sqlite3PcacheFetch(PCache*, Pgno, int createFlag, PgHdr**); Pgno 97 third_party/sqlite/src/src/pcache.h void sqlite3PcacheMove(PgHdr*, Pgno); Pgno 100 third_party/sqlite/src/src/pcache.h void sqlite3PcacheTruncate(PCache*, Pgno x); Pgno 3018 third_party/sqlite/src/src/sqliteInt.h void sqlite3BackupUpdate(sqlite3_backup *, Pgno, const u8 *); Pgno 1370 third_party/sqlite/src/src/wal.c Pgno dbpage; Pgno 2217 third_party/sqlite/src/src/wal.c Pgno pgno, /* Database page number to read data for */ Pgno 2331 third_party/sqlite/src/src/wal.c Pgno sqlite3WalDbsize(Wal *pWal){ Pgno 2409 third_party/sqlite/src/src/wal.c int sqlite3WalUndo(Wal *pWal, int (*xUndo)(void *, Pgno), void *pUndoCtx){ Pgno 2412 third_party/sqlite/src/src/wal.c Pgno iMax = pWal->hdr.mxFrame; Pgno 2413 third_party/sqlite/src/src/wal.c Pgno iFrame; Pgno 2561 third_party/sqlite/src/src/wal.c Pgno nTruncate, /* Database size after this commit */ Pgno 63 third_party/sqlite/src/src/wal.h int sqlite3WalRead(Wal *pWal, Pgno pgno, int *pInWal, int nOut, u8 *pOut); Pgno 66 third_party/sqlite/src/src/wal.h Pgno sqlite3WalDbsize(Wal *pWal); Pgno 73 third_party/sqlite/src/src/wal.h int sqlite3WalUndo(Wal *pWal, int (*xUndo)(void *, Pgno), void *pUndoCtx); Pgno 84 third_party/sqlite/src/src/wal.h int sqlite3WalFrames(Wal *pWal, int, PgHdr *, Pgno, int, int);