• Home
  • Raw
  • Download

Lines Matching refs:choice

38 		                const char *choice);
371 const char *choice) /* I - Name of choice */ in ppdFindChoice() argument
377 if (!o || !choice) in ppdFindChoice()
380 if (choice[0] == '{' || !_cups_strncasecmp(choice, "Custom.", 7)) in ppdFindChoice()
381 choice = "Custom"; in ppdFindChoice()
384 if (!_cups_strcasecmp(c->choice, choice)) in ppdFindChoice()
414 marked ? marked->choice : "NULL")); in ppdFindMarkedChoice()
478 const char *choice) /* I - Choice name */ in ppdIsMarked() argument
493 return (!strcmp(c->choice, choice)); in ppdIsMarked()
547 const char *choice) /* I - Option name */ in ppdMarkOption() argument
550 ppd, option, choice)); in ppdMarkOption()
556 if (!ppd || !option || !choice) in ppdMarkOption()
563 ppd_mark_option(ppd, option, choice); in ppdMarkOption()
628 choice[PPD_MAX_NAME], /* Current choice/value */ in _ppdParseOptions() local
672 ptr = choice; in _ppdParseOptions()
673 while (*s && !_cups_isspace(*s) && ptr < (choice + sizeof(choice) - 1)) in _ppdParseOptions()
686 num_options = cupsAddOption(option + 1, choice, num_options, options); in _ppdParseOptions()
688 num_options = cupsAddOption(option, choice, num_options, options); in _ppdParseOptions()
712 DEBUG_printf(("2cupsMarkOptions: %s=%s", c->option->keyword, c->choice)); in ppd_debug_marked()
773 const char *choice) /* I - Choice name */ in ppd_mark_option() argument
784 ppd, option, choice)); in ppd_mark_option()
823 if (!_cups_strncasecmp(choice, "Custom.", 7)) in ppd_mark_option()
838 ppdPageSize(ppd, choice); in ppd_mark_option()
861 cparam->current.custom_real = (float)_cupsStrScand(choice + 7, in ppd_mark_option()
866 cparam->current.custom_points = (float)_cupsStrScand(choice + 7, in ppd_mark_option()
886 cparam->current.custom_int = atoi(choice + 7); in ppd_mark_option()
895 cparam->current.custom_string = _cupsStrAlloc(choice + 7); in ppd_mark_option()
905 choice = "Custom"; in ppd_mark_option()
907 else if (choice[0] == '{') in ppd_mark_option()
926 num_vals = cupsParseOptions(choice, 0, &vals); in ppd_mark_option()
983 if (!_cups_strcasecmp(c->choice, choice)) in ppd_mark_option()
1014 choice); in ppd_mark_option()
1071 !_cups_strcasecmp(choice, "True")) in ppd_mark_option()