Lines Matching refs:herrno
106 int* herrno) // legacy and extended h_errno in res_nquery() argument
129 *herrno = NO_RECOVERY; in res_nquery()
162 *herrno = NETD_RESOLV_H_ERRNO_EXT_TIMEOUT; // extended h_errno. in res_nquery()
165 *herrno = TRY_AGAIN; in res_nquery()
178 *herrno = HOST_NOT_FOUND; in res_nquery()
181 *herrno = TRY_AGAIN; in res_nquery()
184 *herrno = NO_DATA; in res_nquery()
190 *herrno = NO_RECOVERY; in res_nquery()
208 int* herrno) /* legacy and extended in res_nsearch() argument
219 *herrno = HOST_NOT_FOUND; /* True if we never query. */ in res_nsearch()
232 ret = res_nquerydomain(statp, name, NULL, cl, type, answer, anslen, herrno); in res_nsearch()
234 saved_herrno = *herrno; in res_nsearch()
258 ret = res_nquerydomain(statp, name, domain.c_str(), cl, type, answer, anslen, herrno); in res_nsearch()
275 *herrno = TRY_AGAIN; in res_nsearch()
279 switch (*herrno) { in res_nsearch()
304 ret = res_nquerydomain(statp, name, NULL, cl, type, answer, anslen, herrno); in res_nsearch()
316 *herrno = saved_herrno; in res_nsearch()
318 *herrno = NO_DATA; in res_nsearch()
320 *herrno = TRY_AGAIN; in res_nsearch()
332 int* herrno) /* legacy and extended h_errno NETD_RESOLV_H_ERRNO_EXT_* */ in res_nquerydomain() argument
346 *herrno = NO_RECOVERY; in res_nquerydomain()
360 *herrno = NO_RECOVERY; in res_nquerydomain()
365 return res_nquery(statp, longname, cl, type, answer, anslen, herrno); in res_nquerydomain()