Lines Matching refs:npixels
97 int npixels;
260 pixels.npixels = 0;
278 if (pixels.npixels != 0) {
280 pixels.pixels, pixels.npixels, 0);
1283 pixels->npixels -= count;
1366 pixels->npixels -= count;
1389 int npixels, ok, i;
1392 if (pixels->npixels == 0) {
1394 npixels = vinfo->colormap_size;
1395 ok = XAllocColorCells(dpy, cmap, 1, NULL, 0, pixels->pixels, npixels);
1422 if (success) npixels = mid;
1423 else npixels = 0;
1427 npixels = pixels->npixels;
1428 if (map->blue_max != 0 || npixels >= 2) success = True;
1433 for (i = 0; i < npixels-1; ++i) {
1437 if (i < npixels-1) {
1438 PrivSort((char *)pixels->pixels, npixels,
1442 if (!contiguous(pixels->pixels, npixels, count, delta,
1449 *remain = npixels - *first - *count;
1454 pixels->npixels = npixels;
1460 int npixels, /* specifies count of alloc'd pixels */
1475 while (count < *ncolors && i < npixels) {
1487 if (i == npixels && count > max) {
1491 *rem = npixels - i;