Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/ntpd/
H A Drefclock_tt560.c183 *p_time_t = byte_swap(*tt_mem_t); in tt560_poll()
239 * byte_swap
250 byte_swap(unsigned int input_num) in byte_swap() function
252 byteswap_t byte_swap; in byte_swap() local
255 byte_swap.long_word = input_num; in byte_swap()
257 temp = byte_swap.byte[3]; in byte_swap()
258 byte_swap.byte[3] = byte_swap.byte[0]; in byte_swap()
259 byte_swap.byte[0] = temp; in byte_swap()
261 temp = byte_swap in byte_swap()
[all...]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DFileWriter.cpp38 const uint16_t Swapped = support::endian::byte_swap(U, ByteOrder); in writeU16()
43 const uint32_t Swapped = support::endian::byte_swap(U, ByteOrder); in writeU32()
48 const uint64_t Swapped = support::endian::byte_swap(U, ByteOrder); in writeU64()
53 const uint32_t Swapped = support::endian::byte_swap(U, ByteOrder); in fixup32()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DEndian.h44 [[nodiscard]] inline value_type byte_swap(value_type value, endianness endian) { in byte_swap() function
52 [[nodiscard]] inline value_type byte_swap(value_type value) { in byte_swap() function
53 return byte_swap(value, endian); in byte_swap()
65 return byte_swap<value_type>(ret, endian); in read()
93 value = byte_swap<value_type>(value, endian); in write()
139 val[0] = byte_swap<value_type, endian>(val[0]); in readAtBitAlignment()
140 val[1] = byte_swap<value_type, endian>(val[1]); in readAtBitAlignment()
174 val[0] = byte_swap<value_type, endian>(val[0]); in writeAtBitAlignment()
175 val[1] = byte_swap<value_type, endian>(val[1]); in writeAtBitAlignment()
203 val[0] = byte_swap<value_type, endian>(val[0]); in writeAtBitAlignment()
[all …]
H A DEndianStream.h31 value_type value = byte_swap<value_type>(orig, endian); in write()
38 value = byte_swap<value_type>(value, endian);
62 V = byte_swap<value_type>(V, E); in Writer()
H A DHashBuilder.h350 using HasByteSwapT = decltype(support::endian::byte_swap(
356 T SwappedValue = support::endian::byte_swap(Value, Endianness);
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/
H A DM68kBaseInfo.h85 Val = support::endian::byte_swap(Val, llvm::endianness::big); in swapWord()
89 Part = support::endian::byte_swap(Part, llvm::endianness::big); in swapWord()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h1142 return support::endian::byte_swap<uint64_t, Endian>(Record->FuncHash); in getFuncHash()
1148 return support::endian::byte_swap<uint32_t, Endian>(Record->DataSize); in getDataSize()
1154 return support::endian::byte_swap<uint64_t, Endian>(Record->NameRef); in getFuncNameRef()
1207 return support::endian::byte_swap<IntPtrT, Endian>(NamePtr); in getFuncNameRef()
1214 uint32_t NameS = support::endian::byte_swap<uint32_t, Endian>(NameSize); in getFuncName()
1312 return support::endian::byte_swap<uint64_t, Endian>(FilenamesRef); in getFilenamesRef()
1343 return support::endian::byte_swap<uint32_t, Endian>(NRecords); in getNRecords()
1347 return support::endian::byte_swap<uint32_t, Endian>(FilenamesSize); in getFilenamesSize()
1351 return support::endian::byte_swap<uint32_t, Endian>(CoverageSize); in getCoverageSize()
1355 return support::endian::byte_swap<uint32_t, Endian>(Version); in getVersion()
/freebsd/sys/contrib/zlib/
H A Dcrc32.c113 local z_word_t byte_swap(z_word_t word) { in byte_swap() function
321 crc_big_table[i] = byte_swap(p); in make_crc_table()
537 big[w - 1 - k][i] = byte_swap(q); in braid()
880 crc0 = byte_swap(crc); in crc32_z()
980 crc = byte_swap(comb); in crc32_z()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DWindowsResourceDumper.cpp29 uint16_t ChValue = support::endian::byte_swap(Ch, llvm::endianness::little); in stripUTF16()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DGOFFObjectWriter.cpp140 support::endian::byte_swap<value_type>(Value, llvm::endianness::big); in writebe()
H A DELFObjectWriter.cpp1081 uint16_t NumSections = support::endian::byte_swap<uint16_t>( in writeObject()
1090 support::endian::byte_swap<uint64_t>(SectionHeaderOffset, W.Endian); in writeObject()
1096 support::endian::byte_swap<uint32_t>(SectionHeaderOffset, W.Endian); in writeObject()
H A DMCStreamer.cpp138 uint64_t Swapped = support::endian::byte_swap( in emitIntValue()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingWriter.cpp296 return support::endian::byte_swap<uint64_t, llvm::endianness::little>(N); in write()
H A DCoverageMappingReader.cpp944 support::endian::byte_swap<uint64_t, llvm::endianness::little>( in loadTestingFormat()
1211 support::endian::byte_swap<uint64_t, llvm::endianness::little>( in create()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp1156 uint64_t NFields = endian::byte_swap<uint64_t, llvm::endianness::little>( in readSummary()
1158 uint64_t NEntries = endian::byte_swap<uint64_t, llvm::endianness::little>( in readSummary()
1168 Dst[I] = endian::byte_swap<uint64_t, llvm::endianness::little>(Src[I]); in readSummary()
H A DInstrProfWriter.cpp86 endian::byte_swap<uint64_t, llvm::endianness::little>(K.D[I]); in patch()
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h90 support::endian::byte_swap<uint32_t, llvm::endianness::little>(Value); in WriteWord()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp975 endian::byte_swap<uint64_t, llvm::endianness::little>(Working); in combine()
1002 endian::byte_swap<uint64_t, llvm::endianness::little>(Working); in finalize()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DELFNixPlatform.cpp827 support::endian::byte_swap(*Key, G.getEndianness());
H A DMachOPlatform.cpp1220 support::endian::byte_swap(*Key, G.getEndianness()); in fixTLVSectionsAndEdges()