Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libsqlite/src/
H A Dbtree.c430 FreeBlk *pFBlk; in defragmentPage() local
457 pFBlk = (FreeBlk*)&pPage->u.aDisk[pc]; in defragmentPage()
458 pFBlk->iSize = SWAB16(pBt, SQLITE_USABLE_SIZE - pc); in defragmentPage()
459 pFBlk->iNext = 0; in defragmentPage()
461 memset(&pFBlk[1], 0, SQLITE_USABLE_SIZE - pc - sizeof(FreeBlk)); in defragmentPage()
529 FreeBlk *pFBlk; in freeSpace() local
541 pFBlk = (FreeBlk*)&pPage->u.aDisk[idx]; in freeSpace()
542 iSize = SWAB16(pBt, pFBlk->iSize); in freeSpace()
544 pFBlk->iSize = SWAB16(pBt, iSize + size); in freeSpace()
545 if( idx + iSize + size == SWAB16(pBt, pFBlk->iNext) ){ in freeSpace()
[all …]