Searched refs:hostname_cleanup (Results 1 – 9 of 9) sorted by relevance
/systemd-251/src/test/ |
D | test-hostname-util.c | 49 TEST(hostname_cleanup) { in TEST() argument 53 assert_se(streq(hostname_cleanup(s), "foobar")); in TEST() 55 assert_se(streq(hostname_cleanup(s), "foobar.com")); in TEST() 57 assert_se(streq(hostname_cleanup(s), "foobar.com")); in TEST() 59 assert_se(streq(hostname_cleanup(s), "foo-bar.com")); in TEST() 61 assert_se(streq(hostname_cleanup(s), "foo-bar--com")); in TEST() 63 assert_se(streq(hostname_cleanup(s), "foo-bar.com")); in TEST() 65 assert_se(streq(hostname_cleanup(s), "fooBAR")); in TEST() 67 assert_se(streq(hostname_cleanup(s), "fooBAR.com")); in TEST() 69 assert_se(streq(hostname_cleanup(s), "fooBAR")); in TEST() [all …]
|
/systemd-251/src/basic/ |
D | hostname-util.h | 49 char* hostname_cleanup(char *s);
|
D | hostname-util.c | 140 char* hostname_cleanup(char *s) { in hostname_cleanup() function
|
/systemd-251/src/shared/ |
D | hostname-setup.c | 97 hostname_cleanup(p); /* normalize the hostname */ in read_etc_hostname_stream()
|
/systemd-251/src/firstboot/ |
D | firstboot.c | 537 arg_hostname = hostname_cleanup(h); in prompt_hostname() 1206 hostname_cleanup(arg_hostname); in parse_argv()
|
/systemd-251/src/hostname/ |
D | hostnamectl.c | 486 hostname = hostname_cleanup(h); /* Use the cleaned up name as static hostname */ in set_hostname()
|
/systemd-251/src/journal-remote/ |
D | journal-gatewayd.c | 785 hostname_cleanup(hostname), in request_handler_machine()
|
/systemd-251/src/journal/ |
D | journalctl.c | 1970 hostname_cleanup(hn); in setup_keys()
|
/systemd-251/src/nspawn/ |
D | nspawn.c | 3047 hostname_cleanup(arg_machine); in determine_names()
|