/solaris-x11-s11/open-src/app/xlock/sun-src/ |
H A D | xlock.h | 55 int npixels; /* number of valid entries in pixels */ 56 u_long pixels[NUMCOLORS]; /* pixel values in the colormap */ member in struct:__anon114
|
/solaris-x11-s11/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-s11/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 | 86 Pixel *pixels; local 95 if (!(pixels = (Pixel *) malloc(totalpix * sizeof(Pixel)))) 100 if (!(pixels = (Pixel *) alloca(totalpix * sizeof(Pixel)))) 120 pixels, nalloc)) 123 pixtype[pixels[i]] = CELL_IGNORE; 181 free(pixels);
|
/solaris-x11-s11/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;
|
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/ |
H A D | Panner.c | 195 unsigned long pixels[3]; local 199 pixels[0] = pw->panner.foreground; 200 pixels[1] = pw->core.background_pixel; 201 pixels[2] = pw->panner.shadow_color; 204 pixels, 3) && 206 pixels, 2)) 219 pixels, 2))
|
H A D | Text.c | 1034 * Description: Returns the width (in pixels) of the widest line that 1254 XtPointer callData; /* #pixels */ 1258 Position old_left, pixels = (Position)(int) callData; local 1264 ctx->text.margin.left -= pixels; 1267 pixels = old_left - ctx->text.margin.left; 1270 if (pixels > 0) { 1271 rect.width = (unsigned short) pixels + ctx->text.margin.right; 1277 pixels, (int) rect.y, local 1281 PushCopyQueue(ctx, (int) -pixels, 0); 1283 else if (pixels < [all...] |
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/ |
H A D | dpsXcmu.c | 96 unsigned long *pixels; member in struct:__anon259 184 PixelRec pixels; local 259 pixels.pixels = NULL; 260 pixels.npixels = 0; 264 AllocateColorCube(dpy, vinfo, colorCube, &pixels); 274 AllocateGrayRamp(dpy, vinfo, grayRamp, colorCube, &pixels); 277 if (pixels.pixels != NULL) { 278 if (pixels 1197 AllocateColorCube( Display *dpy, XVisualInfo *vinfo, XStandardColormap *colorCube, PixelRec *pixels) argument 1286 AllocateGrayRamp( Display *dpy, XVisualInfo *vinfo, XStandardColormap *grayRamp, XStandardColormap *colorCube, PixelRec *pixels) argument 1379 AllocateColormap( Display *dpy, XStandardColormap *map, XVisualInfo *vinfo, int *count, PixelRec *pixels, int *first, int *remain, unsigned long delta) argument 1458 contiguous( unsigned long pixels[], int npixels, int *ncolors, unsigned long delta, int *first, int *rem) argument [all...] |
/solaris-x11-s11/open-src/lib/libXaw4/sun-src/ |
H A D | Xaw3_1Text.c | 942 * Description: Returns the width (in pixels) of the widest line that 1137 caddr_t callData; /* #pixels */ 1141 Position old_left, pixels = (Position) callData; local 1147 ctx->text.margin.left -= pixels; 1150 pixels = old_left - ctx->text.margin.left; 1153 if (pixels > 0) { 1154 rect.width = (unsigned short) pixels + ctx->text.margin.right; 1160 pixels, (int) rect.y, local 1164 else if (pixels < 0) { 1171 rect.width = (Position) - pixels; [all...] |