Lines Matching refs:num_options

64     int           num_options,		/* I - Number of options */
89 if (pc->password && (password = cupsGetOption("job-password", num_options, options)) != NULL && ippGetOperation(request) != IPP_OP_VALIDATE_JOB)
93 if ((keyword = cupsGetOption("job-password-encryption", num_options, options)) == NULL)
123 if ((keyword = cupsGetOption("job-account-id", num_options, options)) == NULL)
124 keyword = cupsGetOption("job-billing", num_options, options);
132 if ((keyword = cupsGetOption("job-accounting-user-id", num_options, options)) == NULL)
155 (keyword = cupsGetOption(mandatory, num_options, options)) != NULL)
199 if ((keyword = cupsGetOption("PageSize", num_options, options)) == NULL)
200 keyword = cupsGetOption("media", num_options, options);
202 media_source = _ppdCacheGetSource(pc, cupsGetOption("InputSlot", num_options, options));
203 media_type = _ppdCacheGetType(pc, cupsGetOption("MediaType", num_options, options));
244 if ((keyword = cupsGetOption("output-bin", num_options, options)) == NULL)
255 if ((keyword = cupsGetOption("print-color-mode", num_options, options)) == NULL)
277 if ((keyword = cupsGetOption("print-quality", num_options, options)) != NULL)
289 if ((keyword = cupsGetOption("sides", num_options, options)) != NULL)
305 if ((keyword = cupsGetOption("multiple-document-handling", num_options, options)) != NULL)
312 else if ((keyword = cupsGetOption("collate", num_options, options)) == NULL)
366 num_finishings = _ppdCacheGetFinishingValues(pc, num_options, options, (int)(sizeof(finishings) / sizeof(finishings[0])), finishings);
371 if (copies != finishings_copies && (keyword = cupsGetOption("job-impressions", num_options, options)) != NULL)
866 finishings->num_options = cupsParseOptions(valueptr, 0,
968 int num_options; /* Number of preset options and props */
1364 num_options = _ppdParseOptions(ppd_attr->value, 0, &options,
1368 num_options, options)) != NULL)
1386 num_options, options);
1399 num_options, options);
1412 num_options, options);
1413 color_model_val = cupsGetOption("ColorModel", num_options, options);
1443 cupsFreeOptions(num_options, options);
1510 num_options = pc->num_presets[_PWG_PRINT_COLOR_MODE_COLOR]
1512 options = calloc(sizeof(cups_option_t), (size_t)num_options);
1516 for (i = num_options, moption = options,
1527 num_options;
1686 finishings->num_options = _ppdParseOptions(ppd_attr->value, 0,
2005 int num_options, /* I - Number of options */
2021 return (num_options);
2039 for (j = f->num_options, option = f->options; j > 0; j --, option ++)
2040 num_options = cupsAddOption(option->name, option->value,
2041 num_options, options);
2053 for (j = f->num_options, option = f->options; j > 0; j --, option ++)
2054 num_options = cupsAddOption(option->name, option->value,
2055 num_options, options);
2059 return (num_options);
2071 int num_options, /* I - Number of options */
2087 DEBUG_printf(("_ppdCacheGetFinishingValues(pc=%p, num_options=%d, options=%p, max_values=%d, values=%p)", pc, num_options, options, max_values, values));
2110 for (i = f->num_options, option = f->options; i > 0; i --, option ++)
2114 if ((val = cupsGetOption(option->name, num_options, options)) == NULL ||
2872 for (i = f->num_options, option = f->options; i > 0; i --, option ++)
4320 f->num_options = cupsAddOption(name, value, 0, &f->options);
4348 cupsFreeOptions(f->num_options, f->options);