Home
last modified time | relevance | path

Searched refs:getSwappedBytes (Results 1 – 5 of 5) sorted by relevance

/external/llvm/unittests/Support/
DSwapByteOrderTest.cpp23 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/
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/include/llvm/ProfileData/
DInstrProfReader.h187 return ShouldSwapBytes ? sys::getSwappedBytes(Int) : Int; in swap()
/external/llvm/lib/ProfileData/
DInstrProfReader.cpp181 sys::getSwappedBytes(getRawMagic<IntPtrT>()) == Magic; in hasFormat()
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp1992 Val1Int = sys::getSwappedBytes(Val1Int); in computePartialRzMagic()
1993 Val2Int = sys::getSwappedBytes(Val2Int); in computePartialRzMagic()