Home
last modified time | relevance | path

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

/external/elfutils/libelf/
Dversion_xlate.h79 ddest->vd_version = bswap_16 (dsrc->vd_version); in elf_cvt_Verdef()
80 ddest->vd_flags = bswap_16 (dsrc->vd_flags); in elf_cvt_Verdef()
81 ddest->vd_ndx = bswap_16 (dsrc->vd_ndx); in elf_cvt_Verdef()
82 ddest->vd_cnt = bswap_16 (dsrc->vd_cnt); in elf_cvt_Verdef()
120 ddest->vd_version = bswap_16 (dsrc->vd_version); in elf_cvt_Verdef()
121 ddest->vd_flags = bswap_16 (dsrc->vd_flags); in elf_cvt_Verdef()
122 ddest->vd_ndx = bswap_16 (dsrc->vd_ndx); in elf_cvt_Verdef()
123 ddest->vd_cnt = bswap_16 (dsrc->vd_cnt); in elf_cvt_Verdef()
178 ndest->vn_version = bswap_16 (nsrc->vn_version); in elf_cvt_Verneed()
179 ndest->vn_cnt = bswap_16 (nsrc->vn_cnt); in elf_cvt_Verneed()
[all …]
Dcommon.h142 ? bswap_16 (Var) \
151 ? bswap_16 (Var) \
Dgelf_xlate.c99 case 2: STORE (16, dest, bswap_16 (FETCH (16, ptr))); break; \
/external/libtextclassifier/utils/base/
Dendian.h49 #if !defined(bswap_16)
51 #define bswap_16(x) OSSwapInt16(x)
58 static inline uint16 bswap_16(uint16 x) {
61 #define bswap_16(x) bswap_16(x)
/external/protobuf/src/google/protobuf/stubs/
Dport.h282 #define bswap_16(x) _byteswap_ushort(x) macro
288 #define bswap_16(x) OSSwapInt16(x) macro
294 static inline uint16 bswap_16(uint16 x) { in bswap_16() function
297 #define bswap_16(x) bswap_16(x) macro
327 static uint16 FromHost16(uint16 x) { return bswap_16(x); } in FromHost16()
328 static uint16 ToHost16(uint16 x) { return bswap_16(x); } in ToHost16()
/external/libtextclassifier/lang_id/common/lite_base/
Dendian.h36 #ifndef bswap_16
37 static inline uint16 bswap_16(uint16 x) {
40 #define bswap_16(x) bswap_16(x)
/external/wpa_supplicant_8/src/utils/
Dcommon.h27 #define bswap_16 swap16 macro
31 #define bswap_16 bswap16 macro
44 static inline unsigned short bswap_16(unsigned short v) in bswap_16() function
61 #define bswap_16 CPU_swap_u16 macro
177 #define be_to_host16(n) bswap_16((__force u16) (be16) (n))
178 #define host_to_be16(n) ((__force be16) bswap_16((n)))
188 #define le_to_host16(n) bswap_16(n)
189 #define host_to_le16(n) bswap_16(n)
393 #ifndef bswap_16
394 #define bswap_16(a) ((((u16) (a) << 8) & 0xff00) | (((u16) (a) >> 8) & 0xff)) macro
/external/elfutils/libcpu/
Dmemory-access.h55 ? bswap_16 (*((const uint16_t *) (Addr))) \
59 ? (int16_t) bswap_16 (*((const int16_t *) (Addr))) \
100 return bswap_16 (up->u2); in read_2ubyte_unaligned()
108 return (int16_t) bswap_16 (up->u2); in read_2sbyte_unaligned()
/external/toybox/lib/
Dportability.h122 #define bswap_16(x) OSSwapInt16(x) macro
156 #define SWAP_LE16(x) bswap_16(x)
161 #define SWAP_BE16(x) bswap_16(x)
/external/selinux/libsepol/src/
Dprivate.h32 #define cpu_to_le16(x) bswap_16(x)
33 #define le16_to_cpu(x) bswap_16(x)
/external/elfutils/libdw/
Dmemory-access.h170 ? bswap_16 (*((const uint16_t *) (Addr))) \
174 ? (int16_t) bswap_16 (*((const int16_t *) (Addr))) \
230 return bswap_16 (up->u2); in read_2ubyte_unaligned_1()
238 return (int16_t) bswap_16 (up->u2); in read_2sbyte_unaligned_1()
/external/dynamic_depth/internal/base/
Dport.h162 #define bswap_16(x) _byteswap_ushort(x) macro
169 #define bswap_16(x) OSSwapInt16(x) macro
178 static inline uint16 bswap_16(uint16 x) { in bswap_16() function
181 #define bswap_16(x) bswap_16(x) macro
/external/flac/include/share/
Dendswap.h60 #define ENDSWAP_16(x) (bswap_16 (x))
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Hexagon/
Dbitmanip.ll91 ; CHECK-LABEL: bswap_16
94 define i16 @bswap_16(i16 %p) #0 {
/external/elfutils/libdwfl/
Dimage-header.c42 # define LE16(x) bswap_16 (x)
/external/linux-kselftest/tools/testing/selftests/powerpc/vphn/
Dtest-vphn.c10 #define be16_to_cpup(x) bswap_16(*x)
/external/perf_data_converter/src/quipper/
Dbinary_data_utils.h31 *input = bswap_16(*input); in ByteSwap()
/external/blktrace/
Dblktrace.h73 #define __bswap_16 bswap_16
/external/f2fs-tools/include/
Df2fs_fs.h105 static inline uint16_t bswap_16(uint16_t val) in bswap_16() function
159 #define le16_to_cpu(x) bswap_16(x)
162 #define cpu_to_le16(x) bswap_16(x)
/external/libexif/m4m/
Dgp-byteorder.m4104 #define swap16(x) bswap_16(x)
/external/libmtp/m4/
Dbyteorder.m4102 #define swap16(x) bswap_16(x)
/external/libpcap/
Dpcap-usb-linux.c83 #define htols(s) bswap_16(s)