Searched refs:pixels (Results 1 - 14 of 14) sorted by relevance

/solaris-x11-s12/open-src/app/cmap_compact/sun-src/
H A Dcmcinit.c52 Pixel *pixels; local
57 pixels = (Pixel *) malloc(ntotal * sizeof(Pixel));
59 pixels = (Pixel *) alloca(ntotal * sizeof(Pixel));
63 for (nalloc=ntotal, p=pixels; nalloc > 0; nalloc>>=1) {
83 XFreeColors(DisplayOfScreen(screen), cmap, pixels+nalloc, ncolors, 0);
90 /* Free placeholder pixels */
91 XFreeColors(DisplayOfScreen(screen), cmap, pixels, nalloc, 0); local
110 free(pixels);
H A Dcmcsave.c85 Pixel *pixels; local
94 if (!(pixels = (Pixel *) malloc(totalpix * sizeof(Pixel))))
99 if (!(pixels = (Pixel *) alloca(totalpix * sizeof(Pixel))))
119 pixels, nalloc))
122 pixtype[pixels[i]] = CELL_IGNORE;
180 free(pixels);
/solaris-x11-s12/open-src/app/xcolor/sun-src/
H A DXCrDynCmap.c49 unsigned long pixels[256]; local
73 pixels, ncolors);
84 colors[i].pixel = pixels[i];
88 colors[i].pixel = pixels[i];
/solaris-x11-s12/open-src/app/xlock/sun-src/
H A Dflame.c113 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[fs->pixcol]);
174 Scr[screen].pixels[fs->pixcol]);
H A Dxlock.h58 int npixels; /* number of valid entries in pixels */
59 u_long pixels[NUMCOLORS]; /* pixel values in the colormap */ member in struct:__anon111
H A Dhopalong.c134 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[hp->pix]);
H A Dpyro.c204 pp->rockpixel = Scr[screen].pixels[3]; /* Just the right shade of
271 color1 = Scr[screen].pixels[pix = (int) random() % npix];
272 color2 = Scr[screen].pixels[(pix + (npix / 2)) % npix];
H A Dimage.c105 Scr[screen].pixels[random() % Scr[screen].npixels]);
H A Dqix.c157 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[qp->pix]);
H A Drotor.c244 Scr[screen].pixels[fs->pix]);
H A Dswarm.c238 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[sp->pix]);
H A Dxlock.c1193 Scr[screen].pixels[0] = fgcol[screen].pixel;
1194 Scr[screen].pixels[1] = bgcol[screen].pixel;
1227 Scr[screen].pixels[i] = xcolor.pixel;
1231 fprintf(stderr, "%d pixels allocated\n", Scr[screen].npixels);
H A Dlife.c352 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[age]);
/solaris-x11-s12/open-src/lib/libdga/sun-src/
H A Drtn_grab.c585 * array used when the pixels are not cached in hardware. The
625 u_char *pixels; local
809 pixels = (u_char *) mmap(0,
816 if (pixels == (u_char *) -1) {
835 clientp->rtn_pixels = (void *) pixels;

Completed in 68 milliseconds