• Home
  • Raw
  • Download

Lines Matching refs:choice

145   ppd_choice_t	*choice;		/* Standard UI option choice */  in main()  local
1097 for (j = option->num_choices, choice = option->choices; in main()
1099 j --, choice ++) in main()
1106 xdpi = strtol(choice->choice, (char **)&ptr, 10); in main()
1107 if (ptr > choice->choice && xdpi > 0) in main()
1128 option->keyword, choice->choice); in main()
1267 option->choices[j].choice); in main()
1556 for (m = option->num_choices, choice = option->choices; in main()
1558 m --, choice ++) in main()
1560 size = ppdPageSize(ppd, choice->choice); in main()
1565 choice->choice, choice->text, in main()
1566 !strcmp(option->defchoice, choice->choice) in main()
1572 choice->choice, choice->text, in main()
1576 !strcmp(option->defchoice, choice->choice) in main()
1582 for (m = option->num_choices, choice = option->choices; in main()
1584 m --, choice ++) in main()
1587 choice->choice, choice->text, in main()
1588 !strcmp(option->defchoice, choice->choice) in main()
1750 choice[PPD_MAX_NAME], in check_constraints() local
1847 choice[0] = '\0'; in check_constraints()
1850 for (ptr = choice; *vptr && !isspace(*vptr & 255); vptr ++) in check_constraints()
1851 if (ptr < (choice + sizeof(choice) - 1)) in check_constraints()
1857 if (!_cups_strncasecmp(option, "Custom", 6) && !_cups_strcasecmp(choice, "True")) in check_constraints()
1860 strlcpy(choice, "Custom", sizeof(choice)); in check_constraints()
1879 if (choice[0] && !ppdFindChoice(o, choice)) in check_constraints()
1887 prefix, option, choice, constattr->spec, in check_constraints()
1896 if (choice[0]) in check_constraints()
1897 num_options = cupsAddOption(option, choice, num_options, &options); in check_constraints()
1901 if (_cups_strcasecmp(o->choices[i].choice, "None") && in check_constraints()
1902 _cups_strcasecmp(o->choices[i].choice, "Off") && in check_constraints()
1903 _cups_strcasecmp(o->choices[i].choice, "False")) in check_constraints()
1905 num_options = cupsAddOption(option, o->choices[i].choice, in check_constraints()
1962 strlcpy(choice, "Custom", sizeof(choice)); in check_constraints()
1967 strlcpy(choice, c->choice1, sizeof(choice)); in check_constraints()
1984 else if (choice[0] && !ppdFindChoice(o, choice)) in check_constraints()
2003 strlcpy(choice, "Custom", sizeof(choice)); in check_constraints()
2008 strlcpy(choice, c->choice2, sizeof(choice)); in check_constraints()
2025 else if (choice[0] && !ppdFindChoice(o, choice)) in check_constraints()
2116 if (!strcmp(choicea->choice, choiceb->choice)) in check_case()
2125 optiona->keyword, choicea->choice); in check_case()
2133 else if (!_cups_strcasecmp(choicea->choice, choiceb->choice)) in check_case()
2142 optiona->keyword, choicea->choice, choiceb->choice); in check_case()
2215 if (!strcmp(option->choices[k].choice, attr->value)) in check_defaults()
2251 ppd_choice_t *choice; /* Current choice */ in check_duplex() local
2281 for (i = option->num_choices, choice = option->choices; in check_duplex()
2283 i --, choice ++) in check_duplex()
2284 if (strcmp(choice->choice, "None") && in check_duplex()
2285 strcmp(choice->choice, "DuplexNoTumble") && in check_duplex()
2286 strcmp(choice->choice, "DuplexTumble") && in check_duplex()
2287 strcmp(choice->choice, "SimplexTumble")) in check_duplex()
2297 prefix, option->keyword, choice->choice); in check_duplex()
3533 if (!_cups_strcasecmp(option->choices[j].choice, "Custom") && in check_translations()
3611 option->choices[j].choice)) == NULL && in check_translations()
3613 option->choices[j].choice)) == NULL) in check_translations()
3624 option->choices[j].choice); in check_translations()
3640 option->choices[j].choice); in check_translations()
3743 !_cups_strcasecmp(c1->choice, "None") || in show_conflicts()
3744 !_cups_strcasecmp(c1->choice, "Off") || in show_conflicts()
3745 !_cups_strcasecmp(c1->choice, "False")) in show_conflicts()
3776 !_cups_strcasecmp(c2->choice, "None") || in show_conflicts()
3777 !_cups_strcasecmp(c2->choice, "Off") || in show_conflicts()
3778 !_cups_strcasecmp(c2->choice, "False")) in show_conflicts()
3790 prefix, o1->keyword, c1->choice, o2->keyword, c2->choice, in show_conflicts()