Home
last modified time | relevance | path

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

123

/external/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) \
/external/icing/icing/portable/
Dendian.h83 #define bswap_32(x) _byteswap_ulong(x) macro
91 #define bswap_32(x) OSSwapInt32(x) macro
107 static inline uint32 bswap_32(uint32 x) { in bswap_32() function
111 #define bswap_32(x) bswap_32(x) macro
158 return static_cast<uint64>(bswap_32(static_cast<uint32>(host_int >> 32))) | in gbswap_64()
159 (static_cast<uint64>(bswap_32(static_cast<uint32>(host_int))) << 32); in gbswap_64()
162 inline uint32 gbswap_32(uint32 host_int) { return bswap_32(host_int); } in gbswap_32()
/external/libtextclassifier/native/lang_id/common/lite_base/
Dendian.h43 #ifndef bswap_32
44 static inline uint32 bswap_32(uint32 x) {
48 #define bswap_32(x) bswap_32(x)
/external/protobuf/src/google/protobuf/stubs/
Dport.h242 #define bswap_32(x) _byteswap_ulong(x) macro
248 #define bswap_32(x) OSSwapInt32(x) macro
260 #ifndef bswap_32
261 static inline uint32_t bswap_32(uint32_t x) { in bswap_32() function
267 #define bswap_32(x) bswap_32(x) macro
359 static uint32_t FromHost32(uint32_t x) { return bswap_32(x); } in FromHost32()
360 static uint32_t ToHost32(uint32_t x) { return bswap_32(x); } in ToHost32()
/external/cronet/third_party/protobuf/src/google/protobuf/stubs/
Dport.h255 #define bswap_32(x) _byteswap_ulong(x) macro
261 #define bswap_32(x) OSSwapInt32(x) macro
273 #ifndef bswap_32
274 static inline uint32 bswap_32(uint32 x) { in bswap_32() function
280 #define bswap_32(x) bswap_32(x) macro
372 static uint32 FromHost32(uint32 x) { return bswap_32(x); } in FromHost32()
373 static uint32 ToHost32(uint32 x) { return bswap_32(x); } in ToHost32()
/external/libtextclassifier/native/utils/base/
Dendian.h50 #define bswap_32(x) OSSwapInt32(x) macro
60 static inline uint32 bswap_32(uint32 x) { in bswap_32() function
64 #define bswap_32(x) bswap_32(x) macro
/external/wpa_supplicant_8/src/utils/
Dcommon.h28 #define bswap_32 swap32 macro
32 #define bswap_32 bswap32 macro
49 static inline unsigned int bswap_32(unsigned int v) in bswap_32() function
62 #define bswap_32 CPU_swap_u32 macro
181 #define be_to_host32(n) bswap_32((__force u32) (be32) (n))
182 #define host_to_be32(n) ((__force be32) bswap_32((n)))
192 #define le_to_host32(n) bswap_32(n)
193 #define host_to_le32(n) bswap_32(n)
400 #ifndef bswap_32
401 #define bswap_32(a) ((((u32) (a) << 24) & 0xff000000) | \ macro
/external/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()
/external/cronet/base/third_party/cityhash/
Dcity.cc42 #define bswap_32(x) __builtin_bswap32(x) macro
48 #define bswap_32(x) _byteswap_ulong(x) macro
55 #define bswap_32(x) OSSwapInt32(x) macro
61 #define bswap_32(x) BSWAP_32(x) macro
67 #define bswap_32(x) bswap32(x) macro
73 #define bswap_32(x) swap32(x) macro
81 #define bswap_32(x) bswap32(x) macro
91 #define bswap_32(x) __builtin_bswap32(x) macro
101 #define uint32_in_expected_order(x) (bswap_32(x))
257 g = bswap_32(g) * 5; in CityHash32()
[all …]
/external/toybox/lib/
Dportability.h145 #define bswap_32(x) OSSwapInt32(x) macro
159 #define bswap_32(x) bswap32(x) macro
181 #define SWAP_LE32(x) bswap_32(x)
186 #define SWAP_BE32(x) bswap_32(x)
/external/cronet/base/third_party/cityhash/patches/
D0001-bswap-clang.patch14 +#define bswap_32(x) __builtin_bswap32(x)
20 #define bswap_32(x) _byteswap_ulong(x)
/external/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()
/external/google-breakpad/src/common/mac/
Dbyteswap.h57 static inline uint32_t ByteSwap(uint32_t v) { return bswap_32(v); } in ByteSwap()
60 static inline int32_t ByteSwap(int32_t v) { return bswap_32(v); } in ByteSwap()
/external/cronet/base/third_party/cityhash_v103/patches/
D005-bswap-clang.patch14 +#define bswap_32(x) __builtin_bswap32(x)
19 #define bswap_32(x) _byteswap_ulong(x)
/external/linux-kselftest/tools/testing/selftests/powerpc/vphn/
Dtest-vphn.c8 #define cpu_to_be32(x) bswap_32(x)
9 #define be32_to_cpu(x) bswap_32(x)
/external/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()
/external/sg3_utils/include/
Dsg_unaligned.h83 return bswap_32(u); in sg_get_unaligned_be32()
103 uint32_t u = bswap_32(val); in sg_put_unaligned_be32()
175 return bswap_32(u);
195 uint32_t u = bswap_32(val);
/external/selinux/libsepol/src/
Dprivate.h33 #define cpu_to_le32(x) bswap_32(x)
34 #define le32_to_cpu(x) bswap_32(x)
/external/icu/android_icu4j/libcore_bridge/src/native/
Dcom_android_i18n_timezone_internal_Memory.cpp57 v = bswap_32(v); // v=DCBA in bswap_2x16()
80 put_unaligned<jint>(dstInts++, bswap_32(v)); in swapInts()
90 put_unaligned<jint>(dst++, bswap_32(v2)); in swapLongs()
91 put_unaligned<jint>(dst++, bswap_32(v1)); in swapLongs()
/external/elfutils/lib/
Dsystem.h70 # define BE32(n) bswap_32 (n)
75 # define LE32(n) bswap_32 (n)
/external/libbpf/src/
Dbtf.c213 h->hdr_len = bswap_32(h->hdr_len); in btf_bswap_hdr()
214 h->type_off = bswap_32(h->type_off); in btf_bswap_hdr()
215 h->type_len = bswap_32(h->type_len); in btf_bswap_hdr()
216 h->str_off = bswap_32(h->str_off); in btf_bswap_hdr()
217 h->str_len = bswap_32(h->str_len); in btf_bswap_hdr()
232 if (bswap_32(hdr->hdr_len) != sizeof(struct btf_header)) { in btf_parse_hdr()
234 bswap_32(hdr->hdr_len)); in btf_parse_hdr()
329 t->name_off = bswap_32(t->name_off); in btf_bswap_type_base()
330 t->info = bswap_32(t->info); in btf_bswap_type_base()
331 t->type = bswap_32(t->type); in btf_bswap_type_base()
[all …]
/external/musl/src/network/
Dhtonl.c7 return u.c ? bswap_32(n) : n; in htonl()
Dntohl.c7 return u.c ? bswap_32(n) : n; in ntohl()

123