Lines Matching refs:res_state
108 static struct hostent* getanswer(const querybuf*, int, const char*, int, res_state, struct hostent*,
116 static void addrsort(char**, int, res_state);
122 static int gethostbyname_internal(const char* name, int af, res_state res, hostent* hp, char* hbuf,
124 static int gethostbyname_internal_real(const char* name, int af, res_state res, hostent* hp,
145 res_state res, struct hostent* hent, char* buf, size_t buflen, in getanswer()
411 static int gethostbyname_internal_real(const char* name, int af, res_state res, hostent* hp, in gethostbyname_internal_real()
496 static int gethostbyname_internal(const char* name, int af, res_state res, hostent* hp, char* hbuf, in gethostbyname_internal()
606 res_state res = res_get_state(); in netbsd_gethostent_r()
723 static void addrsort(char** ap, int num, res_state res) { in addrsort()
779 res_state res = res_get_state(); in dns_gethtbyname()
842 res_state res = res_get_state(); in dns_gethtbyaddr()
891 res_state res = res_get_state(); in android_gethostbynamefornetcontext()