Searched refs:pixels (Results 1 - 14 of 14) sorted by relevance
/solaris-x11-s12/open-src/app/cmap_compact/sun-src/ |
H A D | cmcinit.c | 52 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 D | cmcsave.c | 85 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 D | XCrDynCmap.c | 49 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 D | flame.c | 113 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[fs->pixcol]); 174 Scr[screen].pixels[fs->pixcol]);
|
H A D | xlock.h | 58 int npixels; /* number of valid entries in pixels */ 59 u_long pixels[NUMCOLORS]; /* pixel values in the colormap */ member in struct:__anon111
|
H A D | hopalong.c | 134 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[hp->pix]);
|
H A D | pyro.c | 204 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 D | image.c | 105 Scr[screen].pixels[random() % Scr[screen].npixels]);
|
H A D | qix.c | 157 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[qp->pix]);
|
H A D | rotor.c | 244 Scr[screen].pixels[fs->pix]);
|
H A D | swarm.c | 238 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[sp->pix]);
|
H A D | xlock.c | 1193 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 D | life.c | 352 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[age]);
|
/solaris-x11-s12/open-src/lib/libdga/sun-src/ |
H A D | rtn_grab.c | 585 * 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