Home
last modified time | relevance | path

Searched refs:hostf (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/dns/resolv/
Dres_state.c77 if (rs->hostf) { /* should not happen in theory, but just be safe */ in _res_static_done()
78 fclose(rs->hostf); in _res_static_done()
79 rs->hostf = NULL; in _res_static_done()
/bionic/libc/dns/include/
Dresolv_static.h23 FILE* hostf; member
/bionic/libc/dns/net/
Dgetaddrinfo.c2026 _sethtent(FILE **hostf) in _sethtent() argument
2029 if (!*hostf) in _sethtent()
2030 *hostf = fopen(_PATH_HOSTS, "re"); in _sethtent()
2032 rewind(*hostf); in _sethtent()
2036 _endhtent(FILE **hostf) in _endhtent() argument
2039 if (*hostf) { in _endhtent()
2040 (void) fclose(*hostf); in _endhtent()
2041 *hostf = NULL; in _endhtent()
2046 _gethtent(FILE **hostf, const char *name, const struct addrinfo *pai) in _gethtent() argument
2059 if (!*hostf && !(*hostf = fopen(_PATH_HOSTS, "re"))) in _gethtent()
[all …]
Dgethnamaddr.c1627 if (!rs->hostf) { in gethostent()
1628 sethostent_r(&rs->hostf); in gethostent()
1629 if (!rs->hostf) { in gethostent()
1635 return netbsd_gethostent_r(rs->hostf, &rs->host, rs->hostbuf, sizeof(rs->hostbuf), &h_errno); in gethostent()