HomeSort by relevance Sort by last modified time
    Searched refs:pgno (Results 1 - 18 of 18) sorted by null

  /external/chromium_org/third_party/sqlite/src/src/
btreeInt.h 293 Pgno pgno; /* Page number for this page */ member in struct:MemPage
312 Pgno iTable; /* Root page of table */
489 Pgno pgnoRoot; /* The root page of this tree */
500 Pgno *aOverflow; /* Cache of overflow page locations */
553 ** If the pgno argument passed to PTRMAP_PAGENO is a pointer-map page,
554 ** then pgno is returned. So (pgno==PTRMAP_PAGENO(pgsz, pgno)) can be
555 ** used to test if pgno is a pointer-map page. PTRMAP_ISPAGE implement
    [all...]
pcache.c 131 if( p->pgno==1 ){
206 Pgno pgno, /* Page number to obtain */
215 assert( pgno>0 );
234 pPage = sqlite3GlobalConfig.pcache.xFetch(pCache->pCache, pgno, eCreate);
262 pPage = sqlite3GlobalConfig.pcache.xFetch(pCache->pCache, pgno, 2);
272 pPage->pgno = pgno;
275 assert( pPage->pgno==pgno );
    [all...]
test_journal.c 400 u32 pgno = decodeUint32(&aData[8+4*iLeaf]); local
401 sqlite3BitvecSet(pMain->pWritable, pgno);
475 u32 pgno; local
478 pgno = decodeUint32(zBuf);
479 if( pgno>0 && pgno<=pMain->nPage ){
480 if( 0==sqlite3BitvecTest(pMain->pWritable, pgno) ){
484 assert( cksum==pMain->aCksum[pgno-1] );
487 sqlite3BitvecSet(pMain->pWritable, pgno);
553 u32 pgno = iOfst/p->nPagesize + 1 local
580 u32 pgno; local
    [all...]
pager.c 449 Pgno nOrig; /* Original number of pages in file */
450 Pgno iSubRec; /* Index of first record in sub-journal */
640 Pgno dbSize; /* Number of pages in the database */
641 Pgno dbOrigSize; /* dbSize before the current transaction */
642 Pgno dbFileSize; /* Number of pages in the database file */
643 Pgno dbHintSize; /* Value passed to FCNTL_SIZE_HINT call */
667 Pgno mxPgno; /* Maximum allowed size of the database */
993 Pgno pgno = pPg->pgno; local
2105 Pgno pgno; \/* The page number of a page in journal *\/ local
2797 Pgno pgno = pPg->pgno; \/* Page number to read *\/ local
4012 Pgno pgno = pList->pgno; local
    [all...]
test2.c 329 ** Usage: page_get ID PGNO
342 int pgno; local
346 " ID PGNO\"", 0);
350 if( Tcl_GetInt(interp, argv[2], &pgno) ) return TCL_ERROR;
353 rc = sqlite3PagerGet(pPager, pgno, &pPage);
365 ** Usage: page_lookup ID PGNO
379 int pgno; local
382 " ID PGNO\"", 0);
386 if( Tcl_GetInt(interp, argv[2], &pgno) ) return TCL_ERROR;
387 pPage = sqlite3PagerLookup(pPager, pgno);
405 int pgno; local
    [all...]
pager.h 33 typedef u32 Pgno;
53 #define PAGER_MJ_PGNO(x) ((Pgno)((PENDING_BYTE/((x)->pageSize))+1))
115 int sqlite3PagerAcquire(Pager *pPager, Pgno pgno, DbPage **ppPage, int clrFlag);
117 DbPage *sqlite3PagerLookup(Pager *pPager, Pgno pgno);
124 int sqlite3PagerMovepage(Pager*,DbPage*,Pgno,int);
160 void sqlite3PagerTruncateImage(Pager*,Pgno);
168 Pgno sqlite3PagerPagenumber(DbPage*);
pcache.h 29 Pgno pgno; /* Page number for this page */ member in struct:PgHdr
88 int sqlite3PcacheFetch(PCache*, Pgno, int createFlag, PgHdr**);
97 void sqlite3PcacheMove(PgHdr*, Pgno);
99 /* Remove all pages with pgno>x. Reset the cache if x==0 */
100 void sqlite3PcacheTruncate(PCache*, Pgno x);
test_btree.c 57 pPage ? pPage->pgno : 0, pCur->aiIdx[pCur->iPage],
btree.c 123 Pgno iRoot, /* Root page of b-tree */
128 Pgno iTab = 0;
202 static int hasReadConflicts(Btree *pBtree, Pgno iRoot){
222 static int querySharedCacheTableLock(Btree *p, Pgno iTab, u8 eLock){
294 static int setSharedCacheTableLock(Btree *p, Pgno iTable, u8 eLock){
491 ** Set bit pgno of the BtShared.pHasContent bitvec. This is called
525 static int btreeSetHasContent(BtShared *pBt, Pgno pgno){
528 assert( pgno<=pBt->nPage );
534 if( rc==SQLITE_OK && pgno<=sqlite3BitvecSize(pBt->pHasContent) )
2672 Pgno pgno = pPage->pgno; local
3725 Pgno pgno; local
4270 Pgno pgno; local
4295 Pgno pgno; local
5858 Pgno pgno; \/* Temp var to store a page number in *\/ local
7581 int i, rc, depth, d2, pgno, cnt; local
    [all...]
wal.h 63 int sqlite3WalRead(Wal *pWal, Pgno pgno, int *pInWal, int nOut, u8 *pOut);
66 Pgno sqlite3WalDbsize(Wal *pWal);
73 int sqlite3WalUndo(Wal *pWal, int (*xUndo)(void *, Pgno), void *pUndoCtx);
84 int sqlite3WalFrames(Wal *pWal, int, PgHdr *, Pgno, int, int);
wal.c 687 u32 pgno; /* Page number of the frame */ local
699 pgno = sqlite3Get4byte(&aFrame[0]);
700 if( pgno==0 ){
722 *piPage = pgno;
1140 u32 pgno; \/* Database page number for frame *\/ local
    [all...]
recover.c 219 * DbPage.pData, .pPager, and .pgno
384 if( pPage->pgno==1 ){
744 while( pCursor && pCursor->pPage->pgno!=iPage ){
855 while( pOverflow && pOverflow->pPage->pgno!=iPage ){
    [all...]
vdbe.c 3147 int pgno; local
4605 int pgno; local
    [all...]
  /external/chromium_org/third_party/sqlite/src/tool/
showdb.c 344 int pgno, /* Page number */
368 printf("Decode of btree page %d:\n", pgno);
421 int pgno, /* The page number */
428 while( pgno>0 ){
429 a = getContent((pgno-1)*pagesize, pagesize);
430 printf("Decode of freelist trunk page %d:\n", pgno);
445 pgno = 0;
447 pgno = (int)decodeInt32(&a[0]);
space_used.tcl 64 set pgno [lindex $stat 0]
66 set pg_used($pgno) $freebytes
showwal.c 240 static void decode_btree_page(unsigned char *a, int pgno, int hdrSize){
251 printf("Decode of btree page %d:\n", pgno);
spaceanal.tcl 119 foreach pgno [lrange $pglist 1 end] {
120 if {$pgno != $prev+1} {incr gap_cnt}
121 set prev $pgno
  /external/chromium_org/third_party/sqlite/amalgamation/
sqlite3.c 8506 Pgno pgno; \/* Page number for this page *\/ member in struct:PgHdr
37423 Pgno pgno = pPg->pgno; local
38535 Pgno pgno; \/* The page number of a page in journal *\/ local
39227 Pgno pgno = pPg->pgno; \/* Page number to read *\/ local
40442 Pgno pgno = pList->pgno; local
43967 u32 pgno; \/* Page number of the frame *\/ local
44420 u32 pgno; \/* Database page number for frame *\/ local
46495 Pgno pgno; \/* Page number for this page *\/ member in struct:MemPage
49791 Pgno pgno = pPage->pgno; local
50844 Pgno pgno; local
51389 Pgno pgno; local
51414 Pgno pgno; local
52977 Pgno pgno; \/* Temp var to store a page number in *\/ local
54700 int i, rc, depth, d2, pgno, cnt; local
62762 int pgno; member in struct:vdbeExecUnion::OP_CreateTable_stack_vars
65507 int pgno; local
    [all...]

Completed in 3077 milliseconds