Home
last modified time | relevance | path

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

/bionic/libc/include/
Dnetdb.h116 char *ai_canonname; /* canonical name for hostname */ member
/bionic/libc/dns/net/
Dgetaddrinfo.c336 if (ai->ai_canonname) in freeaddrinfo()
337 free(ai->ai_canonname); in freeaddrinfo()
520 ai->ai_canonname = (char*) malloc(name_len); in android_getaddrinfo_proxy()
521 if (fread(ai->ai_canonname, name_len, 1, proxy) != 1) { in android_getaddrinfo_proxy()
524 if (ai->ai_canonname[name_len - 1] != '\0') { in android_getaddrinfo_proxy()
606 pai->ai_canonname = NULL; in android_getaddrinfofornetcontext()
614 if (hints->ai_addrlen || hints->ai_canonname || in android_getaddrinfofornetcontext()
1086 ai->ai_canonname = strdup(str); in get_canonname()
1087 if (ai->ai_canonname == NULL) in get_canonname()