Searched refs:inet_aton (Results 1 – 8 of 8) sorted by relevance
/bionic/tests/ |
D | arpa_inet_test.cpp | 25 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/ |
D | arpa_inet.cpp | 32 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/ |
D | inet.h | 40 int inet_aton(const char* __s, struct in_addr* __addr);
|
/bionic/libc/dns/resolv/ |
D | res_init.c | 402 if (inet_aton(net, &a)) { in __res_vinit() 413 if (inet_aton(net, &a)) { in __res_vinit()
|
/bionic/libc/dns/net/ |
D | getaddrinfo.c | 959 if (inet_aton(hostname, (struct in_addr *)pton) == 1) { in explore_numeric()
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 506 inet_aton;
|
/bionic/libc/ |
D | libc.map.txt | 506 inet_aton;
|
/bionic/benchmarks/linker_relocation/gen/ |
D | liblinker_reloc_bench_078.S | 5675 CALL(inet_aton)
|