Searched refs:catalog_file_lang (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/libsystemd/sd-journal/ |
D | test-catalog.c | 172 assert_se(catalog_file_lang("systemd.de_DE.catalog", &lang) == 1); in test_catalog_file_lang() 175 assert_se(catalog_file_lang("systemd..catalog", &lang2) == 0); in test_catalog_file_lang() 178 assert_se(catalog_file_lang("systemd.fr.catalog", &lang2) == 1); in test_catalog_file_lang() 181 assert_se(catalog_file_lang("systemd.fr.catalog.gz", &lang3) == 0); in test_catalog_file_lang() 184 … assert_se(catalog_file_lang("systemd.01234567890123456789012345678901.catalog", &lang3) == 0); in test_catalog_file_lang() 187 … assert_se(catalog_file_lang("systemd.0123456789012345678901234567890.catalog", &lang3) == 1); in test_catalog_file_lang() 190 assert_se(catalog_file_lang("/x/y/systemd.catalog", &lang4) == 0); in test_catalog_file_lang() 193 assert_se(catalog_file_lang("/x/y/systemd.ru_RU.catalog", &lang4) == 1); in test_catalog_file_lang()
|
D | catalog.h | 17 int catalog_file_lang(const char *filename, char **lang);
|
D | catalog.c | 189 int catalog_file_lang(const char* filename, char **lang) { in catalog_file_lang() function 263 r = catalog_file_lang(path, &deflang); in catalog_import_file()
|