Searched defs:lang (Results 1 - 3 of 3) sorted by relevance
/systemd/src/journal/ |
H A D | test-catalog.c | 203 _cleanup_free_ char *lang = NULL, *lang2 = NULL, *lang3 = NULL, *lang4 = NULL; local 205 assert_se(catalog_file_lang("systemd.de_DE.catalog", &lang) == 1); 206 assert_se(streq(lang, "de_DE"));
|
H A D | catalog.c | 209 int catalog_file_lang(const char* filename, char **lang) { argument 227 *lang = _lang; 232 const char* t, const char* deflang, char **lang) { 255 *lang = strdup(t); 256 if (!*lang) 267 _cleanup_free_ char *deflang = NULL, *lang = NULL; local 326 r = finish_item(h, id, lang ?: deflang, payload); 331 lang = mfree(lang); 337 r = catalog_entry_lang(path, n, t, deflang, &lang); 231 catalog_entry_lang(const char* filename, int line, const char* t, const char* deflang, char **lang) argument [all...] |
/systemd/src/locale/ |
H A D | localed.c | 769 static int find_language_fallback(const char *lang, char **language) { argument 787 if (streq(lang, a[0])) { 888 const char *lang = NULL; local 921 lang = (*i) + k + 1; 939 assert(lang); 941 (void) find_language_fallback(lang, &language); 943 log_debug("Converted LANG=%s to LANGUAGE=%s", lang, language);
|
Completed in 16 milliseconds