Home
last modified time | relevance | path

Searched refs:ai_addrlen (Results 1 – 25 of 121) sorted by relevance

12345

/third_party/libwebsockets/lib/core-net/client/
Dconmon.c63 ai->ai_addrlen != cai->ai_addrlen && in lws_conmon_append_copy_new_dns_results()
95 (size_t)cai->ai_addrlen; in lws_conmon_append_copy_new_dns_results()
106 memcpy(ai->ai_addr, cai->ai_addr, (size_t)cai->ai_addrlen); in lws_conmon_append_copy_new_dns_results()
110 cai->ai_addrlen; in lws_conmon_append_copy_new_dns_results()
/third_party/libuv/src/win/
Dgetaddrinfo.c60 size_t ai_addrlen; member
132 ALIGNED_SIZE(addrinfow_ptr->ai_addrlen); in uv__getaddrinfo_done()
167 addrinfo_ptr->ai_addrlen = addrinfow_ptr->ai_addrlen; in uv__getaddrinfo_done()
175 if (addrinfo_ptr->ai_addrlen > 0) { in uv__getaddrinfo_done()
176 assert(cur_ptr + addrinfo_ptr->ai_addrlen <= in uv__getaddrinfo_done()
178 memcpy(cur_ptr, addrinfow_ptr->ai_addr, addrinfo_ptr->ai_addrlen); in uv__getaddrinfo_done()
180 cur_ptr += ALIGNED_SIZE(addrinfo_ptr->ai_addrlen); in uv__getaddrinfo_done()
368 req->addrinfow->ai_addrlen = 0; in uv_getaddrinfo()
/third_party/boost/boost/asio/ip/
Dbasic_resolver_query.hpp74 hints_.ai_addrlen = 0; in basic_resolver_query()
111 hints_.ai_addrlen = 0; in basic_resolver_query()
159 hints_.ai_addrlen = 0; in basic_resolver_query()
210 hints_.ai_addrlen = 0; in basic_resolver_query()
Dbasic_resolver_results.hpp146 endpoint.resize(static_cast<std::size_t>(address_info->ai_addrlen)); in create()
148 address_info->ai_addrlen); in create()
/third_party/boost/libs/asio/include/boost/asio/ip/
Dbasic_resolver_query.hpp74 hints_.ai_addrlen = 0; in basic_resolver_query()
111 hints_.ai_addrlen = 0; in basic_resolver_query()
159 hints_.ai_addrlen = 0; in basic_resolver_query()
210 hints_.ai_addrlen = 0; in basic_resolver_query()
Dbasic_resolver_results.hpp146 endpoint.resize(static_cast<std::size_t>(address_info->ai_addrlen)); in create()
148 address_info->ai_addrlen); in create()
/third_party/curl/lib/
Dcurl_addrinfo.c144 if(!ai->ai_addr || !(ai->ai_addrlen > 0)) in Curl_getaddrinfo_ex()
148 if((size_t)ai->ai_addrlen < ss_size) in Curl_getaddrinfo_ex()
164 ca->ai_addrlen = (curl_socklen_t)ss_size; in Curl_getaddrinfo_ex()
314 ai->ai_addrlen = (curl_socklen_t)ss_size; in Curl_he2ai()
497 ai->ai_addrlen = (curl_socklen_t) in Curl_unix2addr()
Dcurl_addrinfo.h55 curl_socklen_t ai_addrlen; /* Follow rfc3493 struct addrinfo */ member
/third_party/skia/third_party/externals/tint/tools/src/cmd/remote-compile/
Dsocket.cc243 if (bind(socket, info->ai_addr, static_cast<int>(info->ai_addrlen)) != 0) { in Listen()
272 static_cast<int>(info->ai_addrlen)) == 0) { in Connect()
283 ::connect(socket, info->ai_addr, static_cast<int>(info->ai_addrlen)); in Connect()
/third_party/ffmpeg/libavformat/
Dnetwork.c340 getnameinfo(addr->ai_addr, addr->ai_addrlen, in print_address_list()
377 while ((ret = connect(attempt->fd, ai->ai_addr, ai->ai_addrlen))) { in start_connect_attempt()
428 getnameinfo(addrs->ai_addr, addrs->ai_addrlen, in ff_connect_parallel()
485 getnameinfo(attempts[i].addr->ai_addr, attempts[i].addr->ai_addrlen, in ff_connect_parallel()
500 getnameinfo(attempts[i].addr->ai_addr, attempts[i].addr->ai_addrlen, in ff_connect_parallel()
/third_party/grpc/src/core/lib/iomgr/
Dresolve_address_windows.cc110 memcpy(&(*addresses)->addrs[i].addr, resp->ai_addr, resp->ai_addrlen); in windows_blocking_resolve_address()
111 (*addresses)->addrs[i].len = resp->ai_addrlen; in windows_blocking_resolve_address()
Dresolve_address_posix.cc125 memcpy(&(*addresses)->addrs[i].addr, resp->ai_addr, resp->ai_addrlen); in posix_blocking_resolve_address()
126 (*addresses)->addrs[i].len = resp->ai_addrlen; in posix_blocking_resolve_address()
/third_party/libcoap/examples/
Dtiny.c114 addr.size = rp->ai_addrlen; in get_session()
115 memcpy(&addr.addr, rp->ai_addr, rp->ai_addrlen); in get_session()
/third_party/ltp/testcases/network/stress/ns-tools/
Dns-common.c488 memcpy(&greq->gr_group, mainfo_p->ai_addr, mainfo_p->ai_addrlen); in create_group_info()
537 memcpy(&gsf->gf_group, mainfo_p->ai_addr, mainfo_p->ai_addrlen); in create_source_filter()
570 memcpy(&gsf->gf_slist[idx], res->ai_addr, res->ai_addrlen); in create_source_filter()
/third_party/node/deps/cares/src/lib/
Dares__addrinfo_localhost.c69 node->ai_addrlen = sizeof(*sin); in ares_append_ai_node()
89 node->ai_addrlen = sizeof(*sin6); in ares_append_ai_node()
Dares_ipv6.h49 ares_socklen_t ai_addrlen; /* Follow rfc3493 struct addrinfo */ member
/third_party/python/Modules/
Dgetaddrinfo.c176 (ai)->ai_addr->sa_len = (ai)->ai_addrlen = (gai_afd)->a_socklen;\
191 (ai)->ai_addrlen = (gai_afd)->a_socklen;\
270 pai->ai_addrlen = 0; in getaddrinfo()
280 if (hints->ai_addrlen || hints->ai_canonname || in getaddrinfo()
Daddrinfo.h132 size_t ai_addrlen; /* length of ai_addr */ member
/third_party/skia/third_party/externals/swiftshader/src/System/
DSocket.cpp53 bind(socket, info->ai_addr, (int)info->ai_addrlen); in Socket()
/third_party/skia/third_party/externals/swiftshader/src/Common/
DSocket.cpp52 bind(socket, info->ai_addr, (int)info->ai_addrlen); in Socket()
/third_party/lwip/src/include/lwip/
Dnetdb.h108 socklen_t ai_addrlen; /* Length of socket address. */ member
/third_party/ltp/testcases/network/lib6/
Dgetaddrinfo_01.c57 ret |= p->ai_addrlen != exp_addrlen; in verify_res()
96 p->ai_family, p->ai_addrlen, sin_family, in verify_res()
/third_party/lwip/src/api/
Dnetdb.c384 ai->ai_addrlen = sizeof(struct sockaddr_in6); in lwip_getaddrinfo()
395 ai->ai_addrlen = sizeof(struct sockaddr_in); in lwip_getaddrinfo()
/third_party/curl/tests/unit/
Dunit1305.c95 ai->ai_addrlen = sizeof(struct sockaddr_in); in fake_ai()
/third_party/boost/libs/asio/include/boost/asio/detail/
Dold_win_sdk_compat.hpp94 size_t ai_addrlen; member

12345