Lines Matching refs:flags
114 char* serv, size_t servlen, int flags) in getnameinfo() argument
116 return android_getnameinfofornet(sa, salen, host, hostlen, serv, servlen, flags, in getnameinfo()
121 size_t hostlen, char* serv, size_t servlen, int flags, unsigned netid, in android_getnameinfofornet() argument
128 serv, servlen, flags, netid, mark); in android_getnameinfofornet()
131 serv, servlen, flags); in android_getnameinfofornet()
145 int flags __attribute__((unused))) in getnameinfo_local() argument
172 int flags, unsigned netid, unsigned mark) in getnameinfo_inet() argument
218 if (flags & NI_NUMERICSERV) in getnameinfo_inet()
222 (flags & NI_DGRAM) ? "udp" : "tcp"); in getnameinfo_inet()
242 flags |= NI_NUMERICHOST; in getnameinfo_inet()
245 flags |= NI_NUMERICHOST; in getnameinfo_inet()
261 flags |= NI_NUMERICHOST; in getnameinfo_inet()
265 flags |= NI_NUMERICHOST; in getnameinfo_inet()
268 flags |= NI_NUMERICHOST; in getnameinfo_inet()
282 } else if (flags & NI_NUMERICHOST) { in getnameinfo_inet()
286 if (flags & NI_NAMEREQD) in getnameinfo_inet()
296 hostlen, flags)) != 0) in getnameinfo_inet()
322 if (flags & NI_NOFQDN) { in getnameinfo_inet()
335 if (flags & NI_NAMEREQD) in getnameinfo_inet()
345 flags)) != 0) in getnameinfo_inet()
364 socklen_t hostlen, int flags) in ip6_parsenumeric() argument
387 zonebuf, sizeof(zonebuf), flags); in ip6_parsenumeric()
404 ip6_sa2str(const struct sockaddr_in6 *sa6, char *buf, size_t bufsiz, int flags) in ip6_sa2str() argument
417 if ((flags & NI_NUMERICSCOPE) != 0) { in ip6_sa2str()