Lines Matching defs:nentries
139 unsigned int nentries = rep.length / 3;
141 if (nentries < (INT_MAX / SIZEOF (xColorItem))) {
142 nbytes = nentries * SIZEOF (xColorItem);
144 if (nentries > TYP_RESERVED_ENTRIES)
159 *colors_out = Xcalloc (nentries, sizeof (XColor));
165 *ncolors = nentries;
224 unsigned int nentries = rep.length / 3;
226 if ((nentries == ncolors) &&
227 (nentries < (INT_MAX / SIZEOF (xColorItem)))) {
228 nbytes = nentries * SIZEOF (xColorItem);