Searched refs:SQLITE_PAGE_SIZE (Results 1 – 5 of 5) sorted by relevance
/titanic_44/usr/src/lib/libsqlite/src/ |
H A D | pager.h | 35 #ifndef SQLITE_PAGE_SIZE 36 #define SQLITE_PAGE_SIZE 1024 macro 53 #define SQLITE_USABLE_SIZE (SQLITE_PAGE_SIZE-SQLITE_PAGE_RESERVE)
|
H A D | pager.c | 143 #define PGHDR_TO_EXTRA(P) ((void*)&((char*)(&(P)[1]))[SQLITE_PAGE_SIZE]) 224 char aData[SQLITE_PAGE_SIZE]; /* Original data for page pgno */ 292 (SQLITE_PAGE_SIZE + sizeof(Pgno) + ((X)>=3)*sizeof(u32)) 570 sqliteOsSeek(&pPager->fd, (pgRec.pgno-1)*(off_t)SQLITE_PAGE_SIZE); in pager_playback_one_page() 571 rc = sqliteOsWrite(&pPager->fd, pgRec.aData, SQLITE_PAGE_SIZE); in pager_playback_one_page() 580 memcpy(PGHDR_TO_DATA(pPg), pgRec.aData, SQLITE_PAGE_SIZE); in pager_playback_one_page() 714 rc = sqliteOsTruncate(&pPager->fd, SQLITE_PAGE_SIZE*(off_t)mxPg); in pager_playback() 739 char zBuf[SQLITE_PAGE_SIZE]; in pager_playback() 742 sqliteOsSeek(&pPager->fd, SQLITE_PAGE_SIZE*(off_t)(pPg->pgno-1)); in pager_playback() 743 rc = sqliteOsRead(&pPager->fd, zBuf, SQLITE_PAGE_SIZE); in pager_playback() [all …]
|
H A D | test2.c | 563 sprintf(zBuf, "%d", SQLITE_PAGE_SIZE); in Sqlitetest2_Init()
|
H A D | btree.c | 330 char aDisk[SQLITE_PAGE_SIZE]; /* Page data stored on disk */
|
/titanic_44/usr/src/lib/libsqlite/test/ |
H A D | btree.test | 23 if {[info commands btree_open]!="" && $SQLITE_PAGE_SIZE==1024
|