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.h56 #define __cpu_to_be16(x) (( __be16) __swab16((x)))
57 #define __be16_to_cpu(x) __swab16(( __u16) (__be16) (x))
Dbig_endian.h50 #define __cpu_to_le16(x) (( __le16) __swab16((x)))
51 #define __le16_to_cpu(x) __swab16(( __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()