Home
last modified time | relevance | path

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

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