Lines Matching refs:herrno
105 int* herrno) // legacy and extended h_errno in res_nquery() argument
126 *herrno = NO_RECOVERY; in res_nquery()
159 *herrno = NETD_RESOLV_H_ERRNO_EXT_TIMEOUT; // extended h_errno. in res_nquery()
162 *herrno = TRY_AGAIN; in res_nquery()
175 *herrno = HOST_NOT_FOUND; in res_nquery()
178 *herrno = TRY_AGAIN; in res_nquery()
181 *herrno = NO_DATA; in res_nquery()
187 *herrno = NO_RECOVERY; in res_nquery()
204 int* herrno) /* legacy and extended in res_nsearch() argument
215 *herrno = HOST_NOT_FOUND; /* True if we never query. */ in res_nsearch()
228 ret = res_nquerydomain(statp, name, NULL, cl, type, answer, herrno); in res_nsearch()
230 saved_herrno = *herrno; in res_nsearch()
252 ret = res_nquerydomain(statp, name, domain.c_str(), cl, type, answer, herrno); in res_nsearch()
269 *herrno = TRY_AGAIN; in res_nsearch()
273 switch (*herrno) { in res_nsearch()
294 ret = res_nquerydomain(statp, name, NULL, cl, type, answer, herrno); in res_nsearch()
306 *herrno = saved_herrno; in res_nsearch()
308 *herrno = NO_DATA; in res_nsearch()
310 *herrno = TRY_AGAIN; in res_nsearch()
321 int* herrno) /* legacy and extended h_errno NETD_RESOLV_H_ERRNO_EXT_* */ in res_nquerydomain() argument
335 *herrno = NO_RECOVERY; in res_nquerydomain()
349 *herrno = NO_RECOVERY; in res_nquerydomain()
354 return res_nquery(statp, longname, cl, type, answer, herrno); in res_nquerydomain()