Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Support/
DSwapByteOrder.h69 inline unsigned char getSwappedBytes(unsigned char C) { return C; } in getSwappedBytes() function
70 inline signed char getSwappedBytes(signed char C) { return C; } in getSwappedBytes() function
71 inline char getSwappedBytes(char C) { return C; } in getSwappedBytes() function
73 inline unsigned short getSwappedBytes(unsigned short C) { return SwapByteOrder_16(C); } in getSwappedBytes() function
74 inline signed short getSwappedBytes( signed short C) { return SwapByteOrder_16(C); } in getSwappedBytes() function
76 inline unsigned int getSwappedBytes(unsigned int C) { return SwapByteOrder_32(C); } in getSwappedBytes() function
77 inline signed int getSwappedBytes( signed int C) { return SwapByteOrder_32(C); } in getSwappedBytes() function
80 inline unsigned long getSwappedBytes(unsigned long C) { return SwapByteOrder_32(C); } in getSwappedBytes() function
81 inline signed long getSwappedBytes( signed long C) { return SwapByteOrder_32(C); } in getSwappedBytes() function
83 inline unsigned long getSwappedBytes(unsigned long C) { return SwapByteOrder_64(C); } in getSwappedBytes() function
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DSwapByteOrder.h72 inline unsigned char getSwappedBytes(unsigned char C) { return C; } in getSwappedBytes() function
73 inline signed char getSwappedBytes(signed char C) { return C; } in getSwappedBytes() function
74 inline char getSwappedBytes(char C) { return C; } in getSwappedBytes() function
76 inline unsigned short getSwappedBytes(unsigned short C) { return SwapByteOrder_16(C); } in getSwappedBytes() function
77 inline signed short getSwappedBytes( signed short C) { return SwapByteOrder_16(C); } in getSwappedBytes() function
79 inline unsigned int getSwappedBytes(unsigned int C) { return SwapByteOrder_32(C); } in getSwappedBytes() function
80 inline signed int getSwappedBytes( signed int C) { return SwapByteOrder_32(C); } in getSwappedBytes() function
83 inline unsigned long getSwappedBytes(unsigned long C) { return SwapByteOrder_32(C); } in getSwappedBytes() function
84 inline signed long getSwappedBytes( signed long C) { return SwapByteOrder_32(C); } in getSwappedBytes() function
86 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 …]