Lines Matching refs:num_choices
1204 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()
1336 pc->num_bins = output_bin->num_choices; in _ppdCacheCreateWithPPD()
1338 for (i = output_bin->num_choices, choice = output_bin->choices, in _ppdCacheCreateWithPPD()
1563 for (i = duplex->num_choices, choice = duplex->choices; in _ppdCacheCreateWithPPD()