Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libsqlite/src/
H A Dbtree.c75 #define SWAB16(B,X) ((B)->needSwab? swab16((u16)X) : ((u16)X))
76 #define SWAB32(B,X) ((B)->needSwab? swab32(X) : (X))
78 if((B)->needSwab){ X=swab32(swab32(X)+A); }else{ X += (A); }
361 u8 needSwab; /* Need to byte-swapping */ member
547 if( pBt->needSwab ){ in freeSpace()
806 pBt->needSwab = pP1->iMagic!=MAGIC; in lockBtree()
857 pBt->needSwab = 0; in newDatabase()
860 pBt->needSwab = 1; in newDatabase()
1958 if( pBt->needSwab ) *pNext = swab32(*pNext); in fillInCell()
3514 if( pBtTo->needSwab!=pBtFrom->needSwab ) return SQLITE_ERROR; in fileBtreeCopyFile()