Home
last modified time | relevance | path

Searched refs:num_sources (Results 1 – 5 of 5) sorted by relevance

/external/libcups/cups/
Dppd-cache.c406 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()
[all …]
Dppd-private.h137 int num_sources; /* Number of media sources */ member
Dtestpwg.c508 for (i = pc->num_sources, map = pc->sources, map2 = pc2->sources; in test_ppd_cache()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_ir_fs.h340 void resize_sources(uint8_t num_sources);
Dbrw_fs.cpp150 fs_inst::resize_sources(uint8_t num_sources) in resize_sources() argument
152 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()