Home
last modified time | relevance | path

Searched refs:__builtin_bswap16 (Results 1 – 25 of 32) sorted by relevance

12

/external/fsverity-utils/
Dutil.h81 # define cpu_to_be16(v) ((__force __be16)__builtin_bswap16(v))
82 # define be16_to_cpu(v) (__builtin_bswap16((__force u16)(v)))
88 # define cpu_to_le16(v) ((__force __le16)__builtin_bswap16(v))
89 # define le16_to_cpu(v) (__builtin_bswap16((__force u16)(v)))
/external/flac/include/share/
Dendswap.h38 static inline unsigned short __builtin_bswap16(unsigned short a) in __builtin_bswap16() function
44 #define ENDSWAP_16(x) (__builtin_bswap16 (x))
/external/linux-kselftest/tools/testing/selftests/bpf/
Dbpf_endian.h23 # define __bpf_ntohs(x) __builtin_bswap16(x)
24 # define __bpf_htons(x) __builtin_bswap16(x)
Dtest_xdp_noinline.c320 __builtin_bswap16(pkt_bytes + sizeof(struct ipv6hdr)); in encap_v6()
337 __u32 ip_suffix = __builtin_bswap16(pckt->flow.port16[0]); in encap_v4()
367 iph->tot_len = __builtin_bswap16(pkt_bytes + sizeof(struct iphdr)); in encap_v4()
654 *pkt_bytes = __builtin_bswap16(ip6h->payload_len); in process_l3_headers_v6()
686 *pkt_bytes = __builtin_bswap16(iph->tot_len); in process_l3_headers_v4()
/external/webp/src/utils/
Dendian_inl_utils.h31 #if LOCAL_GCC_PREREQ(4,8) || __has_builtin(__builtin_bswap16)
44 return __builtin_bswap16(x); in BSwap16()
/external/libvpx/libvpx/vpx_util/
Dendian_inl.h51 #if LOCAL_GCC_PREREQ(4, 8) || __has_builtin(__builtin_bswap16)
70 return __builtin_bswap16(x); in BSwap16()
/external/libaom/libaom/aom_util/
Dendian_inl.h55 #if LOCAL_GCC_PREREQ(4, 8) || __has_builtin(__builtin_bswap16)
74 return __builtin_bswap16(x); in BSwap16()
/external/kmod/port-gnu/
Dendian-darwin.h87 # define htole16(x) __builtin_bswap16(x)
89 # define le16toh(x) __builtin_bswap16(x)
/external/iperf3/src/
Dportable_endian.h113 # define htole16(x) __builtin_bswap16(x)
115 # define le16toh(x) __builtin_bswap16(x)
/external/clang/test/Sema/
Dconstant-builtins.c20 int h3 = __builtin_bswap16(0x1234) == 0x3412 ? 1 : f();
Dconstant-builtins-2.c171 int h3 = __builtin_bswap16(0x1234) == 0x3412 ? 1 : f();
/external/u-boot/include/linux/
Dcompiler-intel.h43 #define __builtin_bswap16 _bswap16 macro
/external/libchrome/base/
Dsys_byteorder.h30 return __builtin_bswap16(x); in ByteSwap()
/external/swiftshader/third_party/subzero/crosstest/
Dtest_bitmanip.def46 X(uint16_t, __builtin_bswap16) \
/external/pdfium/third_party/base/
Dsys_byteorder.h31 return __builtin_bswap16(x); in ByteSwap()
/external/kernel-headers/original/uapi/linux/
Dswab.h101 #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x))
/external/honggfuzz/
Dmangle.c722 val = __builtin_bswap16(val); in mangle_AddSubWithRange()
724 val = __builtin_bswap16(val); in mangle_AddSubWithRange()
/external/v8/include/
Dv8config.h225 # define V8_HAS_BUILTIN_BSWAP16 (__has_builtin(__builtin_bswap16))
/external/flatbuffers/include/flatbuffers/
Dbase.h312 #define FLATBUFFERS_BYTESWAP16 __builtin_bswap16 in EndianSwap()
/external/lzma/C/
DCpuArch.h263 || (defined(__clang__) && MY__has_builtin(__builtin_bswap16)) )
/external/clang/lib/Headers/
Darm_acle.h199 return __builtin_bswap16(__t); in __revsh()
/external/libpng/
Dpngtrans.c335 *(png_uint_16*)rp = __builtin_bswap16(*(png_uint_16*)rp); in png_do_swap()
/external/pdfium/third_party/libpng16/
Dpngtrans.c334 *(png_uint_16*)rp = __builtin_bswap16(*(png_uint_16*)rp); in png_do_swap()
/external/harfbuzz_ng/src/
Dhb-machinery.hh694 return __builtin_bswap16 (((packed_uint16_t *) this)->v); in operator Type()
/external/v8/src/
Dutils.h1577 return static_cast<V>(__builtin_bswap16(static_cast<uint16_t>(value))); in ByteReverse()

12