Home
last modified time | relevance | path

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

12

/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/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/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/tensorflow/tensorflow/core/util/tensor_bundle/
DBUILD28 "byte_swap.cc",
29 "byte_swap.h",
45 "byte_swap.cc",
49 "byte_swap.h",
/external/arm-trusted-firmware/tools/nxp/create_pbl/
DMakefile13 PROJECT_2 := byte_swap${BIN_EXT}
14 OBJECTS_2 := byte_swap.o
39 all: create_pbl byte_swap
Dcreate_pbl.mk9 BYTE_SWAP ?= ${CREATE_PBL_PLAT_TOOL_PATH}/byte_swap${BIN_EXT}
Dpbl_ch2.mk9 BYTE_SWAP ?= ${CREATE_PBL_TOOL_PATH}/byte_swap${BIN_EXT}
Dpbl_ch3.mk10 BYTE_SWAP ?= ${CREATE_PBL_TOOL_PATH}/byte_swap${BIN_EXT}
/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/freetype/src/gzip/
Dcrc32.c113 local z_word_t byte_swap OF((z_word_t word));
128 local z_word_t byte_swap( in byte_swap() function
296 crc_big_table[i] = byte_swap(p); in make_crc_table()
530 big[w - 1 - k][i] = byte_swap(q);
943 crc0 = byte_swap(crc); in crc32_z()
1043 crc = byte_swap(comb); in crc32_z()
/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/zlib/
Dcrc32.c118 local z_word_t byte_swap OF((z_word_t word));
133 local z_word_t byte_swap(word) in byte_swap() function
300 crc_big_table[i] = byte_swap(p); in make_crc_table()
534 big[w - 1 - k][i] = byte_swap(q);
992 crc0 = byte_swap(crc);
1092 crc = byte_swap(comb);
/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/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/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/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DELFObjectWriter.cpp1223 uint16_t NumSections = support::endian::byte_swap<uint16_t>( in writeObject()
1232 support::endian::byte_swap<uint64_t>(SectionHeaderOffset, W.Endian); in writeObject()
1238 support::endian::byte_swap<uint32_t>(SectionHeaderOffset, W.Endian); in writeObject()
/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()
/external/llvm/include/llvm/Bitcode/
DBitstreamWriter.h71 Value = support::endian::byte_swap<uint32_t, support::little>(Value); in WriteWord()

12