HomeSort by relevance Sort by last modified time
    Searched refs:getSwappedBytes (Results 1 - 4 of 4) sorted by null

  /external/llvm/include/llvm/Support/
SwapByteOrder.h 71 inline unsigned char getSwappedBytes(unsigned char C) { return C; }
72 inline signed char getSwappedBytes(signed char C) { return C; }
73 inline char getSwappedBytes(char C) { return C; }
75 inline unsigned short getSwappedBytes(unsigned short C) { return SwapByteOrder_16(C); }
76 inline signed short getSwappedBytes( signed short C) { return SwapByteOrder_16(C); }
78 inline unsigned int getSwappedBytes(unsigned int C) { return SwapByteOrder_32(C); }
79 inline signed int getSwappedBytes( signed int C) { return SwapByteOrder_32(C); }
82 inline unsigned long getSwappedBytes(unsigned long C) { return SwapByteOrder_32(C); }
83 inline signed long getSwappedBytes( signed long C) { return SwapByteOrder_32(C); }
85 inline unsigned long getSwappedBytes(unsigned long C) { return SwapByteOrder_64(C);
    [all...]
  /external/llvm/unittests/Support/
SwapByteOrderTest.cpp 23 TEST(getSwappedBytes, UnsignedRoundTrip) {
30 sys::getSwappedBytes(sys::getSwappedBytes(original_uint8)));
34 sys::getSwappedBytes(sys::getSwappedBytes(original_uint16)));
38 sys::getSwappedBytes(sys::getSwappedBytes(original_uint32)));
42 sys::getSwappedBytes(sys::getSwappedBytes(original_uint64)));
48 TEST(getSwappedBytes, SignedRoundTrip)
    [all...]
  /external/llvm/include/llvm/ProfileData/
InstrProfReader.h 187 return ShouldSwapBytes ? sys::getSwappedBytes(Int) : Int;
  /external/llvm/lib/ProfileData/
InstrProfReader.cpp 164 sys::getSwappedBytes(getRawMagic<IntPtrT>()) == Magic;

Completed in 485 milliseconds