Searched refs:hostf (Results 1 - 5 of 5) sorted by relevance

/bionic/libc/dns/include/
H A Dresolv_static.h23 FILE* hostf; member in struct:res_static
/bionic/libc/dns/resolv/
H A Dres_state.c77 if (rs->hostf) { /* should not happen in theory, but just be safe */
78 fclose(rs->hostf);
79 rs->hostf = NULL;
/bionic/libc/dns/net/
H A Dgetaddrinfo.c2031 _sethtent(FILE **hostf) argument
2034 if (!*hostf)
2035 *hostf = fopen(_PATH_HOSTS, "re");
2037 rewind(*hostf);
2041 _endhtent(FILE **hostf) argument
2044 if (*hostf) {
2045 (void) fclose(*hostf);
2046 *hostf = NULL;
2051 _gethtent(FILE **hostf, const char *name, const struct addrinfo *pai) argument
2064 if (!*hostf
2124 FILE *hostf = NULL; local
[all...]
H A Dsethostent.c72 if (rs) sethostent_r(&rs->hostf);
79 if (rs) endhostent_r(&rs->hostf);
H A Dgethnamaddr.c1657 if (!rs->hostf) {
1658 sethostent_r(&rs->hostf);
1659 if (!rs->hostf) {
1665 return netbsd_gethostent_r(rs->hostf, &rs->host, rs->hostbuf, sizeof(rs->hostbuf), &h_errno);

Completed in 532 milliseconds