Searched refs:hostname_cleanup (Results 1 - 9 of 9) sorted by relevance

/systemd/src/test/
H A Dtest-hostname-util.c68 assert_se(streq(hostname_cleanup(s), "foobar"));
70 assert_se(streq(hostname_cleanup(s), "foobar.com"));
72 assert_se(streq(hostname_cleanup(s), "foobar.com"));
74 assert_se(streq(hostname_cleanup(s), "fooBAR"));
76 assert_se(streq(hostname_cleanup(s), "fooBAR.com"));
78 assert_se(streq(hostname_cleanup(s), "fooBAR"));
80 assert_se(streq(hostname_cleanup(s), "fooBAR.com"));
82 assert_se(streq(hostname_cleanup(s), "fbar"));
84 assert_se(isempty(hostname_cleanup(s)));
86 assert_se(isempty(hostname_cleanup(
[all...]
/systemd/src/basic/
H A Dhostname-util.h31 char* hostname_cleanup(char *s);
H A Dhostname-util.c119 char* hostname_cleanup(char *s) { function
210 name = hostname_cleanup(l);
/systemd/src/hostname/
H A Dhostnamectl.c275 hostname = hostname_cleanup(hostname);
281 hostname_cleanup(hostname);
/systemd/src/firstboot/
H A Dfirstboot.c389 arg_hostname = hostname_cleanup(h);
758 hostname_cleanup(optarg);
/systemd/src/journal-remote/
H A Djournal-gatewayd.c801 hostname_cleanup(hostname),
/systemd/src/network/
H A Dnetworkd-network.c822 *hostname = hostname_cleanup(hn);
/systemd/src/journal/
H A Djournalctl.c1654 hostname_cleanup(hn);
/systemd/src/nspawn/
H A Dnspawn.c2385 hostname_cleanup(arg_machine);

Completed in 49 milliseconds