Lines Matching refs:oldconst
706 ppd_const_t *oldconst; /* Current UIConstraints data */ in ppd_load_constraints() local
742 for (i = ppd->num_consts, oldconst = ppd->consts; i > 0; i --, oldconst ++) in ppd_load_constraints()
750 !_cups_strcasecmp(oldconst[0].option1, oldconst[1].option2) && in ppd_load_constraints()
751 !_cups_strcasecmp(oldconst[0].choice1, oldconst[1].choice2) && in ppd_load_constraints()
752 !_cups_strcasecmp(oldconst[0].option2, oldconst[1].option1) && in ppd_load_constraints()
753 !_cups_strcasecmp(oldconst[0].choice2, oldconst[1].choice1)) in ppd_load_constraints()
782 if (!_cups_strncasecmp(oldconst->option1, "Custom", 6) && in ppd_load_constraints()
783 !_cups_strcasecmp(oldconst->choice1, "True")) in ppd_load_constraints()
785 constptr[0].option = ppdFindOption(ppd, oldconst->option1 + 6); in ppd_load_constraints()
791 constptr[0].option = ppdFindOption(ppd, oldconst->option1); in ppd_load_constraints()
793 oldconst->choice1); in ppd_load_constraints()
795 oldconst->option1); in ppd_load_constraints()
798 if (!constptr[0].option || (!constptr[0].choice && oldconst->choice1[0])) in ppd_load_constraints()
801 oldconst->option1, oldconst->choice1)); in ppd_load_constraints()
807 if (!_cups_strncasecmp(oldconst->option2, "Custom", 6) && in ppd_load_constraints()
808 !_cups_strcasecmp(oldconst->choice2, "True")) in ppd_load_constraints()
810 constptr[1].option = ppdFindOption(ppd, oldconst->option2 + 6); in ppd_load_constraints()
816 constptr[1].option = ppdFindOption(ppd, oldconst->option2); in ppd_load_constraints()
818 oldconst->choice2); in ppd_load_constraints()
820 oldconst->option2); in ppd_load_constraints()
823 if (!constptr[1].option || (!constptr[1].choice && oldconst->choice2[0])) in ppd_load_constraints()
826 oldconst->option2, oldconst->choice2)); in ppd_load_constraints()