Home
last modified time | relevance | path

Searched defs:SwapByteOrder (Results 1 – 2 of 2) sorted by relevance

/external/llvm/include/llvm/Support/
DSwapByteOrder.h71 inline unsigned char SwapByteOrder(unsigned char C) { return C; } in SwapByteOrder() function
72 inline signed char SwapByteOrder(signed char C) { return C; } in SwapByteOrder() function
73 inline char SwapByteOrder(char C) { return C; } in SwapByteOrder() function
75 inline unsigned short SwapByteOrder(unsigned short C) { return SwapByteOrder_16(C); } in SwapByteOrder() function
76 inline signed short SwapByteOrder( signed short C) { return SwapByteOrder_16(C); } in SwapByteOrder() function
78 inline unsigned int SwapByteOrder(unsigned int C) { return SwapByteOrder_32(C); } in SwapByteOrder() function
79 inline signed int SwapByteOrder( signed int C) { return SwapByteOrder_32(C); } in SwapByteOrder() function
82 inline unsigned long SwapByteOrder(unsigned long C) { return SwapByteOrder_32(C); } in SwapByteOrder() function
83 inline signed long SwapByteOrder( signed long C) { return SwapByteOrder_32(C); } in SwapByteOrder() function
85 inline unsigned long SwapByteOrder(unsigned long C) { return SwapByteOrder_64(C); } in SwapByteOrder() function
[all …]
/external/llvm/unittests/Support/
DSwapByteOrderTest.cpp23 TEST(SwapByteOrder, UnsignedRoundTrip) { in TEST() argument
48 TEST(SwapByteOrder, SignedRoundTrip) { in TEST() argument
94 TEST(SwapByteOrder, uint8_t) { in TEST() argument
98 TEST(SwapByteOrder, uint16_t) { in TEST() argument
102 TEST(SwapByteOrder, uint32_t) { in TEST() argument
106 TEST(SwapByteOrder, uint64_t) { in TEST() argument
111 TEST(SwapByteOrder, int8_t) { in TEST() argument
115 TEST(SwapByteOrder, int16_t) { in TEST() argument
119 TEST(SwapByteOrder, int32_t) { in TEST() argument
123 TEST(SwapByteOrder, int64_t) { in TEST() argument