Searched refs:htonl (Results 1 – 21 of 21) sorted by relevance
/bionic/tests/ |
D | arpa_inet_test.cpp | 22 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 …]
|
D | netinet_in_test.cpp | 53 ASSERT_EQ(be32, (htonl)(le32)); in TEST() 83 mreq.imr_interface.s_addr = htonl(INADDR_ANY); in TEST() 84 mreq.imr_multiaddr.s_addr = htonl(INADDR_ANY); in TEST() 85 mreq.imr_sourceaddr.s_addr = htonl(INADDR_ANY); in TEST()
|
D | netdb_test.cpp | 148 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() 291 in_addr addr = { htonl(0x7f000001) }; in TEST() 325 in_addr addr = { htonl(0xffffffff) }; in TEST()
|
D | endian_test.cpp | 46 ASSERT_EQ(be32, htonl(le32)); in TEST()
|
/bionic/libc/kernel/uapi/linux/ |
D | igmp.h | 85 #define IGMP_ALL_HOSTS htonl(0xE0000001L) 86 #define IGMP_ALL_ROUTER htonl(0xE0000002L) 87 #define IGMPV3_ALL_MCR htonl(0xE0000016L) 88 #define IGMP_LOCAL_GROUP htonl(0xE0000000L) 89 #define IGMP_LOCAL_GROUP_MASK htonl(0xFFFFFF00L)
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
D | htonl.c | 10 #undef htonl 13 htonl(u_int32_t x) in htonl() function
|
D | inet_makeaddr.c | 51 addr = htonl(addr); in inet_makeaddr()
|
/bionic/libc/include/sys/ |
D | endian.h | 52 uint32_t htonl(uint32_t __x) __attribute_const__ __INTRODUCED_IN(21); 58 #define htonl(x) __swap32(x) macro 75 #define HTONL(x) (x) = htonl(__BIONIC_CAST(static_cast,u_int32_t,(x)))
|
/bionic/tests/headers/posix/ |
D | arpa_inet_h.c | 41 FUNCTION(htonl, uint32_t (*f)(uint32_t)); in arpa_inet_h()
|
D | netinet_in_h.c | 83 FUNCTION(htonl, uint32_t (*f)(uint32_t)); in netinet_in_h()
|
/bionic/libc/bionic/ |
D | arpa_inet.cpp | 70 if (addr != nullptr) addr->s_addr = htonl(result); in inet_aton()
|
/bionic/libc/dns/resolv/ |
D | res_init.c | 613 return (htonl(IN_CLASSA_NET)); in net_mask() 615 return (htonl(IN_CLASSB_NET)); in net_mask() 616 return (htonl(IN_CLASSC_NET)); in net_mask()
|
/bionic/libc/tools/ |
D | posix-2013.txt | 393 htonl
|
/bionic/libc/ |
D | libc.arm64.map | 424 htonl; # introduced=21
|
D | libc.x86_64.map | 424 htonl; # introduced=21
|
D | libc.mips64.map | 424 htonl; # introduced=21
|
D | libc.x86.map | 493 htonl; # introduced=21
|
D | libc.mips.map | 495 htonl; # introduced=21
|
D | libc.arm.map | 497 htonl; # introduced=21
|
D | libc.map.txt | 499 htonl; # introduced=21
|
D | Android.bp | 432 "upstream-openbsd/lib/libc/net/htonl.c",
|