Lines Matching refs:ctable
24 static void freeCtable(char **ctable, int ncolors) in freeCtable() argument
30 if (ctable == NULL) in freeCtable()
33 if (ctable[i] != NULL) in freeCtable()
34 lfree(ctable[i]); in freeCtable()
35 lfree((byte *) ctable); in freeCtable()
244 char **ctable = NULL; /* temp color table */ in xpixmapLoad() local
315 freeCtable(ctable, ncolors); in xpixmapLoad()
327 freeCtable(ctable, ncolors); in xpixmapLoad()
357 ctable = (char **) lmalloc(sizeof(char *) * ncolors); in xpixmapLoad()
358 bzero(ctable, sizeof(char *) * ncolors); in xpixmapLoad()
365 *(ctable + a) = (char *) lmalloc(sizeof(char *) * ncolors); in xpixmapLoad()
370 freeCtable(ctable, ncolors); in xpixmapLoad()
381 freeCtable(ctable, ncolors); in xpixmapLoad()
386 *(*(ctable + a) + b) = (char) c; in xpixmapLoad()
393 freeCtable(ctable, ncolors); in xpixmapLoad()
407 freeCtable(ctable, ncolors); in xpixmapLoad()
419 freeCtable(ctable, ncolors); in xpixmapLoad()
457 freeCtable(ctable, ncolors); in xpixmapLoad()
488 val = val * 96 + ctable[a][b] - 32; in xpixmapLoad()
500 val = val * 96 + ctable[a][b] - 32; in xpixmapLoad()
503 freeCtable(ctable, ncolors); in xpixmapLoad()