/third_party/musl/libc-test/src/functionalext/supplement/network/ |
D | inet_ntop.c | 30 inet_pton(AF_INET, ip4test, &sin_addr); in inet_ntop_0100() 46 inet_pton(AF_INET6, ip6test, &sin_addr); in inet_ntop_0200() 62 inet_pton(AF_INET6, ip6test, &sin_addr); in inet_ntop_0300() 78 inet_pton(AF_INET6, ip6test, &sin_addr); in inet_ntop_0400() 93 inet_pton(AF_UNIX, ip4test, &sin_addr); in inet_ntop_0500() 107 inet_pton(AF_INET6, ip6test, &sin_addr); in inet_ntop_0600()
|
/third_party/curl/tests/server/ |
D | Makefile.inc | 78 ../../lib/inet_pton.c 84 ../../lib/inet_pton.c 90 ../../lib/inet_pton.c 97 ../../lib/inet_pton.c
|
/third_party/musl/libc-test/src/functional/ |
D | inet_pton.c | 35 r=inet_pton(AF_INET6,src,binaddr); \ 46 if (inet_pton(AF_INET6,txtaddr,binaddr)!=1) \ 68 r=inet_pton(AF_INET,src,&a); \ 94 if (inet_pton(12345, "", 0) != -1 || errno != EAFNOSUPPORT) in main()
|
/third_party/ltp/testcases/network/lib6/ |
D | in6_01.c | 110 if (inet_pton(AF_INET6, "::1", &inl6) <= 0) in test_global_in6_def() 130 if (inet_pton(AF_INET6, maptab[i].addr, &in6) <= 0) in test_in6_is_addr_v4mapped() 165 rv = inet_pton(AF_INET, sstab[i].addr, &psin->sin_addr); in test_sockaddr_storage() 168 rv = inet_pton(AF_INET6, sstab[i].addr, in test_sockaddr_storage()
|
/third_party/musl/libc-test/src/functionalext/supplement/manual/network/ |
D | getnameinfo.c | 38 inet_pton(AF_INET, "127.0.0.1", &sa.sin_addr.s_addr); in getnameinfo_0100() 85 inet_pton(AF_INET, "127.0.0.1", &sa.sin_addr.s_addr); in getnameinfo_0300() 104 inet_pton(AF_INET, "127.0.0.1", &sa.sin_addr.s_addr); in getnameinfo_0400() 122 inet_pton(AF_INET, "127.0.0.1", &sa.sin_addr.s_addr); in getnameinfo_0500()
|
/third_party/pulseaudio/src/pulsecore/ |
D | parseaddr.c | 138 if (inet_pton(AF_INET6, a, buf) >= 1) in pa_is_ip_address() 141 if (inet_pton(AF_INET, a, buf) >= 1) in pa_is_ip_address() 152 if (inet_pton(AF_INET6, a, buf) >= 1) in pa_is_ip6_address()
|
D | arpa-inet.h | 17 int inet_pton(int af, const char *src, void *dst);
|
D | ipacl.c | 89 if (inet_pton(AF_INET, a, &e.address_ipv4) > 0) { in pa_ip_acl_new() 104 } else if (inet_pton(AF_INET6, a, &e.address_ipv6) > 0) { in pa_ip_acl_new()
|
/third_party/musl/libc-test/src/regression/ |
D | inet_pton-empty-last-field.c | 25 if (inet_pton(AF_INET6, addr, buf)!=1 || memcmp(buf, want, 16)!=0) { in main() 33 if (inet_pton(AF_INET6, addr, buf)!=0) { in main()
|
D | inet_ntop-v4mapped.c | 12 if (inet_pton(AF_INET6, expect, addr) == 1) { in main()
|
/third_party/libnl/tests/ |
D | test-create-ip6tnl.c | 39 inet_pton(AF_INET6, "2607:f0d0:1002:51::4", &addr); in main() 42 inet_pton(AF_INET6, "2607:f0d0:1002:52::5", &addr); in main()
|
D | test-create-sit.c | 39 inet_pton(AF_INET, "192.168.254.12", &addr.s_addr); in main() 42 inet_pton(AF_INET, "192.168.254.13", &addr.s_addr); in main()
|
D | test-create-ipgre.c | 39 inet_pton(AF_INET, "192.168.254.12", &addr.s_addr); in main() 42 inet_pton(AF_INET, "192.168.254.13", &addr.s_addr); in main()
|
D | test-create-ipip.c | 39 inet_pton(AF_INET, "192.168.254.12", &addr.s_addr); in main() 42 inet_pton(AF_INET, "192.168.254.13", &addr.s_addr); in main()
|
D | test-create-ipvti.c | 39 inet_pton(AF_INET, "192.168.254.12", &addr.s_addr); in main() 42 inet_pton(AF_INET, "192.168.254.13", &addr.s_addr); in main()
|
D | test-create-ipgretap.c | 39 inet_pton(AF_INET, "10.211.55.10", &addr.s_addr); in main() 42 inet_pton(AF_INET, "10.133.6.33", &addr.s_addr); in main()
|
/third_party/ltp/lib/ |
D | tst_net.c | 67 ret = inet_pton(AF_INET, prefix, &in); in tst_ipv4_mask_to_int() 129 if (inet_pton(AF_INET, ip_str, ip) <= 0) in tst_get_in_addr() 135 if (inet_pton(AF_INET6, ip_str, ip6) <= 0) in tst_get_in6_addr()
|
/third_party/musl/src/network/ |
D | inet_pton.c | 15 int inet_pton(int af, const char *restrict s, void *restrict a0) in inet_pton() function 69 if (need_v4 && inet_pton(AF_INET, (void *)s, a-4) <= 0) return 0; in inet_pton()
|
/third_party/curl/lib/ |
D | inet_pton.h | 36 #define Curl_inet_pton(x,y,z) inet_pton(x,y,z)
|
/third_party/pulseaudio/src/modules/rtp/ |
D | module-rtp-send.c | 306 if (inet_pton(AF_INET, src_addr, &src_sa4.sin_addr) > 0) { in pa__init() 312 } else if (inet_pton(AF_INET6, src_addr, &src_sa6.sin6_addr) > 0) { in pa__init() 328 if (inet_pton(AF_INET, dst_addr, &dst_sa4.sin_addr) > 0) { in pa__init() 335 } else if (inet_pton(AF_INET6, dst_addr, &dst_sa6.sin6_addr) > 0) { in pa__init()
|
/third_party/grpc/src/core/lib/iomgr/ |
D | socket_utils_windows.cc | 39 return inet_pton(af, src, dst); in grpc_inet_pton()
|
D | socket_utils_uv.cc | 41 return inet_pton(af, src, dst); in grpc_inet_pton()
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/arpa/ |
D | inet.h | 19 int inet_pton (int, const char *__restrict, void *__restrict);
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/arpa/ |
D | inet.h | 19 int inet_pton (int, const char *__restrict, void *__restrict);
|
/third_party/musl/porting/liteos_a/kernel/include/arpa/ |
D | inet.h | 19 int inet_pton (int, const char *__restrict, void *__restrict);
|