Lines Matching refs:num_options
154 int num_options; /* Number of options */ in main() local
309 num_options = cupsGetConflicts(ppd, "InputSlot", "Envelope", &options); in main()
310 if (num_options != 2 || in main()
311 (val = cupsGetOption("PageRegion", num_options, options)) == NULL || in main()
313 (val = cupsGetOption("PageSize", num_options, options)) == NULL || in main()
316 printf("FAIL (%d options:", num_options); in main()
317 for (i = 0; i < num_options; i ++) in main()
337 num_options = 0; in main()
339 if (!cupsResolveConflicts(ppd, "InputSlot", "Envelope", &num_options, in main()
345 else if (num_options != 2 || in main()
346 !cupsGetOption("PageSize", num_options, options)) in main()
348 printf("FAIL (%d options:", num_options); in main()
349 for (i = 0; i < num_options; i ++) in main()
357 cupsFreeOptions(num_options, options); in main()
360 num_options = 0; in main()
362 if (cupsResolveConflicts(ppd, NULL, NULL, &num_options, &options) && in main()
363 num_options == 1 && !_cups_strcasecmp(options[0].name, "InputSlot") && in main()
366 else if (num_options > 0) in main()
368 printf("FAIL (%d options:", num_options); in main()
369 for (i = 0; i < num_options; i ++) in main()
379 cupsFreeOptions(num_options, options); in main()
425 num_options = cupsAddOption("media", "iso-a4", 0, &options); in main()
426 cupsMarkOptions(ppd, num_options, options); in main()
427 cupsFreeOptions(num_options, options); in main()
439 num_options = cupsAddOption("media", "na_letter_8.5x11in", 0, &options); in main()
440 cupsMarkOptions(ppd, num_options, options); in main()
441 cupsFreeOptions(num_options, options); in main()
453 num_options = cupsAddOption("media", "oe_letter-fullbleed_8.5x11in", 0, in main()
455 cupsMarkOptions(ppd, num_options, options); in main()
456 cupsFreeOptions(num_options, options); in main()
468 num_options = cupsAddOption("media", "A4", 0, &options); in main()
469 cupsMarkOptions(ppd, num_options, options); in main()
470 cupsFreeOptions(num_options, options); in main()
486 num_options = cupsAddOption("media", "Custom.8x10in", 0, &options); in main()
487 cupsMarkOptions(ppd, num_options, options); in main()
488 cupsFreeOptions(num_options, options); in main()
703 num_options = 0; in main()
705 if (cupsResolveConflicts(ppd, "Quality", "Photo", &num_options, in main()
708 printf("FAIL (%d options:", num_options); in main()
709 for (i = 0; i < num_options; i ++) in main()
716 cupsFreeOptions(num_options, options); in main()
719 num_options = 0; in main()
721 if (cupsResolveConflicts(ppd, NULL, NULL, &num_options, &options) && in main()
722 num_options == 1 && !_cups_strcasecmp(options->name, "Quality") && in main()
725 else if (num_options > 0) in main()
727 printf("FAIL (%d options:", num_options); in main()
728 for (i = 0; i < num_options; i ++) in main()
738 cupsFreeOptions(num_options, options); in main()
744 num_options = 0; in main()
746 if (!cupsResolveConflicts(ppd, NULL, NULL, &num_options, &options)) in main()
748 else if (num_options > 0) in main()
750 printf("FAIL (%d options:", num_options); in main()
751 for (i = 0; i < num_options; i ++) in main()
1038 for (j = group->num_options, option = group->options; in main()