| /xsrc/external/mit/xterm/dist/vttests/ |
| H A D | 256colors.pl | 41 our ( $bg, $fg ); 46 for ( $fg = 0 ; $fg < 256 ; $fg++ ) { 47 print "\x1b[48;5;${bg}m\x1b[38;5;${fg}m"; 48 printf "%03.3d/%03.3d ", $fg, $bg;
|
| H A D | 88colors.pl | 39 our ( $bg, $fg ); 43 for ( $fg = 0 ; $fg < 88 ; $fg++ ) { 44 print "\x1b[38;5;${fg}m"; 45 printf "%03.3d/%03.3d ", $fg, $bg;
|
| H A D | sgrPushPop.pl | 40 # attributes (fg/bg color, bold, etc.) and then later restore them allows 47 $blueOnGreen, $bg, $fg 54 # fg/bg colors. 72 for ( $fg = 0 ; $fg < 16 ; $fg++ ) { 74 printf $lib1Fmt, $fg, $bg, $fg, $bg;
|
| /xsrc/external/mit/xf86-video-intel/dist/src/sna/fb/ |
| H A D | fbglyphbits.h | 31 #define WRITE1(d,n,fg) WRITE(d + WRITE_ADDR1(n), (BITS) (fg)) 34 #define WRITE2(d,n,fg) WRITE((BITS2 *) &((d)[WRITE_ADDR2(n)]), (BITS2) (fg)) 36 #define WRITE2(d,n,fg) (WRITE1(d,n,fg), WRITE1(d,(n)+1,fg)) 40 #define WRITE4(d,n,fg) WRITE((BITS4 *) &((d)[WRITE_ADDR4(n)]), (BITS4) (fg)) 42 #define WRITE4(d,n,fg) (WRITE 46 GLYPH(FbBits * dstBits,FbStride dstStride,int dstBpp,FbStip * stipple,FbBits fg,int x,int height) argument [all...] |
| H A D | fbrop.h | 62 #define fbXorT(rop,fg,pm,t) ((((fg) & fbFillFromBit((rop) >> 1,t)) | \ 63 (~(fg) & fbFillFromBit((rop) >> 3,t))) & (pm)) 65 #define fbAndT(rop,fg,pm,t) ((((fg) & fbFillFromBit (rop ^ (rop>>1),t)) | \ 66 (~(fg) & fbFillFromBit((rop>>2) ^ (rop>>3),t))) | \ 69 #define fbXor(rop,fg,pm) fbXorT(rop,fg,pm,FbBits) 71 #define fbAnd(rop,fg,pm) fbAndT(rop,fg,p [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/fb/ |
| H A D | fbglyphbits.h | 31 #define WRITE1(d,n,fg) WRITE(d + WRITE_ADDR1(n), (BITS) (fg)) 34 #define WRITE2(d,n,fg) WRITE((BITS2 *) &((d)[WRITE_ADDR2(n)]), (BITS2) (fg)) 36 #define WRITE2(d,n,fg) (WRITE1(d,n,fg), WRITE1(d,(n)+1,fg)) 40 #define WRITE4(d,n,fg) WRITE((BITS4 *) &((d)[WRITE_ADDR4(n)]), (BITS4) (fg)) 42 #define WRITE4(d,n,fg) (WRITE 46 GLYPH(FbBits * dstBits,FbStride dstStride,int dstBpp,FbStip * stipple,FbBits fg,int x,int height) argument [all...] |
| H A D | fbrop.h | 62 #define fbXorT(rop,fg,pm,t) ((((fg) & fbFillFromBit((rop) >> 1,t)) | \ 63 (~(fg) & fbFillFromBit((rop) >> 3,t))) & (pm)) 65 #define fbAndT(rop,fg,pm,t) ((((fg) & fbFillFromBit (rop ^ (rop>>1),t)) | \ 66 (~(fg) & fbFillFromBit((rop>>2) ^ (rop>>3),t))) | \ 69 #define fbXor(rop,fg,pm) fbXorT(rop,fg,pm,FbBits) 71 #define fbAnd(rop,fg,pm) fbAndT(rop,fg,p [all...] |
| /xsrc/external/mit/xf86-video-vmware/dist/src/ |
| H A D | bits2pixels.c | 31 uint32 width, uint32 height, uint32 fg, uint32 bg); 35 uint32 width, uint32 height, uint32 fg, uint32 bg); 39 uint32 width, uint32 height, uint32 fg, uint32 bg); 43 uint32 width, uint32 height, uint32 fg, uint32 bg); 52 * color (fg) and 0 bits to the background color (bg). 66 uint32 width, uint32 height, uint32 fg, uint32 bg) 71 width, height, fg, bg); 76 width, height, fg, bg); 81 width, height, fg, bg); 86 width, height, fg, b 64 vmwareRaster_BitsToPixels(uint8 * bits,uint32 bits_increment,uint8 * pix,uint32 pix_increment,int bytes_per_pixel,uint32 width,uint32 height,uint32 fg,uint32 bg) argument 111 RasterBitsToPixels8(uint8 * bits,uint32 bits_increment,uint8 * pix,uint32 pix_increment,uint32 width,uint32 height,uint32 fg,uint32 bg) argument 374 RasterBitsToPixels16(uint8 * bits,uint32 bits_increment,uint8 * pix,uint32 pix_increment,uint32 width,uint32 height,uint32 fg,uint32 bg) argument 639 RasterBitsToPixels24(uint8 * bits,uint32 bits_increment,uint8 * pix,uint32 pix_increment,uint32 width,uint32 height,uint32 fg,uint32 bg) argument 1176 RasterBitsToPixels32(uint8 * bits,uint32 bits_increment,uint8 * pix,uint32 pix_increment,uint32 width,uint32 height,uint32 fg,uint32 bg) argument [all...] |
| H A D | bits2pixels.h | 21 uint32 width, uint32 height, uint32 fg, uint32 bg);
|
| /xsrc/external/mit/xorg-server/dist/fb/ |
| H A D | fbrop.h | 79 #define fbXorT(rop,fg,pm,t) ((((fg) & fbFillFromBit((rop) >> 1,t)) | \ 80 (~(fg) & fbFillFromBit((rop) >> 3,t))) & (pm)) 82 #define fbAndT(rop,fg,pm,t) ((((fg) & fbFillFromBit (rop ^ (rop>>1),t)) | \ 83 (~(fg) & fbFillFromBit((rop>>2) ^ (rop>>3),t))) | \ 86 #define fbXor(rop,fg,pm) fbXorT(rop,fg,pm,FbBits) 88 #define fbAnd(rop,fg,pm) fbAndT(rop,fg,p [all...] |
| /xsrc/external/mit/xf86-video-s3virge/dist/src/ |
| H A D | s3v_hwcurs.c | 50 static void S3VSetCursorColors(ScrnInfoPtr pScrn, int bg, int fg); 153 S3VSetCursorColors(ScrnInfoPtr pScrn, int bg, int fg) argument 165 outCRReg(0x4a, fg); 166 outCRReg(0x4a, fg); 179 fg = ((fg & 0xf80000) >> 9) | 180 ((fg & 0xf800) >> 6) | 181 ((fg & 0xf8) >> 3); 186 fg = ((fg [all...] |
| /xsrc/external/mit/xorg-server.old/dist/fb/ |
| H A D | fbrop.h | 79 #define fbXorT(rop,fg,pm,t) ((((fg) & fbFillFromBit((rop) >> 1,t)) | \ 80 (~(fg) & fbFillFromBit((rop) >> 3,t))) & (pm)) 82 #define fbAndT(rop,fg,pm,t) ((((fg) & fbFillFromBit (rop ^ (rop>>1),t)) | \ 83 (~(fg) & fbFillFromBit((rop>>2) ^ (rop>>3),t))) | \ 86 #define fbXor(rop,fg,pm) fbXorT(rop,fg,pm,FbBits) 88 #define fbAnd(rop,fg,pm) fbAndT(rop,fg,p [all...] |
| /xsrc/external/mit/xf86-video-savage/dist/src/ |
| H A D | savage_cursor.c | 48 static void SavageSetCursorColors(ScrnInfoPtr pScrn, int bg, int fg); 300 int fg) 330 outCRReg(0x4a, fg); 331 outCRReg(0x4a, fg >> 8); 332 outCRReg(0x4a, fg >> 16); 344 outCRReg(0x4a, fg); 345 outCRReg(0x4a, fg >> 8); 346 outCRReg(0x4a, fg >> 16); 360 fg = ((fg 297 SavageSetCursorColors(ScrnInfoPtr pScrn,int bg,int fg) argument [all...] |
| /xsrc/external/mit/xf86-video-sunffb/dist/src/ |
| H A D | ffb_attr.c | 37 int drawop, int fg, unsigned int fbc, unsigned int wid) 42 ppc, ppc_mask, pmask, rop, drawop, fg, fbc, wid)); 45 pFfb->fg_cache = fg; 54 ffb->fg = fg; 35 __FFB_Attr_Raw(FFBPtr pFfb,unsigned int ppc,unsigned int ppc_mask,unsigned int pmask,unsigned int rop,int drawop,int fg,unsigned int fbc,unsigned int wid) argument
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/xaa/ |
| H A D | xaalocal.h | 89 int fg; member in struct:_XAAPixmap 272 int fg, int bg, 284 int fg, int bg, 296 int fg, int bg, 308 int fg, int bg, 320 int fg, int bg, 332 int fg, int bg, 344 int fg, int bg, 356 int fg, int bg, 369 int fg, in [all...] |
| /xsrc/external/mit/xf86-video-nv/dist/src/ |
| H A D | g80_xaa.h | 3 void G80SetPattern(G80Ptr pNv, int bg, int fg, int pat0, int pat1);
|
| /xsrc/external/mit/libX11/dist/src/ |
| H A D | CrPFBData.c | 57 unsigned long fg, 63 .foreground = fg, 51 XCreatePixmapFromBitmapData(Display * display,Drawable d,char * data,unsigned int width,unsigned int height,unsigned long fg,unsigned long bg,unsigned int depth) argument
|
| /xsrc/external/mit/xf86-video-suncg6/dist/src/ |
| H A D | cg6_cursor.c | 37 static void CG6SetCursorColors(ScrnInfoPtr pScrn, int bg, int fg); 81 CG6SetCursorColors(ScrnInfoPtr pScrn, int bg, int fg) argument 85 if (bg != pCg6->CursorBg || fg != pCg6->CursorFg) { 86 xf86SbusSetOsHwCursorCmap(pCg6->psdp, bg, fg); 88 pCg6->CursorFg = fg;
|
| /xsrc/external/mit/xf86-video-intel/dist/test/ |
| H A D | basic-rectangle.c | 10 int x, int y, int w, int h, uint32_t fg, int lw) 16 val.foreground = fg; 50 uint32_t fg = rand(); local in function:zrect_tests 54 x, y, 0, 0, fg, lw); 56 x, y, 0, 0, fg, lw); 92 uint32_t fg = rand(); local in function:hrect_tests 96 x, y, w, 0, fg, lw); 98 x, y, w, 0, fg, lw); 134 uint32_t fg = rand(); local in function:vrect_tests 138 x, y, 0, h, fg, l 9 draw_rect(struct test_display * t,Drawable d,uint8_t alu,int x,int y,int w,int h,uint32_t fg,int lw) argument 177 uint32_t fg = rand(); local in function:rect_tests [all...] |
| H A D | basic-copyplane.c | 14 uint8_t alu, int x, int y, uint32_t fg, uint32_t bg) 22 val.foreground = fg; 23 val.background = fg; 63 uint32_t fg = rand(); local in function:clock_tests 65 draw_clock(&t->out, out.draw, alu, x, y, fg, bg); 66 draw_clock(&t->ref, ref.draw, alu, x, y, fg, bg); 13 draw_clock(struct test_display * t,Drawable d,uint8_t alu,int x,int y,uint32_t fg,uint32_t bg) argument
|
| /xsrc/external/mit/xf86-video-intel-2014/dist/test/ |
| H A D | basic-rectangle.c | 10 int x, int y, int w, int h, uint32_t fg, int lw) 16 val.foreground = fg; 50 uint32_t fg = rand(); local in function:zrect_tests 54 x, y, 0, 0, fg, lw); 56 x, y, 0, 0, fg, lw); 92 uint32_t fg = rand(); local in function:hrect_tests 96 x, y, w, 0, fg, lw); 98 x, y, w, 0, fg, lw); 134 uint32_t fg = rand(); local in function:vrect_tests 138 x, y, 0, h, fg, l 9 draw_rect(struct test_display * t,Drawable d,uint8_t alu,int x,int y,int w,int h,uint32_t fg,int lw) argument 177 uint32_t fg = rand(); local in function:rect_tests [all...] |
| /xsrc/external/mit/xf86-video-trident/dist/src/ |
| H A D | xp4_xaa.c | 48 int fg, int bg, 91 int fg, int bg, 101 int fg, int bg, 377 int fg, int bg, 394 REPLICATE(fg); 396 TGUI_FPATCOL(fg); 399 TGUI_BPATCOL(~fg); 405 TGUI_FCOLOUR(fg); 408 TGUI_BCOLOUR(~fg); 533 int fg, in 531 XP4SetupForMono8x8PatternFill(ScrnInfoPtr pScrn,int patternx,int patterny,int fg,int bg,int rop,unsigned int planemask) argument [all...] |
| H A D | xp_xaa.c | 49 int fg, int bg, 91 int fg, int bg, 102 int fg, int bg, 408 int fg, int bg, 426 REPLICATE(fg); 428 TGUI_FPATCOL(fg); 431 TGUI_BPATCOL(~fg); 437 TGUI_FCOLOUR(fg); 440 TGUI_BCOLOUR(~fg); 560 int fg, in 558 XPSetupForMono8x8PatternFill(ScrnInfoPtr pScrn,int patternx,int patterny,int fg,int bg,int rop,unsigned int planemask) argument [all...] |
| /xsrc/external/mit/xf86-video-apm/dist/src/ |
| H A D | apm_cursor.c | 27 static void ApmSetCursorColors(ScrnInfoPtr pScrn, int bg, int fg); 154 ApmSetCursorColors(ScrnInfoPtr pScrn, int bg, int fg) argument 162 WRXB(0x141, fg); 168 ((fg & 0xE00000) >> 16) | 169 ((fg & 0x00E000) >> 11) | 170 ((fg & 0x0000C0) >> 6);
|
| /xsrc/external/mit/xf86-video-rendition/dist/src/ |
| H A D | hwcursor.c | 30 static void RENDITIONSetCursorColors(ScrnInfoPtr pScreenInfo, int bg, int fg); 181 RENDITIONSetCursorColors(ScrnInfoPtr pScreenInfo, int bg, int fg) argument 184 ErrorF( "RENDITION: SetCursorColors(%x, %x) called\n", fg, bg); 187 verite_setcursorcolor(pScreenInfo, bg, fg);
|