Home
last modified time | relevance | path

Searched refs:SQLITE_USABLE_SIZE (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/lib/libsqlite/src/
H A Dbtree.c220 #define MX_CELL ((SQLITE_USABLE_SIZE-sizeof(PageHdr))/MIN_CELL_SIZE)
226 #define USABLE_SPACE (SQLITE_USABLE_SIZE - sizeof(PageHdr))
271 #define OVERFLOW_SIZE (SQLITE_USABLE_SIZE-sizeof(Pgno))
431 char newPage[SQLITE_USABLE_SIZE]; in defragmentPage()
444 assert( Addr(pCell) < Addr(pPage) + SQLITE_USABLE_SIZE ); in defragmentPage()
452 assert( pPage->nFree==SQLITE_USABLE_SIZE-pc ); in defragmentPage()
458 pFBlk->iSize = SWAB16(pBt, SQLITE_USABLE_SIZE - pc); in defragmentPage()
461 memset(&pFBlk[1], 0, SQLITE_USABLE_SIZE - pc - sizeof(FreeBlk)); in defragmentPage()
493 assert( cnt++ < SQLITE_USABLE_SIZE/4 ); in allocateSpace()
608 if( idx>SQLITE_USABLE_SIZE-MIN_CELL_SIZE ) goto page_format_error; in initPage()
[all …]
H A Dtest2.c474 strncpy((char*)pPage, argv[2], SQLITE_USABLE_SIZE-1); in page_write()
475 ((char*)pPage)[SQLITE_USABLE_SIZE-1] = 0; in page_write()
567 sprintf(zBuf, "%d", SQLITE_USABLE_SIZE); in Sqlitetest2_Init()
H A Dpager.h53 #define SQLITE_USABLE_SIZE (SQLITE_PAGE_SIZE-SQLITE_PAGE_RESERVE) macro
/titanic_44/usr/src/lib/libsqlite/test/
H A Dbtree.test24 && $SQLITE_USABLE_SIZE==1024} {