Home
last modified time | relevance | path

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

/system/netd/resolv/
Dsethostent.cpp50 static void sethostent_r(FILE** hf) { in sethostent_r() argument
51 if (!*hf) in sethostent_r()
52 *hf = fopen(_PATH_HOSTS, "re"); in sethostent_r()
54 rewind(*hf); in sethostent_r()
57 static void endhostent_r(FILE** hf) { in endhostent_r() argument
58 if (*hf) { in endhostent_r()
59 (void) fclose(*hf); in endhostent_r()
60 *hf = NULL; in endhostent_r()
73 FILE* hf = NULL; in _hf_gethtbyname2() local
74 sethostent_r(&hf); in _hf_gethtbyname2()
[all …]
Dgethnamaddr.cpp560 struct hostent* netbsd_gethostent_r(FILE* hf, struct hostent* hent, char* buf, size_t buflen, in netbsd_gethostent_r() argument
570 if (hf == NULL) { in netbsd_gethostent_r()
586 if (!fgets(p, line_buf_size, hf)) { in netbsd_gethostent_r()
/system/libvintf/include/vintf/
Dparse_string.h31 std::ostream &operator<<(std::ostream &os, HalFormat hf);
63 bool parse(const std::string &s, HalFormat *hf);
/system/libvintf/
Dparse_string.cpp87 bool parse(const std::string &s, ENUM *hf) { \
88 return parseEnum(s, hf, g##ENUM##Strings); \
90 std::ostream &operator<<(std::ostream &os, ENUM hf) { \
91 return os << g##ENUM##Strings.at(static_cast<size_t>(hf)); \