Home
last modified time | relevance | path

Searched refs:bswap_32 (Results 1 – 25 of 48) sorted by relevance

12

/third_party/alsa-lib/src/pcm/
Dplugin_ops.h275 conv_x123_321x: as_u32(dst) = sx24s(bswap_32(as_u32c(src))); goto CONV_END;
277 conv_x123_0321: as_u32(dst) = bswap_32(as_u32c(src)) >> 8; goto CONV_END;
282 conv_x123_329x: as_u32(dst) = sx24s(bswap_32(as_u32c(src)) ^ 0x8000); goto CONV_END;
284 conv_x123_0329: as_u32(dst) = (bswap_32(as_u32c(src)) >> 8) ^ 0x80; goto CONV_END;
288 conv_123x_x321: as_u32(dst) = sx24(bswap_32(as_u32c(src))); goto CONV_END;
290 conv_123x_3210: as_u32(dst) = bswap_32(as_u32c(src)) << 8; goto CONV_END;
295 conv_123x_xB21: as_u32(dst) = sx24(bswap_32(as_u32c(src)) ^ 0x800000); goto CONV_END;
297 conv_123x_B210: as_u32(dst) = bswap_32(as_u32c(src) ^ 0x8000) << 8; goto CONV_END;
303 conv_1234_321x: as_u32(dst) = sx24s(bswap_32(as_u32c(src)) << 8); goto CONV_END;
305 conv_1234_4321: as_u32(dst) = bswap_32(as_u32c(src)); goto CONV_END;
[all …]
Dpcm_dmix_generic.c333 sample = bswap_32(*src) >> 8; in generic_mix_areas_32_swap()
346 *dst = bswap_32(sample); in generic_mix_areas_32_swap()
367 sample = bswap_32(*src) >> 8; in generic_remix_areas_32_swap()
370 *dst = bswap_32(-sample); in generic_remix_areas_32_swap()
379 *dst = bswap_32(sample); in generic_remix_areas_32_swap()
/third_party/protobuf/src/google/protobuf/stubs/
Dport.h233 #define bswap_32(x) _byteswap_ulong(x) macro
239 #define bswap_32(x) OSSwapInt32(x) macro
251 #ifndef bswap_32
252 static inline uint32 bswap_32(uint32 x) { in bswap_32() function
258 #define bswap_32(x) bswap_32(x) macro
351 static uint32 FromHost32(uint32 x) { return bswap_32(x); } in FromHost32()
352 static uint32 ToHost32(uint32 x) { return bswap_32(x); } in ToHost32()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dcommon.h29 #define bswap_32 swap32 macro
33 #define bswap_32 bswap32 macro
50 static inline unsigned int bswap_32(unsigned int v) in bswap_32() function
63 #define bswap_32 CPU_swap_u32 macro
182 #define be_to_host32(n) bswap_32((__force u32) (be32) (n))
183 #define host_to_be32(n) ((__force be32) bswap_32((n)))
193 #define le_to_host32(n) bswap_32(n)
194 #define host_to_le32(n) bswap_32(n)
401 #ifndef bswap_32
402 #define bswap_32(a) ((((u32) (a) << 24) & 0xff000000) | \ macro
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dcommon.h29 #define bswap_32 swap32 macro
33 #define bswap_32 bswap32 macro
50 static inline unsigned int bswap_32(unsigned int v) in bswap_32() function
63 #define bswap_32 CPU_swap_u32 macro
182 #define be_to_host32(n) bswap_32((__force u32) (be32) (n))
183 #define host_to_be32(n) ((__force be32) bswap_32((n)))
193 #define le_to_host32(n) bswap_32(n)
194 #define host_to_le32(n) bswap_32(n)
398 #ifndef bswap_32
399 #define bswap_32(a) ((((u32) (a) << 24) & 0xff000000) | \ macro
/third_party/alsa-lib/include/
Dbswap.h28 #define bswap_32 bswap32 macro
33 #define bswap_32 BSWAP_32 macro
/third_party/alsa-lib/include/sound/
Dtype_compat.h22 #define __cpu_to_be32(x) bswap_32(x)
26 #define __cpu_to_le32(x) bswap_32(x)
/third_party/toybox/lib/
Dportability.h126 #define bswap_32(x) OSSwapInt32(x) macro
158 #define SWAP_LE32(x) bswap_32(x)
163 #define SWAP_BE32(x) bswap_32(x)
/third_party/musl/src/passwd/
Dnscd_query.c78 req_buf[i] = bswap_32(req_buf[i]); in __nscd_query()
90 buf[i] = bswap_32(buf[i]); in __nscd_query()
/third_party/ntfs-3g/include/ntfs-3g/
Dendians.h113 # define bswap_32(x) __ntfs_bswap_constant_32(x) macro
136 #define __be32_to_cpu(x) bswap_32(x)
140 #define __cpu_to_be32(x) bswap_32(x)
154 #define __le32_to_cpu(x) bswap_32(x)
158 #define __cpu_to_le32(x) bswap_32(x)
/third_party/selinux/libsepol/src/
Dprivate.h33 #define cpu_to_le32(x) bswap_32(x)
34 #define le32_to_cpu(x) bswap_32(x)
/third_party/alsa-utils/aplay/
Dformats.h52 #define BE_INT(v) bswap_32(v)
56 #define LE_INT(v) bswap_32(v)
/third_party/musl/porting/liteos_m/kernel/src/network/
Dhtonl.c7 return u.c ? bswap_32(n) : n; in htonl()
Dntohl.c7 return u.c ? bswap_32(n) : n; in ntohl()
/third_party/musl/porting/uniproton/kernel/src/network/
Dntohl.c7 return u.c ? bswap_32(n) : n; in ntohl()
Dhtonl.c7 return u.c ? bswap_32(n) : n; in htonl()
/third_party/musl/porting/liteos_m_iccarm/kernel/src/network/
Dntohl.c7 return u.c ? bswap_32(n) : n; in ntohl()
Dhtonl.c7 return u.c ? bswap_32(n) : n; in htonl()
/third_party/musl/src/network/
Dntohl.c7 return u.c ? bswap_32(n) : n; in ntohl()
Dhtonl.c7 return u.c ? bswap_32(n) : n; in htonl()
/third_party/musl/porting/liteos_a/kernel/src/network/
Dhtonl.c7 return u.c ? bswap_32(n) : n; in htonl()
Dntohl.c7 return u.c ? bswap_32(n) : n; in ntohl()
/third_party/pulseaudio/src/pulsecore/
Dendianmacros.h37 #define PA_INT32_SWAP(x) ((int32_t) bswap_32((uint32_t) x))
38 #define PA_UINT32_SWAP(x) ((uint32_t) bswap_32((uint32_t) x))
/third_party/musl/ndk_musl_include/
Dbyteswap.h23 #define bswap_32(x) __bswap_32(x) macro
/third_party/musl/include/
Dbyteswap.h23 #define bswap_32(x) __bswap_32(x) macro

12