Home
last modified time | relevance | path

Searched refs:SQLITE_PAGE_SIZE (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/lib/libsqlite/src/
H A Dpager.h35 #ifndef SQLITE_PAGE_SIZE
36 #define SQLITE_PAGE_SIZE 1024 macro
53 #define SQLITE_USABLE_SIZE (SQLITE_PAGE_SIZE-SQLITE_PAGE_RESERVE)
H A Dpager.c143 #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 Dtest2.c563 sprintf(zBuf, "%d", SQLITE_PAGE_SIZE); in Sqlitetest2_Init()
H A Dbtree.c330 char aDisk[SQLITE_PAGE_SIZE]; /* Page data stored on disk */
/titanic_41/usr/src/lib/libsqlite/test/
H A Dbtree.test23 if {[info commands btree_open]!="" && $SQLITE_PAGE_SIZE==1024