Searched refs:ncolors (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/external/xserver/hw/xnest/ |
| H A D | Color.c | 50 int i, ncolors; in xnestCreateColormap() local 55 ncolors = pVisual->ColormapEntries; in xnestCreateColormap() 65 colors = xallocarray(ncolors, sizeof(XColor)); in xnestCreateColormap() 66 for (i = 0; i < ncolors; i++) in xnestCreateColormap() 68 XQueryColors(xnestDisplay, xnestColormap(pCmap), colors, ncolors); in xnestCreateColormap() 69 for (i = 0; i < ncolors; i++) { in xnestCreateColormap() 78 colors = xallocarray(ncolors, sizeof(XColor)); in xnestCreateColormap() 79 for (i = 0; i < ncolors; i++) in xnestCreateColormap() 81 XQueryColors(xnestDisplay, xnestColormap(pCmap), colors, ncolors); in xnestCreateColormap() 82 for (i = 0; i < ncolors; i++) { in xnestCreateColormap() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/vfb/ |
| H A D | InitOutput.c | 87 int ncolors; member 601 pvfb->ncolors = 1 << pvfb->depth; in vfbAllocateFramebufferMemory() 608 pvfb->ncolors = 1 << nplanes_per_color_component; in vfbAllocateFramebufferMemory() 614 pvfb->ncolors * SIZEOF(XWDColor); in vfbAllocateFramebufferMemory() 645 pvfb->pfbMemory = (char *) (pvfb->pXWDCmap + pvfb->ncolors); in vfbAllocateFramebufferMemory() 685 pXWDHeader->ncolors = pvfb->ncolors; in vfbWriteXWDFileHeader() 703 for (i = 0; i < pvfb->ncolors; i++) { in vfbWriteXWDFileHeader() 711 for (i = 0; i < pvfb->ncolors; i++) { in vfbWriteXWDFileHeader()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/ftrace/ |
| H A D | ftracetest | 208 ncolors=`tput colors 2>/dev/null || echo 0` 214 if [ -t 1 -a "$ncolors" -ge 8 ]; then
|
| /OK3568_Linux_fs/u-boot/drivers/video/ |
| H A D | cfb_console.c | 1169 int x, y, bpp, i, ncolors; in display_rle8_bitmap() local 1178 ncolors = __le32_to_cpu(img->header.colors_used); in display_rle8_bitmap() 1189 for (i = 0; i < ncolors; i++) { in display_rle8_bitmap() 1203 for (i = 0; i < ncolors; i++) { in display_rle8_bitmap() 1212 for (i = 0; i < ncolors; i++) { in display_rle8_bitmap()
|