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