Home
last modified time | relevance | path

Searched refs:ByteSwap (Results 1 – 17 of 17) sorted by relevance

/external/google-breakpad/src/common/mac/
Dmacho_utilities.cc40 uc->cmd = ByteSwap(uc->cmd); in breakpad_swap_uuid_command()
41 uc->cmdsize = ByteSwap(uc->cmdsize); in breakpad_swap_uuid_command()
47 sg->cmd = ByteSwap(sg->cmd); in breakpad_swap_segment_command_64()
48 sg->cmdsize = ByteSwap(sg->cmdsize); in breakpad_swap_segment_command_64()
50 sg->vmaddr = ByteSwap(sg->vmaddr); in breakpad_swap_segment_command_64()
51 sg->vmsize = ByteSwap(sg->vmsize); in breakpad_swap_segment_command_64()
52 sg->fileoff = ByteSwap(sg->fileoff); in breakpad_swap_segment_command_64()
53 sg->filesize = ByteSwap(sg->filesize); in breakpad_swap_segment_command_64()
55 sg->maxprot = ByteSwap(sg->maxprot); in breakpad_swap_segment_command_64()
56 sg->initprot = ByteSwap(sg->initprot); in breakpad_swap_segment_command_64()
[all …]
Dbyteswap.h41 static inline uint16_t ByteSwap(uint16_t v) { return OSSwapInt16(v); } in ByteSwap() function
42 static inline uint32_t ByteSwap(uint32_t v) { return OSSwapInt32(v); } in ByteSwap() function
43 static inline uint64_t ByteSwap(uint64_t v) { return OSSwapInt64(v); } in ByteSwap() function
44 static inline int16_t ByteSwap(int16_t v) { return OSSwapInt16(v); } in ByteSwap() function
45 static inline int32_t ByteSwap(int32_t v) { return OSSwapInt32(v); } in ByteSwap() function
46 static inline int64_t ByteSwap(int64_t v) { return OSSwapInt64(v); } in ByteSwap() function
/external/libchrome/base/
Dsys_byteorder.h26 inline uint16_t ByteSwap(uint16_t x) { in ByteSwap() function
34 inline uint32_t ByteSwap(uint32_t x) { in ByteSwap() function
42 inline uint64_t ByteSwap(uint64_t x) { in ByteSwap() function
57 return ByteSwap(static_cast<uint32_t>(x)); in ByteSwapUintPtrT()
59 return ByteSwap(static_cast<uint64_t>(x)); in ByteSwapUintPtrT()
71 return ByteSwap(x); in ByteSwapToLE16()
78 return ByteSwap(x); in ByteSwapToLE32()
85 return ByteSwap(x); in ByteSwapToLE64()
93 return ByteSwap(x); in NetToHost16()
100 return ByteSwap(x); in NetToHost32()
[all …]
Dsha1.cc118 H[t] = ByteSwap(H[t]); in Final()
165 W[t] = ByteSwap(W[t]); in Process()
/external/pdfium/third_party/base/
Dsys_byteorder.h27 inline uint16_t ByteSwap(uint16_t x) { in ByteSwap() function
35 inline uint32_t ByteSwap(uint32_t x) { in ByteSwap() function
43 inline uint64_t ByteSwap(uint64_t x) { in ByteSwap() function
58 return ByteSwap(static_cast<uint32_t>(x)); in ByteSwapUintPtrT()
60 return ByteSwap(static_cast<uint64_t>(x)); in ByteSwapUintPtrT()
72 return ByteSwap(x); in ByteSwapToLE16()
79 return ByteSwap(x); in ByteSwapToLE32()
86 return ByteSwap(x); in ByteSwapToLE64()
94 return ByteSwap(x); in NetToHost16()
101 return ByteSwap(x); in NetToHost32()
[all …]
/external/perf_data_converter/src/quipper/
Dperf_reader.cc157 ByteSwap(&header->type); in ReadPerfEventHeader()
158 ByteSwap(&header->size); in ReadPerfEventHeader()
159 ByteSwap(&header->misc); in ReadPerfEventHeader()
172 ByteSwap(&section->offset); in ReadPerfFileSection()
173 ByteSwap(&section->size); in ReadPerfFileSection()
597 ByteSwap(reinterpret_cast<uint64_t*>(header_.adds_features) + i); in ReadHeader()
600 ByteSwap(reinterpret_cast<uint32_t*>(header_.adds_features) + i); in ReadHeader()
666 ByteSwap(&attr->type); in ReadEventAttr()
667 ByteSwap(&attr->size); in ReadEventAttr()
668 ByteSwap(&attr->config); in ReadEventAttr()
[all …]
Dbinary_data_utils.h25 void ByteSwap(T* input) { in ByteSwap() function
49 if (swap) ByteSwap(&value); in MaybeSwap()
Dtest_perf_data.h53 if (is_cross_endian()) ByteSwap(&value); in MaybeSwap()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DProfileInfoLoader.cpp26 static inline unsigned ByteSwap(unsigned Var, bool Really) { in ByteSwap() function
51 NumEntries = ByteSwap(NumEntries, ShouldByteSwap); in ReadProfilingBlock()
75 Data[i] = AddCounts(ByteSwap(TempSpace[i], true), Data[i]); in ReadProfilingBlock()
104 PacketType = ByteSwap(PacketType, ShouldByteSwap); in ProfileInfoLoader()
114 ArgLength = ByteSwap(ArgLength, ShouldByteSwap); in ProfileInfoLoader()
/external/swiftshader/third_party/PowerVR_SDK/Shell/
DPVRShell.cpp669 #define ByteSwap(x) PVRShellByteSwap((unsigned char*) &x, sizeof(x)) in PVRShellWriteBMPFile() macro
725 ByteSwap(bfType); in PVRShellWriteBMPFile()
726 ByteSwap(bfSize); in PVRShellWriteBMPFile()
727 ByteSwap(bfOffBits); in PVRShellWriteBMPFile()
728 ByteSwap(biSize); in PVRShellWriteBMPFile()
729 ByteSwap(biWidth); in PVRShellWriteBMPFile()
730 ByteSwap(biHeight); in PVRShellWriteBMPFile()
731 ByteSwap(biPlanes); in PVRShellWriteBMPFile()
732 ByteSwap(biBitCount); in PVRShellWriteBMPFile()
733 ByteSwap(biCompression); in PVRShellWriteBMPFile()
[all …]
/external/lzma/CPP/7zip/Compress/
DByteSwap.cpp90 REGISTER_CODECS(ByteSwap)
/external/lzma/CPP/7zip/Bundles/Format7zExtractR/
Dmakefile70 $O\ByteSwap.obj \
/external/lzma/CPP/7zip/Bundles/Format7zR/
Dmakefile82 $O\ByteSwap.obj \
/external/lzma/CPP/7zip/Bundles/Alone7z/
Dmakefile104 $O\ByteSwap.obj \
DAlone.dsp757 SOURCE=..\..\Compress\ByteSwap.cpp
761 SOURCE=..\..\Compress\ByteSwap.h
/external/boringssl/src/crypto/fipsmodule/modes/
Dgcm_test.cc116 TEST(GCMTest, ByteSwap) { in TEST() argument
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
DMipsInstrInfo.td536 class ByteSwap<bits<6> func, bits<5> sa, string instr_asm>:
772 def WSBW : ByteSwap<0x20, 0x2, "wsbw">;