Home
last modified time | relevance | path

Searched refs:htonl (Results 1 – 21 of 21) sorted by relevance

/bionic/tests/
Darpa_inet_test.cpp22 ASSERT_EQ((htonl)(0x7f000001), inet_addr("127.0.0.1")); in TEST()
31 ASSERT_EQ((htonl)(0x7f010203), a.s_addr); in TEST()
36 ASSERT_EQ((htonl)(0x7f010002), a.s_addr); in TEST()
41 ASSERT_EQ((htonl)(0x7f000001), a.s_addr); in TEST()
46 ASSERT_EQ((htonl)(0x7f000001), a.s_addr); in TEST()
51 ASSERT_EQ((htonl)(0xff000001), a.s_addr); in TEST()
56 ASSERT_EQ((htonl)(0xff000001), a.s_addr); in TEST()
61 ASSERT_EQ((htonl)(0x7f000001), a.s_addr); in TEST()
65 ASSERT_EQ((htonl)(036U), a.s_addr); in TEST()
109 in_addr a = { htonl(0x12345678) }; in TEST()
[all …]
Dnetdb_test.cpp148 addr.sin_addr.s_addr = htonl(0x7f000001); in TEST()
240 in_addr addr = { htonl(0x7f000001) }; in TEST()
246 in_addr addr = { htonl(0x7f000001) }; in TEST()
289 in_addr addr = { htonl(0x7f000001) }; in TEST()
/bionic/libc/kernel/uapi/linux/
Digmp.h101 #define IGMP_ALL_HOSTS htonl(0xE0000001L)
102 #define IGMP_ALL_ROUTER htonl(0xE0000002L)
104 #define IGMPV3_ALL_MCR htonl(0xE0000016L)
105 #define IGMP_LOCAL_GROUP htonl(0xE0000000L)
106 #define IGMP_LOCAL_GROUP_MASK htonl(0xFFFFFF00L)
/bionic/libc/upstream-openbsd/lib/libc/net/
Dhtonl.c10 #undef htonl
13 htonl(u_int32_t x) in htonl() function
Dinet_makeaddr.c52 addr = htonl(addr); in inet_makeaddr()
/bionic/libc/include/sys/
Dendian.h52 uint32_t htonl(uint32_t) __pure2;
58 #define htonl(x) __swap32(x) macro
75 #define HTONL(x) (x) = htonl((u_int32_t)(x))
/bionic/libc/bionic/
Darpa_inet.cpp70 if (addr != nullptr) addr->s_addr = htonl(result); in inet_aton()
/bionic/libc/dns/resolv/
Dres_init.c612 return (htonl(IN_CLASSA_NET)); in net_mask()
614 return (htonl(IN_CLASSB_NET)); in net_mask()
615 return (htonl(IN_CLASSC_NET)); in net_mask()
/bionic/libc/
Dlibc.mips64.map431 htonl;
Dlibc.x86_64.map431 htonl;
Dlibc.arm64.map431 htonl;
Dlibc.x86.brillo.map500 htonl;
Dlibc.mips.brillo.map502 htonl;
Dlibc.arm.brillo.map504 htonl;
Dlibc.mips.map502 htonl;
Dlibc.x86.map500 htonl;
Dlibc.arm.map504 htonl;
Dlibc.map.txt506 htonl;
DAndroid.mk433 upstream-openbsd/lib/libc/net/htonl.c \
DAndroid.bp453 "upstream-openbsd/lib/libc/net/htonl.c",
/bionic/libc/tools/
Dposix-2013.txt393 htonl