• Home
  • Raw
  • Download

Lines Matching refs:pwg_media_t

32 static int	pwg_compare_legacy(pwg_media_t *a, pwg_media_t *b);
33 static int pwg_compare_pwg(pwg_media_t *a, pwg_media_t *b);
34 static int pwg_compare_ppd(pwg_media_t *a, pwg_media_t *b);
44 static pwg_media_t const cups_pwg_media[] =
408 pwg_media_t *pwg; /* PWG media value */ in pwgInitSize()
565 pwg_media_t * /* O - Matching size or NULL */
568 pwg_media_t key; /* Search key */ in pwgMediaForLegacy()
586 pwg_media_t *size; /* Current size */ in pwgMediaForLegacy()
592 size = (pwg_media_t *)cups_pwg_media; in pwgMediaForLegacy()
604 return ((pwg_media_t *)cupsArrayFind(cg->leg_size_lut, &key)); in pwgMediaForLegacy()
623 pwg_media_t * /* O - Matching size or NULL */
626 pwg_media_t key, /* Search key */ in pwgMediaForPPD()
649 size = (pwg_media_t *)cups_pwg_media; in pwgMediaForPPD()
661 if ((size = (pwg_media_t *)cupsArrayFind(cg->ppd_size_lut, &key)) == NULL) in pwgMediaForPPD()
799 pwg_media_t * /* O - Matching size or NULL */
803 pwg_media_t key, /* Search key */ in pwgMediaForPWG()
826 size = (pwg_media_t *)cups_pwg_media; in pwgMediaForPWG()
837 if ((size = (pwg_media_t *)cupsArrayFind(cg->pwg_size_lut, &key)) == NULL && in pwgMediaForPWG()
910 pwg_media_t * /* O - PWG media name */
928 pwg_media_t * /* O - PWG media name */
934 pwg_media_t *media, /* Current media */ in _pwgMediaNearSize()
955 media = (pwg_media_t *)cups_pwg_media; in _pwgMediaNearSize()
1006 const pwg_media_t * /* O - Pointer to first entry */
1020 pwg_compare_legacy(pwg_media_t *a, /* I - First size */ in pwg_compare_legacy()
1021 pwg_media_t *b) /* I - Second size */ in pwg_compare_legacy()
1032 pwg_compare_ppd(pwg_media_t *a, /* I - First size */ in pwg_compare_ppd()
1033 pwg_media_t *b) /* I - Second size */ in pwg_compare_ppd()
1044 pwg_compare_pwg(pwg_media_t *a, /* I - First size */ in pwg_compare_pwg()
1045 pwg_media_t *b) /* I - Second size */ in pwg_compare_pwg()