Searched refs:getSwappedBytes (Results 1 – 5 of 5) sorted by relevance
23 TEST(getSwappedBytes, UnsignedRoundTrip) { in TEST() argument30 sys::getSwappedBytes(sys::getSwappedBytes(original_uint8))); in TEST()34 sys::getSwappedBytes(sys::getSwappedBytes(original_uint16))); in TEST()38 sys::getSwappedBytes(sys::getSwappedBytes(original_uint32))); in TEST()42 sys::getSwappedBytes(sys::getSwappedBytes(original_uint64))); in TEST()48 TEST(getSwappedBytes, SignedRoundTrip) { in TEST() argument55 sys::getSwappedBytes(sys::getSwappedBytes(original_int8))); in TEST()59 sys::getSwappedBytes(sys::getSwappedBytes(original_int16))); in TEST()63 sys::getSwappedBytes(sys::getSwappedBytes(original_int32))); in TEST()67 sys::getSwappedBytes(sys::getSwappedBytes(original_int64))); in TEST()[all …]
70 inline unsigned char getSwappedBytes(unsigned char C) { return C; } in getSwappedBytes() function71 inline signed char getSwappedBytes(signed char C) { return C; } in getSwappedBytes() function72 inline char getSwappedBytes(char C) { return C; } in getSwappedBytes() function74 inline unsigned short getSwappedBytes(unsigned short C) { return SwapByteOrder_16(C); } in getSwappedBytes() function75 inline signed short getSwappedBytes( signed short C) { return SwapByteOrder_16(C); } in getSwappedBytes() function77 inline unsigned int getSwappedBytes(unsigned int C) { return SwapByteOrder_32(C); } in getSwappedBytes() function78 inline signed int getSwappedBytes( signed int C) { return SwapByteOrder_32(C); } in getSwappedBytes() function81 inline unsigned long getSwappedBytes(unsigned long C) { return SwapByteOrder_32(C); } in getSwappedBytes() function82 inline signed long getSwappedBytes( signed long C) { return SwapByteOrder_32(C); } in getSwappedBytes() function84 inline unsigned long getSwappedBytes(unsigned long C) { return SwapByteOrder_64(C); } in getSwappedBytes() function[all …]
187 return ShouldSwapBytes ? sys::getSwappedBytes(Int) : Int; in swap()
181 sys::getSwappedBytes(getRawMagic<IntPtrT>()) == Magic; in hasFormat()
1992 Val1Int = sys::getSwappedBytes(Val1Int); in computePartialRzMagic()1993 Val2Int = sys::getSwappedBytes(Val2Int); in computePartialRzMagic()