Lines Matching refs:ppd
21 static int test_pagesize(_ppd_cache_t *pc, ppd_file_t *ppd,
23 static int test_ppd_cache(_ppd_cache_t *pc, ppd_file_t *ppd);
36 ppd_file_t *ppd; /* PPD file */ in main() local
56 if ((ppd = ppdOpenFile(ppdfile)) == NULL) in main()
72 if ((pc = _ppdCacheCreateWithPPD(ppd)) == NULL) in main()
80 status += test_ppd_cache(pc, ppd); in main()
346 ppd_file_t *ppd, /* I - PPD file */ in test_pagesize() argument
354 if (ppdPageSize(ppd, ppdsize)) in test_pagesize()
404 ppd_file_t *ppd) /* I - PPD file */ in test_ppd_cache() argument
454 strcmp(size2->map.ppd, size->map.ppd) || in test_ppd_cache()
469 if (strcmp(size2->map.ppd, size->map.ppd)) in test_ppd_cache()
471 "size->map.ppd=\"%s\"\n", size2->map.ppd, size->map.ppd); in test_ppd_cache()
507 strcmp(map2->ppd, map->ppd)) in test_ppd_cache()
516 if (strcmp(map2->ppd, map->ppd)) in test_ppd_cache()
518 map2->ppd, map->ppd); in test_ppd_cache()
530 strcmp(map2->ppd, map->ppd)) in test_ppd_cache()
539 if (strcmp(map2->ppd, map->ppd)) in test_ppd_cache()
541 map2->ppd, map->ppd); in test_ppd_cache()
559 status += test_pagesize(pc, ppd, "Letter"); in test_ppd_cache()
560 status += test_pagesize(pc, ppd, "na-letter"); in test_ppd_cache()
561 status += test_pagesize(pc, ppd, "A4"); in test_ppd_cache()
562 status += test_pagesize(pc, ppd, "iso-a4"); in test_ppd_cache()