Home
last modified time | relevance | path

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

/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/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-10.0/llvm/include/llvm/Support/
DSwapByteOrder.h98 inline unsigned char getSwappedBytes(unsigned char C) { return C; } in getSwappedBytes() function
99 inline signed char getSwappedBytes(signed char C) { return C; } in getSwappedBytes() function
100 inline char getSwappedBytes(char C) { return C; } in getSwappedBytes() function
102 inline unsigned short getSwappedBytes(unsigned short C) { return SwapByteOrder_16(C); } in getSwappedBytes() function
103 inline signed short getSwappedBytes( signed short C) { return SwapByteOrder_16(C); } in getSwappedBytes() function
105 inline unsigned int getSwappedBytes(unsigned int C) { return SwapByteOrder_32(C); } in getSwappedBytes() function
106 inline signed int getSwappedBytes( signed int C) { return SwapByteOrder_32(C); } in getSwappedBytes() function
109 inline unsigned long getSwappedBytes(unsigned long C) { return SwapByteOrder_32(C); } in getSwappedBytes() function
110 inline signed long getSwappedBytes( signed long C) { return SwapByteOrder_32(C); } in getSwappedBytes() function
112 inline unsigned long getSwappedBytes(unsigned long C) { return SwapByteOrder_64(C); } in getSwappedBytes() function
[all …]
DDataExtractor.h37 inline uint24_t getSwappedBytes(uint24_t C) { in getSwappedBytes() function
/external/llvm-project/llvm/include/llvm/Support/
DSwapByteOrder.h103 inline unsigned char getSwappedBytes(unsigned char C) { return C; } in getSwappedBytes() function
104 inline signed char getSwappedBytes(signed char C) { return C; } in getSwappedBytes() function
105 inline char getSwappedBytes(char C) { return C; } in getSwappedBytes() function
107 inline unsigned short getSwappedBytes(unsigned short C) { return ByteSwap_16(C); } in getSwappedBytes() function
108 inline signed short getSwappedBytes( signed short C) { return ByteSwap_16(C); } in getSwappedBytes() function
110 inline unsigned int getSwappedBytes(unsigned int C) { return ByteSwap_32(C); } in getSwappedBytes() function
111 inline signed int getSwappedBytes( signed int C) { return ByteSwap_32(C); } in getSwappedBytes() function
113 inline unsigned long getSwappedBytes(unsigned long C) { in getSwappedBytes() function
118 inline signed long getSwappedBytes(signed long C) { in getSwappedBytes() function
124 inline unsigned long long getSwappedBytes(unsigned long long C) { in getSwappedBytes() function
[all …]
DDataExtractor.h37 inline uint24_t getSwappedBytes(uint24_t C) { in getSwappedBytes() function
/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 …]
/external/llvm-project/llvm/unittests/Support/
DSwapByteOrderTest.cpp32 TEST(getSwappedBytes, UnsignedRoundTrip) { in TEST() argument
57 TEST(getSwappedBytes, SignedRoundTrip) { in TEST() argument
103 TEST(getSwappedBytes, uint8_t) { in TEST() argument
107 TEST(getSwappedBytes, uint16_t) { in TEST() argument
111 TEST(getSwappedBytes, uint32_t) { in TEST() argument
115 TEST(getSwappedBytes, uint64_t) { in TEST() argument
120 TEST(getSwappedBytes, int8_t) { in TEST() argument
124 TEST(getSwappedBytes, int16_t) { in TEST() argument
128 TEST(getSwappedBytes, int32_t) { in TEST() argument
132 TEST(getSwappedBytes, int64_t) { in TEST() argument
[all …]