Lines Matching defs:ncols
66 XpmAttributes *attributes, XColor *cols, int ncols,
78 XpmAttributes *attributes, XColor *cols, int ncols,
270 int ncols,
341 (CloseColor *) XpmCalloc(ncols, sizeof(CloseColor));
344 for (i = 0; i < ncols; ++i) { /* build & sort closenesses table */
360 qsort(closenesses, ncols, sizeof(CloseColor), closeness_cmp);
381 if (i == ncols)
401 if (i == 0 || i == ncols) /* no color close enough or cannot */
419 XQueryColors(display, colormap, cols, ncols);
458 int ncols,
476 attributes, cols, ncols,
536 unsigned int ncols = 0;
590 ncols = visual->map_entries;
592 ncols = colormap->Count;
594 cols = (XColor *) XpmCalloc(ncols, sizeof(XColor));
595 for (i = 0; i < ncols; ++i)
597 XQueryColors(display, colormap, cols, ncols);
671 nused_pixels, attributes, cols, ncols,
684 attributes, cols, ncols,
700 attributes, cols, ncols,