Lines Matching refs:ppd
27 static int test_pagesize(_ppd_cache_t *pc, ppd_file_t *ppd,
29 static int test_ppd_cache(_ppd_cache_t *pc, ppd_file_t *ppd);
42 ppd_file_t *ppd; /* PPD file */ in main() local
62 if ((ppd = ppdOpenFile(ppdfile)) == NULL) in main()
78 if ((pc = _ppdCacheCreateWithPPD(ppd)) == NULL) in main()
86 status += test_ppd_cache(pc, ppd); in main()
352 ppd_file_t *ppd, /* I - PPD file */ in test_pagesize() argument
360 if (ppdPageSize(ppd, ppdsize)) in test_pagesize()
410 ppd_file_t *ppd) /* I - PPD file */ in test_ppd_cache() argument
460 strcmp(size2->map.ppd, size->map.ppd) || in test_ppd_cache()
475 if (strcmp(size2->map.ppd, size->map.ppd)) in test_ppd_cache()
477 "size->map.ppd=\"%s\"\n", size2->map.ppd, size->map.ppd); in test_ppd_cache()
513 strcmp(map2->ppd, map->ppd)) in test_ppd_cache()
522 if (strcmp(map2->ppd, map->ppd)) in test_ppd_cache()
524 map2->ppd, map->ppd); in test_ppd_cache()
536 strcmp(map2->ppd, map->ppd)) in test_ppd_cache()
545 if (strcmp(map2->ppd, map->ppd)) in test_ppd_cache()
547 map2->ppd, map->ppd); in test_ppd_cache()
565 status += test_pagesize(pc, ppd, "Letter"); in test_ppd_cache()
566 status += test_pagesize(pc, ppd, "na-letter"); in test_ppd_cache()
567 status += test_pagesize(pc, ppd, "A4"); in test_ppd_cache()
568 status += test_pagesize(pc, ppd, "iso-a4"); in test_ppd_cache()