Home
last modified time | relevance | path

Searched refs:ai_canonname (Results 1 – 25 of 43) sorted by relevance

12

/third_party/libwebsockets/lib/core-net/client/
Dconmon.c96 size_t cl = cai->ai_canonname ? in lws_conmon_append_copy_new_dns_results()
97 strlen(cai->ai_canonname) + 1 : 0; in lws_conmon_append_copy_new_dns_results()
109 ai->ai_canonname = ((char *)ai->ai_addr) + in lws_conmon_append_copy_new_dns_results()
111 memcpy(ai->ai_canonname, cai->ai_canonname, in lws_conmon_append_copy_new_dns_results()
/third_party/libuv/src/win/
Dgetaddrinfo.c61 WCHAR* ai_canonname; member
133 if (addrinfow_ptr->ai_canonname != NULL) { in uv__getaddrinfo_done()
136 addrinfow_ptr->ai_canonname, in uv__getaddrinfo_done()
168 addrinfo_ptr->ai_canonname = NULL; in uv__getaddrinfo_done()
184 if (addrinfow_ptr->ai_canonname != NULL) { in uv__getaddrinfo_done()
187 addrinfow_ptr->ai_canonname, in uv__getaddrinfo_done()
197 addrinfow_ptr->ai_canonname, in uv__getaddrinfo_done()
204 addrinfo_ptr->ai_canonname = cur_ptr; in uv__getaddrinfo_done()
369 req->addrinfow->ai_canonname = NULL; in uv_getaddrinfo()
/third_party/curl/lib/
Dcurl_addrinfo.c131 size_t namelen = ai->ai_canonname ? strlen(ai->ai_canonname) + 1 : 0; in Curl_getaddrinfo_ex()
166 ca->ai_canonname = NULL; in Curl_getaddrinfo_ex()
173 ca->ai_canonname = (void *)((char *)ca->ai_addr + ss_size); in Curl_getaddrinfo_ex()
174 memcpy(ca->ai_canonname, ai->ai_canonname, namelen); in Curl_getaddrinfo_ex()
297 ai->ai_canonname = (char *)ai->ai_addr + ss_size; in Curl_he2ai()
298 memcpy(ai->ai_canonname, he->h_name, namelen); in Curl_he2ai()
Dhostip6.c112 ai->ai_family, ai->ai_canonname ? ai->ai_canonname : "<none>"); in dump_addrinfo()
Dcurl_addrinfo.h56 char *ai_canonname; member
Dhostip.c500 ca->ai_canonname = (char *)ca->ai_addr + ss_size; in get_localhost6()
501 strcpy(ca->ai_canonname, "localhost"); in get_localhost6()
536 ca->ai_canonname = (char *)ca->ai_addr + ss_size; in get_localhost()
537 strcpy(ca->ai_canonname, "localhost"); in get_localhost()
/third_party/boost/boost/asio/ip/
Dbasic_resolver_query.hpp75 hints_.ai_canonname = 0; in basic_resolver_query()
112 hints_.ai_canonname = 0; in basic_resolver_query()
160 hints_.ai_canonname = 0; in basic_resolver_query()
211 hints_.ai_canonname = 0; in basic_resolver_query()
Dbasic_resolver_results.hpp134 if (address_info->ai_canonname) in create()
135 actual_host_name = address_info->ai_canonname; in create()
/third_party/boost/libs/asio/include/boost/asio/ip/
Dbasic_resolver_query.hpp75 hints_.ai_canonname = 0; in basic_resolver_query()
112 hints_.ai_canonname = 0; in basic_resolver_query()
160 hints_.ai_canonname = 0; in basic_resolver_query()
211 hints_.ai_canonname = 0; in basic_resolver_query()
Dbasic_resolver_results.hpp134 if (address_info->ai_canonname) in create()
135 actual_host_name = address_info->ai_canonname; in create()
/third_party/ltp/testcases/network/lib6/
Dgetaddrinfo_01.c149 if (p->ai_canonname) in check_addrinfo_name()
154 else if (strcasecmp(hostname, p->ai_canonname)) in check_addrinfo_name()
156 name, p->ai_canonname, hostname); in check_addrinfo_name()
158 tst_res(TPASS, "%s: ai_canonname '%s'", name, p->ai_canonname); in check_addrinfo_name()
/third_party/curl/tests/unit/
Dunit1305.c90 ai->ai_canonname = (void *)((char *)ai->ai_addr + in fake_ai()
92 memcpy(ai->ai_canonname, dummy, namelen); in fake_ai()
/third_party/python/Modules/
Dgetaddrinfo.c159 if (((ai)->ai_canonname = (char *)malloc(strlen(str) + 1)) != NULL) {\
160 strcpy((ai)->ai_canonname, (str));\
216 if (ai->ai_canonname) in freeaddrinfo()
217 free(ai->ai_canonname); in freeaddrinfo()
271 pai->ai_canonname = NULL; in getaddrinfo()
280 if (hints->ai_addrlen || hints->ai_canonname || in getaddrinfo()
Daddrinfo.h133 char *ai_canonname; /* canonical name for hostname */ member
/third_party/lwip/src/api/
Dnetdb.c407 ai->ai_canonname = ((char *)ai + sizeof(struct addrinfo) + sizeof(struct sockaddr_storage)); in lwip_getaddrinfo()
408 MEMCPY(ai->ai_canonname, nodename, namelen); in lwip_getaddrinfo()
409 ai->ai_canonname[namelen] = 0; in lwip_getaddrinfo()
/third_party/pulseaudio/src/pulse/
Dutil.c341 if (!a->ai_canonname || !*a->ai_canonname) { in pa_get_fqdn()
346 pa_strlcpy(s, a->ai_canonname, l); in pa_get_fqdn()
/third_party/node/deps/cares/src/lib/
Dares_ipv6.h50 char *ai_canonname; member
/third_party/ffmpeg/libavformat/
Dos_support.c128 ai->ai_canonname = h ? av_strdup(h->h_name) : NULL; in ff_getaddrinfo()
136 av_freep(&res->ai_canonname); in ff_freeaddrinfo()
/third_party/lwip/src/include/lwip/
Dnetdb.h110 char *ai_canonname; /* Canonical name of service location. */ member
/third_party/boost/libs/asio/include/boost/asio/detail/
Dold_win_sdk_compat.hpp95 char* ai_canonname; member
/third_party/boost/boost/asio/detail/
Dold_win_sdk_compat.hpp95 char* ai_canonname; member
/third_party/musl/ndk_musl_include/
Dnetdb.h23 char *ai_canonname; member
/third_party/musl/porting/liteos_m/kernel/include/
Dnetdb.h23 char *ai_canonname; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dnetdb.h23 char *ai_canonname; member
/third_party/musl/include/
Dnetdb.h23 char *ai_canonname; member

12