HomeSort by: relevance | last modified time | path
    Searched defs:stdcmaps (Results 1 - 3 of 3) sorted by relevancy

  /xsrc/external/mit/libXmu/dist/src/
DelCmap.c 51 XStandardColormap *stdcmaps, *s; local
54 if (XGetRGBColormaps(dpy, RootWindow(dpy, screen), &stdcmaps, &count,
57 for (s=stdcmaps; count > 0; count--, s++) {
66 XFree((char *) stdcmaps);
LookupCmap.c 212 XStandardColormap *stdcmaps, *s; local
217 if (! XGetRGBColormaps(dpy, win, &stdcmaps, &count, property)) {
231 XFree((char *)stdcmaps);
237 for (i=0, s=stdcmaps; (i < count) && (s->visualid != visualid); i++, s++)
248 for (i = 0, m = s, maps = stdcmaps; i < count; i++, m++, maps++) {
274 XFree((char *) stdcmaps);
305 map = (cnew) ? cnew : stdcmaps + --count;
317 XSetRGBColormaps(dpy, win, stdcmaps, count, property);
320 XFree((char *) stdcmaps);
  /xsrc/external/mit/libX11/dist/src/
GetStCmap.c 70 XStandardColormap *stdcmaps; /* will get malloced value */ local
73 stat = XGetRGBColormaps (dpy, w, &stdcmaps, &nstdcmaps, property);
83 Xfree (stdcmaps);
89 if (stdcmaps[i].visualid == vid) break;
93 Xfree (stdcmaps);
96 use = &stdcmaps[i];
98 use = stdcmaps;
113 Xfree (stdcmaps); /* don't need allocated memory */

Completed in 35 milliseconds