/external/chromium_org/third_party/sqlite/src/src/ |
H A D | test_btree.c | 33 BtShared *pBt; local 35 for(pBt=GLOBAL(BtShared*,sqlite3SharedCacheList); pBt; pBt=pBt->pNext){ 36 const char *zFile = sqlite3PagerFilename(pBt->pPager); 38 Tcl_ListObjAppendElement(interp, pRet, Tcl_NewIntObj(pBt->nRef)); 51 BtShared *pBt = p->pBt; local 52 for(pCur=pBt [all...] |
H A D | btreeInt.h | 221 #define MX_CELL_SIZE(pBt) ((int)(pBt->pageSize-8)) 228 #define MX_CELL(pBt) ((pBt->pageSize-8)/6) 270 ** stored in MemPage.pBt->mutex. 290 BtShared *pBt; /* Pointer to BtShared that this page is part of */ member in struct:MemPage 337 ** The pBt pointer itself may not be changed while there exists cursors 344 BtShared *pBt; /* Sharable content of this btree */ member in struct:Btree 346 u8 sharable; /* True if we can share pBt with another db */ 347 u8 locked; /* True if db currently has pBt locke 486 BtShared *pBt; /* The BtShared this cursor points to */ member in struct:BtCursor 627 BtShared *pBt; /* The tree being checked out */ member in struct:IntegrityCk [all...] |
H A D | btree.c | 127 Schema *pSchema = (Schema *)pBtree->pBt->pSchema; 169 for(pLock=pBtree->pBt->pLock; pLock; pLock=pLock->pNext){ 204 for(p=pBtree->pBt->pCursor; p; p=p->pNext){ 223 BtShared *pBt = p->pBt; local 235 assert( eLock==READ_LOCK || (p==pBt->pWriter && p->inTrans==TRANS_WRITE) ); 236 assert( eLock==READ_LOCK || pBt->inTransaction==TRANS_WRITE ); 246 if( pBt->pWriter!=p && pBt->isExclusive ){ 247 sqlite3ConnectionBlocked(p->db, pBt 295 BtShared *pBt = p->pBt; local 359 BtShared *pBt = p->pBt; local 404 BtShared *pBt = p->pBt; local 447 invalidateAllOverflowCache(BtShared *pBt) argument 474 BtShared *pBt = pBtree->pBt; local 525 btreeSetHasContent(BtShared *pBt, Pgno pgno) argument 547 btreeGetHasContent(BtShared *pBt, Pgno pgno) argument 556 btreeClearHasContent(BtShared *pBt) argument 618 saveAllCursors(BtShared *pBt, Pgno iRoot, BtCursor *pExcept) argument 738 ptrmapPageno(BtShared *pBt, Pgno pgno) argument 762 ptrmapPut(BtShared *pBt, Pgno key, u8 eType, Pgno parent, int *pRC) argument 813 ptrmapGet(BtShared *pBt, Pgno key, u8 *pEType, Pgno *pPgno) argument 1338 BtShared *pBt; /* A copy of pPage->pBt */ local 1383 BtShared *pBt; /* The main btree structure */ local 1483 BtShared *pBt = pPage->pBt; local 1516 btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt) argument 1537 btreeGetPage( BtShared *pBt, Pgno pgno, MemPage **ppPage, int noContent ) argument 1558 btreePageLookup(BtShared *pBt, Pgno pgno) argument 1572 btreePagecount(BtShared *pBt) argument 1589 getAndInitPage( BtShared *pBt, Pgno pgno, MemPage **ppPage ) argument 1660 BtShared *pBt = (BtShared*)pArg; local 1698 BtShared *pBt = 0; /* Shared part of btree structure */ local 1956 removeFromSharingList(BtShared *pBt) argument 1994 allocateTempSpace(BtShared *pBt) argument 2003 freeTempSpace(BtShared *pBt) argument 2012 BtShared *pBt = p->pBt; local 2082 BtShared *pBt = p->pBt; local 2105 BtShared *pBt = p->pBt; local 2120 BtShared *pBt = p->pBt; local 2152 BtShared *pBt = p->pBt; local 2285 lockBtree(BtShared *pBt) argument 2435 unlockBtreeIfUnused(BtShared *pBt) argument 2452 newDatabase(BtShared *pBt) argument 2528 BtShared *pBt = p->pBt; local 2670 BtShared *pBt = pPage->pBt; local 2775 relocatePage( BtShared *pBt, MemPage *pDbPage, u8 eType, Pgno iPtrPage, Pgno iFreePage, int isCommit ) argument 2869 incrVacuumStep(BtShared *pBt, Pgno nFin, Pgno iLastPg) argument 2980 BtShared *pBt = p->pBt; local 3007 autoVacuumCommit(BtShared *pBt) argument 3097 BtShared *pBt = p->pBt; local 3119 BtShared *pBt = p->pBt; local 3188 BtShared *pBt = p->pBt; local 3229 countWriteCursors(BtShared *pBt) argument 3283 BtShared *pBt = p->pBt; local 3351 BtShared *pBt = p->pBt; local 3383 BtShared *pBt = p->pBt; local 3442 BtShared *pBt = p->pBt; /* Shared b-tree handle */ local 3559 BtShared *pBt = pCur->pBt; local 3704 getOverflowPage( BtShared *pBt, Pgno ovfl, MemPage **ppPage, Pgno *pPgnoNext ) argument 3833 BtShared *pBt = pCur->pBt; /* Btree this cursor belongs to */ local 4106 BtShared *pBt = pCur->pBt; local 4197 BtShared *pBt = p->pBt; local 4747 allocateBtreePage( BtShared *pBt, MemPage **ppPage, Pgno *pPgno, Pgno nearby, u8 exact ) argument 5026 freePage2(BtShared *pBt, MemPage *pMemPage, Pgno iPage) argument 5158 BtShared *pBt = pPage->pBt; local 5244 BtShared *pBt = pPage->pBt; local 5606 BtShared *const pBt = pPage->pBt; /* B-Tree Database */ local 5747 BtShared * const pBt = pFrom->pBt; local 5832 BtShared *pBt; /* The whole database */ local 6455 BtShared *pBt = pRoot->pBt; /* The BTree */ local 6654 BtShared *pBt = p->pBt; local 6784 BtShared *pBt = p->pBt; local 6906 BtShared *pBt = p->pBt; local 7052 clearDatabasePage( BtShared *pBt, Pgno pgno, int freePageFlag, int *pnChange ) argument 7112 BtShared *pBt = p->pBt; local 7152 BtShared *pBt = p->pBt; local 7275 BtShared *pBt = p->pBt; local 7299 BtShared *pBt = p->pBt; local 7585 BtShared *pBt; local 7807 BtShared *pBt = p->pBt; local 7947 BtShared *pBt = p->pBt; local 7996 BtShared *pBt = p->pBt; local 8115 BtShared *pBt = pBtree->pBt; local [all...] |
H A D | btmutex.c | 29 assert( sqlite3_mutex_notheld(p->pBt->mutex) ); 32 sqlite3_mutex_enter(p->pBt->mutex); 33 p->pBt->db = p->db; 42 BtShared *pBt = p->pBt; local 44 assert( sqlite3_mutex_held(pBt->mutex) ); 46 assert( p->db==pBt->db ); 48 sqlite3_mutex_leave(pBt->mutex); 73 ** Btree.pBt value. All elements of the list should belong to 75 assert( p->pNext==0 || p->pNext->pBt> [all...] |
H A D | test3.c | 66 Btree *pBt; local 81 rc = sqlite3BtreeOpen(argv[1], &sDb, &pBt, 0, 87 sqlite3BtreeSetCacheSize(pBt, nCache); 88 sqlite3_snprintf(sizeof(zBuf), zBuf,"%p", pBt); local 104 Btree *pBt; local 111 pBt = sqlite3TestTextToPtr(argv[1]); 112 rc = sqlite3BtreeClose(pBt); 139 Btree *pBt; local 146 pBt = sqlite3TestTextToPtr(argv[1]); 147 sqlite3BtreeEnter(pBt); 168 Btree *pBt; local 218 Btree *pBt; local 265 Btree *pBt; local 527 Btree *pBt; local 548 sqlite3_snprintf(sizeof(zBuf), zBuf, "%p", pBt); local 564 Btree *pBt; local 594 Btree *pBt; local [all...] |
H A D | mem2.c | 244 void **pBt; local 258 pBt = (void**)&z[mem.nTitle]; 259 pHdr = (struct MemBlockHdr*)&pBt[mem.nBacktrace]; 275 memcpy(pBt, &aAddr[1], pHdr->nBacktrace*sizeof(void*)); 276 assert(pBt[0]); 303 void **pBt; local 308 pBt = (void**)pHdr; 309 pBt -= pHdr->nBacktraceSlots; 325 z = (char*)pBt; 466 void **pBt local 479 void **pBt; local [all...] |
H A D | prepare.c | 176 assert( iDb==1 || sqlite3BtreeHoldsMutex(db->aDb[iDb].pBt) ); 211 if( pDb->pBt==0 ){ 221 sqlite3BtreeEnter(pDb->pBt); 222 if( !sqlite3BtreeIsInReadTrans(pDb->pBt) ){ 223 rc = sqlite3BtreeBeginTrans(pDb->pBt, 0); 249 sqlite3BtreeGetMeta(pDb->pBt, i+1, (u32 *)&meta[i]); 284 sqlite3BtreeSetCacheSize(pDb->pBt, pDb->pSchema->cache_size); 362 sqlite3BtreeCommit(pDb->pBt); 364 sqlite3BtreeLeave(pDb->pBt); 454 Btree *pBt local 570 Btree *pBt = db->aDb[i].pBt; local [all...] |
H A D | attach.c | 127 rc = sqlite3BtreeOpen(zFile, db, &aNew->pBt, 0, 135 aNew->pSchema = sqlite3SchemaGet(db, aNew->pBt); 143 pPager = sqlite3BtreePager(aNew->pBt); 145 sqlite3BtreeSecureDelete(aNew->pBt, 146 sqlite3BtreeSecureDelete(db->aDb[0].pBt,-1) ); 179 if( nKey>0 || sqlite3BtreeGetReserve(db->aDb[0].pBt)>0 ){ 200 if( db->aDb[iDb].pBt ){ 201 sqlite3BtreeClose(db->aDb[iDb].pBt); 202 db->aDb[iDb].pBt = 0; 252 if( pDb->pBt [all...] |
H A D | pragma.c | 110 if( db->aDb[1].pBt!=0 ){ 111 if( !db->autoCommit || sqlite3BtreeIsInReadTrans(db->aDb[1].pBt) ){ 116 sqlite3BtreeClose(db->aDb[1].pBt); 117 db->aDb[1].pBt = 0; 393 sqlite3BtreeSetCacheSize(pDb->pBt, pDb->pSchema->cache_size); 407 Btree *pBt = pDb->pBt; local 408 assert( pBt!=0 ); 410 int size = ALWAYS(pBt) ? sqlite3BtreeGetPageSize(pBt) 432 Btree *pBt = pDb->pBt; local 601 Btree *pBt = pDb->pBt; local 1447 Btree *pBt; local [all...] |
H A D | status.c | 145 Btree *pBt = db->aDb[i].pBt; local 146 if( pBt ){ 147 Pager *pPager = sqlite3BtreePager(pBt);
|
H A D | test_stat.c | 279 static int statDecodePage(Btree *pBt, StatPage *p){ argument 307 int nUsable = sqlite3BtreeGetPageSize(pBt) - sqlite3BtreeGetReserve(pBt); 346 rc = sqlite3PagerGet(sqlite3BtreePager(pBt), iPrev, &pPg); 370 Btree *pBt = pTab->db->aDb[0].pBt; local 371 Pager *pPager = sqlite3BtreePager(pBt); 403 int nUsable = sqlite3BtreeGetPageSize(pBt)-sqlite3BtreeGetReserve(pBt); 456 statDecodePage(pBt, [all...] |
H A D | vacuum.c | 129 pMain = db->aDb[0].pBt; 158 pTemp = db->aDb[db->nDb-1].pBt; 333 sqlite3BtreeClose(pDb->pBt); 334 pDb->pBt = 0;
|
H A D | backup.c | 117 return pDb->aDb[i].pBt; 232 assert( iSrcPg!=PENDING_BYTE_PAGE(p->pSrc->pBt) ); 269 if( iDest==PENDING_BYTE_PAGE(p->pDest->pBt) ) continue; 349 if( p->pDestDb && p->pSrc->pBt->inTransaction==TRANS_WRITE ){ 388 if( iSrcPg!=PENDING_BYTE_PAGE(p->pSrc->pBt) ){ 439 if( nDestTruncate==(int)PENDING_BYTE_PAGE(p->pDest->pBt) ){ 464 nDestTruncate==(int)(PENDING_BYTE_PAGE(p->pDest->pBt)-1) 619 assert( sqlite3_mutex_held(p->pSrc->pBt->mutex) ); 652 assert( sqlite3_mutex_held(p->pSrc->pBt->mutex) ); 694 pTo->pBt [all...] |
H A D | vdbeaux.c | 962 if( i!=1 && sqlite3BtreeSharable(p->db->aDb[i].pBt) ){ 1000 if( i!=1 && (mask & p->lockMask)!=0 && ALWAYS(aDb[i].pBt!=0) ){ 1001 sqlite3BtreeEnter(aDb[i].pBt); 1022 if( i!=1 && (mask & p->lockMask)!=0 && ALWAYS(aDb[i].pBt!=0) ){ 1023 sqlite3BtreeLeave(aDb[i].pBt); 1539 if( pCx->pBt ){ 1540 sqlite3BtreeClose(pCx->pBt); 1725 Btree *pBt = db->aDb[i].pBt; local 1726 if( sqlite3BtreeIsInTrans(pBt) ){ 1757 Btree *pBt = db->aDb[i].pBt; local 1769 Btree *pBt = db->aDb[i].pBt; local 1823 Btree *pBt = db->aDb[i].pBt; local 1868 Btree *pBt = db->aDb[i].pBt; local 1901 Btree *pBt = db->aDb[i].pBt; local 2000 Btree *pBt = db->aDb[i].pBt; local [all...] |
H A D | vdbe.c | 2654 rc = sqlite3BtreeSavepoint(db->aDb[ii].pBt, p1, iSavepoint); 2798 Btree *pBt; local 2802 pBt = db->aDb[pOp->p1].pBt; 2804 if( pBt ){ 2805 rc = sqlite3BtreeBeginTrans(pBt, pOp->p2); 2818 assert( sqlite3BtreeIsInTrans(pBt) ); 2824 rc = sqlite3BtreeBeginStmt(pBt, p->iStatement); 2856 assert( db->aDb[iDb].pBt!=0 ); 2859 sqlite3BtreeGetMeta(db->aDb[iDb].pBt, iCooki 2924 Btree *pBt; local 5284 Btree *pBt; /* Btree to change journal mode of */ local 5395 Btree *pBt; local 5825 Btree *pBt; local [all...] |
H A D | callback.c | 440 Schema *sqlite3SchemaGet(sqlite3 *db, Btree *pBt){ argument 442 if( pBt ){ 443 p = (Schema *)sqlite3BtreeSchema(pBt, sizeof(Schema), sqlite3SchemaClear);
|
H A D | main.c | 712 Btree *pBt = db->aDb[j].pBt; local 713 if( pBt && sqlite3BtreeIsInBackup(pBt) ){ 726 if( pDb->pBt ){ 727 sqlite3BtreeClose(pDb->pBt); 728 pDb->pBt = 0; 812 if( db->aDb[i].pBt ){ 813 if( sqlite3BtreeIsInTrans(db->aDb[i].pBt) ){ 816 sqlite3BtreeRollback(db->aDb[i].pBt); [all...] |
H A D | btree.h | 182 int sqlite3BtreeSetVersion(Btree *pBt, int iVersion);
|
H A D | recover.c | 395 Btree *pBt = NULL; local 399 pBt = db->aDb[i].pBt; 403 if( !pBt ){ 407 *pPager = sqlite3BtreePager(pBt); 408 *pnPageSize = sqlite3BtreeGetPageSize(pBt) - sqlite3BtreeGetReserve(pBt);
|
H A D | vdbeInt.h | 45 Btree *pBt; /* Separate file holding temporary table */ member in struct:VdbeCursor
|
H A D | vdbeapi.c | 320 Btree *pBt = db->aDb[i].pBt; local 321 if( pBt ){ 322 int nEntry = sqlite3PagerWalCallback(sqlite3BtreePager(pBt));
|
H A D | build.c | 453 if( pDb->pBt==0 ){ 3355 /* if( db->aDb[0].pBt==0 ) return; */ 3380 /* if( db->aDb[0].pBt==0 ) return; */ 3400 /* if( db->aDb[0].pBt==0 ) return; */ 3436 if( db->aDb[1].pBt==0 && !pParse->explain ){ 3438 Btree *pBt; local 3446 rc = sqlite3BtreeOpen(0, db, &pBt, 0, flags); 3453 db->aDb[1].pBt = pBt; 3455 if( SQLITE_NOMEM==sqlite3BtreeSetPageSize(pBt, d [all...] |
/external/chromium_org/third_party/sqlite/amalgamation/ |
H A D | sqlite3.c | 7808 SQLITE_PRIVATE int sqlite3BtreeSetVersion(Btree *pBt, int iVersion); 9008 Btree *pBt; /* The B*Tree structure for this database file */ member in struct:Db 12259 Btree *pBt; /* Separate file holding temporary table */ member in struct:VdbeCursor 12767 Btree *pBt = db->aDb[i].pBt; local 12768 if( pBt ){ 12769 Pager *pPager = sqlite3BtreePager(pBt); 14822 void **pBt; local 14836 pBt = (void**)&z[mem.nTitle]; 14837 pHdr = (struct MemBlockHdr*)&pBt[me 14881 void **pBt; local 15044 void **pBt = (void**)pHdr; local 15057 void **pBt; local 46492 BtShared *pBt; /* Pointer to BtShared that this page is part of */ member in struct:MemPage 46546 BtShared *pBt; /* Sharable content of this btree */ member in struct:Btree 46688 BtShared *pBt; /* The BtShared this cursor points to */ member in struct:BtCursor 46829 BtShared *pBt; /* The tree being checked out */ member in struct:IntegrityCk 46872 BtShared *pBt = p->pBt; local 47342 BtShared *pBt = p->pBt; local 47414 BtShared *pBt = p->pBt; local 47478 BtShared *pBt = p->pBt; local 47523 BtShared *pBt = p->pBt; local 47566 invalidateAllOverflowCache(BtShared *pBt) argument 47593 BtShared *pBt = pBtree->pBt; local 47644 btreeSetHasContent(BtShared *pBt, Pgno pgno) argument 47666 btreeGetHasContent(BtShared *pBt, Pgno pgno) argument 47675 btreeClearHasContent(BtShared *pBt) argument 47737 saveAllCursors(BtShared *pBt, Pgno iRoot, BtCursor *pExcept) argument 47857 ptrmapPageno(BtShared *pBt, Pgno pgno) argument 47881 ptrmapPut(BtShared *pBt, Pgno key, u8 eType, Pgno parent, int *pRC) argument 47932 ptrmapGet(BtShared *pBt, Pgno key, u8 *pEType, Pgno *pPgno) argument 48457 BtShared *pBt; /* A copy of pPage->pBt */ local 48502 BtShared *pBt; /* The main btree structure */ local 48602 BtShared *pBt = pPage->pBt; local 48635 btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt) argument 48656 btreeGetPage( BtShared *pBt, Pgno pgno, MemPage **ppPage, int noContent ) argument 48677 btreePageLookup(BtShared *pBt, Pgno pgno) argument 48691 btreePagecount(BtShared *pBt) argument 48708 getAndInitPage( BtShared *pBt, Pgno pgno, MemPage **ppPage ) argument 48779 BtShared *pBt = (BtShared*)pArg; local 48817 BtShared *pBt = 0; /* Shared part of btree structure */ local 49075 removeFromSharingList(BtShared *pBt) argument 49113 allocateTempSpace(BtShared *pBt) argument 49122 freeTempSpace(BtShared *pBt) argument 49131 BtShared *pBt = p->pBt; local 49201 BtShared *pBt = p->pBt; local 49224 BtShared *pBt = p->pBt; local 49239 BtShared *pBt = p->pBt; local 49271 BtShared *pBt = p->pBt; local 49404 lockBtree(BtShared *pBt) argument 49554 unlockBtreeIfUnused(BtShared *pBt) argument 49571 newDatabase(BtShared *pBt) argument 49647 BtShared *pBt = p->pBt; local 49789 BtShared *pBt = pPage->pBt; local 49894 relocatePage( BtShared *pBt, MemPage *pDbPage, u8 eType, Pgno iPtrPage, Pgno iFreePage, int isCommit ) argument 49988 incrVacuumStep(BtShared *pBt, Pgno nFin, Pgno iLastPg) argument 50099 BtShared *pBt = p->pBt; local 50126 autoVacuumCommit(BtShared *pBt) argument 50216 BtShared *pBt = p->pBt; local 50238 BtShared *pBt = p->pBt; local 50307 BtShared *pBt = p->pBt; local 50348 countWriteCursors(BtShared *pBt) argument 50402 BtShared *pBt = p->pBt; local 50470 BtShared *pBt = p->pBt; local 50502 BtShared *pBt = p->pBt; local 50561 BtShared *pBt = p->pBt; /* Shared b-tree handle */ local 50678 BtShared *pBt = pCur->pBt; local 50823 getOverflowPage( BtShared *pBt, Pgno ovfl, MemPage **ppPage, Pgno *pPgnoNext ) argument 50952 BtShared *pBt = pCur->pBt; /* Btree this cursor belongs to */ local 51225 BtShared *pBt = pCur->pBt; local 51316 BtShared *pBt = p->pBt; local 51866 allocateBtreePage( BtShared *pBt, MemPage **ppPage, Pgno *pPgno, Pgno nearby, u8 exact ) argument 52145 freePage2(BtShared *pBt, MemPage *pMemPage, Pgno iPage) argument 52277 BtShared *pBt = pPage->pBt; local 52363 BtShared *pBt = pPage->pBt; local 52725 BtShared *const pBt = pPage->pBt; /* B-Tree Database */ local 52866 BtShared * const pBt = pFrom->pBt; local 52951 BtShared *pBt; /* The whole database */ local 53574 BtShared *pBt = pRoot->pBt; /* The BTree */ local 53773 BtShared *pBt = p->pBt; local 53903 BtShared *pBt = p->pBt; local 54025 BtShared *pBt = p->pBt; local 54171 clearDatabasePage( BtShared *pBt, Pgno pgno, int freePageFlag, int *pnChange ) argument 54231 BtShared *pBt = p->pBt; local 54271 BtShared *pBt = p->pBt; local 54394 BtShared *pBt = p->pBt; local 54418 BtShared *pBt = p->pBt; local 54704 BtShared *pBt; local 54926 BtShared *pBt = p->pBt; local 55066 BtShared *pBt = p->pBt; local 55115 BtShared *pBt = p->pBt; local 55234 BtShared *pBt = pBtree->pBt; local 58850 Btree *pBt = db->aDb[i].pBt; local 58882 Btree *pBt = db->aDb[i].pBt; local 58894 Btree *pBt = db->aDb[i].pBt; local 58948 Btree *pBt = db->aDb[i].pBt; local 58993 Btree *pBt = db->aDb[i].pBt; local 59026 Btree *pBt = db->aDb[i].pBt; local 59125 Btree *pBt = db->aDb[i].pBt; local 60654 Btree *pBt = db->aDb[i].pBt; local 62612 Btree *pBt; member in struct:vdbeExecUnion::OP_Transaction_stack_vars 62625 Btree *pBt; member in struct:vdbeExecUnion::OP_VerifyCookie_stack_vars 62822 Btree *pBt; /* Btree to change journal mode of */ member in struct:vdbeExecUnion::OP_JournalMode_stack_vars 62829 Btree *pBt; member in struct:vdbeExecUnion::OP_IncrVacuum_stack_vars 68267 Btree *pBt; local 80277 Btree *pBt; local 81038 sqlite3SchemaGet(sqlite3 *db, Btree *pBt) argument 87943 Btree *pBt = pDb->pBt; local 87968 Btree *pBt = pDb->pBt; local 88137 Btree *pBt = pDb->pBt; local 88983 Btree *pBt; local 89516 Btree *pBt = db->aDb[iDb].pBt; /* Btree database to read cookie from */ local 89632 Btree *pBt = db->aDb[i].pBt; local 107957 Btree *pBt = db->aDb[j].pBt; local 110641 Btree *pBt = NULL; local [all...] |
/external/sqlite/dist/orig/ |
H A D | sqlite3.c | 9026 SQLITE_PRIVATE int sqlite3BtreeSetVersion(Btree *pBt, int iVersion); 9028 SQLITE_PRIVATE int sqlite3BtreeIsReadonly(Btree *pBt); 10321 Btree *pBt; /* The B*Tree structure for this database file */ member in struct:Db 13923 Btree *pBt; /* Separate file holding temporary table */ member in struct:VdbeCursor 14475 Btree *pBt = db->aDb[i].pBt; local 14476 if( pBt ){ 14477 Pager *pPager = sqlite3BtreePager(pBt); 14566 if( db->aDb[i].pBt ){ 14567 Pager *pPager = sqlite3BtreePager(db->aDb[i].pBt); 16816 void **pBt; local 16875 void **pBt; local 17038 void **pBt = (void**)pHdr; local 17051 void **pBt; local 50886 BtShared *pBt; /* Pointer to BtShared that this page is part of */ member in struct:MemPage 50942 BtShared *pBt; /* Sharable content of this btree */ member in struct:Btree 51091 BtShared *pBt; /* The BtShared this cursor points to */ member in struct:BtCursor 51249 BtShared *pBt; /* The tree being checked out */ member in struct:IntegrityCk 51292 BtShared *pBt = p->pBt; local 51781 BtShared *pBt = p->pBt; local 51853 BtShared *pBt = p->pBt; local 51917 BtShared *pBt = p->pBt; local 51961 BtShared *pBt = p->pBt; local 51998 invalidateAllOverflowCache(BtShared *pBt) argument 52026 BtShared *pBt = pBtree->pBt; local 52075 btreeSetHasContent(BtShared *pBt, Pgno pgno) argument 52097 btreeGetHasContent(BtShared *pBt, Pgno pgno) argument 52106 btreeClearHasContent(BtShared *pBt) argument 52176 saveAllCursors(BtShared *pBt, Pgno iRoot, BtCursor *pExcept) argument 52322 ptrmapPageno(BtShared *pBt, Pgno pgno) argument 52346 ptrmapPut(BtShared *pBt, Pgno key, u8 eType, Pgno parent, int *pRC) argument 52398 ptrmapGet(BtShared *pBt, Pgno key, u8 *pEType, Pgno *pPgno) argument 52929 BtShared *pBt; /* A copy of pPage->pBt */ local 52975 BtShared *pBt; /* The main btree structure */ local 53077 BtShared *pBt = pPage->pBt; local 53111 btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt) argument 53132 btreeGetPage( BtShared *pBt, Pgno pgno, MemPage **ppPage, int flags ) argument 53154 btreePageLookup(BtShared *pBt, Pgno pgno) argument 53168 btreePagecount(BtShared *pBt) argument 53185 getAndInitPage( BtShared *pBt, Pgno pgno, MemPage **ppPage, int bReadonly ) argument 53259 BtShared *pBt = (BtShared*)pArg; local 53294 BtShared *pBt = 0; /* Shared part of btree structure */ local 53563 removeFromSharingList(BtShared *pBt) argument 53601 allocateTempSpace(BtShared *pBt) argument 53622 freeTempSpace(BtShared *pBt) argument 53631 BtShared *pBt = p->pBt; local 53701 BtShared *pBt = p->pBt; local 53715 BtShared *pBt = p->pBt; local 53737 BtShared *pBt = p->pBt; local 53751 BtShared *pBt = p->pBt; local 53783 BtShared *pBt = p->pBt; local 53935 lockBtree(BtShared *pBt) argument 54095 countValidCursors(BtShared *pBt, int wrOnly) argument 54114 unlockBtreeIfUnused(BtShared *pBt) argument 54131 newDatabase(BtShared *pBt) argument 54221 BtShared *pBt = p->pBt; local 54368 BtShared *pBt = pPage->pBt; local 54474 relocatePage( BtShared *pBt, MemPage *pDbPage, u8 eType, Pgno iPtrPage, Pgno iFreePage, int isCommit ) argument 54567 incrVacuumStep(BtShared *pBt, Pgno nFin, Pgno iLastPg, int bCommit) argument 54663 finalDbSize(BtShared *pBt, Pgno nOrig, Pgno nFree) argument 54691 BtShared *pBt = p->pBt; local 54731 autoVacuumCommit(BtShared *pBt) argument 54813 BtShared *pBt = p->pBt; local 54838 BtShared *pBt = p->pBt; local 54910 BtShared *pBt = p->pBt; local 54986 BtShared *pBt = p->pBt; local 55050 BtShared *pBt = p->pBt; local 55082 BtShared *pBt = p->pBt; local 55143 BtShared *pBt = p->pBt; /* Shared b-tree handle */ local 55231 BtShared *pBt = pCur->pBt; local 55376 getOverflowPage( BtShared *pBt, Pgno ovfl, MemPage **ppPage, Pgno *pPgnoNext ) argument 55507 BtShared *pBt = pCur->pBt; /* Btree this cursor belongs to */ local 55800 BtShared *pBt = pCur->pBt; local 56530 allocateBtreePage( BtShared *pBt, MemPage **ppPage, Pgno *pPgno, Pgno nearby, u8 eMode ) argument 56849 freePage2(BtShared *pBt, MemPage *pMemPage, Pgno iPage) argument 56981 BtShared *pBt = pPage->pBt; local 57070 BtShared *pBt = pPage->pBt; local 57426 BtShared *const pBt = pPage->pBt; /* B-Tree Database */ local 57567 BtShared * const pBt = pFrom->pBt; local 57656 BtShared *pBt; /* The whole database */ local 58307 BtShared *pBt = pRoot->pBt; /* The BTree */ local 58509 BtShared *pBt = p->pBt; local 58647 BtShared *pBt = p->pBt; local 58770 BtShared *pBt = p->pBt; local 58923 clearDatabasePage( BtShared *pBt, Pgno pgno, int freePageFlag, int *pnChange ) argument 58985 BtShared *pBt = p->pBt; local 59034 BtShared *pBt = p->pBt; local 59157 BtShared *pBt = p->pBt; local 59183 BtShared *pBt = p->pBt; local 59494 BtShared *pBt; local 59716 BtShared *pBt = p->pBt; local 59855 BtShared *pBt = p->pBt; local 59904 BtShared *pBt = p->pBt; local 60025 BtShared *pBt = pBtree->pBt; local 64149 Btree *pBt = db->aDb[i].pBt; local 64183 Btree *pBt = db->aDb[i].pBt; local 64195 Btree *pBt = db->aDb[i].pBt; local 64265 Btree *pBt = db->aDb[i].pBt; local 64310 Btree *pBt = db->aDb[i].pBt; local 64343 Btree *pBt = db->aDb[i].pBt; local 64419 Btree *pBt = db->aDb[i].pBt; local 66597 Btree *pBt = db->aDb[i].pBt; local 71040 Btree *pBt; local 73776 Btree *pBt; /* Btree to change journal mode of */ local 73891 Btree *pBt; local 74350 Btree *pBt; local 89917 Btree *pBt; local 90813 sqlite3SchemaGet(sqlite3 *db, Btree *pBt) argument 99074 Btree *pBt = pDb->pBt; local 99100 Btree *pBt = pDb->pBt; local 99271 Btree *pBt = pDb->pBt; local 100491 Btree *pBt; local 101025 Btree *pBt = db->aDb[iDb].pBt; /* Btree database to read cookie from */ local 101152 Btree *pBt = db->aDb[i].pBt; local 122770 Btree *pBt = db->aDb[i].pBt; local 122981 Btree *pBt = db->aDb[j].pBt; local 125611 Btree *pBt = sqlite3DbNameToBtree(db, zDbName); local 125620 Btree *pBt = sqlite3DbNameToBtree(db, zDbName); local [all...] |
/external/sqlite/dist/ |
H A D | sqlite3.c | 9026 SQLITE_PRIVATE int sqlite3BtreeSetVersion(Btree *pBt, int iVersion); 9028 SQLITE_PRIVATE int sqlite3BtreeIsReadonly(Btree *pBt); 10321 Btree *pBt; /* The B*Tree structure for this database file */ member in struct:Db 13923 Btree *pBt; /* Separate file holding temporary table */ member in struct:VdbeCursor 14475 Btree *pBt = db->aDb[i].pBt; local 14476 if( pBt ){ 14477 Pager *pPager = sqlite3BtreePager(pBt); 14566 if( db->aDb[i].pBt ){ 14567 Pager *pPager = sqlite3BtreePager(db->aDb[i].pBt); 16816 void **pBt; local 16875 void **pBt; local 17038 void **pBt = (void**)pHdr; local 17051 void **pBt; local 50906 BtShared *pBt; /* Pointer to BtShared that this page is part of */ member in struct:MemPage 50962 BtShared *pBt; /* Sharable content of this btree */ member in struct:Btree 51111 BtShared *pBt; /* The BtShared this cursor points to */ member in struct:BtCursor 51269 BtShared *pBt; /* The tree being checked out */ member in struct:IntegrityCk 51312 BtShared *pBt = p->pBt; local 51801 BtShared *pBt = p->pBt; local 51873 BtShared *pBt = p->pBt; local 51937 BtShared *pBt = p->pBt; local 51981 BtShared *pBt = p->pBt; local 52018 invalidateAllOverflowCache(BtShared *pBt) argument 52046 BtShared *pBt = pBtree->pBt; local 52095 btreeSetHasContent(BtShared *pBt, Pgno pgno) argument 52117 btreeGetHasContent(BtShared *pBt, Pgno pgno) argument 52126 btreeClearHasContent(BtShared *pBt) argument 52196 saveAllCursors(BtShared *pBt, Pgno iRoot, BtCursor *pExcept) argument 52342 ptrmapPageno(BtShared *pBt, Pgno pgno) argument 52366 ptrmapPut(BtShared *pBt, Pgno key, u8 eType, Pgno parent, int *pRC) argument 52418 ptrmapGet(BtShared *pBt, Pgno key, u8 *pEType, Pgno *pPgno) argument 52949 BtShared *pBt; /* A copy of pPage->pBt */ local 52995 BtShared *pBt; /* The main btree structure */ local 53097 BtShared *pBt = pPage->pBt; local 53131 btreePageFromDbPage(DbPage *pDbPage, Pgno pgno, BtShared *pBt) argument 53152 btreeGetPage( BtShared *pBt, Pgno pgno, MemPage **ppPage, int flags ) argument 53174 btreePageLookup(BtShared *pBt, Pgno pgno) argument 53188 btreePagecount(BtShared *pBt) argument 53205 getAndInitPage( BtShared *pBt, Pgno pgno, MemPage **ppPage, int bReadonly ) argument 53279 BtShared *pBt = (BtShared*)pArg; local 53314 BtShared *pBt = 0; /* Shared part of btree structure */ local 53583 removeFromSharingList(BtShared *pBt) argument 53621 allocateTempSpace(BtShared *pBt) argument 53642 freeTempSpace(BtShared *pBt) argument 53651 BtShared *pBt = p->pBt; local 53721 BtShared *pBt = p->pBt; local 53735 BtShared *pBt = p->pBt; local 53757 BtShared *pBt = p->pBt; local 53771 BtShared *pBt = p->pBt; local 53803 BtShared *pBt = p->pBt; local 53955 lockBtree(BtShared *pBt) argument 54115 countValidCursors(BtShared *pBt, int wrOnly) argument 54134 unlockBtreeIfUnused(BtShared *pBt) argument 54151 newDatabase(BtShared *pBt) argument 54241 BtShared *pBt = p->pBt; local 54388 BtShared *pBt = pPage->pBt; local 54494 relocatePage( BtShared *pBt, MemPage *pDbPage, u8 eType, Pgno iPtrPage, Pgno iFreePage, int isCommit ) argument 54587 incrVacuumStep(BtShared *pBt, Pgno nFin, Pgno iLastPg, int bCommit) argument 54683 finalDbSize(BtShared *pBt, Pgno nOrig, Pgno nFree) argument 54711 BtShared *pBt = p->pBt; local 54751 autoVacuumCommit(BtShared *pBt) argument 54833 BtShared *pBt = p->pBt; local 54858 BtShared *pBt = p->pBt; local 54930 BtShared *pBt = p->pBt; local 55006 BtShared *pBt = p->pBt; local 55070 BtShared *pBt = p->pBt; local 55102 BtShared *pBt = p->pBt; local 55163 BtShared *pBt = p->pBt; /* Shared b-tree handle */ local 55251 BtShared *pBt = pCur->pBt; local 55396 getOverflowPage( BtShared *pBt, Pgno ovfl, MemPage **ppPage, Pgno *pPgnoNext ) argument 55527 BtShared *pBt = pCur->pBt; /* Btree this cursor belongs to */ local 55820 BtShared *pBt = pCur->pBt; local 56550 allocateBtreePage( BtShared *pBt, MemPage **ppPage, Pgno *pPgno, Pgno nearby, u8 eMode ) argument 56869 freePage2(BtShared *pBt, MemPage *pMemPage, Pgno iPage) argument 57001 BtShared *pBt = pPage->pBt; local 57090 BtShared *pBt = pPage->pBt; local 57446 BtShared *const pBt = pPage->pBt; /* B-Tree Database */ local 57587 BtShared * const pBt = pFrom->pBt; local 57676 BtShared *pBt; /* The whole database */ local 58327 BtShared *pBt = pRoot->pBt; /* The BTree */ local 58529 BtShared *pBt = p->pBt; local 58667 BtShared *pBt = p->pBt; local 58790 BtShared *pBt = p->pBt; local 58943 clearDatabasePage( BtShared *pBt, Pgno pgno, int freePageFlag, int *pnChange ) argument 59005 BtShared *pBt = p->pBt; local 59054 BtShared *pBt = p->pBt; local 59177 BtShared *pBt = p->pBt; local 59203 BtShared *pBt = p->pBt; local 59514 BtShared *pBt; local 59736 BtShared *pBt = p->pBt; local 59875 BtShared *pBt = p->pBt; local 59924 BtShared *pBt = p->pBt; local 60045 BtShared *pBt = pBtree->pBt; local 64169 Btree *pBt = db->aDb[i].pBt; local 64203 Btree *pBt = db->aDb[i].pBt; local 64215 Btree *pBt = db->aDb[i].pBt; local 64285 Btree *pBt = db->aDb[i].pBt; local 64330 Btree *pBt = db->aDb[i].pBt; local 64363 Btree *pBt = db->aDb[i].pBt; local 64439 Btree *pBt = db->aDb[i].pBt; local 66617 Btree *pBt = db->aDb[i].pBt; local 71060 Btree *pBt; local 73796 Btree *pBt; /* Btree to change journal mode of */ local 73911 Btree *pBt; local 74370 Btree *pBt; local 89937 Btree *pBt; local 90833 sqlite3SchemaGet(sqlite3 *db, Btree *pBt) argument 99094 Btree *pBt = pDb->pBt; local 99120 Btree *pBt = pDb->pBt; local 99291 Btree *pBt = pDb->pBt; local 100511 Btree *pBt; local 101045 Btree *pBt = db->aDb[iDb].pBt; /* Btree database to read cookie from */ local 101172 Btree *pBt = db->aDb[i].pBt; local 122790 Btree *pBt = db->aDb[i].pBt; local 123001 Btree *pBt = db->aDb[j].pBt; local 125631 Btree *pBt = sqlite3DbNameToBtree(db, zDbName); local 125640 Btree *pBt = sqlite3DbNameToBtree(db, zDbName); local [all...] |