/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | SwapByteOrderTest.cpp | 23 TEST(getSwappedBytes, UnsignedRoundTrip) { in TEST() argument 30 sys::getSwappedBytes(sys::getSwappedBytes(original_uint8))); in TEST() 34 sys::getSwappedBytes(sys::getSwappedBytes(original_uint16))); in TEST() 38 sys::getSwappedBytes(sys::getSwappedBytes(original_uint32))); in TEST() 42 sys::getSwappedBytes(sys::getSwappedBytes(original_uint64))); in TEST() 48 TEST(getSwappedBytes, SignedRoundTrip) { in TEST() argument 55 sys::getSwappedBytes(sys::getSwappedBytes(original_int8))); in TEST() 59 sys::getSwappedBytes(sys::getSwappedBytes(original_int16))); in TEST() 63 sys::getSwappedBytes(sys::getSwappedBytes(original_int32))); in TEST() 67 sys::getSwappedBytes(sys::getSwappedBytes(original_int64))); in TEST() [all …]
|
/external/llvm/unittests/Support/ |
D | SwapByteOrderTest.cpp | 23 TEST(getSwappedBytes, UnsignedRoundTrip) { in TEST() argument 30 sys::getSwappedBytes(sys::getSwappedBytes(original_uint8))); in TEST() 34 sys::getSwappedBytes(sys::getSwappedBytes(original_uint16))); in TEST() 38 sys::getSwappedBytes(sys::getSwappedBytes(original_uint32))); in TEST() 42 sys::getSwappedBytes(sys::getSwappedBytes(original_uint64))); in TEST() 48 TEST(getSwappedBytes, SignedRoundTrip) { in TEST() argument 55 sys::getSwappedBytes(sys::getSwappedBytes(original_int8))); in TEST() 59 sys::getSwappedBytes(sys::getSwappedBytes(original_int16))); in TEST() 63 sys::getSwappedBytes(sys::getSwappedBytes(original_int32))); in TEST() 67 sys::getSwappedBytes(sys::getSwappedBytes(original_int64))); in TEST() [all …]
|
/external/llvm/include/llvm/Support/ |
D | SwapByteOrder.h | 69 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-7.0/llvm/include/llvm/Support/ |
D | SwapByteOrder.h | 72 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 …]
|
D | DataExtractor.h | 37 inline uint24_t getSwappedBytes(uint24_t C) { in getSwappedBytes() function
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | SwapByteOrder.h | 72 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/clang/unittests/Lex/ |
D | HeaderMapTest.cpp | 39 using llvm::sys::getSwappedBytes; in swapBytes() 40 Header.Magic = getSwappedBytes(Header.Magic); in swapBytes() 41 Header.Version = getSwappedBytes(Header.Version); in swapBytes() 42 Header.NumBuckets = getSwappedBytes(Header.NumBuckets); in swapBytes() 43 Header.StringsOffset = getSwappedBytes(Header.StringsOffset); in swapBytes()
|
/external/clang/lib/Lex/ |
D | HeaderMap.cpp | 91 ? llvm::sys::getSwappedBytes(Header->NumBuckets) in checkHeader()
|
/external/llvm/include/llvm/ProfileData/ |
D | InstrProfReader.h | 210 return ShouldSwapBytes ? sys::getSwappedBytes(Int) : Int; in swap()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/ |
D | InstrProfReader.h | 227 return ShouldSwapBytes ? sys::getSwappedBytes(Int) : Int; in swap()
|
/external/llvm/lib/ProfileData/ |
D | InstrProfReader.cpp | 260 sys::getSwappedBytes(RawInstrProf::getMagic<IntPtrT>()) == Magic; in hasFormat()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/ |
D | InstrProfReader.cpp | 283 sys::getSwappedBytes(RawInstrProf::getMagic<IntPtrT>()) == Magic; in hasFormat()
|