Lines Matching refs:he
146 int* he) { in getanswer() argument
177 *he = NO_RECOVERY; in getanswer()
387 *he = NO_RECOVERY; in getanswer()
403 *he = NETDB_SUCCESS; in getanswer()
407 *he = NETDB_INTERNAL; in getanswer()
561 int* he) { in netbsd_gethostent_r() argument
571 *he = NETDB_INTERNAL; in netbsd_gethostent_r()
588 *he = HOST_NOT_FOUND; in netbsd_gethostent_r()
650 *he = NETDB_SUCCESS; in netbsd_gethostent_r()
656 *he = NETDB_INTERNAL; in netbsd_gethostent_r()
782 int he; in dns_gethtbyname() local
783 n = res_nsearch(res, name, C_IN, type, buf->buf, (int)sizeof(buf->buf), &he); in dns_gethtbyname()
789 return herrnoToAiErrno(he); in dns_gethtbyname()
791 hostent* hp = getanswer(buf.get(), n, name, type, res, info->hp, info->buf, info->buflen, &he); in dns_gethtbyname()
792 if (hp == NULL) return herrnoToAiErrno(he); in dns_gethtbyname()
846 int he; in dns_gethtbyaddr() local
847 n = res_nquery(res, qbuf, C_IN, T_PTR, buf->buf, (int)sizeof(buf->buf), &he); in dns_gethtbyaddr()
853 return herrnoToAiErrno(he); in dns_gethtbyaddr()
855 hostent* hp = getanswer(buf.get(), n, qbuf, T_PTR, res, info->hp, info->buf, info->buflen, &he); in dns_gethtbyaddr()
856 if (hp == NULL) return herrnoToAiErrno(he); in dns_gethtbyaddr()
917 int herrnoToAiErrno(int he) { in herrnoToAiErrno() argument
918 switch (he) { in herrnoToAiErrno()