MemPage 46433 third_party/sqlite/amalgamation/sqlite3.c typedef struct MemPage MemPage; MemPage 46503 third_party/sqlite/amalgamation/sqlite3.c #define EXTRA_SIZE sizeof(MemPage) MemPage 46609 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage1; /* First page of the database */ MemPage 46707 third_party/sqlite/amalgamation/sqlite3.c MemPage *apPage[BTCURSOR_MAX_DEPTH]; /* Pages from root to current page */ MemPage 47538 third_party/sqlite/amalgamation/sqlite3.c static void releasePage(MemPage *pPage); /* Forward reference */ MemPage 47978 third_party/sqlite/amalgamation/sqlite3.c static u8 *findOverflowCell(MemPage *pPage, int iCell){ MemPage 48006 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage, /* Page containing the cell */ MemPage 48074 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage, /* Page containing the cell */ MemPage 48087 third_party/sqlite/amalgamation/sqlite3.c static u16 cellSizePtr(MemPage *pPage, u8 *pCell){ MemPage 48143 third_party/sqlite/amalgamation/sqlite3.c static u16 cellSize(MemPage *pPage, int iCell){ MemPage 48154 third_party/sqlite/amalgamation/sqlite3.c static void ptrmapPutOvflPtr(MemPage *pPage, u8 *pCell, int *pRC){ MemPage 48174 third_party/sqlite/amalgamation/sqlite3.c static int defragmentPage(MemPage *pPage){ MemPage 48264 third_party/sqlite/amalgamation/sqlite3.c static int allocateSpace(MemPage *pPage, int nByte, int *pIdx){ MemPage 48363 third_party/sqlite/amalgamation/sqlite3.c static int freeSpace(MemPage *pPage, int start, int size){ MemPage 48456 third_party/sqlite/amalgamation/sqlite3.c static int decodeFlags(MemPage *pPage, int flagByte){ MemPage 48490 third_party/sqlite/amalgamation/sqlite3.c static int btreeInitPage(MemPage *pPage){ MemPage 48600 third_party/sqlite/amalgamation/sqlite3.c static void zeroPage(MemPage *pPage, int flags){ MemPage 48635 third_party/sqlite/amalgamation/sqlite3.c static MemPage *btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt){ MemPage 48636 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage = (MemPage*)sqlite3PagerGetExtra(pDbPage); MemPage 48659 third_party/sqlite/amalgamation/sqlite3.c MemPage **ppPage, /* Return the page in this parameter */ MemPage 48677 third_party/sqlite/amalgamation/sqlite3.c static MemPage *btreePageLookup(BtShared *pBt, Pgno pgno){ MemPage 48711 third_party/sqlite/amalgamation/sqlite3.c MemPage **ppPage /* Write the page pointer here */ MemPage 48737 third_party/sqlite/amalgamation/sqlite3.c static void releasePage(MemPage *pPage){ MemPage 48757 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage; MemPage 48758 third_party/sqlite/amalgamation/sqlite3.c pPage = (MemPage *)sqlite3PagerGetExtra(pData); MemPage 49406 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage1; /* Page 1 of the database file */ MemPage 49572 third_party/sqlite/amalgamation/sqlite3.c MemPage *pP1; MemPage 49741 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage1 = pBt->pPage1; MemPage 49785 third_party/sqlite/amalgamation/sqlite3.c static int setChildPtrmaps(MemPage *pPage){ MemPage 49835 third_party/sqlite/amalgamation/sqlite3.c static int modifyPagePointer(MemPage *pPage, Pgno iFrom, Pgno iTo, u8 eType){ MemPage 49896 third_party/sqlite/amalgamation/sqlite3.c MemPage *pDbPage, /* Open page to move */ MemPage 49902 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPtrPage; /* The page that contains a pointer to pDbPage */ MemPage 49968 third_party/sqlite/amalgamation/sqlite3.c static int allocateBtreePage(BtShared *, MemPage **, Pgno *, Pgno, u8); MemPage 50020 third_party/sqlite/amalgamation/sqlite3.c MemPage *pFreePg; MemPage 50030 third_party/sqlite/amalgamation/sqlite3.c MemPage *pLastPg; MemPage 50045 third_party/sqlite/amalgamation/sqlite3.c MemPage *pFreePg; MemPage 50070 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPg; MemPage 50403 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage1; MemPage 50826 third_party/sqlite/amalgamation/sqlite3.c MemPage **ppPage, /* OUT: MemPage handle (may be NULL) */ MemPage 50830 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage = 0; MemPage 50951 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage = pCur->apPage[pCur->iPage]; /* Btree page of current entry */ MemPage 51146 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage; MemPage 51224 third_party/sqlite/amalgamation/sqlite3.c MemPage *pNewPage; MemPage 51255 third_party/sqlite/amalgamation/sqlite3.c static void assertParentIndex(MemPage *pParent, int iIdx, Pgno iChild){ MemPage 51313 third_party/sqlite/amalgamation/sqlite3.c MemPage *pRoot; MemPage 51391 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage; MemPage 51416 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage = 0; MemPage 51569 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage = pCur->apPage[pCur->iPage]; MemPage 51725 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage; MemPage 51793 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage; MemPage 51868 third_party/sqlite/amalgamation/sqlite3.c MemPage **ppPage, MemPage 51873 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage1; MemPage 51877 third_party/sqlite/amalgamation/sqlite3.c MemPage *pTrunk = 0; MemPage 51878 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPrevTrunk = 0; MemPage 51987 third_party/sqlite/amalgamation/sqlite3.c MemPage *pNewTrunk; MemPage 52089 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPg = 0; MemPage 52145 third_party/sqlite/amalgamation/sqlite3.c static int freePage2(BtShared *pBt, MemPage *pMemPage, Pgno iPage){ MemPage 52146 third_party/sqlite/amalgamation/sqlite3.c MemPage *pTrunk = 0; /* Free-list trunk page */ MemPage 52148 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage1 = pBt->pPage1; /* Local reference to page 1 */ MemPage 52149 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage; /* Page being freed. May be NULL. */ MemPage 52267 third_party/sqlite/amalgamation/sqlite3.c static void freePage(MemPage *pPage, int *pRC){ MemPage 52276 third_party/sqlite/amalgamation/sqlite3.c static int clearCell(MemPage *pPage, unsigned char *pCell){ MemPage 52296 third_party/sqlite/amalgamation/sqlite3.c MemPage *pOvfl = 0; MemPage 52348 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage, /* The page that contains the cell */ MemPage 52359 third_party/sqlite/amalgamation/sqlite3.c MemPage *pOvfl = 0; MemPage 52360 third_party/sqlite/amalgamation/sqlite3.c MemPage *pToRelease = 0; MemPage 52505 third_party/sqlite/amalgamation/sqlite3.c static void dropCell(MemPage *pPage, int idx, int sz, int *pRC){ MemPage 52561 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage, /* Page into which we are copying */ MemPage 52648 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage, /* The page to be assemblied */ MemPage 52724 third_party/sqlite/amalgamation/sqlite3.c static int balance_quick(MemPage *pParent, MemPage *pPage, u8 *pSpace){ MemPage 52726 third_party/sqlite/amalgamation/sqlite3.c MemPage *pNew; /* Newly allocated page */ MemPage 52811 third_party/sqlite/amalgamation/sqlite3.c static int ptrmapCheckPages(MemPage **apPage, int nPage){ MemPage 52816 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage = apPage[i]; MemPage 52864 third_party/sqlite/amalgamation/sqlite3.c static void copyNodeContent(MemPage *pFrom, MemPage *pTo, int *pRC){ MemPage 52946 third_party/sqlite/amalgamation/sqlite3.c MemPage *pParent, /* Parent page of siblings being balanced */ MemPage 52967 third_party/sqlite/amalgamation/sqlite3.c MemPage *apOld[NB]; /* pPage and up to two siblings */ MemPage 52968 third_party/sqlite/amalgamation/sqlite3.c MemPage *apCopy[NB]; /* Private copies of apOld[] pages */ MemPage 52969 third_party/sqlite/amalgamation/sqlite3.c MemPage *apNew[NB+2]; /* pPage and up to NB siblings after balancing */ MemPage 53034 third_party/sqlite/amalgamation/sqlite3.c memset(apOld, 0, (i+1)*sizeof(MemPage*)); MemPage 53066 third_party/sqlite/amalgamation/sqlite3.c memset(apOld, 0, (i+1)*sizeof(MemPage*)); MemPage 53084 third_party/sqlite/amalgamation/sqlite3.c k = pBt->pageSize + ROUND8(sizeof(MemPage)); MemPage 53124 third_party/sqlite/amalgamation/sqlite3.c MemPage *pOld = apCopy[i] = (MemPage*)&aSpace1[pBt->pageSize + k*i]; MemPage 53125 third_party/sqlite/amalgamation/sqlite3.c memcpy(pOld, apOld[i], sizeof(MemPage)); MemPage 53251 third_party/sqlite/amalgamation/sqlite3.c MemPage *pNew; MemPage 53309 third_party/sqlite/amalgamation/sqlite3.c MemPage *pT; MemPage 53332 third_party/sqlite/amalgamation/sqlite3.c MemPage *pNew = apNew[i]; MemPage 53458 third_party/sqlite/amalgamation/sqlite3.c MemPage *pNew = apNew[0]; MemPage 53459 third_party/sqlite/amalgamation/sqlite3.c MemPage *pOld = apCopy[0]; MemPage 53570 third_party/sqlite/amalgamation/sqlite3.c static int balance_deeper(MemPage *pRoot, MemPage **ppChild){ MemPage 53572 third_party/sqlite/amalgamation/sqlite3.c MemPage *pChild = 0; /* Pointer to a new child page */ MemPage 53635 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage = pCur->apPage[iPage]; MemPage 53658 third_party/sqlite/amalgamation/sqlite3.c MemPage * const pParent = pCur->apPage[iPage-1]; MemPage 53771 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage; MemPage 53905 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage; /* Page to delete cell from */ MemPage 53966 third_party/sqlite/amalgamation/sqlite3.c MemPage *pLeaf = pCur->apPage[pCur->iPage]; MemPage 54026 third_party/sqlite/amalgamation/sqlite3.c MemPage *pRoot; MemPage 54043 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPageMove; /* The page to move to. */ MemPage 54177 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage; MemPage 54270 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage = 0; MemPage 54322 third_party/sqlite/amalgamation/sqlite3.c MemPage *pMove; MemPage 54460 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage; /* Current page of the b-tree */ MemPage 54699 third_party/sqlite/amalgamation/sqlite3.c MemPage *pPage; MemPage 419 third_party/sqlite/src/src/btree.c static void releasePage(MemPage *pPage); /* Forward reference */ MemPage 859 third_party/sqlite/src/src/btree.c static u8 *findOverflowCell(MemPage *pPage, int iCell){ MemPage 887 third_party/sqlite/src/src/btree.c MemPage *pPage, /* Page containing the cell */ MemPage 955 third_party/sqlite/src/src/btree.c MemPage *pPage, /* Page containing the cell */ MemPage 968 third_party/sqlite/src/src/btree.c static u16 cellSizePtr(MemPage *pPage, u8 *pCell){ MemPage 1024 third_party/sqlite/src/src/btree.c static u16 cellSize(MemPage *pPage, int iCell){ MemPage 1035 third_party/sqlite/src/src/btree.c static void ptrmapPutOvflPtr(MemPage *pPage, u8 *pCell, int *pRC){ MemPage 1055 third_party/sqlite/src/src/btree.c static int defragmentPage(MemPage *pPage){ MemPage 1145 third_party/sqlite/src/src/btree.c static int allocateSpace(MemPage *pPage, int nByte, int *pIdx){ MemPage 1244 third_party/sqlite/src/src/btree.c static int freeSpace(MemPage *pPage, int start, int size){ MemPage 1337 third_party/sqlite/src/src/btree.c static int decodeFlags(MemPage *pPage, int flagByte){ MemPage 1371 third_party/sqlite/src/src/btree.c static int btreeInitPage(MemPage *pPage){ MemPage 1481 third_party/sqlite/src/src/btree.c static void zeroPage(MemPage *pPage, int flags){ MemPage 1516 third_party/sqlite/src/src/btree.c static MemPage *btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt){ MemPage 1517 third_party/sqlite/src/src/btree.c MemPage *pPage = (MemPage*)sqlite3PagerGetExtra(pDbPage); MemPage 1540 third_party/sqlite/src/src/btree.c MemPage **ppPage, /* Return the page in this parameter */ MemPage 1558 third_party/sqlite/src/src/btree.c static MemPage *btreePageLookup(BtShared *pBt, Pgno pgno){ MemPage 1592 third_party/sqlite/src/src/btree.c MemPage **ppPage /* Write the page pointer here */ MemPage 1618 third_party/sqlite/src/src/btree.c static void releasePage(MemPage *pPage){ MemPage 1638 third_party/sqlite/src/src/btree.c MemPage *pPage; MemPage 1639 third_party/sqlite/src/src/btree.c pPage = (MemPage *)sqlite3PagerGetExtra(pData); MemPage 2287 third_party/sqlite/src/src/btree.c MemPage *pPage1; /* Page 1 of the database file */ MemPage 2453 third_party/sqlite/src/src/btree.c MemPage *pP1; MemPage 2622 third_party/sqlite/src/src/btree.c MemPage *pPage1 = pBt->pPage1; MemPage 2666 third_party/sqlite/src/src/btree.c static int setChildPtrmaps(MemPage *pPage){ MemPage 2716 third_party/sqlite/src/src/btree.c static int modifyPagePointer(MemPage *pPage, Pgno iFrom, Pgno iTo, u8 eType){ MemPage 2777 third_party/sqlite/src/src/btree.c MemPage *pDbPage, /* Open page to move */ MemPage 2783 third_party/sqlite/src/src/btree.c MemPage *pPtrPage; /* The page that contains a pointer to pDbPage */ MemPage 2849 third_party/sqlite/src/src/btree.c static int allocateBtreePage(BtShared *, MemPage **, Pgno *, Pgno, u8); MemPage 2901 third_party/sqlite/src/src/btree.c MemPage *pFreePg; MemPage 2911 third_party/sqlite/src/src/btree.c MemPage *pLastPg; MemPage 2926 third_party/sqlite/src/src/btree.c MemPage *pFreePg; MemPage 2951 third_party/sqlite/src/src/btree.c MemPage *pPg; MemPage 3284 third_party/sqlite/src/src/btree.c MemPage *pPage1; MemPage 3707 third_party/sqlite/src/src/btree.c MemPage **ppPage, /* OUT: MemPage handle (may be NULL) */ MemPage 3711 third_party/sqlite/src/src/btree.c MemPage *pPage = 0; MemPage 3832 third_party/sqlite/src/src/btree.c MemPage *pPage = pCur->apPage[pCur->iPage]; /* Btree page of current entry */ MemPage 4027 third_party/sqlite/src/src/btree.c MemPage *pPage; MemPage 4105 third_party/sqlite/src/src/btree.c MemPage *pNewPage; MemPage 4136 third_party/sqlite/src/src/btree.c static void assertParentIndex(MemPage *pParent, int iIdx, Pgno iChild){ MemPage 4194 third_party/sqlite/src/src/btree.c MemPage *pRoot; MemPage 4272 third_party/sqlite/src/src/btree.c MemPage *pPage; MemPage 4297 third_party/sqlite/src/src/btree.c MemPage *pPage = 0; MemPage 4450 third_party/sqlite/src/src/btree.c MemPage *pPage = pCur->apPage[pCur->iPage]; MemPage 4606 third_party/sqlite/src/src/btree.c MemPage *pPage; MemPage 4674 third_party/sqlite/src/src/btree.c MemPage *pPage; MemPage 4749 third_party/sqlite/src/src/btree.c MemPage **ppPage, MemPage 4754 third_party/sqlite/src/src/btree.c MemPage *pPage1; MemPage 4758 third_party/sqlite/src/src/btree.c MemPage *pTrunk = 0; MemPage 4759 third_party/sqlite/src/src/btree.c MemPage *pPrevTrunk = 0; MemPage 4868 third_party/sqlite/src/src/btree.c MemPage *pNewTrunk; MemPage 4970 third_party/sqlite/src/src/btree.c MemPage *pPg = 0; MemPage 5026 third_party/sqlite/src/src/btree.c static int freePage2(BtShared *pBt, MemPage *pMemPage, Pgno iPage){ MemPage 5027 third_party/sqlite/src/src/btree.c MemPage *pTrunk = 0; /* Free-list trunk page */ MemPage 5029 third_party/sqlite/src/src/btree.c MemPage *pPage1 = pBt->pPage1; /* Local reference to page 1 */ MemPage 5030 third_party/sqlite/src/src/btree.c MemPage *pPage; /* Page being freed. May be NULL. */ MemPage 5148 third_party/sqlite/src/src/btree.c static void freePage(MemPage *pPage, int *pRC){ MemPage 5157 third_party/sqlite/src/src/btree.c static int clearCell(MemPage *pPage, unsigned char *pCell){ MemPage 5177 third_party/sqlite/src/src/btree.c MemPage *pOvfl = 0; MemPage 5229 third_party/sqlite/src/src/btree.c MemPage *pPage, /* The page that contains the cell */ MemPage 5240 third_party/sqlite/src/src/btree.c MemPage *pOvfl = 0; MemPage 5241 third_party/sqlite/src/src/btree.c MemPage *pToRelease = 0; MemPage 5386 third_party/sqlite/src/src/btree.c static void dropCell(MemPage *pPage, int idx, int sz, int *pRC){ MemPage 5442 third_party/sqlite/src/src/btree.c MemPage *pPage, /* Page into which we are copying */ MemPage 5529 third_party/sqlite/src/src/btree.c MemPage *pPage, /* The page to be assemblied */ MemPage 5605 third_party/sqlite/src/src/btree.c static int balance_quick(MemPage *pParent, MemPage *pPage, u8 *pSpace){ MemPage 5607 third_party/sqlite/src/src/btree.c MemPage *pNew; /* Newly allocated page */ MemPage 5692 third_party/sqlite/src/src/btree.c static int ptrmapCheckPages(MemPage **apPage, int nPage){ MemPage 5697 third_party/sqlite/src/src/btree.c MemPage *pPage = apPage[i]; MemPage 5745 third_party/sqlite/src/src/btree.c static void copyNodeContent(MemPage *pFrom, MemPage *pTo, int *pRC){ MemPage 5827 third_party/sqlite/src/src/btree.c MemPage *pParent, /* Parent page of siblings being balanced */ MemPage 5848 third_party/sqlite/src/src/btree.c MemPage *apOld[NB]; /* pPage and up to two siblings */ MemPage 5849 third_party/sqlite/src/src/btree.c MemPage *apCopy[NB]; /* Private copies of apOld[] pages */ MemPage 5850 third_party/sqlite/src/src/btree.c MemPage *apNew[NB+2]; /* pPage and up to NB siblings after balancing */ MemPage 5915 third_party/sqlite/src/src/btree.c memset(apOld, 0, (i+1)*sizeof(MemPage*)); MemPage 5947 third_party/sqlite/src/src/btree.c memset(apOld, 0, (i+1)*sizeof(MemPage*)); MemPage 5965 third_party/sqlite/src/src/btree.c k = pBt->pageSize + ROUND8(sizeof(MemPage)); MemPage 6005 third_party/sqlite/src/src/btree.c MemPage *pOld = apCopy[i] = (MemPage*)&aSpace1[pBt->pageSize + k*i]; MemPage 6006 third_party/sqlite/src/src/btree.c memcpy(pOld, apOld[i], sizeof(MemPage)); MemPage 6132 third_party/sqlite/src/src/btree.c MemPage *pNew; MemPage 6190 third_party/sqlite/src/src/btree.c MemPage *pT; MemPage 6213 third_party/sqlite/src/src/btree.c MemPage *pNew = apNew[i]; MemPage 6339 third_party/sqlite/src/src/btree.c MemPage *pNew = apNew[0]; MemPage 6340 third_party/sqlite/src/src/btree.c MemPage *pOld = apCopy[0]; MemPage 6451 third_party/sqlite/src/src/btree.c static int balance_deeper(MemPage *pRoot, MemPage **ppChild){ MemPage 6453 third_party/sqlite/src/src/btree.c MemPage *pChild = 0; /* Pointer to a new child page */ MemPage 6516 third_party/sqlite/src/src/btree.c MemPage *pPage = pCur->apPage[iPage]; MemPage 6539 third_party/sqlite/src/src/btree.c MemPage * const pParent = pCur->apPage[iPage-1]; MemPage 6652 third_party/sqlite/src/src/btree.c MemPage *pPage; MemPage 6786 third_party/sqlite/src/src/btree.c MemPage *pPage; /* Page to delete cell from */ MemPage 6847 third_party/sqlite/src/src/btree.c MemPage *pLeaf = pCur->apPage[pCur->iPage]; MemPage 6907 third_party/sqlite/src/src/btree.c MemPage *pRoot; MemPage 6924 third_party/sqlite/src/src/btree.c MemPage *pPageMove; /* The page to move to. */ MemPage 7058 third_party/sqlite/src/src/btree.c MemPage *pPage; MemPage 7151 third_party/sqlite/src/src/btree.c MemPage *pPage = 0; MemPage 7203 third_party/sqlite/src/src/btree.c MemPage *pMove; MemPage 7341 third_party/sqlite/src/src/btree.c MemPage *pPage; /* Current page of the b-tree */ MemPage 7580 third_party/sqlite/src/src/btree.c MemPage *pPage; MemPage 231 third_party/sqlite/src/src/btreeInt.h typedef struct MemPage MemPage; MemPage 301 third_party/sqlite/src/src/btreeInt.h #define EXTRA_SIZE sizeof(MemPage) MemPage 407 third_party/sqlite/src/src/btreeInt.h MemPage *pPage1; /* First page of the database */ MemPage 505 third_party/sqlite/src/src/btreeInt.h MemPage *apPage[BTCURSOR_MAX_DEPTH]; /* Pages from root to current page */ MemPage 53 third_party/sqlite/src/src/test_btree.c MemPage *pPage = pCur->apPage[pCur->iPage];