Searched refs:bg (Results 1 - 25 of 274) sorted by relevance

1234567891011

/xsrc/external/mit/xterm/dist/vttests/
H A D256colors.pl41 our ( $bg, $fg );
43 for ( $bg = 0 ; $bg < 256 ; $bg++ ) {
47 print "\x1b[48;5;${bg}m\x1b[38;5;${fg}m";
48 printf "%03.3d/%03.3d ", $fg, $bg;
H A D88colors.pl39 our ( $bg, $fg );
41 for ( $bg = 0 ; $bg < 88 ; $bg++ ) {
42 print "\x1b[9;1H\x1b[48;5;${bg}m\x1b[2J";
45 printf "%03.3d/%03.3d ", $fg, $bg;
H A DsgrPushPop.pl40 # attributes (fg/bg color, bold, etc.) and then later restore them allows
47 $blueOnGreen, $bg, $fg
54 # fg/bg colors.
71 for ( $bg = 0 ; $bg < 16 ; $bg++ ) {
74 printf $lib1Fmt, $fg, $bg, $fg, $bg;
H A Dquery-status.pl183 for my $bg ( 0 .. 7 ) {
184 printf "%s4%sm", $CSI, &ansi_color($bg);
200 for my $bg ( 0 .. 7 ) {
201 printf "%s4%sm", $CSI, &direct_color($bg);
/xsrc/external/mit/xf86-video-vmware/dist/src/
H A Dbits2pixels.c31 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, bg);
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 Dbits2pixels.h21 uint32 width, uint32 height, uint32 fg, uint32 bg);
/xsrc/external/mit/xf86-video-s3virge/dist/src/
H A Ds3v_hwcurs.c50 static void S3VSetCursorColors(ScrnInfoPtr pScrn, int bg, int fg);
153 S3VSetCursorColors(ScrnInfoPtr pScrn, int bg, int fg) argument
170 outCRReg(0x4b, bg);
171 outCRReg(0x4b, bg);
182 bg = ((bg & 0xf80000) >> 9) |
183 ((bg & 0xf800) >> 6) |
184 ((bg & 0xf8) >> 3);
189 bg = ((bg
[all...]
/xsrc/external/mit/xf86-video-savage/dist/src/
H A Dsavage_cursor.c48 static void SavageSetCursorColors(ScrnInfoPtr pScrn, int bg, int fg);
299 int bg,
336 outCRReg(0x4b, bg);
337 outCRReg(0x4b, bg >> 8);
338 outCRReg(0x4b, bg >> 16);
350 outCRReg(0x4b, bg);
351 outCRReg(0x4b, bg >> 8);
352 outCRReg(0x4b, bg >> 16);
363 bg = ((bg
297 SavageSetCursorColors(ScrnInfoPtr pScrn,int bg,int fg) argument
[all...]
/xsrc/external/mit/xf86-video-nv/dist/src/
H A Dg80_xaa.h3 void G80SetPattern(G80Ptr pNv, int bg, int fg, int pat0, int pat1);
/xsrc/external/mit/libX11/dist/src/
H A DCrPFBData.c58 unsigned long bg,
64 .background = bg
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/xorg-server.old/dist/hw/xfree86/xaa/
H A Dxaalocal.h90 int bg; 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, int bg,
[all...]
H A DxaaBitmap.c269 int fg, int bg,
285 if((bg != -1) &&
288 (!CHECK_RGB_EQUAL(bg))))) {
290 if((bg != -1) &&
294 (*infoRec->SetupForSolidFill)(pScrn, bg, rop, planemask);
296 } else SecondPassColor = bg;
297 bg = -1;
336 pScrn, fg, bg, rop, planemask);
387 int fg, int bg,
401 if((bg !
[all...]
H A DxaaStipple.c115 int fg, int bg, int rop,
145 if((bg == -1) ||
148 (CHECK_RGB_EQUAL(bg))))) {
150 if((bg == -1) ||
156 (*infoRec->FillSolidRects)(pScrn, bg, rop, planemask, nBox, pBox);
157 bg = -1;
165 pScrn, fg, bg, rop, planemask);
177 (FirstPass) ? bg : fg, -1, rop, planemask);
251 int fg, int bg, int rop,
280 if((bg
[all...]
/xsrc/external/mit/xf86-video-suncg6/dist/src/
H A Dcg6_cursor.c37 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);
87 pCg6->CursorBg = bg;
/xsrc/external/mit/xf86-video-trident/dist/src/
H A Dxp4_xaa.c48 int fg, int bg,
91 int fg, int bg,
101 int fg, int bg,
377 int fg, int bg,
397 if (bg == -1) {
401 REPLICATE(bg);
402 TGUI_BPATCOL(bg);
406 if (bg == -1) {
410 REPLICATE(bg);
411 TGUI_BCOLOUR(bg);
531 XP4SetupForMono8x8PatternFill(ScrnInfoPtr pScrn,int patternx,int patterny,int fg,int bg,int rop,unsigned int planemask) argument
[all...]
H A Dxp_xaa.c49 int fg, int bg,
91 int fg, int bg,
102 int fg, int bg,
408 int fg, int bg,
429 if (bg == -1) {
433 REPLICATE(bg);
434 TGUI_BPATCOL(bg);
438 if (bg == -1) {
442 REPLICATE(bg);
443 TGUI_BCOLOUR(bg);
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 Dapm_cursor.c27 static void ApmSetCursorColors(ScrnInfoPtr pScrn, int bg, int fg);
154 ApmSetCursorColors(ScrnInfoPtr pScrn, int bg, int fg) argument
163 WRXB(0x142, bg);
172 ((bg & 0xE00000) >> 16) |
173 ((bg & 0x00E000) >> 11) |
174 ((bg & 0x0000C0) >> 6);
/xsrc/external/mit/xf86-video-rendition/dist/src/
H A Dhwcursor.c30 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);
/xsrc/external/mit/xf86-video-s3/dist/src/
H A Ds3_cursor.c41 static void S3SetCursorColors(ScrnInfoPtr pScrn, int bg, int fg) argument
59 outb(vgaCRReg, bg);
60 outb(vgaCRReg, bg);
67 packbg = ((bg & 0x00f80000) >> 19) | ((bg & 0x0000fc00) >> 5) |
68 ((bg & 0x000000f8) << 8);
94 outb(vgaCRReg, (bg & 0x00ff0000) >> 16);
95 outb(vgaCRReg, (bg & 0x0000ff00) >> 8);
96 outb(vgaCRReg, (bg & 0x000000ff));
/xsrc/external/mit/xf86-video-intel/dist/test/
H A Dbasic-stippledrect.c21 uint32_t fg, uint32_t bg)
29 val.background = bg;
81 uint32_t bg = rand(); local in function:unclipped_tests
86 fg, bg);
90 fg, bg);
132 uint32_t bg = rand(); local in function:simple_clip_tests
137 fg, bg);
141 fg, bg);
193 uint32_t bg = rand(); local in function:complex_clip_tests
198 fg, bg);
17 fill_rect(struct test_target * t,uint8_t alu,XRectangle * clip,int nclip,uint8_t stipple,uint8_t opaque,int tx,int ty,int x,int y,int w,int h,uint32_t fg,uint32_t bg) argument
[all...]
H A Dbasic-string.c11 int x, int y, uint32_t fg, uint32_t bg, int s, int fill)
23 val.background = bg;
60 uint32_t bg = rand(); local in function:string_tests
64 draw_string(&t->out, out.draw, alu, x, y, fg, bg, str, fill);
65 draw_string(&t->ref, ref.draw, alu, x, y, fg, bg, str, fill);
10 draw_string(struct test_display * t,Drawable d,uint8_t alu,int x,int y,uint32_t fg,uint32_t bg,int s,int fill) argument
/xsrc/external/mit/xf86-video-intel-2014/dist/test/
H A Dbasic-stippledrect.c21 uint32_t fg, uint32_t bg)
29 val.background = bg;
81 uint32_t bg = rand(); local in function:unclipped_tests
86 fg, bg);
90 fg, bg);
132 uint32_t bg = rand(); local in function:simple_clip_tests
137 fg, bg);
141 fg, bg);
193 uint32_t bg = rand(); local in function:complex_clip_tests
198 fg, bg);
17 fill_rect(struct test_target * t,uint8_t alu,XRectangle * clip,int nclip,uint8_t stipple,uint8_t opaque,int tx,int ty,int x,int y,int w,int h,uint32_t fg,uint32_t bg) argument
[all...]
H A Dbasic-string.c11 int x, int y, uint32_t fg, uint32_t bg, int s, int fill)
23 val.background = bg;
60 uint32_t bg = rand(); local in function:string_tests
64 draw_string(&t->out, out.draw, alu, x, y, fg, bg, str, fill);
65 draw_string(&t->ref, ref.draw, alu, x, y, fg, bg, str, fill);
10 draw_string(struct test_display * t,Drawable d,uint8_t alu,int x,int y,uint32_t fg,uint32_t bg,int s,int fill) argument
/xsrc/external/mit/xf86-video-suntcx/dist/src/
H A Dtcx_cursor.c37 static void TCXSetCursorColors(ScrnInfoPtr pScrn, int bg, int fg);
113 TCXSetCursorColors(ScrnInfoPtr pScrn, int bg, int fg) argument
117 if (bg != pTcx->CursorBg || fg != pTcx->CursorFg) {
118 xf86SbusSetOsHwCursorCmap(pTcx->psdp, bg, fg);
119 pTcx->CursorBg = bg;
/xsrc/external/mit/xf86-video-tga/dist/src/
H A Dtga_cursor.c53 static void TGASetCursorColors(ScrnInfoPtr pScrn, int bg, int fg);
131 TGASetCursorColors(ScrnInfoPtr pScrn, int bg, int fg) argument
144 pTga->RamDacRec->WriteDAC(pScrn, BT_CURS_DATA, 0x00, (bg & 0x00FF0000) >> 16);
145 pTga->RamDacRec->WriteDAC(pScrn, BT_CURS_DATA, 0x00, (bg & 0x0000FF00) >> 8);
146 pTga->RamDacRec->WriteDAC(pScrn, BT_CURS_DATA, 0x00, (bg & 0x000000FF));

Completed in 27 milliseconds

1234567891011