Home
last modified time | relevance | path

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

12

/third_party/elfutils/libelf/
Dversion_xlate.h82 ddest->vd_version = bswap_16 (dsrc->vd_version); in elf_cvt_Verdef()
83 ddest->vd_flags = bswap_16 (dsrc->vd_flags); in elf_cvt_Verdef()
84 ddest->vd_ndx = bswap_16 (dsrc->vd_ndx); in elf_cvt_Verdef()
85 ddest->vd_cnt = bswap_16 (dsrc->vd_cnt); in elf_cvt_Verdef()
141 ddest->vd_version = bswap_16 (dsrc->vd_version); in elf_cvt_Verdef()
142 ddest->vd_flags = bswap_16 (dsrc->vd_flags); in elf_cvt_Verdef()
143 ddest->vd_ndx = bswap_16 (dsrc->vd_ndx); in elf_cvt_Verdef()
144 ddest->vd_cnt = bswap_16 (dsrc->vd_cnt); in elf_cvt_Verdef()
205 ndest->vn_version = bswap_16 (nsrc->vn_version); in elf_cvt_Verneed()
206 ndest->vn_cnt = bswap_16 (nsrc->vn_cnt); in elf_cvt_Verneed()
[all …]
Dcommon.h139 ? bswap_16 (Var) \
148 ? bswap_16 (Var) \
/third_party/alsa-lib/src/pcm/
Dplugin_ops.h247 conv_xx12_xx21: as_u16(dst) = bswap_16(as_u16c(src)); goto CONV_END;
249 conv_xx12_021x: as_u32(dst) = sx24s((uint32_t)bswap_16(as_u16c(src)) << 8); goto CONV_END;
251 conv_xx12_0021: as_u32(dst) = (uint32_t)bswap_16(as_u16c(src)); goto CONV_END;
254 conv_xx12_xx29: as_u16(dst) = bswap_16(as_u16c(src)) ^ 0x80; goto CONV_END;
256 conv_xx12_029x: as_u32(dst) = sx24s((uint32_t)(bswap_16(as_u16c(src)) ^ 0x80) << 8); goto CONV_END;
258 conv_xx12_0029: as_u32(dst) = (uint32_t)(bswap_16(as_u16c(src)) ^ 0x80); goto CONV_END;
260 conv_xx12_x210: as_u32(dst) = sx24((uint32_t)bswap_16(as_u16c(src)) << 8); goto CONV_END;
262 conv_xx12_2100: as_u32(dst) = (uint32_t)bswap_16(as_u16c(src)) << 16; goto CONV_END;
265 conv_xx12_xxA1: as_u16(dst) = bswap_16(as_u16c(src) ^ 0x80); goto CONV_END;
267 conv_xx12_xA10: as_u32(dst) = sx24((uint32_t)bswap_16(as_u16c(src) ^ 0x80) << 8); goto CONV_END;
[all …]
Dpcm_dmix_generic.c270 sample = (signed short) bswap_16(*src); in generic_mix_areas_16_swap()
281 *dst = (signed short) bswap_16((signed short) sample); in generic_mix_areas_16_swap()
302 sample = (signed short) bswap_16(*src); in generic_remix_areas_16_swap()
305 *dst = (signed short) bswap_16((signed short) -sample); in generic_remix_areas_16_swap()
312 *dst = (signed short) bswap_16((signed short) sample); in generic_remix_areas_16_swap()
/third_party/protobuf/src/google/protobuf/stubs/
Dport.h232 #define bswap_16(x) _byteswap_ushort(x) macro
238 #define bswap_16(x) OSSwapInt16(x) macro
244 #ifndef bswap_16
245 static inline uint16 bswap_16(uint16 x) { in bswap_16() function
248 #define bswap_16(x) bswap_16(x) macro
348 static uint16 FromHost16(uint16 x) { return bswap_16(x); } in FromHost16()
349 static uint16 ToHost16(uint16 x) { return bswap_16(x); } in ToHost16()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dcommon.h28 #define bswap_16 swap16 macro
32 #define bswap_16 bswap16 macro
45 static inline unsigned short bswap_16(unsigned short v) in bswap_16() function
62 #define bswap_16 CPU_swap_u16 macro
178 #define be_to_host16(n) bswap_16((__force u16) (be16) (n))
179 #define host_to_be16(n) ((__force be16) bswap_16((n)))
189 #define le_to_host16(n) bswap_16(n)
190 #define host_to_le16(n) bswap_16(n)
394 #ifndef bswap_16
395 #define bswap_16(a) ((((u16) (a) << 8) & 0xff00) | (((u16) (a) >> 8) & 0xff)) macro
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dcommon.h28 #define bswap_16 swap16 macro
32 #define bswap_16 bswap16 macro
45 static inline unsigned short bswap_16(unsigned short v) in bswap_16() function
62 #define bswap_16 CPU_swap_u16 macro
178 #define be_to_host16(n) bswap_16((__force u16) (be16) (n))
179 #define host_to_be16(n) ((__force be16) bswap_16((n)))
189 #define le_to_host16(n) bswap_16(n)
190 #define host_to_le16(n) bswap_16(n)
397 #ifndef bswap_16
398 #define bswap_16(a) ((((u16) (a) << 8) & 0xff00) | (((u16) (a) >> 8) & 0xff)) macro
/third_party/elfutils/libcpu/
Dmemory-access.h54 ? bswap_16 (*((const uint16_t *) (Addr))) \
58 ? (int16_t) bswap_16 (*((const int16_t *) (Addr))) \
99 return bswap_16 (up->u2); in read_2ubyte_unaligned()
107 return (int16_t) bswap_16 (up->u2); in read_2sbyte_unaligned()
/third_party/alsa-lib/include/
Dbswap.h27 #define bswap_16 bswap16 macro
32 #define bswap_16 BSWAP_16 macro
/third_party/alsa-lib/include/sound/
Dtype_compat.h24 #define __cpu_to_be16(x) bswap_16(x)
28 #define __cpu_to_le16(x) bswap_16(x)
/third_party/toybox/lib/
Dportability.h130 #define bswap_16(x) OSSwapInt16(x) macro
162 #define SWAP_LE16(x) bswap_16(x)
167 #define SWAP_BE16(x) bswap_16(x)
/third_party/ntfs-3g/include/ntfs-3g/
Dendians.h112 # define bswap_16(x) __ntfs_bswap_constant_16(x) macro
135 #define __be16_to_cpu(x) bswap_16(x)
139 #define __cpu_to_be16(x) bswap_16(x)
153 #define __le16_to_cpu(x) bswap_16(x)
157 #define __cpu_to_le16(x) bswap_16(x)
/third_party/selinux/libsepol/src/
Dprivate.h31 #define cpu_to_le16(x) bswap_16(x)
32 #define le16_to_cpu(x) bswap_16(x)
/third_party/elfutils/libdw/
Dmemory-access.h201 ? bswap_16 (*((const uint16_t *) (Addr))) \
205 ? (int16_t) bswap_16 (*((const int16_t *) (Addr))) \
261 return bswap_16 (up->u2); in read_2ubyte_unaligned_1()
269 return (int16_t) bswap_16 (up->u2); in read_2sbyte_unaligned_1()
/third_party/alsa-utils/aplay/
Dformats.h51 #define BE_SHORT(v) bswap_16(v)
55 #define LE_SHORT(v) bswap_16(v)
/third_party/musl/porting/liteos_m/kernel/src/network/
Dntohs.c7 return u.c ? bswap_16(n) : n; in ntohs()
Dhtons.c7 return u.c ? bswap_16(n) : n; in htons()
/third_party/musl/porting/liteos_a/kernel/src/network/
Dntohs.c7 return u.c ? bswap_16(n) : n; in ntohs()
Dhtons.c7 return u.c ? bswap_16(n) : n; in htons()
/third_party/musl/porting/uniproton/kernel/src/network/
Dntohs.c7 return u.c ? bswap_16(n) : n; in ntohs()
Dhtons.c7 return u.c ? bswap_16(n) : n; in htons()
/third_party/musl/porting/liteos_m_iccarm/kernel/src/network/
Dhtons.c7 return u.c ? bswap_16(n) : n; in htons()
Dntohs.c7 return u.c ? bswap_16(n) : n; in ntohs()
/third_party/musl/src/network/
Dhtons.c7 return u.c ? bswap_16(n) : n; in htons()
Dntohs.c7 return u.c ? bswap_16(n) : n; in ntohs()

12