Lines Matching refs:herrno
141 const struct addrinfo*, int* herrno);
154 static int res_searchN(const char* name, res_target* target, ResState* res, int* herrno);
156 int* herrno);
811 *herrno = NO_RECOVERY; \
817 int qtype, const struct addrinfo* pai, int* herrno) { in getanswer() argument
862 *herrno = NO_RECOVERY; in getanswer()
867 *herrno = NO_RECOVERY; in getanswer()
878 *herrno = NO_RECOVERY; in getanswer()
994 *herrno = NETDB_SUCCESS; in getanswer()
998 *herrno = NO_RECOVERY; in getanswer()
1597 int herrno; member
1630 .herrno = NO_RECOVERY, in doQuery()
1670 static int res_queryN_parallel(const char* name, res_target* target, ResState* res, int* herrno) { in res_queryN_parallel() argument
1691 if (r.herrno == NO_RECOVERY) { in res_queryN_parallel()
1692 *herrno = r.herrno; in res_queryN_parallel()
1702 *herrno = getHerrnoFromRcode(rcode); in res_queryN_parallel()
1715 static int res_searchN(const char* name, res_target* target, ResState* res, int* herrno) { in res_searchN() argument
1728 *herrno = HOST_NOT_FOUND; /* default, if we never query */ in res_searchN()
1739 ret = res_querydomainN(name, NULL, target, res, herrno); in res_searchN()
1741 saved_herrno = *herrno; in res_searchN()
1759 ret = res_querydomainN(name, domain.c_str(), target, res, herrno); in res_searchN()
1776 *herrno = TRY_AGAIN; in res_searchN()
1780 switch (*herrno) { in res_searchN()
1803 ret = res_querydomainN(name, NULL, target, res, herrno); in res_searchN()
1816 *herrno = saved_herrno; in res_searchN()
1818 *herrno = NO_DATA; in res_searchN()
1820 *herrno = TRY_AGAIN; in res_searchN()
1827 int* herrno) { in res_querydomainN() argument
1838 *herrno = NO_RECOVERY; in res_querydomainN()
1850 *herrno = NO_RECOVERY; in res_querydomainN()
1855 return res_queryN_parallel(longname, target, res, herrno); in res_querydomainN()