Searched refs:num_choices (Results 1 – 14 of 14) sorted by relevance
/external/libcups/systemv/ |
D | cupstestppd.c | 1097 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 …]
|
D | lpoptions.c | 402 for (j = option->num_choices, choice = option->choices, in list_group()
|
/external/libcups/cups/ |
D | ppd-cache.c | 1234 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 …]
|
D | ppd.c | 2071 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()
|
D | ppd-mark.c | 379 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()
|
D | ppd.h | 169 int num_choices; /* Number of option choices */ member
|
D | ppd-localize.c | 85 for (k = option->num_choices, choice = option->choices; in ppdLocalize()
|
D | ppd-conflicts.c | 453 for (j = constptr->option->num_choices, in cupsResolveConflicts()
|
D | testppd.c | 1235 for (k = 0; k < option->num_choices; k ++) in main()
|
/external/libcups/ppdc/ |
D | ppdmerge.cxx | 256 for (l = o->num_choices, c = o->choices; l > 0; l --, c ++) in main()
|
D | ppdc-import.cxx | 199 for (k = option->num_choices, choice = option->choices; k > 0; k --, choice ++) in import_ppd()
|
/external/libcups/scheduler/ |
D | colorman.c | 597 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()
|
D | printers.c | 4458 …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/ |
D | admin.c | 2833 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()
|