Home
last modified time | relevance | path

Searched refs:pwg_media (Results 1 – 4 of 4) sorted by relevance

/external/libcups/cups/
Dpwg-media.c767 size = &(cg->pwg_media); in pwgMediaForPPD()
876 size = &(cg->pwg_media); in pwgMediaForPWG()
986 cg->pwg_media.pwg = cg->pwg_name; in _pwgMediaNearSize()
987 cg->pwg_media.width = width; in _pwgMediaNearSize()
988 cg->pwg_media.length = length; in _pwgMediaNearSize()
994 cg->pwg_media.ppd = cg->ppd_name; in _pwgMediaNearSize()
996 return (&(cg->pwg_media)); in _pwgMediaNearSize()
Dcups-private.h126 pwg_media_t pwg_media; /* PWG media data for custom size */ member
Dppd-cache.c977 pwg_media_t *pwg_media; /* PWG media data */ in _ppdCacheCreateWithPPD() local
1048 if ((pwg_media = pwgMediaForPPD(ppd_size->name)) != NULL) in _ppdCacheCreateWithPPD()
1055 if (!strcmp(pc->sizes[j].map.pwg, pwg_media->pwg)) in _ppdCacheCreateWithPPD()
1057 pwg_media = NULL; in _ppdCacheCreateWithPPD()
1062 if (pwg_media) in _ppdCacheCreateWithPPD()
1068 pwg_name = pwg_media->pwg; in _ppdCacheCreateWithPPD()
1094 if ((pwg_media = _pwgMediaNearSize(PWG_FROM_POINTS(ppd_size->width), in _ppdCacheCreateWithPPD()
1099 new_width = pwg_media->width; in _ppdCacheCreateWithPPD()
1100 new_length = pwg_media->length; in _ppdCacheCreateWithPPD()
/external/libcups/filter/
Drastertopwg.c56 pwg_media_t *pwg_media; /* PWG media name */ in main() local
275 pwg_media = pwgMediaForSize((int)(2540.0 * inheader.cupsPageSize[0] / 72.0), in main()
278 if (pwg_media) in main()
279 strlcpy(outheader.cupsPageSizeName, pwg_media->pwg, in main()