Searched refs:getSwappedBytes (Results 1 – 10 of 10) sorted by relevance
38 EXPECT_EQ(original_uint8, getSwappedBytes(getSwappedBytes(original_uint8))); in TEST()42 getSwappedBytes(getSwappedBytes(original_uint16))); in TEST()46 getSwappedBytes(getSwappedBytes(original_uint32))); in TEST()50 getSwappedBytes(getSwappedBytes(original_uint64))); in TEST()62 EXPECT_EQ(original_int8, getSwappedBytes(getSwappedBytes(original_int8))); in TEST()65 EXPECT_EQ(original_int16, getSwappedBytes(getSwappedBytes(original_int16))); in TEST()68 EXPECT_EQ(original_int32, getSwappedBytes(getSwappedBytes(original_int32))); in TEST()71 EXPECT_EQ(original_int64, getSwappedBytes(getSwappedBytes(original_int64))); in TEST()77 EXPECT_EQ(original_int8, getSwappedBytes(getSwappedBytes(original_int8))); in TEST()80 EXPECT_EQ(original_int16, getSwappedBytes(getSwappedBytes(original_int16))); in TEST()[all …]
69 inline unsigned char getSwappedBytes(unsigned char C) { return llvm::byteswap(C); } in getSwappedBytes() function70 inline signed char getSwappedBytes( signed char C) { return llvm::byteswap(C); } in getSwappedBytes() function71 inline char getSwappedBytes( char C) { return llvm::byteswap(C); } in getSwappedBytes() function73 inline unsigned short getSwappedBytes(unsigned short C) { return llvm::byteswap(C); } in getSwappedBytes() function74 inline signed short getSwappedBytes( signed short C) { return llvm::byteswap(C); } in getSwappedBytes() function76 inline unsigned int getSwappedBytes(unsigned int C) { return llvm::byteswap(C); } in getSwappedBytes() function77 inline signed int getSwappedBytes( signed int C) { return llvm::byteswap(C); } in getSwappedBytes() function79 inline unsigned long getSwappedBytes(unsigned long C) { return llvm::byteswap(C); } in getSwappedBytes() function80 inline signed long getSwappedBytes( signed long C) { return llvm::byteswap(C); } in getSwappedBytes() function82 inline unsigned long long getSwappedBytes(unsigned long long C) { return llvm::byteswap(C); } in getSwappedBytes() function[all …]
37 inline uint24_t getSwappedBytes(uint24_t C) { in getSwappedBytes() function
101 inline unsigned char getSwappedBytes(unsigned char C) { return C; } in getSwappedBytes() function102 inline signed char getSwappedBytes(signed char C) { return C; } in getSwappedBytes() function103 inline char getSwappedBytes(char C) { return C; } in getSwappedBytes() function105 inline unsigned short getSwappedBytes(unsigned short C) { in getSwappedBytes() function108 inline signed short getSwappedBytes(signed short C) { return ByteSwap_16(C); } in getSwappedBytes() function110 inline unsigned int getSwappedBytes(unsigned int C) { return ByteSwap_32(C); } in getSwappedBytes() function111 inline signed int getSwappedBytes(signed int C) { return ByteSwap_32(C); } in getSwappedBytes() function113 inline unsigned long getSwappedBytes(unsigned long C) { in getSwappedBytes() function118 inline signed long getSwappedBytes(signed long C) { in getSwappedBytes() function124 inline unsigned long long getSwappedBytes(unsigned long long C) { in getSwappedBytes() function[all …]
151 return Ctx->ShouldSwapBytes ? sys::getSwappedBytes(Value) : Value;
371 return ShouldSwapBytes ? sys::getSwappedBytes(Int) : Int; in swap()
92 ? llvm::sys::getSwappedBytes(Header->NumBuckets) in checkHeader()
273 HashResult[i] = sys::getSwappedBytes(InternalState.State[i]); in final()
253 HashResult[i] = sys::getSwappedBytes(InternalState.State[i]); in final()
413 sys::getSwappedBytes(RawInstrProf::getMagic<IntPtrT>()) == Magic; in hasFormat()