Home
last modified time | relevance | path

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

/external/libcups/cups/
Dppd-cache.c1204 if ((pc->sources = calloc((size_t)input_slot->num_choices, sizeof(pwg_map_t))) == NULL) in _ppdCacheCreateWithPPD()
1207 "pwg_map_t's for InputSlot.", input_slot->num_choices)); in _ppdCacheCreateWithPPD()
1211 pc->num_sources = input_slot->num_choices; in _ppdCacheCreateWithPPD()
1213 for (i = input_slot->num_choices, choice = input_slot->choices, in _ppdCacheCreateWithPPD()
1265 if ((pc->types = calloc((size_t)media_type->num_choices, sizeof(pwg_map_t))) == NULL) in _ppdCacheCreateWithPPD()
1268 "pwg_map_t's for MediaType.", media_type->num_choices)); in _ppdCacheCreateWithPPD()
1272 pc->num_types = media_type->num_choices; in _ppdCacheCreateWithPPD()
1274 for (i = media_type->num_choices, choice = media_type->choices, in _ppdCacheCreateWithPPD()
1329 if ((pc->bins = calloc((size_t)output_bin->num_choices, sizeof(pwg_map_t))) == NULL) in _ppdCacheCreateWithPPD()
1332 "pwg_map_t's for OutputBin.", output_bin->num_choices)); in _ppdCacheCreateWithPPD()
[all …]
Dppd.c2107 for (k = 0; k < option->num_choices; k ++) in _ppdOpen()
2404 if (option->num_choices == 0) in ppd_add_choice()
2407 choice = realloc(option->choices, sizeof(ppd_choice_t) * (size_t)(option->num_choices + 1)); in ppd_add_choice()
2413 choice += option->num_choices; in ppd_add_choice()
2414 option->num_choices ++; in ppd_add_choice()
2627 if (option->num_choices > 0) in ppd_free_option()
2629 for (i = option->num_choices, choice = option->choices; in ppd_free_option()
Dppd-mark.c383 for (i = o->num_choices, c = o->choices; i > 0; i --, c ++) in ppdFindChoice()
982 for (i = o->num_choices, c = o->choices; i > 0; i --, c ++) in ppd_mark_option()
Dppd.h178 int num_choices; /* Number of option choices */ member
Dppd-localize.c96 for (k = option->num_choices, choice = option->choices; in ppdLocalize()
Dppd-conflicts.c457 for (j = constptr->option->num_choices, in cupsResolveConflicts()
Dtestppd.c1044 for (k = 0; k < option->num_choices; k ++) in main()