Home
last modified time | relevance | path

Searched refs:byte_swap (Results 1 – 25 of 35) sorted by relevance

12

/external/llvm-project/llvm/lib/DebugInfo/GSYM/
DFileWriter.cpp39 const uint16_t Swapped = support::endian::byte_swap(U, ByteOrder); in writeU16()
44 const uint32_t Swapped = support::endian::byte_swap(U, ByteOrder); in writeU32()
49 const uint64_t Swapped = support::endian::byte_swap(U, ByteOrder); in writeU64()
54 const uint32_t Swapped = support::endian::byte_swap(U, ByteOrder); in fixup32()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
DFileWriter.cpp39 const uint16_t Swapped = support::endian::byte_swap(U, ByteOrder); in writeU16()
44 const uint32_t Swapped = support::endian::byte_swap(U, ByteOrder); in writeU32()
49 const uint64_t Swapped = support::endian::byte_swap(U, ByteOrder); in writeU64()
54 const uint32_t Swapped = support::endian::byte_swap(U, ByteOrder); in fixup32()
/external/tensorflow/tensorflow/core/util/tensor_bundle/
DBUILD28 "byte_swap.cc",
29 "byte_swap.h",
45 "byte_swap.cc",
49 "byte_swap.h",
/external/llvm/include/llvm/Support/
DEndian.h39 inline value_type byte_swap(value_type value) { in byte_swap() function
56 return byte_swap<value_type, endian>(ret); in read()
74 value = byte_swap<value_type, endian>(value); in write()
98 val[0] = byte_swap<value_type, endian>(val[0]); in readAtBitAlignment()
99 val[1] = byte_swap<value_type, endian>(val[1]); in readAtBitAlignment()
133 val[0] = byte_swap<value_type, endian>(val[0]); in writeAtBitAlignment()
134 val[1] = byte_swap<value_type, endian>(val[1]); in writeAtBitAlignment()
162 val[0] = byte_swap<value_type, endian>(val[0]); in writeAtBitAlignment()
163 val[1] = byte_swap<value_type, endian>(val[1]); in writeAtBitAlignment()
DEndianStream.h35 Val = byte_swap<value_type, endian>(Val); in write()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DEndian.h38 inline value_type byte_swap(value_type value) { in byte_swap() function
55 return byte_swap<value_type, endian>(ret); in read()
73 value = byte_swap<value_type, endian>(value); in write()
97 val[0] = byte_swap<value_type, endian>(val[0]); in readAtBitAlignment()
98 val[1] = byte_swap<value_type, endian>(val[1]); in readAtBitAlignment()
132 val[0] = byte_swap<value_type, endian>(val[0]); in writeAtBitAlignment()
133 val[1] = byte_swap<value_type, endian>(val[1]); in writeAtBitAlignment()
161 val[0] = byte_swap<value_type, endian>(val[0]); in writeAtBitAlignment()
162 val[1] = byte_swap<value_type, endian>(val[1]); in writeAtBitAlignment()
/external/llvm-project/llvm/include/llvm/Support/
DEndian.h49 inline value_type byte_swap(value_type value, endianness endian) { in byte_swap() function
57 inline value_type byte_swap(value_type value) { in byte_swap() function
58 return byte_swap(value, endian); in byte_swap()
70 return byte_swap<value_type>(ret, endian); in read()
98 value = byte_swap<value_type>(value, endian); in write()
128 val[0] = byte_swap<value_type, endian>(val[0]); in readAtBitAlignment()
129 val[1] = byte_swap<value_type, endian>(val[1]); in readAtBitAlignment()
163 val[0] = byte_swap<value_type, endian>(val[0]); in writeAtBitAlignment()
164 val[1] = byte_swap<value_type, endian>(val[1]); in writeAtBitAlignment()
192 val[0] = byte_swap<value_type, endian>(val[0]); in writeAtBitAlignment()
[all …]
DEndianStream.h28 value = byte_swap<value_type>(value, endian); in write()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DEndian.h51 inline value_type byte_swap(value_type value, endianness endian) { in byte_swap() function
59 inline value_type byte_swap(value_type value) { in byte_swap() function
60 return byte_swap(value, endian); in byte_swap()
72 return byte_swap<value_type>(ret, endian); in read()
100 value = byte_swap<value_type>(value, endian); in write()
130 val[0] = byte_swap<value_type, endian>(val[0]); in readAtBitAlignment()
131 val[1] = byte_swap<value_type, endian>(val[1]); in readAtBitAlignment()
165 val[0] = byte_swap<value_type, endian>(val[0]); in writeAtBitAlignment()
166 val[1] = byte_swap<value_type, endian>(val[1]); in writeAtBitAlignment()
194 val[0] = byte_swap<value_type, endian>(val[0]); in writeAtBitAlignment()
[all …]
DEndianStream.h28 value = byte_swap<value_type>(value, endian); in write()
/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h509 return support::endian::byte_swap<uint64_t, Endian>(FuncHash); in getFuncHash()
513 return support::endian::byte_swap<uint32_t, Endian>(DataSize); in getDataSize()
517 return support::endian::byte_swap<IntPtrT, Endian>(NamePtr); in getFuncNameRef()
523 uint32_t NameS = support::endian::byte_swap<uint32_t, Endian>(NameSize); in getFuncName()
537 return support::endian::byte_swap<uint64_t, Endian>(FuncHash); in getFuncHash()
541 return support::endian::byte_swap<uint32_t, Endian>(DataSize); in getDataSize()
545 return support::endian::byte_swap<uint64_t, Endian>(NameRef); in getFuncNameRef()
562 return support::endian::byte_swap<uint32_t, Endian>(NRecords); in getNRecords()
565 return support::endian::byte_swap<uint32_t, Endian>(FilenamesSize); in getFilenamesSize()
568 return support::endian::byte_swap<uint32_t, Endian>(CoverageSize); in getCoverageSize()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h698 return support::endian::byte_swap<uint64_t, Endian>(FuncHash); in getFuncHash()
703 return support::endian::byte_swap<uint32_t, Endian>(DataSize); in getDataSize()
708 return support::endian::byte_swap<IntPtrT, Endian>(NamePtr); in getFuncNameRef()
715 uint32_t NameS = support::endian::byte_swap<uint32_t, Endian>(NameSize); in getFuncName()
729 return support::endian::byte_swap<uint64_t, Endian>(FuncHash); in getFuncHash()
734 return support::endian::byte_swap<uint32_t, Endian>(DataSize); in getDataSize()
739 return support::endian::byte_swap<uint64_t, Endian>(NameRef); in getFuncNameRef()
757 return support::endian::byte_swap<uint32_t, Endian>(NRecords); in getNRecords()
761 return support::endian::byte_swap<uint32_t, Endian>(FilenamesSize); in getFilenamesSize()
765 return support::endian::byte_swap<uint32_t, Endian>(CoverageSize); in getCoverageSize()
[all …]
/external/llvm-project/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h715 return support::endian::byte_swap<uint64_t, Endian>(Record->FuncHash); in getFuncHash()
721 return support::endian::byte_swap<uint32_t, Endian>(Record->DataSize); in getDataSize()
727 return support::endian::byte_swap<uint64_t, Endian>(Record->NameRef); in getFuncNameRef()
780 return support::endian::byte_swap<IntPtrT, Endian>(NamePtr); in getFuncNameRef()
787 uint32_t NameS = support::endian::byte_swap<uint32_t, Endian>(NameSize); in getFuncName()
884 return support::endian::byte_swap<uint64_t, Endian>(FilenamesRef); in getFilenamesRef()
915 return support::endian::byte_swap<uint32_t, Endian>(NRecords); in getNRecords()
919 return support::endian::byte_swap<uint32_t, Endian>(FilenamesSize); in getFilenamesSize()
923 return support::endian::byte_swap<uint32_t, Endian>(CoverageSize); in getCoverageSize()
927 return support::endian::byte_swap<uint32_t, Endian>(Version); in getVersion()
/external/llvm/lib/ProfileData/
DInstrProfReader.cpp585 endian::byte_swap<uint64_t, little>(SummaryInLE->NumSummaryFields); in readSummary()
587 endian::byte_swap<uint64_t, little>(SummaryInLE->NumCutoffEntries); in readSummary()
596 Dst[I] = endian::byte_swap<uint64_t, little>(Src[I]); in readSummary()
638 uint64_t Magic = endian::byte_swap<uint64_t, little>(Header->Magic); in readHeader()
643 uint64_t FormatVersion = endian::byte_swap<uint64_t, little>(Header->Version); in readHeader()
652 endian::byte_swap<uint64_t, little>(Header->HashType)); in readHeader()
656 uint64_t HashOffset = endian::byte_swap<uint64_t, little>(Header->HashOffset); in readHeader()
DInstrProfWriter.cpp61 uint64_t Bytes = endian::byte_swap<uint64_t, little>(P[K].D[I]); in patch()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DInstrProfReader.cpp757 endian::byte_swap<uint64_t, little>(SummaryInLE->NumSummaryFields); in readSummary()
759 endian::byte_swap<uint64_t, little>(SummaryInLE->NumCutoffEntries); in readSummary()
768 Dst[I] = endian::byte_swap<uint64_t, little>(Src[I]); in readSummary()
814 uint64_t Magic = endian::byte_swap<uint64_t, little>(Header->Magic); in readHeader()
819 uint64_t FormatVersion = endian::byte_swap<uint64_t, little>(Header->Version); in readHeader()
832 endian::byte_swap<uint64_t, little>(Header->HashType)); in readHeader()
836 uint64_t HashOffset = endian::byte_swap<uint64_t, little>(Header->HashOffset); in readHeader()
/external/llvm-project/llvm/lib/ProfileData/
DInstrProfReader.cpp764 endian::byte_swap<uint64_t, little>(SummaryInLE->NumSummaryFields); in readSummary()
766 endian::byte_swap<uint64_t, little>(SummaryInLE->NumCutoffEntries); in readSummary()
775 Dst[I] = endian::byte_swap<uint64_t, little>(Src[I]); in readSummary()
821 uint64_t Magic = endian::byte_swap<uint64_t, little>(Header->Magic); in readHeader()
826 uint64_t FormatVersion = endian::byte_swap<uint64_t, little>(Header->Version); in readHeader()
839 endian::byte_swap<uint64_t, little>(Header->HashType)); in readHeader()
843 uint64_t HashOffset = endian::byte_swap<uint64_t, little>(Header->HashOffset); in readHeader()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/RPC/
DRawByteChannel.h99 support::endian::byte_swap<T, support::big>(V); in serialize()
106 support::endian::byte_swap<T, support::big>(V); in deserialize()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/RPC/
DRawByteChannel.h99 support::endian::byte_swap<T, support::big>(V); in serialize()
106 support::endian::byte_swap<T, support::big>(V); in deserialize()
/external/llvm/unittests/MC/
DStringTableBuilderTest.cpp58 support::endian::byte_swap<uint32_t, support::little>(ExpectedSize); in TEST()
/external/llvm-project/llvm/tools/llvm-readobj/
DWindowsResourceDumper.cpp29 uint16_t ChValue = support::endian::byte_swap(Ch, support::little); in stripUTF16()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DRPCChannel.h113 support::endian::byte_swap<T, support::big>(V); in serialize()
128 support::endian::byte_swap<T, support::big>(V); in deserialize()
/external/libiio/src/
Dchannel.c432 static void byte_swap(uint8_t *dst, const uint8_t *src, size_t len) in byte_swap() function
543 byte_swap((void *) dst_ptr, (const void *) src_ptr, in iio_channel_convert()
590 byte_swap((void *) dst_ptr, buf, len); in iio_channel_convert_inverse()
/external/llvm-project/llvm/unittests/MC/
DStringTableBuilderTest.cpp62 support::endian::byte_swap<uint32_t, support::little>(ExpectedSize); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/
DBitstreamWriter.h70 Value = support::endian::byte_swap<uint32_t, support::little>(Value); in WriteWord()

12