Home
last modified time | relevance | path

Searched refs:lang (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/libsystemd/sd-journal/
Dcatalog.c189 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()
Dtest-catalog.c170 _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()
Dcatalog.h17 int catalog_file_lang(const char *filename, char **lang);
/systemd-251/src/locale/
Dkeymap-util.h32 int find_language_fallback(const char *lang, char **language);
Dkeymap-util.c661 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()