Lines Matching refs:num_sources
406 num_sources, /* Number of sources in file */ in _ppdCacheCreateWithFile() local
493 num_sources = 0; in _ppdCacheCreateWithFile()
724 if (num_sources > 0) in _ppdCacheCreateWithFile()
732 if ((num_sources = atoi(value)) <= 0 || num_sources > 65536) in _ppdCacheCreateWithFile()
735 "line %d.", num_sources, linenum)); in _ppdCacheCreateWithFile()
740 if ((pc->sources = calloc((size_t)num_sources, sizeof(pwg_map_t))) == NULL) in _ppdCacheCreateWithFile()
743 num_sources)); in _ppdCacheCreateWithFile()
758 if (pc->num_sources >= num_sources) in _ppdCacheCreateWithFile()
766 map = pc->sources + pc->num_sources; in _ppdCacheCreateWithFile()
770 pc->num_sources ++; in _ppdCacheCreateWithFile()
912 if (pc->num_sources < num_sources) in _ppdCacheCreateWithFile()
915 pc->num_sources, num_sources)); in _ppdCacheCreateWithFile()
1211 pc->num_sources = input_slot->num_choices; in _ppdCacheCreateWithPPD()
1920 for (i = pc->num_sources, map = pc->sources; i > 0; i --, map ++) in _ppdCacheDestroy()
2165 if (!pc || pc->num_sources == 0 || (!job && !keyword)) in _ppdCacheGetInputSlot()
2206 for (i = 0; i < pc->num_sources; i ++) in _ppdCacheGetInputSlot()
2676 for (i = pc->num_sources, source = pc->sources; i > 0; i --, source ++) in _ppdCacheGetSource()
2794 if (pc->num_sources > 0) in _ppdCacheWriteFile()
2796 cupsFilePrintf(fp, "NumSources %d\n", pc->num_sources); in _ppdCacheWriteFile()
2797 for (i = pc->num_sources, map = pc->sources; i > 0; i --, map ++) in _ppdCacheWriteFile()