/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-project/llvm/unittests/Support/ |
D | SwapByteOrderTest.cpp | 32 TEST(getSwappedBytes, UnsignedRoundTrip) { in TEST() argument 39 sys::getSwappedBytes(sys::getSwappedBytes(original_uint8))); in TEST() 43 sys::getSwappedBytes(sys::getSwappedBytes(original_uint16))); in TEST() 47 sys::getSwappedBytes(sys::getSwappedBytes(original_uint32))); in TEST() 51 sys::getSwappedBytes(sys::getSwappedBytes(original_uint64))); in TEST() 57 TEST(getSwappedBytes, SignedRoundTrip) { in TEST() argument 64 sys::getSwappedBytes(sys::getSwappedBytes(original_int8))); in TEST() 68 sys::getSwappedBytes(sys::getSwappedBytes(original_int16))); in TEST() 72 sys::getSwappedBytes(sys::getSwappedBytes(original_int32))); in TEST() 76 sys::getSwappedBytes(sys::getSwappedBytes(original_int64))); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | SwapByteOrder.h | 98 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 …]
|
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/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/llvm-project/llvm/include/llvm/Support/ |
D | SwapByteOrder.h | 103 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 …]
|
D | DataExtractor.h | 37 inline uint24_t getSwappedBytes(uint24_t C) { in getSwappedBytes() function
|
/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/llvm-project/clang/unittests/Lex/ |
D | HeaderMapTest.cpp | 38 using llvm::sys::getSwappedBytes; in swapBytes() 39 Header.Magic = getSwappedBytes(Header.Magic); in swapBytes() 40 Header.Version = getSwappedBytes(Header.Version); in swapBytes() 41 Header.NumBuckets = getSwappedBytes(Header.NumBuckets); in swapBytes() 42 Header.StringsOffset = getSwappedBytes(Header.StringsOffset); in swapBytes()
|
/external/llvm-project/lld/lib/ReaderWriter/MachO/ |
D | MachONormalizedFileBinaryUtils.h | 69 using llvm::sys::getSwappedBytes; 182 result.r_word0 = swap ? getSwappedBytes(r0) : r0; in packRelocation() 183 result.r_word1 = swap ? getSwappedBytes(r1) : r1; in packRelocation()
|
D | MachONormalizedFileBinaryWriter.cpp | 1117 *indirects++ = llvm::sys::getSwappedBytes(index); in writeSymbolTable() 1129 *indirects++ = llvm::sys::getSwappedBytes(index); in writeSymbolTable()
|
/external/llvm-project/clang/lib/Lex/ |
D | HeaderMap.cpp | 91 ? llvm::sys::getSwappedBytes(Header->NumBuckets) in checkHeader()
|
/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-10.0/llvm/include/llvm/ProfileData/ |
D | InstrProfReader.h | 238 return ShouldSwapBytes ? sys::getSwappedBytes(Int) : Int; in swap()
|
/external/llvm-project/llvm/include/llvm/ProfileData/ |
D | InstrProfReader.h | 247 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-10.0/llvm/lib/ProfileData/ |
D | InstrProfReader.cpp | 301 sys::getSwappedBytes(RawInstrProf::getMagic<IntPtrT>()) == Magic; in hasFormat()
|
/external/llvm-project/llvm/lib/ProfileData/ |
D | InstrProfReader.cpp | 308 sys::getSwappedBytes(RawInstrProf::getMagic<IntPtrT>()) == Magic; in hasFormat()
|