Lines Matching refs:num_sources
404 num_sources, /* Number of sources in file */ in _ppdCacheCreateWithFile() local
491 num_sources = 0; in _ppdCacheCreateWithFile()
722 if (num_sources > 0) in _ppdCacheCreateWithFile()
730 if ((num_sources = atoi(value)) <= 0 || num_sources > 65536) in _ppdCacheCreateWithFile()
733 "line %d.", num_sources, linenum)); in _ppdCacheCreateWithFile()
738 if ((pc->sources = calloc((size_t)num_sources, sizeof(pwg_map_t))) == NULL) in _ppdCacheCreateWithFile()
741 num_sources)); in _ppdCacheCreateWithFile()
756 if (pc->num_sources >= num_sources) in _ppdCacheCreateWithFile()
764 map = pc->sources + pc->num_sources; in _ppdCacheCreateWithFile()
768 pc->num_sources ++; in _ppdCacheCreateWithFile()
910 if (pc->num_sources < num_sources) in _ppdCacheCreateWithFile()
913 pc->num_sources, num_sources)); in _ppdCacheCreateWithFile()
1209 pc->num_sources = input_slot->num_choices; in _ppdCacheCreateWithPPD()
1918 for (i = pc->num_sources, map = pc->sources; i > 0; i --, map ++) in _ppdCacheDestroy()
2147 if (!pc || pc->num_sources == 0 || (!job && !keyword)) in _ppdCacheGetInputSlot()
2188 for (i = 0; i < pc->num_sources; i ++) in _ppdCacheGetInputSlot()
2658 for (i = pc->num_sources, source = pc->sources; i > 0; i --, source ++) in _ppdCacheGetSource()
2776 if (pc->num_sources > 0) in _ppdCacheWriteFile()
2778 cupsFilePrintf(fp, "NumSources %d\n", pc->num_sources); in _ppdCacheWriteFile()
2779 for (i = pc->num_sources, map = pc->sources; i > 0; i --, map ++) in _ppdCacheWriteFile()