Searched defs:nalloc (Results 1 - 2 of 2) sorted by relevance
/solaris-x11-s12/open-src/app/cmap_compact/sun-src/ |
H A D | cmcinit.c | 48 register int nalloc; local 63 for (nalloc=ntotal, p=pixels; nalloc > 0; nalloc>>=1) { 65 p, nalloc)) 67 p += nalloc; 68 total_alloc += nalloc; 82 nalloc = total_alloc - ncolors; 83 XFreeColors(DisplayOfScreen(screen), cmap, pixels+nalloc, ncolors, 0); local 91 XFreeColors(DisplayOfScreen(screen), cmap, pixels, nalloc, local [all...] |
H A D | cmcsave.c | 80 register int i, nalloc; local 117 for (nalloc=totalpix; nalloc > 0; nalloc >>= 1) { 119 pixels, nalloc)) 121 for (i=0; i<nalloc; i++) { 124 *ncolors -= nalloc;
|
Completed in 51 milliseconds