Home
last modified time | relevance | path

Searched refs:inet_aton (Results 1 – 8 of 8) sorted by relevance

/bionic/tests/
Darpa_inet_test.cpp25 TEST(arpa_inet, inet_aton) { in TEST() argument
30 ASSERT_EQ(1, inet_aton("127.1.2.3", &a)); in TEST()
35 ASSERT_EQ(1, inet_aton("127.1.2", &a)); in TEST()
40 ASSERT_EQ(1, inet_aton("127.1", &a)); in TEST()
45 ASSERT_EQ(1, inet_aton("0x7f000001", &a)); in TEST()
50 ASSERT_EQ(1, inet_aton("0xFf.0.0.1", &a)); in TEST()
55 ASSERT_EQ(1, inet_aton("0XfF.0.0.1", &a)); in TEST()
60 ASSERT_EQ(1, inet_aton("0177.0.0.1", &a)); in TEST()
64 ASSERT_EQ(1, inet_aton("036", &a)); in TEST()
69 ASSERT_EQ(0, inet_aton("", nullptr)); in TEST()
[all …]
/bionic/libc/bionic/
Darpa_inet.cpp32 return inet_aton(cp, &addr) ? addr.s_addr : INADDR_NONE; in inet_addr()
35 int inet_aton(const char* cp, in_addr* addr) { in inet_aton() function
/bionic/libc/include/arpa/
Dinet.h40 int inet_aton(const char* __s, struct in_addr* __addr);
/bionic/libc/dns/resolv/
Dres_init.c402 if (inet_aton(net, &a)) { in __res_vinit()
413 if (inet_aton(net, &a)) { in __res_vinit()
/bionic/libc/dns/net/
Dgetaddrinfo.c959 if (inet_aton(hostname, (struct in_addr *)pton) == 1) { in explore_numeric()
/bionic/tools/versioner/platforms/
Dlibc.map.txt506 inet_aton;
/bionic/libc/
Dlibc.map.txt506 inet_aton;
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_078.S5675 CALL(inet_aton)