Searched refs:SwapByteOrder (Results 1 – 6 of 6) sorted by relevance
23 TEST(SwapByteOrder, UnsignedRoundTrip) { in TEST() argument30 sys::SwapByteOrder(sys::SwapByteOrder(origional_uint8))); in TEST()34 sys::SwapByteOrder(sys::SwapByteOrder(origional_uint16))); in TEST()38 sys::SwapByteOrder(sys::SwapByteOrder(origional_uint32))); in TEST()42 sys::SwapByteOrder(sys::SwapByteOrder(origional_uint64))); in TEST()48 TEST(SwapByteOrder, SignedRoundTrip) { in TEST() argument55 sys::SwapByteOrder(sys::SwapByteOrder(origional_int8))); in TEST()59 sys::SwapByteOrder(sys::SwapByteOrder(origional_int16))); in TEST()63 sys::SwapByteOrder(sys::SwapByteOrder(origional_int32))); in TEST()67 sys::SwapByteOrder(sys::SwapByteOrder(origional_int64))); in TEST()[all …]
71 inline unsigned char SwapByteOrder(unsigned char C) { return C; } in SwapByteOrder() function72 inline signed char SwapByteOrder(signed char C) { return C; } in SwapByteOrder() function73 inline char SwapByteOrder(char C) { return C; } in SwapByteOrder() function75 inline unsigned short SwapByteOrder(unsigned short C) { return SwapByteOrder_16(C); } in SwapByteOrder() function76 inline signed short SwapByteOrder( signed short C) { return SwapByteOrder_16(C); } in SwapByteOrder() function78 inline unsigned int SwapByteOrder(unsigned int C) { return SwapByteOrder_32(C); } in SwapByteOrder() function79 inline signed int SwapByteOrder( signed int C) { return SwapByteOrder_32(C); } in SwapByteOrder() function82 inline unsigned long SwapByteOrder(unsigned long C) { return SwapByteOrder_32(C); } in SwapByteOrder() function83 inline signed long SwapByteOrder( signed long C) { return SwapByteOrder_32(C); } in SwapByteOrder() function85 inline unsigned long SwapByteOrder(unsigned long C) { return SwapByteOrder_64(C); } in SwapByteOrder() function[all …]
57 return sys::SwapByteOrder(t);64 value = sys::SwapByteOrder(value);75 return sys::SwapByteOrder(t);82 value = sys::SwapByteOrder(value);
105 void SwapByteOrder(wchar_t* pStr, size_t iLength) { in SwapByteOrder() function244 SwapByteOrder(pStr, iMaxLength); in ReadString()
24 val = sys::SwapByteOrder(val); in getU()
26 Value = sys::SwapByteOrder(Value); in SwapValue()