Home
last modified time | relevance | path

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

/bionic/tests/
Darpa_inet_test.cpp27 TEST(arpa_inet, inet_aton) { in TEST() argument
32 ASSERT_EQ(1, inet_aton("127.1.2.3", &a)); in TEST()
37 ASSERT_EQ(1, inet_aton("127.1.2", &a)); in TEST()
42 ASSERT_EQ(1, inet_aton("127.1", &a)); in TEST()
47 ASSERT_EQ(1, inet_aton("0x7f000001", &a)); in TEST()
52 ASSERT_EQ(1, inet_aton("0xFf.0.0.1", &a)); in TEST()
57 ASSERT_EQ(1, inet_aton("0XfF.0.0.1", &a)); in TEST()
62 ASSERT_EQ(1, inet_aton("0177.0.0.1", &a)); in TEST()
66 ASSERT_EQ(1, inet_aton("036", &a)); in TEST()
71 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* _Nonnull __s, struct in_addr* _Nullable __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/libc/
Dlibc.map.txt506 inet_aton;
/bionic/tools/versioner/platforms/
Dlibc.map.txt506 inet_aton;
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_078.S5675 CALL(inet_aton)