Home
last modified time | relevance | path

Searched refs:locale_is_installed (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/test/
Dtest-locale-util.c38 TEST(locale_is_installed) { in TEST() argument
40 assert_se(locale_is_installed("POSIX") > 0); in TEST()
41 assert_se(locale_is_installed("C") > 0); in TEST()
44 assert_se(locale_is_installed("en_EN.utf8") >= 0); in TEST()
45 assert_se(locale_is_installed("fr_FR.utf8") >= 0); in TEST()
46 assert_se(locale_is_installed("fr_FR@euro") >= 0); in TEST()
47 assert_se(locale_is_installed("fi_FI") >= 0); in TEST()
50 assert_se(locale_is_installed("") == 0); in TEST()
51 assert_se(locale_is_installed("/usr/bin/foo") == 0); in TEST()
52 assert_se(locale_is_installed("\x01gar\x02 bage\x03") == 0); in TEST()
[all …]
/systemd-251/src/basic/
Dlocale-util.h34 int locale_is_installed(const char *name);
Dlocale-util.c256 int locale_is_installed(const char *name) { in locale_is_installed() function
/systemd-251/src/locale/
Dlocaled.c287 if (!use_localegen && locale_is_installed(e) <= 0) in process_locale_list_item()
312 if (locale_is_installed(new_locale[p])) in locale_gen_process_locale()
368 if (!use_localegen && locale_is_installed(l[0]) <= 0) in method_set_locale()
/systemd-251/src/firstboot/
Dfirstboot.c234 return locale_is_installed(name) > 0; in locale_is_ok()
/systemd-251/src/login/
Dpam_systemd.c610 } else if (locale_is_installed(ur->preferred_language) <= 0) { in apply_user_record_settings()
/systemd-251/src/home/
Dhomectl.c2901 if (locale_is_installed(optarg) <= 0) in parse_argv()