Home
last modified time | relevance | path

Searched refs:ntohl (Results 1 – 20 of 20) sorted by relevance

/bionic/libc/tzcode/
Dbionic.cpp137 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/
Dntohl.c10 #undef ntohl
13 ntohl(u_int32_t x) in ntohl() function
Dinet_lnaof.c42 in_addr_t i = ntohl(in.s_addr); in inet_lnaof()
Dinet_netof.c41 in_addr_t i = ntohl(in.s_addr); in inet_netof()
/bionic/libc/include/netinet/
Din6.h46 (((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/
Dendian.h54 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/
Darpa_inet_h.c43 FUNCTION(ntohl, uint32_t (*f)(uint32_t)); in arpa_inet_h()
Dnetinet_in_h.c85 FUNCTION(ntohl, uint32_t (*f)(uint32_t)); in netinet_in_h()
/bionic/libc/bionic/
Darpa_inet.cpp27 return ntohl(network_order); in inet_network()
/bionic/tests/
Dnetinet_in_test.cpp76 ASSERT_EQ(le32, (ntohl)(be32)); in TEST()
Dendian_test.cpp56 ASSERT_EQ(le32, ntohl(be32)); in TEST()
Difaddrs_test.cpp61 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/
Dgetnameinfo.c76 ((((a)->s6_addr32[0]) == ntohl(0x0064ff9b)) && \
242 ntohl(((const struct sockaddr_in *) in getnameinfo_inet()
Dgethnamaddr.c584 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()
Dgetaddrinfo.c399 *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/
Dres_init.c610 register uint32_t i = ntohl(in.s_addr); in net_mask()
/bionic/libc/tools/
Dposix-2013.txt609 ntohl
/bionic/tools/versioner/platforms/
Dlibc.map.txt706 ntohl; # introduced=21
/bionic/libc/
Dlibc.map.txt706 ntohl; # introduced=21
DAndroid.bp508 "upstream-openbsd/lib/libc/net/ntohl.c",