Searched refs:PATH_HOSTS (Results 1 – 3 of 3) sorted by relevance
/external/c-ares/ |
D | ares_gethostbyaddr.c | 189 char PATH_HOSTS[MAX_PATH]; in file_lookup() local 192 PATH_HOSTS[0] = '\0'; in file_lookup() 206 ExpandEnvironmentStrings(tmp, PATH_HOSTS, MAX_PATH); in file_lookup() 211 GetWindowsDirectory(PATH_HOSTS, MAX_PATH); in file_lookup() 215 strcat(PATH_HOSTS, WIN_PATH_HOSTS); in file_lookup() 219 const char *PATH_HOSTS = _w32_GetHostsFile(); in file_lookup() local 221 if (!PATH_HOSTS) in file_lookup() 225 fp = fopen(PATH_HOSTS, "r"); in file_lookup() 238 PATH_HOSTS)); in file_lookup()
|
D | ares_gethostbyname.c | 346 char PATH_HOSTS[MAX_PATH]; in file_lookup() local 349 PATH_HOSTS[0] = '\0'; in file_lookup() 363 ExpandEnvironmentStrings(tmp, PATH_HOSTS, MAX_PATH); in file_lookup() 368 GetWindowsDirectory(PATH_HOSTS, MAX_PATH); in file_lookup() 372 strcat(PATH_HOSTS, WIN_PATH_HOSTS); in file_lookup() 376 const char *PATH_HOSTS = _w32_GetHostsFile(); in file_lookup() local 378 if (!PATH_HOSTS) in file_lookup() 382 fp = fopen(PATH_HOSTS, "r"); in file_lookup() 395 PATH_HOSTS)); in file_lookup()
|
D | ares_private.h | 69 #define PATH_HOSTS "sys:/etc/hosts" macro 73 #define PATH_HOSTS "InetDBase:Hosts" macro 79 #define PATH_HOSTS "/etc/inet/hosts" macro 81 #define PATH_HOSTS "/etc/hosts" macro
|