Searched refs:lang (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/libsystemd/sd-journal/ |
D | catalog.c | 189 int catalog_file_lang(const char* filename, char **lang) { in catalog_file_lang() argument 207 *lang = _lang; in catalog_file_lang() 252 _cleanup_free_ char *deflang = NULL, *lang = NULL; in catalog_import_file() local 313 … r = finish_item(h, id, lang ?: deflang, payload, payload_size); in catalog_import_file() 317 lang = mfree(lang); in catalog_import_file() 325 r = catalog_entry_lang(path, n, t, deflang, &lang); in catalog_import_file() 364 r = finish_item(h, id, lang ?: deflang, payload, payload_size); in catalog_import_file()
|
D | test-catalog.c | 170 _cleanup_free_ char *lang = NULL, *lang2 = NULL, *lang3 = NULL, *lang4 = NULL; in test_catalog_file_lang() local 172 assert_se(catalog_file_lang("systemd.de_DE.catalog", &lang) == 1); in test_catalog_file_lang() 173 assert_se(streq(lang, "de_DE")); in test_catalog_file_lang()
|
D | catalog.h | 17 int catalog_file_lang(const char *filename, char **lang);
|
/systemd-251/src/locale/ |
D | keymap-util.h | 32 int find_language_fallback(const char *lang, char **language);
|
D | keymap-util.c | 661 int find_language_fallback(const char *lang, char **language) { in find_language_fallback() argument 666 assert(lang); in find_language_fallback() 683 if (streq(lang, a[0])) { in find_language_fallback()
|