Home
last modified time | relevance | path

Searched refs:ByteSwap_32 (Results 1 – 9 of 9) sorted by relevance

/external/lldb/source/Plugins/Process/mach-core/
DProcessMachCore.cpp152 header.magic = llvm::ByteSwap_32(header.magic); in GetDynamicLoaderAddress()
153 header.cputype = llvm::ByteSwap_32(header.cputype); in GetDynamicLoaderAddress()
154 header.cpusubtype = llvm::ByteSwap_32(header.cpusubtype); in GetDynamicLoaderAddress()
155 header.filetype = llvm::ByteSwap_32(header.filetype); in GetDynamicLoaderAddress()
156 header.ncmds = llvm::ByteSwap_32(header.ncmds); in GetDynamicLoaderAddress()
157 header.sizeofcmds = llvm::ByteSwap_32(header.sizeofcmds); in GetDynamicLoaderAddress()
158 header.flags = llvm::ByteSwap_32(header.flags); in GetDynamicLoaderAddress()
/external/llvm/unittests/Support/
DMathExtrasTest.cpp134 TEST(MathExtras, ByteSwap_32) { in TEST() argument
135 EXPECT_EQ(0x44332211u, ByteSwap_32(0x11223344)); in TEST()
136 EXPECT_EQ(0xDDCCBBAAu, ByteSwap_32(0xAABBCCDD)); in TEST()
/external/clang/lib/Lex/
DHeaderMap.cpp97 else if (Header->Magic == llvm::ByteSwap_32(HMAP_HeaderMagicNumber) && in Create()
121 return llvm::ByteSwap_32(X); in getEndianAdjustedWord()
/external/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/
DDynamicLoaderDarwinKernel.cpp413 header.magic = llvm::ByteSwap_32(header.magic); in CheckForKernelImageAtAddress()
414 header.cputype = llvm::ByteSwap_32(header.cputype); in CheckForKernelImageAtAddress()
415 header.cpusubtype = llvm::ByteSwap_32(header.cpusubtype); in CheckForKernelImageAtAddress()
416 header.filetype = llvm::ByteSwap_32(header.filetype); in CheckForKernelImageAtAddress()
417 header.ncmds = llvm::ByteSwap_32(header.ncmds); in CheckForKernelImageAtAddress()
418 header.sizeofcmds = llvm::ByteSwap_32(header.sizeofcmds); in CheckForKernelImageAtAddress()
419 header.flags = llvm::ByteSwap_32(header.flags); in CheckForKernelImageAtAddress()
/external/lldb/source/Core/
DDataEncoder.cpp49 *(uint32_t *)(ptr + offset) = llvm::ByteSwap_32(value); in WriteSwappedInt32()
DDataExtractor.cpp88 return llvm::ByteSwap_32(*(uint32_t *)(ptr + offset)); in ReadSwapInt32()
105 return llvm::ByteSwap_32(*(uint32_t *)(ptr)); in ReadSwapInt32()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AsmBackend.cpp519 Value = ByteSwap_32(unsigned(Value)); in applyFixup()
/external/llvm/include/llvm/Support/
DMathExtras.h368 inline uint32_t ByteSwap_32(uint32_t Value) {
/external/llvm/lib/Support/
DAPInt.cpp795 return APInt(BitWidth, ByteSwap_32(unsigned(VAL))); in byteSwap()
798 Tmp1 = ByteSwap_32(Tmp1); in byteSwap()