Searched refs:num_sources (Results 1 – 5 of 5) sorted by relevance
406 num_sources, /* Number of sources in file */ in _ppdCacheCreateWithFile() local493 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()[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()
340 void resize_sources(uint8_t num_sources);
150 fs_inst::resize_sources(uint8_t num_sources) in resize_sources() argument152 if (this->sources != num_sources) { in resize_sources()153 fs_reg *src = new fs_reg[MAX2(num_sources, 3)]; in resize_sources()155 for (unsigned i = 0; i < MIN2(this->sources, num_sources); ++i) in resize_sources()160 this->sources = num_sources; in resize_sources()