Home
last modified time | relevance | path

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

123

/third_party/elfutils/libelf/
Dversion_xlate.h86 ddest->vd_hash = bswap_32 (dsrc->vd_hash); in elf_cvt_Verdef()
87 ddest->vd_aux = bswap_32 (dsrc->vd_aux); in elf_cvt_Verdef()
88 ddest->vd_next = bswap_32 (dsrc->vd_next); in elf_cvt_Verdef()
122 adest->vda_name = bswap_32 (asrc->vda_name); in elf_cvt_Verdef()
123 adest->vda_next = bswap_32 (asrc->vda_next); in elf_cvt_Verdef()
145 ddest->vd_hash = bswap_32 (dsrc->vd_hash); in elf_cvt_Verdef()
146 ddest->vd_aux = bswap_32 (dsrc->vd_aux); in elf_cvt_Verdef()
147 ddest->vd_next = bswap_32 (dsrc->vd_next); in elf_cvt_Verdef()
207 ndest->vn_file = bswap_32 (nsrc->vn_file); in elf_cvt_Verneed()
208 ndest->vn_aux = bswap_32 (nsrc->vn_aux); in elf_cvt_Verneed()
[all …]
Dgnuhash_xlate.h49 dest32[cnt] = bswap_32 (src32[cnt]); in elf_cvt_gnuhash()
71 *dest32++ = bswap_32 (*src32++); in elf_cvt_gnuhash()
Dcommon.h141 ? bswap_32 (Var) \
150 ? bswap_32 (Var) \
/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/elfutils/libcpu/
Dmemory-access.h65 ? bswap_32 (*((const uint32_t *) (Addr))) \
69 ? (int32_t) bswap_32 (*((const int32_t *) (Addr))) \
122 return bswap_32 (up->u4); in read_4ubyte_unaligned()
130 return (int32_t) bswap_32 (up->u4); in read_4sbyte_unaligned()
/third_party/alsa-lib/include/
Dbswap.h28 #define bswap_32 bswap32 macro
33 #define bswap_32 BSWAP_32 macro
/third_party/elfutils/libdw/
Dmemory-access.h212 ? bswap_32 (*((const uint32_t *) (Addr))) \
216 ? (int32_t) bswap_32 (*((const int32_t *) (Addr))) \
284 return bswap_32 (up->u4); in read_4ubyte_unaligned_1()
292 return (int32_t) bswap_32 (up->u4); in read_4sbyte_unaligned_1()
390 return bswap_32 (d.u4); in read_3ubyte_unaligned()
/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.h131 #define bswap_32(x) OSSwapInt32(x) macro
163 #define SWAP_LE32(x) bswap_32(x)
168 #define SWAP_BE32(x) bswap_32(x)
/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/musl/src/passwd/
Dnscd_query.c86 req_buf[i] = bswap_32(req_buf[i]); in __nscd_query()
98 buf[i] = bswap_32(buf[i]); in __nscd_query()
/third_party/musl/porting/liteos_a/user/src/passwd/
Dnscd_query.c86 req_buf[i] = bswap_32(req_buf[i]); in __nscd_query()
98 buf[i] = bswap_32(buf[i]); in __nscd_query()
/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/libbpf/src/
Dbtf.c228 h->hdr_len = bswap_32(h->hdr_len); in btf_bswap_hdr()
229 h->type_off = bswap_32(h->type_off); in btf_bswap_hdr()
230 h->type_len = bswap_32(h->type_len); in btf_bswap_hdr()
231 h->str_off = bswap_32(h->str_off); in btf_bswap_hdr()
232 h->str_len = bswap_32(h->str_len); in btf_bswap_hdr()
247 if (bswap_32(hdr->hdr_len) != sizeof(struct btf_header)) { in btf_parse_hdr()
249 bswap_32(hdr->hdr_len)); in btf_parse_hdr()
346 t->name_off = bswap_32(t->name_off); in btf_bswap_type_base()
347 t->info = bswap_32(t->info); in btf_bswap_type_base()
348 t->type = bswap_32(t->type); in btf_bswap_type_base()
[all …]
/third_party/elfutils/lib/
Dsystem.h70 # define BE32(n) bswap_32 (n)
75 # define LE32(n) bswap_32 (n)
/third_party/musl/porting/uniproton/kernel/src/network/
Dhtonl.c7 return u.c ? bswap_32(n) : n; in htonl()
/third_party/musl/src/network/
Dhtonl.c7 return u.c ? bswap_32(n) : n; in htonl()
/third_party/musl/porting/liteos_m/kernel/src/network/
Dhtonl.c7 return u.c ? bswap_32(n) : n; in htonl()
/third_party/musl/porting/liteos_m_iccarm/kernel/src/network/
Dhtonl.c7 return u.c ? bswap_32(n) : n; in htonl()
/third_party/musl/porting/liteos_a/kernel/src/network/
Dntohl.c7 return u.c ? bswap_32(n) : n; in ntohl()

123