Searched refs:num_sources (Results 1 – 3 of 3) sorted by relevance
404 num_sources, /* Number of sources in file */ in _ppdCacheCreateWithFile() local491 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()[all …]
137 int num_sources; /* Number of media sources */ member
508 for (i = pc->num_sources, map = pc->sources, map2 = pc2->sources; in test_ppd_cache()