Home
last modified time | relevance | path

Searched refs:byteswap (Results 1 – 25 of 27) sorted by relevance

12

/openbsd/gnu/llvm/llvm/include/llvm/Support/
H A DSwapByteOrder.h51 inline uint16_t ByteSwap_16(uint16_t value) { return llvm::byteswap(value); } in ByteSwap_16()
54 inline uint32_t ByteSwap_32(uint32_t value) { return llvm::byteswap(value); } in ByteSwap_32()
57 inline uint64_t ByteSwap_64(uint64_t value) { return llvm::byteswap(value); } in ByteSwap_64()
69 inline unsigned char getSwappedBytes(unsigned char C) { return llvm::byteswap(C); } in getSwappedBytes()
70 inline signed char getSwappedBytes( signed char C) { return llvm::byteswap(C); } in getSwappedBytes()
71 inline char getSwappedBytes( char C) { return llvm::byteswap(C); } in getSwappedBytes()
73 inline unsigned short getSwappedBytes(unsigned short C) { return llvm::byteswap(C); } in getSwappedBytes()
74 inline signed short getSwappedBytes( signed short C) { return llvm::byteswap(C); } in getSwappedBytes()
91 out.i = llvm::byteswap(in.i); in getSwappedBytes()
101 out.i = llvm::byteswap(in.i); in getSwappedBytes()
[all …]
/openbsd/lib/libelf/
H A Dlibelf_convert.m4153 if (!byteswap) {
177 if (!byteswap) {
280 if (byteswap) {
740 byteswap));
748 byteswap));
799 if (byteswap)
810 if (byteswap)
829 if (byteswap)
885 if (byteswap)
893 if (byteswap)
[all …]
H A Dlibelf_xlate.c51 int byteswap; in _libelf_xlate() local
136 byteswap = encoding != LIBELF_PRIVATE(byteorder); in _libelf_xlate()
139 (db == sb && !byteswap && fsz == msz)) in _libelf_xlate()
144 if (!xlator(dst->d_buf, dsz, src->d_buf, cnt, byteswap)) { in _libelf_xlate()
/openbsd/gnu/llvm/libcxx/include/__bit/
H A Dbyteswap.h27 _LIBCPP_HIDE_FROM_ABI constexpr _Tp byteswap(_Tp __val) noexcept { in byteswap() function
42 return static_cast<_Tp>(byteswap(static_cast<uint64_t>(__val))) << 64 | in byteswap()
43 static_cast<_Tp>(byteswap(static_cast<uint64_t>(__val >> 64))); in byteswap()
/openbsd/gnu/llvm/libcxx/include/
H A Dbit21 // [bit.byteswap], byteswap
23 constexpr T byteswap(T value) noexcept; // C++23
71 #include <__bit/byteswap.h>
H A DCMakeLists.txt201 __bit/byteswap.h
H A Dmodule.modulemap.in638 module byteswap { private header "__bit/byteswap.h" }
/openbsd/gnu/llvm/llvm/include/llvm/ADT/
H A Dbit.h65 [[nodiscard]] constexpr T byteswap(T V) noexcept { in byteswap() function
99 uint64_t Hi = llvm::byteswap<uint32_t>(UV); in byteswap()
100 uint32_t Lo = llvm::byteswap<uint32_t>(UV >> 32); in byteswap()
/openbsd/usr.sbin/mtrace/
H A Dmtrace.c156 u_long byteswap(u_long v);
362 byteswap(u_long v) in byteswap() function
954 b->tr_qarr = byteswap(b->tr_qarr); in fixup_stats()
955 b->tr_vifin = byteswap(b->tr_vifin); in fixup_stats()
956 b->tr_vifout = byteswap(b->tr_vifout); in fixup_stats()
957 b->tr_pktcnt = byteswap(b->tr_pktcnt); in fixup_stats()
960 n->tr_qarr = byteswap(n->tr_qarr); in fixup_stats()
961 n->tr_vifin = byteswap(n->tr_vifin); in fixup_stats()
962 n->tr_vifout = byteswap(n->tr_vifout); in fixup_stats()
963 n->tr_pktcnt = byteswap(n->tr_pktcnt); in fixup_stats()
/openbsd/gnu/llvm/llvm/docs/
H A DExtendingLLVM.rst84 instruction (add, sub) or intrinsic (byteswap, population count). In other
122 a wider size, performs the byteswap, and then shifts the correct bytes right
123 to emulate the narrower byteswap in the wider type.
/openbsd/gnu/llvm/llvm/utils/gn/secondary/libcxx/include/
H A DBUILD.gn276 "__bit/byteswap.h",
/openbsd/gnu/lib/libcxx/
H A DMakefile290 __bit/byteswap.h \
/openbsd/gnu/usr.bin/binutils-2.17/bfd/
H A DChangeLog-91933886 * libbfd.c: Whitespace changes around byteswap macros.
3887 * libbfd-in.h: Whitespace changes around byteswap declarations.
6743 in host byte order. Replace byteswap routines with aborts in case
/openbsd/gnu/usr.bin/binutils/bfd/
H A DChangeLog-91933886 * libbfd.c: Whitespace changes around byteswap macros.
3887 * libbfd-in.h: Whitespace changes around byteswap declarations.
6743 in host byte order. Replace byteswap routines with aborts in case
/openbsd/gnu/usr.bin/binutils/gdb/
H A DChangeLog-19914416 (check_host, byteswap, byteswap_val, reorder_val): Eliminate
5105 * nindy-share/nindy.c (ninStopWhy): Don't byteswap the
/openbsd/distrib/sets/lists/comp/
H A Dclang.amd64213 ./usr/include/c++/v1/__bit/byteswap.h
H A Dclang.arm64213 ./usr/include/c++/v1/__bit/byteswap.h
H A Dclang.armv7211 ./usr/include/c++/v1/__bit/byteswap.h
H A Dclang.i386211 ./usr/include/c++/v1/__bit/byteswap.h
H A Dclang.loongson212 ./usr/include/c++/v1/__bit/byteswap.h
H A Dclang.macppc212 ./usr/include/c++/v1/__bit/byteswap.h
H A Dclang.octeon212 ./usr/include/c++/v1/__bit/byteswap.h
H A Dclang.powerpc64211 ./usr/include/c++/v1/__bit/byteswap.h
H A Dclang.riscv64211 ./usr/include/c++/v1/__bit/byteswap.h
H A Dclang.sparc64212 ./usr/include/c++/v1/__bit/byteswap.h

12