Lines Matching refs:language
31 static int test_string(cups_lang_t *language, const char *msgid);
44 cups_lang_t *language; /* Message catalog */ in main() local
60 language = cupsLangDefault(); in main()
65 language = cupsLangGet(argv[1]); in main()
74 if (language != language2) in main()
82 printf("Language = \"%s\"\n", language->language); in main()
83 printf("Encoding = \"%s\"\n", _cupsEncodingName(language->encoding)); in main()
85 errors += test_string(language, "No"); in main()
86 errors += test_string(language, "Yes"); in main()
88 if (language != language2) in main()
92 printf("Language = \"%s\"\n", language2->language); in main()
223 if ((language = cupsLangGet(buffer)) == NULL) in main()
230 if (strncasecmp(language->language, buffer, buflen)) in main()
232 …X locale \"%s\", got \"%s\")\n", (int)j + 1, locale_str, language_str, buffer, language->language); in main()
260 test_string(cups_lang_t *language, /* I - Language */ in test_string() argument
273 msgstr = _cupsLangString(language, msgid); in test_string()
274 if (strcmp(language->language, "C") && msgid == msgstr) in test_string()
279 else if (!strcmp(language->language, "C") && msgid != msgstr) in test_string()