Searched refs:EtcHosts (Results 1 – 5 of 5) sorted by relevance
32 void etc_hosts_free(EtcHosts *hosts) { in etc_hosts_free()43 static int parse_line(EtcHosts *hosts, unsigned nr, const char *line) { in parse_line()165 static void strip_localhost(EtcHosts *hosts) { in strip_localhost()253 int etc_hosts_parse(EtcHosts *hosts, FILE *f) { in etc_hosts_parse()254 _cleanup_(etc_hosts_free) EtcHosts t = {}; in etc_hosts_parse()287 t = (EtcHosts) {}; /* prevent cleanup */ in etc_hosts_parse()
21 int etc_hosts_parse(EtcHosts *hosts, FILE *f);22 void etc_hosts_free(EtcHosts *hosts);
29 typedef struct EtcHosts { struct33 } EtcHosts; argument132 EtcHosts etc_hosts;
26 _cleanup_(etc_hosts_free) EtcHosts hosts = {}; in TEST()70 _cleanup_(etc_hosts_free) EtcHosts hosts = {}; in TEST()127 _cleanup_(etc_hosts_free) EtcHosts hosts = {}; in test_parse_file_one()
9 _cleanup_(etc_hosts_free) EtcHosts h = {}; in LLVMFuzzerTestOneInput()