/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_tt560.c | 183 *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 D | FileWriter.cpp | 38 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 D | Endian.h | 44 [[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 D | EndianStream.h | 31 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 D | HashBuilder.h | 350 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 D | M68kBaseInfo.h | 85 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 D | CoverageMapping.h | 1142 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 D | crc32.c | 113 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 D | WindowsResourceDumper.cpp | 29 uint16_t ChValue = support::endian::byte_swap(Ch, llvm::endianness::little); in stripUTF16()
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | GOFFObjectWriter.cpp | 140 support::endian::byte_swap<value_type>(Value, llvm::endianness::big); in writebe()
|
H A D | ELFObjectWriter.cpp | 1081 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 D | MCStreamer.cpp | 138 uint64_t Swapped = support::endian::byte_swap( in emitIntValue()
|
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/ |
H A D | CoverageMappingWriter.cpp | 296 return support::endian::byte_swap<uint64_t, llvm::endianness::little>(N); in write()
|
H A D | CoverageMappingReader.cpp | 944 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 D | InstrProfReader.cpp | 1156 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 D | InstrProfWriter.cpp | 86 endian::byte_swap<uint64_t, llvm::endianness::little>(K.D[I]); in patch()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitstream/ |
H A D | BitstreamWriter.h | 90 support::endian::byte_swap<uint32_t, llvm::endianness::little>(Value); in WriteWord()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenPGO.cpp | 975 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 D | ELFNixPlatform.cpp | 827 support::endian::byte_swap(*Key, G.getEndianness());
|
H A D | MachOPlatform.cpp | 1220 support::endian::byte_swap(*Key, G.getEndianness()); in fixTLVSectionsAndEdges()
|