Searched refs:SWAB16 (Results 1 – 1 of 1) sorted by relevance
/titanic_41/usr/src/lib/libsqlite/src/ |
H A D | btree.c | 75 #define SWAB16(B,X) ((B)->needSwab? swab16((u16)X) : ((u16)X)) macro 207 #define NKEY(b,h) (SWAB16(b,h.nKey) + h.nKeyHi*65536) 208 #define NDATA(b,h) (SWAB16(b,h.nData) + h.nDataHi*65536) 436 pPage->u.hdr.firstCell = SWAB16(pBt, pc); in defragmentPage() 447 pCell->h.iNext = SWAB16(pBt, pc + n); in defragmentPage() 458 pFBlk->iSize = SWAB16(pBt, SQLITE_USABLE_SIZE - pc); in defragmentPage() 460 pPage->u.hdr.firstFree = SWAB16(pBt, pc); in defragmentPage() 491 p = (FreeBlk*)&pPage->u.aDisk[SWAB16(pBt, *pIdx)]; in allocateSpace() 492 while( (iSize = SWAB16(pBt, p->iSize))<nByte ){ in allocateSpace() 500 p = (FreeBlk*)&pPage->u.aDisk[SWAB16(pBt, *pIdx)]; in allocateSpace() [all …]
|