BtShared 7667 third_party/sqlite/amalgamation/sqlite3.c typedef struct BtShared BtShared; BtShared 46492 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt; /* Pointer to BtShared that this page is part of */ BtShared 46546 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt; /* Sharable content of this btree */ BtShared 46635 third_party/sqlite/amalgamation/sqlite3.c BtShared *pNext; /* Next on a list of sharable BtShared structs */ BtShared 46688 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt; /* The BtShared this cursor points to */ BtShared 46829 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt; /* The tree being checked out */ BtShared 46872 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 47175 third_party/sqlite/amalgamation/sqlite3.c SQLITE_PRIVATE BtShared *SQLITE_WSD sqlite3SharedCacheList = 0; BtShared 47177 third_party/sqlite/amalgamation/sqlite3.c static BtShared *SQLITE_WSD sqlite3SharedCacheList = 0; BtShared 47342 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 47414 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 47478 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 47523 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 47566 third_party/sqlite/amalgamation/sqlite3.c static void invalidateAllOverflowCache(BtShared *pBt){ BtShared 47593 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = pBtree->pBt; BtShared 47644 third_party/sqlite/amalgamation/sqlite3.c static int btreeSetHasContent(BtShared *pBt, Pgno pgno){ BtShared 47666 third_party/sqlite/amalgamation/sqlite3.c static int btreeGetHasContent(BtShared *pBt, Pgno pgno){ BtShared 47675 third_party/sqlite/amalgamation/sqlite3.c static void btreeClearHasContent(BtShared *pBt){ BtShared 47737 third_party/sqlite/amalgamation/sqlite3.c static int saveAllCursors(BtShared *pBt, Pgno iRoot, BtCursor *pExcept){ BtShared 47857 third_party/sqlite/amalgamation/sqlite3.c static Pgno ptrmapPageno(BtShared *pBt, Pgno pgno){ BtShared 47881 third_party/sqlite/amalgamation/sqlite3.c static void ptrmapPut(BtShared *pBt, Pgno key, u8 eType, Pgno parent, int *pRC){ BtShared 47932 third_party/sqlite/amalgamation/sqlite3.c static int ptrmapGet(BtShared *pBt, Pgno key, u8 *pEType, Pgno *pPgno){ BtShared 48457 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt; /* A copy of pPage->pBt */ BtShared 48502 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt; /* The main btree structure */ BtShared 48602 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = pPage->pBt; BtShared 48635 third_party/sqlite/amalgamation/sqlite3.c static MemPage *btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt){ BtShared 48657 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt, /* The btree */ BtShared 48677 third_party/sqlite/amalgamation/sqlite3.c static MemPage *btreePageLookup(BtShared *pBt, Pgno pgno){ BtShared 48691 third_party/sqlite/amalgamation/sqlite3.c static Pgno btreePagecount(BtShared *pBt){ BtShared 48709 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt, /* The database file */ BtShared 48779 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = (BtShared*)pArg; BtShared 48817 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = 0; /* Shared part of btree structure */ BtShared 48888 third_party/sqlite/amalgamation/sqlite3.c for(pBt=GLOBAL(BtShared*,sqlite3SharedCacheList); pBt; pBt=pBt->pNext){ BtShared 49005 third_party/sqlite/amalgamation/sqlite3.c pBt->pNext = GLOBAL(BtShared*,sqlite3SharedCacheList); BtShared 49006 third_party/sqlite/amalgamation/sqlite3.c GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt; BtShared 49075 third_party/sqlite/amalgamation/sqlite3.c static int removeFromSharingList(BtShared *pBt){ BtShared 49078 third_party/sqlite/amalgamation/sqlite3.c BtShared *pList; BtShared 49086 third_party/sqlite/amalgamation/sqlite3.c if( GLOBAL(BtShared*,sqlite3SharedCacheList)==pBt ){ BtShared 49087 third_party/sqlite/amalgamation/sqlite3.c GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt->pNext; BtShared 49089 third_party/sqlite/amalgamation/sqlite3.c pList = GLOBAL(BtShared*,sqlite3SharedCacheList); BtShared 49113 third_party/sqlite/amalgamation/sqlite3.c static void allocateTempSpace(BtShared *pBt){ BtShared 49122 third_party/sqlite/amalgamation/sqlite3.c static void freeTempSpace(BtShared *pBt){ BtShared 49131 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 49201 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 49224 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 49239 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 49271 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 49358 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 49404 third_party/sqlite/amalgamation/sqlite3.c static int lockBtree(BtShared *pBt){ BtShared 49554 third_party/sqlite/amalgamation/sqlite3.c static void unlockBtreeIfUnused(BtShared *pBt){ BtShared 49571 third_party/sqlite/amalgamation/sqlite3.c static int newDatabase(BtShared *pBt){ BtShared 49647 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 49789 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = pPage->pBt; BtShared 49895 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt, /* Btree */ BtShared 49968 third_party/sqlite/amalgamation/sqlite3.c static int allocateBtreePage(BtShared *, MemPage **, Pgno *, Pgno, u8); BtShared 49988 third_party/sqlite/amalgamation/sqlite3.c static int incrVacuumStep(BtShared *pBt, Pgno nFin, Pgno iLastPg){ BtShared 50099 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 50126 third_party/sqlite/amalgamation/sqlite3.c static int autoVacuumCommit(BtShared *pBt){ BtShared 50216 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 50238 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 50307 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 50348 third_party/sqlite/amalgamation/sqlite3.c static int countWriteCursors(BtShared *pBt){ BtShared 50402 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 50470 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 50502 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 50561 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; /* Shared b-tree handle */ BtShared 50678 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = pCur->pBt; BtShared 50824 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt, /* The database file */ BtShared 50952 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = pCur->pBt; /* Btree this cursor belongs to */ BtShared 51225 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = pCur->pBt; BtShared 51316 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 51867 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt, BtShared 52145 third_party/sqlite/amalgamation/sqlite3.c static int freePage2(BtShared *pBt, MemPage *pMemPage, Pgno iPage){ BtShared 52277 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = pPage->pBt; BtShared 52363 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = pPage->pBt; BtShared 52725 third_party/sqlite/amalgamation/sqlite3.c BtShared *const pBt = pPage->pBt; /* B-Tree Database */ BtShared 52817 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = pPage->pBt; BtShared 52866 third_party/sqlite/amalgamation/sqlite3.c BtShared * const pBt = pFrom->pBt; BtShared 52951 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt; /* The whole database */ BtShared 53574 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = pRoot->pBt; /* The BTree */ BtShared 53773 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 53903 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 54025 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 54172 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt, /* The BTree that contains the table */ BtShared 54231 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 54271 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 54394 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 54418 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 54704 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt; BtShared 54926 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 55066 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 55115 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = p->pBt; BtShared 55234 third_party/sqlite/amalgamation/sqlite3.c BtShared *pBt = pBtree->pBt; BtShared 42 third_party/sqlite/src/src/btmutex.c BtShared *pBt = p->pBt; BtShared 56 third_party/sqlite/src/src/btree.c BtShared *SQLITE_WSD sqlite3SharedCacheList = 0; BtShared 58 third_party/sqlite/src/src/btree.c static BtShared *SQLITE_WSD sqlite3SharedCacheList = 0; BtShared 223 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 295 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 359 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 404 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 447 third_party/sqlite/src/src/btree.c static void invalidateAllOverflowCache(BtShared *pBt){ BtShared 474 third_party/sqlite/src/src/btree.c BtShared *pBt = pBtree->pBt; BtShared 525 third_party/sqlite/src/src/btree.c static int btreeSetHasContent(BtShared *pBt, Pgno pgno){ BtShared 547 third_party/sqlite/src/src/btree.c static int btreeGetHasContent(BtShared *pBt, Pgno pgno){ BtShared 556 third_party/sqlite/src/src/btree.c static void btreeClearHasContent(BtShared *pBt){ BtShared 618 third_party/sqlite/src/src/btree.c static int saveAllCursors(BtShared *pBt, Pgno iRoot, BtCursor *pExcept){ BtShared 738 third_party/sqlite/src/src/btree.c static Pgno ptrmapPageno(BtShared *pBt, Pgno pgno){ BtShared 762 third_party/sqlite/src/src/btree.c static void ptrmapPut(BtShared *pBt, Pgno key, u8 eType, Pgno parent, int *pRC){ BtShared 813 third_party/sqlite/src/src/btree.c static int ptrmapGet(BtShared *pBt, Pgno key, u8 *pEType, Pgno *pPgno){ BtShared 1338 third_party/sqlite/src/src/btree.c BtShared *pBt; /* A copy of pPage->pBt */ BtShared 1383 third_party/sqlite/src/src/btree.c BtShared *pBt; /* The main btree structure */ BtShared 1483 third_party/sqlite/src/src/btree.c BtShared *pBt = pPage->pBt; BtShared 1516 third_party/sqlite/src/src/btree.c static MemPage *btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt){ BtShared 1538 third_party/sqlite/src/src/btree.c BtShared *pBt, /* The btree */ BtShared 1558 third_party/sqlite/src/src/btree.c static MemPage *btreePageLookup(BtShared *pBt, Pgno pgno){ BtShared 1572 third_party/sqlite/src/src/btree.c static Pgno btreePagecount(BtShared *pBt){ BtShared 1590 third_party/sqlite/src/src/btree.c BtShared *pBt, /* The database file */ BtShared 1660 third_party/sqlite/src/src/btree.c BtShared *pBt = (BtShared*)pArg; BtShared 1698 third_party/sqlite/src/src/btree.c BtShared *pBt = 0; /* Shared part of btree structure */ BtShared 1769 third_party/sqlite/src/src/btree.c for(pBt=GLOBAL(BtShared*,sqlite3SharedCacheList); pBt; pBt=pBt->pNext){ BtShared 1886 third_party/sqlite/src/src/btree.c pBt->pNext = GLOBAL(BtShared*,sqlite3SharedCacheList); BtShared 1887 third_party/sqlite/src/src/btree.c GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt; BtShared 1956 third_party/sqlite/src/src/btree.c static int removeFromSharingList(BtShared *pBt){ BtShared 1959 third_party/sqlite/src/src/btree.c BtShared *pList; BtShared 1967 third_party/sqlite/src/src/btree.c if( GLOBAL(BtShared*,sqlite3SharedCacheList)==pBt ){ BtShared 1968 third_party/sqlite/src/src/btree.c GLOBAL(BtShared*,sqlite3SharedCacheList) = pBt->pNext; BtShared 1970 third_party/sqlite/src/src/btree.c pList = GLOBAL(BtShared*,sqlite3SharedCacheList); BtShared 1994 third_party/sqlite/src/src/btree.c static void allocateTempSpace(BtShared *pBt){ BtShared 2003 third_party/sqlite/src/src/btree.c static void freeTempSpace(BtShared *pBt){ BtShared 2012 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 2082 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 2105 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 2120 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 2152 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 2239 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 2285 third_party/sqlite/src/src/btree.c static int lockBtree(BtShared *pBt){ BtShared 2435 third_party/sqlite/src/src/btree.c static void unlockBtreeIfUnused(BtShared *pBt){ BtShared 2452 third_party/sqlite/src/src/btree.c static int newDatabase(BtShared *pBt){ BtShared 2528 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 2670 third_party/sqlite/src/src/btree.c BtShared *pBt = pPage->pBt; BtShared 2776 third_party/sqlite/src/src/btree.c BtShared *pBt, /* Btree */ BtShared 2849 third_party/sqlite/src/src/btree.c static int allocateBtreePage(BtShared *, MemPage **, Pgno *, Pgno, u8); BtShared 2869 third_party/sqlite/src/src/btree.c static int incrVacuumStep(BtShared *pBt, Pgno nFin, Pgno iLastPg){ BtShared 2980 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 3007 third_party/sqlite/src/src/btree.c static int autoVacuumCommit(BtShared *pBt){ BtShared 3097 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 3119 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 3188 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 3229 third_party/sqlite/src/src/btree.c static int countWriteCursors(BtShared *pBt){ BtShared 3283 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 3351 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 3383 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 3442 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; /* Shared b-tree handle */ BtShared 3559 third_party/sqlite/src/src/btree.c BtShared *pBt = pCur->pBt; BtShared 3705 third_party/sqlite/src/src/btree.c BtShared *pBt, /* The database file */ BtShared 3833 third_party/sqlite/src/src/btree.c BtShared *pBt = pCur->pBt; /* Btree this cursor belongs to */ BtShared 4106 third_party/sqlite/src/src/btree.c BtShared *pBt = pCur->pBt; BtShared 4197 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 4748 third_party/sqlite/src/src/btree.c BtShared *pBt, BtShared 5026 third_party/sqlite/src/src/btree.c static int freePage2(BtShared *pBt, MemPage *pMemPage, Pgno iPage){ BtShared 5158 third_party/sqlite/src/src/btree.c BtShared *pBt = pPage->pBt; BtShared 5244 third_party/sqlite/src/src/btree.c BtShared *pBt = pPage->pBt; BtShared 5606 third_party/sqlite/src/src/btree.c BtShared *const pBt = pPage->pBt; /* B-Tree Database */ BtShared 5698 third_party/sqlite/src/src/btree.c BtShared *pBt = pPage->pBt; BtShared 5747 third_party/sqlite/src/src/btree.c BtShared * const pBt = pFrom->pBt; BtShared 5832 third_party/sqlite/src/src/btree.c BtShared *pBt; /* The whole database */ BtShared 6455 third_party/sqlite/src/src/btree.c BtShared *pBt = pRoot->pBt; /* The BTree */ BtShared 6654 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 6784 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 6906 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 7053 third_party/sqlite/src/src/btree.c BtShared *pBt, /* The BTree that contains the table */ BtShared 7112 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 7152 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 7275 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 7299 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 7585 third_party/sqlite/src/src/btree.c BtShared *pBt; BtShared 7807 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 7947 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 7996 third_party/sqlite/src/src/btree.c BtShared *pBt = p->pBt; BtShared 8115 third_party/sqlite/src/src/btree.c BtShared *pBt = pBtree->pBt; BtShared 41 third_party/sqlite/src/src/btree.h typedef struct BtShared BtShared; BtShared 290 third_party/sqlite/src/src/btreeInt.h BtShared *pBt; /* Pointer to BtShared that this page is part of */ BtShared 344 third_party/sqlite/src/src/btreeInt.h BtShared *pBt; /* Sharable content of this btree */ BtShared 433 third_party/sqlite/src/src/btreeInt.h BtShared *pNext; /* Next on a list of sharable BtShared structs */ BtShared 486 third_party/sqlite/src/src/btreeInt.h BtShared *pBt; /* The BtShared this cursor points to */ BtShared 627 third_party/sqlite/src/src/btreeInt.h BtShared *pBt; /* The tree being checked out */ BtShared 32 third_party/sqlite/src/src/test_btree.c extern BtShared *sqlite3SharedCacheList; BtShared 33 third_party/sqlite/src/src/test_btree.c BtShared *pBt; BtShared 35 third_party/sqlite/src/src/test_btree.c for(pBt=GLOBAL(BtShared*,sqlite3SharedCacheList); pBt; pBt=pBt->pNext){ BtShared 51 third_party/sqlite/src/src/test_btree.c BtShared *pBt = p->pBt;