Lines Matching refs:pwg
411 pwg_media_t *pwg; /* PWG media value */ in pwgInitSize() local
509 if ((pwg = pwgMediaForPWG(name)) == NULL) in pwgInitSize()
515 if ((pwg = pwgMediaForLegacy(name)) == NULL) in pwgInitSize()
523 pwg = pwgMediaForPPD(name); in pwgInitSize()
524 if (pwg && in pwgInitSize()
537 if (pwg) in pwgInitSize()
539 size->width = pwg->width; in pwgInitSize()
540 size->length = pwg->length; in pwgInitSize()
770 size->pwg = cg->pwg_name; in pwgMediaForPPD()
803 pwgMediaForPWG(const char *pwg) /* I - PWG size name */ in pwgMediaForPWG() argument
815 if (!pwg) in pwgMediaForPWG()
839 key.pwg = pwg; in pwgMediaForPWG()
841 (ptr = (char *)strchr(pwg, '_')) != NULL && in pwgMediaForPWG()
873 if (!strncmp(pwg, "disc_", 5)) in pwgMediaForPWG()
880 strlcpy(cg->pwg_name, pwg, sizeof(cg->pwg_name)); in pwgMediaForPWG()
881 size->pwg = cg->pwg_name; in pwgMediaForPWG()
986 cg->pwg_media.pwg = cg->pwg_name; in _pwgMediaNearSize()
1045 return (strcmp(a->pwg, b->pwg)); in pwg_compare_pwg()