Home
last modified time | relevance | path

Searched refs:__swab16 (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/kernel/uapi/linux/byteorder/
Dlittle_endian.h55 #define __cpu_to_be16(x) ((__force __be16) __swab16((x)))
56 #define __be16_to_cpu(x) __swab16((__force __u16) (__be16) (x))
Dbig_endian.h49 #define __cpu_to_le16(x) ((__force __le16) __swab16((x)))
50 #define __le16_to_cpu(x) __swab16((__force __u16) (__le16) (x))
/bionic/libc/kernel/uapi/linux/
Dswab.h54 #define __swab16(x) (__u16) __builtin_bswap16((__u16) (x)) macro
66 return __swab16(* p); in __swab16p()
/bionic/tests/
Dlinux_swab_test.cpp25 EXPECT_EQ(0x3412U, __swab16(0x1234)); in TEST()