Home
last modified time | relevance | path

Searched refs:num_choices (Results 1 – 14 of 14) sorted by relevance

/external/libcups/systemv/
Dcupstestppd.c1097 for (j = option->num_choices, choice = option->choices; in main()
1244 for (j = 0; j < option->num_choices; j ++) in main()
1551 option->num_choices); in main()
1556 for (m = option->num_choices, choice = option->choices; in main()
1582 for (m = option->num_choices, choice = option->choices; in main()
1900 for (i = 0; i < o->num_choices; i ++) in check_constraints()
2112 for (i = optiona->num_choices, choicea = optiona->choices; in check_case()
2214 for (k = 0; k < option->num_choices; k ++) in check_defaults()
2218 if (k >= option->num_choices) in check_defaults()
2281 for (i = option->num_choices, choice = option->choices; in check_duplex()
[all …]
Dlpoptions.c402 for (j = option->num_choices, choice = option->choices, in list_group()
/external/libcups/cups/
Dppd-cache.c1234 if ((pc->sources = calloc((size_t)input_slot->num_choices, sizeof(pwg_map_t))) == NULL) in _ppdCacheCreateWithPPD()
1237 "pwg_map_t's for InputSlot.", input_slot->num_choices)); in _ppdCacheCreateWithPPD()
1241 pc->num_sources = input_slot->num_choices; in _ppdCacheCreateWithPPD()
1243 for (i = input_slot->num_choices, choice = input_slot->choices, in _ppdCacheCreateWithPPD()
1302 if ((pc->types = calloc((size_t)media_type->num_choices, sizeof(pwg_map_t))) == NULL) in _ppdCacheCreateWithPPD()
1305 "pwg_map_t's for MediaType.", media_type->num_choices)); in _ppdCacheCreateWithPPD()
1309 pc->num_types = media_type->num_choices; in _ppdCacheCreateWithPPD()
1311 for (i = media_type->num_choices, choice = media_type->choices, in _ppdCacheCreateWithPPD()
1373 if ((pc->bins = calloc((size_t)output_bin->num_choices, sizeof(pwg_map_t))) == NULL) in _ppdCacheCreateWithPPD()
1376 "pwg_map_t's for OutputBin.", output_bin->num_choices)); in _ppdCacheCreateWithPPD()
[all …]
Dppd.c2071 for (k = 0; k < option->num_choices; k ++) in _ppdOpen()
2368 if (option->num_choices == 0) in ppd_add_choice()
2371 choice = realloc(option->choices, sizeof(ppd_choice_t) * (size_t)(option->num_choices + 1)); in ppd_add_choice()
2377 choice += option->num_choices; in ppd_add_choice()
2378 option->num_choices ++; in ppd_add_choice()
2591 if (option->num_choices > 0) in ppd_free_option()
2593 for (i = option->num_choices, choice = option->choices; in ppd_free_option()
Dppd-mark.c379 for (i = o->num_choices, c = o->choices; i > 0; i --, c ++) in ppdFindChoice()
984 for (i = o->num_choices, c = o->choices; i > 0; i --, c ++) in ppd_mark_option()
Dppd.h169 int num_choices; /* Number of option choices */ member
Dppd-localize.c85 for (k = option->num_choices, choice = option->choices; in ppdLocalize()
Dppd-conflicts.c453 for (j = constptr->option->num_choices, in cupsResolveConflicts()
Dtestppd.c1235 for (k = 0; k < option->num_choices; k ++) in main()
/external/libcups/ppdc/
Dppdmerge.cxx256 for (l = o->num_choices, c = o->choices; l > 0; l --, c ++) in main()
Dppdc-import.cxx199 for (k = option->num_choices, choice = option->choices; k > 0; k --, choice ++) in import_ppd()
/external/libcups/scheduler/
Dcolorman.c597 num_profiles = cm_option->num_choices; in apple_register_profiles()
599 for (i = cm_option->num_choices, cm_choice = cm_option->choices; in apple_register_profiles()
Dprinters.c4458 …pd_attrs, IPP_TAG_PRINTER, "printer-resolution-supported", resolution->num_choices, IPP_RES_PER_IN… in load_ppd()
4461 i < resolution->num_choices; in load_ppd()
4546 if (duplex && duplex->num_choices > 1 && in load_ppd()
/external/libcups/cgi-bin/
Dadmin.c2833 for (m = 0; m < option->num_choices; m ++) in do_set_options()
2859 if (option->num_choices > 1) in do_set_options()
2879 if (!strcmp(option->keyword, "PageRegion") || option->num_choices < 2) in do_set_options()
2892 for (k = 0, m = 0; k < option->num_choices; k ++) in do_set_options()