Searched refs:ntohl (Results 1 – 20 of 20) sorted by relevance
/bionic/libc/tzcode/ |
D | bionic.cpp | 137 if (TEMP_FAILURE_RETRY(lseek(fd, ntohl(header.index_offset), SEEK_SET)) == -1) { in __bionic_open_tzdata_path() 143 if (ntohl(header.index_offset) > ntohl(header.data_offset)) { in __bionic_open_tzdata_path() 145 __FUNCTION__, path, ntohl(header.data_offset), ntohl(header.index_offset)); in __bionic_open_tzdata_path() 149 const size_t index_size = ntohl(header.data_offset) - ntohl(header.index_offset); in __bionic_open_tzdata_path() 179 specific_zone_offset = ntohl(entry->start) + ntohl(header.data_offset); in __bionic_open_tzdata_path() 180 *entry_length = ntohl(entry->length); in __bionic_open_tzdata_path()
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
D | ntohl.c | 10 #undef ntohl 13 ntohl(u_int32_t x) in ntohl() function
|
D | inet_lnaof.c | 42 in_addr_t i = ntohl(in.s_addr); in inet_lnaof()
|
D | inet_netof.c | 41 in_addr_t i = ntohl(in.s_addr); in inet_netof()
|
/bionic/libc/include/netinet/ |
D | in6.h | 46 (((a)->s6_addr32[3]) == ntohl(1))) 52 (((a)->s6_addr32[3]) != 0) && (((a)->s6_addr32[3]) != ntohl(1))) 57 (((a)->s6_addr32[2]) == ntohl(0x0000ffff)))
|
/bionic/libc/include/sys/ |
D | endian.h | 54 uint32_t ntohl(uint32_t __x) __attribute_const__ __INTRODUCED_IN(21); 60 #define ntohl(x) __swap32(x) macro 73 #define NTOHL(x) (x) = ntohl(__BIONIC_CAST(static_cast,u_int32_t,(x)))
|
/bionic/tests/headers/posix/ |
D | arpa_inet_h.c | 43 FUNCTION(ntohl, uint32_t (*f)(uint32_t)); in arpa_inet_h()
|
D | netinet_in_h.c | 85 FUNCTION(ntohl, uint32_t (*f)(uint32_t)); in netinet_in_h()
|
/bionic/libc/bionic/ |
D | arpa_inet.cpp | 27 return ntohl(network_order); in inet_network()
|
/bionic/tests/ |
D | netinet_in_test.cpp | 76 ASSERT_EQ(le32, (ntohl)(be32)); in TEST()
|
D | endian_test.cpp | 56 ASSERT_EQ(le32, ntohl(be32)); in TEST()
|
D | ifaddrs_test.cpp | 61 ASSERT_TRUE(ntohl(sa_inet4->sin_addr.s_addr) == INADDR_LOOPBACK); in TEST() 135 EXPECT_TRUE(addrs.find(addr) != addrs.end()) << if_name << ' ' << std::hex << ntohl(addr); in CheckAddressIsInSet()
|
/bionic/libc/dns/net/ |
D | getnameinfo.c | 76 ((((a)->s6_addr32[0]) == ntohl(0x0064ff9b)) && \ 242 ntohl(((const struct sockaddr_in *) in getnameinfo_inet()
|
D | gethnamaddr.c | 584 size = ntohl(size); in android_read_hostent() 602 size = ntohl(size); in android_read_hostent() 630 hp->h_addrtype = ntohl(size); in android_read_hostent() 633 hp->h_length = ntohl(size); in android_read_hostent() 640 size = ntohl(size); in android_read_hostent()
|
D | getaddrinfo.c | 399 *result = ntohl(tmp); in readBE32() 1532 unsigned long int na = ntohl(addr4->sin_addr.s_addr); in _get_scope() 1557 ((*(const uint32_t *)(const void *)(&(a)->s6_addr[0]) == ntohl(0x20010000)))
|
/bionic/libc/dns/resolv/ |
D | res_init.c | 610 register uint32_t i = ntohl(in.s_addr); in net_mask()
|
/bionic/libc/tools/ |
D | posix-2013.txt | 609 ntohl
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 706 ntohl; # introduced=21
|
/bionic/libc/ |
D | libc.map.txt | 706 ntohl; # introduced=21
|
D | Android.bp | 508 "upstream-openbsd/lib/libc/net/ntohl.c",
|