Searched refs:Pgno (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | pager.h | 62 typedef unsigned int Pgno; typedef 78 int sqlitepager_get(Pager *pPager, Pgno pgno, void **ppPage); 79 void *sqlitepager_lookup(Pager *pPager, Pgno pgno); 82 Pgno sqlitepager_pagenumber(void*); 85 int sqlitepager_overwrite(Pager *pPager, Pgno pgno, void*); 87 int sqlitepager_truncate(Pager*,Pgno); 96 void sqlitepager_dont_write(Pager*, Pgno); 101 void sqlitepager_set_codec(Pager*,void(*)(void*,void*,Pgno,int),void*);
|
H A D | btree.c | 151 Pgno freeList; /* First free page in a list of all free pages */ 175 Pgno rightChild; /* Child page that comes after all cells on this page */ 191 Pgno leftChild; /* Child page that comes before this cell */ 233 #define MX_LOCAL_PAYLOAD ((USABLE_SPACE/4-(sizeof(CellHdr)+sizeof(Pgno)))&~3) 252 Pgno ovfl; /* The first overflow page */ 269 #define OVERFLOW_SIZE (SQLITE_USABLE_SIZE-sizeof(Pgno)) 283 Pgno iNext; 296 Pgno aFree[(OVERFLOW_SIZE-sizeof(int))/sizeof(Pgno)]; 373 Pgno pgnoRoot; /* The root page of this tree */ 413 n = MX_LOCAL_PAYLOAD + sizeof(Pgno); in cellSize() [all …]
|
H A D | pager.c | 109 Pgno pgno; /* The page number for this page */ 176 void (*xCodec)(void*,void*,Pgno,int); /* Routine for en/decoding data */ 221 Pgno pgno; /* The page number */ 288 (sizeof(aJournalMagic1) + sizeof(Pgno) + ((X)>=3)*2*sizeof(u32)) 290 (SQLITE_PAGE_SIZE + sizeof(Pgno) + ((X)>=3)*sizeof(u32)) 432 static PgHdr *pager_lookup(Pager *pPager, Pgno pgno){ in pager_lookup() 521 static u32 pager_cksum(Pager *pPager, Pgno pgno, const char *aData){ in pager_cksum() 643 Pgno mxPg = 0; /* Size of the original file in pages */ in pager_playback() 664 if( szJ < sizeof(aMagic)+sizeof(Pgno) ){ in pager_playback() 1045 int sqlitepager_truncate(Pager *pPager, Pgno nPage){ in sqlitepager_truncate() [all …]
|