Lines Matching refs:herrno
142 int* herrno);
151 static int res_queryN(const char* name, res_target* target, res_state res, int* herrno);
152 static int res_searchN(const char* name, res_target* target, res_state res, int* herrno);
154 int* herrno);
823 *herrno = NO_RECOVERY; \
829 const struct addrinfo* pai, int* herrno) { in getanswer() argument
874 *herrno = NO_RECOVERY; in getanswer()
879 *herrno = NO_RECOVERY; in getanswer()
890 *herrno = NO_RECOVERY; in getanswer()
1006 *herrno = NETDB_SUCCESS; in getanswer()
1010 *herrno = NO_RECOVERY; in getanswer()
1572 static int res_queryN(const char* name, res_target* target, res_state res, int* herrno) { in res_queryN() argument
1608 *herrno = NO_RECOVERY; in res_queryN()
1638 *herrno = NETD_RESOLV_H_ERRNO_EXT_TIMEOUT; // extended h_errno. in res_queryN()
1642 *herrno = HOST_NOT_FOUND; in res_queryN()
1645 *herrno = TRY_AGAIN; in res_queryN()
1648 *herrno = NO_DATA; in res_queryN()
1654 *herrno = NO_RECOVERY; in res_queryN()
1668 static int res_searchN(const char* name, res_target* target, res_state res, int* herrno) { in res_searchN() argument
1681 *herrno = HOST_NOT_FOUND; /* default, if we never query */ in res_searchN()
1693 ret = res_querydomainN(name, NULL, target, res, herrno); in res_searchN()
1695 saved_herrno = *herrno; in res_searchN()
1716 ret = res_querydomainN(name, *domain, target, res, herrno); in res_searchN()
1733 *herrno = TRY_AGAIN; in res_searchN()
1737 switch (*herrno) { in res_searchN()
1769 ret = res_querydomainN(name, NULL, target, res, herrno); in res_searchN()
1782 *herrno = saved_herrno; in res_searchN()
1784 *herrno = NO_DATA; in res_searchN()
1786 *herrno = TRY_AGAIN; in res_searchN()
1795 int* herrno) { in res_querydomainN() argument
1806 *herrno = NO_RECOVERY; in res_querydomainN()
1818 *herrno = NO_RECOVERY; in res_querydomainN()
1823 return res_queryN(longname, target, res, herrno); in res_querydomainN()