Lines Matching refs:pwg_media_t
35 static int pwg_compare_legacy(pwg_media_t *a, pwg_media_t *b);
36 static int pwg_compare_pwg(pwg_media_t *a, pwg_media_t *b);
37 static int pwg_compare_ppd(pwg_media_t *a, pwg_media_t *b);
47 static pwg_media_t const cups_pwg_media[] =
411 pwg_media_t *pwg; /* PWG media value */ in pwgInitSize()
568 pwg_media_t * /* O - Matching size or NULL */
571 pwg_media_t key; /* Search key */ in pwgMediaForLegacy()
589 pwg_media_t *size; /* Current size */ in pwgMediaForLegacy()
595 size = (pwg_media_t *)cups_pwg_media; in pwgMediaForLegacy()
607 return ((pwg_media_t *)cupsArrayFind(cg->leg_size_lut, &key)); in pwgMediaForLegacy()
626 pwg_media_t * /* O - Matching size or NULL */
629 pwg_media_t key, /* Search key */ in pwgMediaForPPD()
652 size = (pwg_media_t *)cups_pwg_media; in pwgMediaForPPD()
664 if ((size = (pwg_media_t *)cupsArrayFind(cg->ppd_size_lut, &key)) == NULL) in pwgMediaForPPD()
802 pwg_media_t * /* O - Matching size or NULL */
806 pwg_media_t key, /* Search key */ in pwgMediaForPWG()
829 size = (pwg_media_t *)cups_pwg_media; in pwgMediaForPWG()
840 if ((size = (pwg_media_t *)cupsArrayFind(cg->pwg_size_lut, &key)) == NULL && in pwgMediaForPWG()
909 pwg_media_t * /* O - PWG media name */
926 pwg_media_t * /* O - PWG media name */
932 pwg_media_t *media, /* Current media */ in _pwgMediaNearSize()
953 media = (pwg_media_t *)cups_pwg_media; in _pwgMediaNearSize()
1004 const pwg_media_t * /* O - Pointer to first entry */
1018 pwg_compare_legacy(pwg_media_t *a, /* I - First size */ in pwg_compare_legacy()
1019 pwg_media_t *b) /* I - Second size */ in pwg_compare_legacy()
1030 pwg_compare_ppd(pwg_media_t *a, /* I - First size */ in pwg_compare_ppd()
1031 pwg_media_t *b) /* I - Second size */ in pwg_compare_ppd()
1042 pwg_compare_pwg(pwg_media_t *a, /* I - First size */ in pwg_compare_pwg()
1043 pwg_media_t *b) /* I - Second size */ in pwg_compare_pwg()