Searched refs:Btree (Results 1 - 24 of 24) sorted by relevance

/external/chromium_org/third_party/sqlite/src/src/
H A Dbtree.h39 typedef struct Btree Btree; typedef in typeref:struct:Btree
47 Btree **ppBtree, /* Return open Btree* here */
64 int sqlite3BtreeClose(Btree*);
65 int sqlite3BtreeSetCacheSize(Btree*,int);
66 int sqlite3BtreeSetSafetyLevel(Btree*,int,int,int);
67 int sqlite3BtreeSyncDisabled(Btree*);
68 int sqlite3BtreeSetPageSize(Btree *p, int nPagesize, int nReserve, int eFix);
69 int sqlite3BtreeGetPageSize(Btree*);
[all...]
H A Dbtmutex.c13 ** This file contains code used to implement mutexes on Btree objects.
27 static void lockBtreeMutex(Btree *p){
41 static void unlockBtreeMutex(Btree *p){
57 ** But we keep a reference count in Btree.wantToLock so the behavior
62 ** Btrees belonging to the same database connection as the p Btree
68 void sqlite3BtreeEnter(Btree *p){
69 Btree *pLater;
71 /* Some basic sanity checking on the Btree. The list of Btrees
73 ** Btree.pBt value. All elements of the list should belong to
128 ** Exit the recursive mutex on a Btree
[all...]
H A DbtreeInt.h311 Btree *pBtree; /* Btree handle holding this lock */
321 /* A Btree handle
338 ** in the referenced BtShared that point back to this Btree since those
339 ** cursors have to go through this Btree to find their BtShared and
342 struct Btree { struct
350 Btree *pNext; /* List of other sharable Btrees from the same db */
351 Btree *pPrev; /* Back pointer of the same list */
358 ** Btree.inTrans may take one of the following values.
361 ** of the Btree structur
[all...]
H A Dtest3.c66 Btree *pBt;
104 Btree *pBt;
139 Btree *pBt;
168 Btree *pBt;
218 Btree *pBt;
265 Btree *pBt;
527 Btree *pBt;
564 Btree *pBt;
594 Btree *pBt;
H A Dtest_btree.c48 void sqlite3BtreeCursorList(Btree *p){
H A Dbtree.c106 ** Btree connection pBtree:
122 Btree *pBtree, /* Handle that must hold lock */
191 ** It is illegal for pBtree to write if some other Btree object that
193 ** the iRoot table. Except, if the other Btree object has the
202 static int hasReadConflicts(Btree *pBtree, Pgno iRoot){
217 ** Query to see if Btree handle p may obtain a lock of type eLock
222 static int querySharedCacheTableLock(Btree *p, Pgno iTab, u8 eLock){
231 /* If requesting a write-lock, then the Btree must have an open write
279 ** by Btree handle p. Parameter eLock must be either READ_LOCK or
284 ** (a) The specified Btree objec
[all...]
H A Dvacuum.c97 Btree *pMain; /* The database being vacuumed */
98 Btree *pTemp; /* The temporary database we vacuum into */
294 /* Copy Btree meta values */
H A Dbackup.c29 Btree *pDest; /* Destination b-tree file */
35 Btree *pSrc; /* Source b-tree file */
74 ** the Btree objects may have their own mutexes that require locking.
88 static Btree *findBtree(sqlite3 *pErrorDb, sqlite3 *pDb, const char *zDb){
278 ** Then clear the Btree layer MemPage.isInit flag. Both this module
280 ** of the page 'extra' space to invalidate the Btree layers
566 /* If a transaction is still open on the Btree, roll it back. */
666 int sqlite3BtreeCopyFile(Btree *pTo, Btree *pFrom){
H A Dstatus.c145 Btree *pBt = db->aDb[i].pBt;
H A Dtest_stat.c279 static int statDecodePage(Btree *pBt, StatPage *p){
370 Btree *pBt = pTab->db->aDb[0].pBt;
H A DvdbeInt.h36 ** loop over all entries of the Btree. You can also insert new BTree
45 Btree *pBt; /* Separate file holding temporary table */
H A Dprepare.c454 Btree *pBt = db->aDb[iDb].pBt; /* Btree database to read cookie from */
570 Btree *pBt = db->aDb[i].pBt;
H A Dvdbeaux.c1725 Btree *pBt = db->aDb[i].pBt;
1757 Btree *pBt = db->aDb[i].pBt;
1769 Btree *pBt = db->aDb[i].pBt;
1823 Btree *pBt = db->aDb[i].pBt;
1868 Btree *pBt = db->aDb[i].pBt;
1901 Btree *pBt = db->aDb[i].pBt;
1946 ** For every Btree that in database connection db which
1948 ** that Btree might have been modified so that the cursor
1964 Btree *p = db->aDb[i].pBt;
2000 Btree *pB
[all...]
H A Dcallback.c440 Schema *sqlite3SchemaGet(sqlite3 *db, Btree *pBt){
H A Dpragma.c407 Btree *pBt = pDb->pBt;
432 Btree *pBt = pDb->pBt;
601 Btree *pBt = pDb->pBt;
1447 Btree *pBt;
H A Dvdbe.c2798 Btree *pBt;
2924 Btree *pBt;
3018 Btree *pX;
5284 Btree *pBt; /* Btree to change journal mode of */
5395 Btree *pBt;
5825 Btree *pBt;
H A Dmain.c712 Btree *pBt = db->aDb[j].pBt;
2425 Btree *pBtree = db->aDb[iDb].pBt;
H A DsqliteInt.h663 Btree *pBt; /* The B*Tree structure for this database file */
672 ** Most Schema objects are associated with a Btree. The exception is
677 ** Schema objects are automatically deallocated when the last Btree that
681 ** A thread must be holding a mutex on the corresponding Btree in order
683 ** holding a mutex on the sqlite3 connection pointer that owns the Btree.
2999 Schema *sqlite3SchemaGet(sqlite3 *, Btree *);
H A Dvdbeapi.c320 Btree *pBt = db->aDb[i].pBt;
H A Drecover.c218 * Btree, Pager, and DbPage structs.
395 Btree *pBt = NULL;
H A Dbuild.c2311 int iTab = pParse->nTab++; /* Btree cursor used for pTab */
2312 int iIdx = pParse->nTab++; /* Btree cursor used for pIndex */
3438 Btree *pBt;
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.c7665 typedef struct Btree Btree; typedef in typeref:struct:Btree
7673 Btree **ppBtree, /* Return open Btree* here */
7690 SQLITE_PRIVATE int sqlite3BtreeClose(Btree*);
7691 SQLITE_PRIVATE int sqlite3BtreeSetCacheSize(Btree*,int);
7692 SQLITE_PRIVATE int sqlite3BtreeSetSafetyLevel(Btree*,int,int,int);
7693 SQLITE_PRIVATE int sqlite3BtreeSyncDisabled(Btree*);
7694 SQLITE_PRIVATE int sqlite3BtreeSetPageSize(Btree *p, int nPagesize, int nReserve, int eFix);
7695 SQLITE_PRIVATE int sqlite3BtreeGetPageSize(Btree*);
46544 struct Btree { struct
[all...]
/external/sqlite/dist/orig/
H A Dsqlite3.c8870 typedef struct Btree Btree; typedef in typeref:struct:Btree
8879 Btree **ppBtree, /* Return open Btree* here */
8895 SQLITE_PRIVATE int sqlite3BtreeClose(Btree*);
8896 SQLITE_PRIVATE int sqlite3BtreeSetCacheSize(Btree*,int);
8898 SQLITE_PRIVATE int sqlite3BtreeSetMmapLimit(Btree*,sqlite3_int64);
8900 SQLITE_PRIVATE int sqlite3BtreeSetPagerFlags(Btree*,unsigned);
8901 SQLITE_PRIVATE int sqlite3BtreeSyncDisabled(Btree*);
8902 SQLITE_PRIVATE int sqlite3BtreeSetPageSize(Btree *
50940 struct Btree { struct
[all...]
/external/sqlite/dist/
H A Dsqlite3.c8870 typedef struct Btree Btree; typedef in typeref:struct:Btree
8879 Btree **ppBtree, /* Return open Btree* here */
8895 SQLITE_PRIVATE int sqlite3BtreeClose(Btree*);
8896 SQLITE_PRIVATE int sqlite3BtreeSetCacheSize(Btree*,int);
8898 SQLITE_PRIVATE int sqlite3BtreeSetMmapLimit(Btree*,sqlite3_int64);
8900 SQLITE_PRIVATE int sqlite3BtreeSetPagerFlags(Btree*,unsigned);
8901 SQLITE_PRIVATE int sqlite3BtreeSyncDisabled(Btree*);
8902 SQLITE_PRIVATE int sqlite3BtreeSetPageSize(Btree *
50960 struct Btree { struct
[all...]

Completed in 3240 milliseconds