Lines Matching refs:ppd
24 static const char *ppd_locale(ppd_file_t *ppd);
38 ppd_file_t *ppd; // PPD file in main() local
92 if ((ppd = ppdOpen2(infile)) == NULL) in main()
123 if ((locale = ppd_locale(ppd)) == NULL) in main()
127 ppd->lang_version, argv[i]); in main()
129 ppdClose(ppd); in main()
137 languages = _ppdGetLanguages(ppd); in main()
158 cupsArrayAdd(ppds, ppd); in main()
165 ppdClose(ppd); in main()
180 for (ppd = (ppd_file_t *)cupsArrayFirst(ppds); in main()
181 ppd; in main()
182 ppd = (ppd_file_t *)cupsArrayNext(ppds)) in main()
184 locale = ppd_locale(ppd); in main()
189 ppdClose(ppd); in main()
190 cupsArrayRemove(ppds, ppd); in main()
227 for (ppd = (ppd_file_t *)cupsArrayFirst(ppds); in main()
228 ppd; in main()
229 ppd = (ppd_file_t *)cupsArrayNext(ppds)) in main()
240 locale = ppd_locale(ppd); in main()
242 cupsFilePrintf(outfile, "*%% %s localization\n", ppd->lang_version); in main()
244 ppd->modelname); in main()
246 for (j = ppd->num_groups, g = ppd->groups; j > 0; j --, g ++) in main()
260 if ((co = ppdFindCustomOption(ppd, o->keyword)) != NULL) in main()
263 attr = ppdFindAttr(ppd, line, "True"); in main()
273 ppdClose(ppd); in main()
290 ppd_locale(ppd_file_t *ppd) // I - PPD file in ppd_locale() argument
331 if (!_cups_strncasecmp(ppd->lang_version, languages[i].version, vlen)) in ppd_locale()
333 if (ppd->lang_version[vlen] == '-' || in ppd_locale()
334 ppd->lang_version[vlen] == '_') in ppd_locale()
336 ppd->lang_version + vlen + 1); in ppd_locale()