Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/include/llvm/Support/
H A 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 …]
H A DEndianStream.h29 value = byte_swap<value_type>(value, endian); in write()
H A DHashBuilder.h312 using HasByteSwapT = decltype(support::endian::byte_swap(
318 T SwappedValue = support::endian::byte_swap(Value, Endianness); in adjustForEndiannessAndAdd()
/openbsd/gnu/llvm/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h786 return support::endian::byte_swap<uint64_t, Endian>(Record->FuncHash); in getFuncHash()
792 return support::endian::byte_swap<uint32_t, Endian>(Record->DataSize); in getDataSize()
798 return support::endian::byte_swap<uint64_t, Endian>(Record->NameRef); in getFuncNameRef()
851 return support::endian::byte_swap<IntPtrT, Endian>(NamePtr); in getFuncNameRef()
858 uint32_t NameS = support::endian::byte_swap<uint32_t, Endian>(NameSize); in getFuncName()
955 return support::endian::byte_swap<uint64_t, Endian>(FilenamesRef); in getFilenamesRef()
986 return support::endian::byte_swap<uint32_t, Endian>(NRecords); in getNRecords()
990 return support::endian::byte_swap<uint32_t, Endian>(FilenamesSize); in getFilenamesSize()
994 return support::endian::byte_swap<uint32_t, Endian>(CoverageSize); in getCoverageSize()
998 return support::endian::byte_swap<uint32_t, Endian>(Version); in getVersion()
/openbsd/gnu/llvm/llvm/lib/Target/M68k/MCTargetDesc/
H A DM68kBaseInfo.h59 Val = support::endian::byte_swap(Val, support::big); in swapWord()
63 Part = support::endian::byte_swap(Part, support::big); in swapWord()
/openbsd/lib/libz/
H A Dcrc32.c111 local z_word_t byte_swap(z_word_t word) { in byte_swap() function
319 crc_big_table[i] = byte_swap(p); in make_crc_table()
535 big[w - 1 - k][i] = byte_swap(q); in braid()
878 crc0 = byte_swap(crc); in crc32_z()
978 crc = byte_swap(comb); in crc32_z()
/openbsd/sys/lib/libz/
H A Dcrc32.c111 local z_word_t byte_swap(z_word_t word) { in byte_swap() function
319 crc_big_table[i] = byte_swap(p); in make_crc_table()
535 big[w - 1 - k][i] = byte_swap(q); in braid()
878 crc0 = byte_swap(crc); in crc32_z()
978 crc = byte_swap(comb); in crc32_z()
/openbsd/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src/
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()
/openbsd/gnu/llvm/llvm/lib/ProfileData/
H A DInstrProfReader.cpp936 endian::byte_swap<uint64_t, little>(SummaryInLE->NumSummaryFields); in readSummary()
938 endian::byte_swap<uint64_t, little>(SummaryInLE->NumCutoffEntries); in readSummary()
947 Dst[I] = endian::byte_swap<uint64_t, little>(Src[I]); in readSummary()
1004 endian::byte_swap<uint64_t, little>(Header->HashType)); in readHeader()
1008 uint64_t HashOffset = endian::byte_swap<uint64_t, little>(Header->HashOffset); in readHeader()
1019 endian::byte_swap<uint64_t, little>(Header->MemProfOffset); in readHeader()
1056 endian::byte_swap<uint64_t, little>(Header->BinaryIdOffset); in readHeader()
H A DInstrProf.cpp1349 return endian::byte_swap<uint64_t, little>(Version); in formatVersion()
1361 uint64_t Magic = endian::byte_swap<uint64_t, little>(H.Magic); in readFromBuffer()
H A DInstrProfWriter.cpp82 uint64_t Bytes = endian::byte_swap<uint64_t, little>(P[K].D[I]); in patch()
/openbsd/gnu/llvm/llvm/tools/llvm-readobj/
H A DWindowsResourceDumper.cpp29 uint16_t ChValue = support::endian::byte_swap(Ch, support::little); in stripUTF16()
/openbsd/gnu/usr.bin/gcc/gcc/java/
H A Dlex.c280 lex->byte_swap = need_byteswap;
389 lex->byte_swap = 0;
394 lex->byte_swap = 1;
400 if (lex->byte_swap)
H A Dlex.h124 int byte_swap : 1; member
H A DChangeLog4539 * lex.h (java_lexer): New fields read_anything, byte_swap,
/openbsd/gnu/llvm/llvm/lib/MC/
H A DELFObjectWriter.cpp1209 uint16_t NumSections = support::endian::byte_swap<uint16_t>( in writeObject()
1218 support::endian::byte_swap<uint64_t>(SectionHeaderOffset, W.Endian); in writeObject()
1224 support::endian::byte_swap<uint32_t>(SectionHeaderOffset, W.Endian); in writeObject()
H A DMCStreamer.cpp139 uint64_t Swapped = support::endian::byte_swap( in emitIntValue()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenPGO.cpp758 uint64_t Swapped = endian::byte_swap<uint64_t, little>(Working); in combine()
784 uint64_t Swapped = endian::byte_swap<uint64_t, little>(Working); in finalize()
/openbsd/gnu/llvm/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h78 Value = support::endian::byte_swap<uint32_t, support::little>(Value); in WriteWord()
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DELFNixPlatform.cpp869 support::endian::byte_swap(*Key, G.getEndianness()); in fixTLVSectionsAndEdges()
H A DMachOPlatform.cpp1044 support::endian::byte_swap(*Key, G.getEndianness()); in fixTLVSectionsAndEdges()