Home
last modified time | relevance | path

Searched refs:Color (Results 1 – 20 of 20) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/newmetaclasses/
DEnum.py93 class Color(Enum): class
98 print Color.red
100 print repr(Color.red)
101 print Color.red == Color.red
102 print Color.red == Color.blue
103 print Color.red == 1
104 print Color.red == 2
106 class ExtendedColor(Color):
116 print Color.red == ExtendedColor.red
122 class MergedColor(Color, OtherColor):
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/
DBaseOrderedCollectionRedBlackTreeLib.c55 RED_BLACK_TREE_COLOR Color; member
650 Tmp->Color = RedBlackTreeBlack; in OrderedCollectionInsert()
659 Tmp->Color = RedBlackTreeRed; in OrderedCollectionInsert()
682 while (Tmp != NewRoot && Parent->Color == RedBlackTreeRed) { in OrderedCollectionInsert()
700 if (Uncle != NULL && Uncle->Color == RedBlackTreeRed) { in OrderedCollectionInsert()
709 Parent->Color = RedBlackTreeBlack; in OrderedCollectionInsert()
710 Uncle->Color = RedBlackTreeBlack; in OrderedCollectionInsert()
711 GrandParent->Color = RedBlackTreeRed; in OrderedCollectionInsert()
768 Parent->Color = RedBlackTreeBlack; in OrderedCollectionInsert()
769 GrandParent->Color = RedBlackTreeRed; in OrderedCollectionInsert()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/metaclasses/
DEnum.py128 class Color(Enum): class
133 print Color.red
134 print dir(Color)
136 print Color.red == Color.red
137 print Color.red == Color.blue
138 print Color.red == 1
139 print Color.red == 2
141 class ExtendedColor(Color):
151 print Color.red == ExtendedColor.red
157 class MergedColor(Color, OtherColor):
[all …]
/device/linaro/bootloader/edk2/OptionRomPkg/Application/BltLibSample/
DBltLibSample.c74 EFI_GRAPHICS_OUTPUT_BLT_PIXEL Color; in TestFills() local
97 *(UINT32*) (&Color) = Rand32 () & 0xffffff; in TestFills()
98 BltLibVideoFill (&Color, X, Y, W, H); in TestFills()
108 EFI_GRAPHICS_OUTPUT_BLT_PIXEL Color; in TestColor1() local
115 *(UINT32*) (&Color) = 0; in TestColor1()
119 Color.Red = (UINT8) ((X * 0x100) / Width); in TestColor1()
120 Color.Green = (UINT8) ((Y * 0x100) / Height); in TestColor1()
121 Color.Blue = (UINT8) ((Y * 0x100) / Height); in TestColor1()
122 BltLibVideoFill (&Color, X, Y, 1, 1); in TestColor1()
186 EFI_GRAPHICS_OUTPUT_BLT_PIXEL Color; in TestColor() local
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/
DMemoryTest.c53 EFI_GRAPHICS_OUTPUT_BLT_PIXEL Color; in PlatformBdsShowProgress() local
116 SetMem (&Color, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL), 0x0); in PlatformBdsShowProgress()
121 &Color, in PlatformBdsShowProgress()
134 (EFI_UGA_PIXEL *) &Color, in PlatformBdsShowProgress()
230 EFI_GRAPHICS_OUTPUT_BLT_PIXEL Color; in BdsMemoryTest() local
255 SetMem (&Color, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL), 0xff); in BdsMemoryTest()
343 Color, in BdsMemoryTest()
367 Color, in BdsMemoryTest()
411 Color, in BdsMemoryTest()
DFrontPage.c894 EFI_GRAPHICS_OUTPUT_BLT_PIXEL Color; in ShowProgress() local
901 SetMem (&Color, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL), 0xff); in ShowProgress()
910 PlatformBdsShowProgress (Foreground, Background, TmpStr, Color, 0, 0); in ShowProgress()
934 Color, in ShowProgress()
/device/linaro/bootloader/edk2/Nt32Pkg/Library/PlatformBootManagerLib/
DMemoryTest.c61 EFI_GRAPHICS_OUTPUT_BLT_PIXEL Color; in PlatformBootManagerMemoryTest() local
92 SetMem (&Color, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL), 0xff); in PlatformBootManagerMemoryTest()
180 Color, in PlatformBootManagerMemoryTest()
204 Color, in PlatformBootManagerMemoryTest()
248 Color, in PlatformBootManagerMemoryTest()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/
DSetupBrowser.c77 EFI_GRAPHICS_OUTPUT_BLT_PIXEL Color; in PlatformBdsShowProgress() local
138 SetMem (&Color, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL), 0x0); in PlatformBdsShowProgress()
143 &Color, in PlatformBdsShowProgress()
156 (EFI_UGA_PIXEL *) &Color, in PlatformBdsShowProgress()
298 EFI_GRAPHICS_OUTPUT_BLT_PIXEL Color; in ShowProgress() local
310 SetMem (&Color, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL), 0xff); in ShowProgress()
317 PlatformBdsShowProgress (Foreground, Background, TmpStr, Color, 0, 0); in ShowProgress()
338 Color, in ShowProgress()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootLogoLib/
DBootLogoLib.c394 EFI_GRAPHICS_OUTPUT_BLT_PIXEL Color; in BootLogoUpdateProgress() local
452 SetMem (&Color, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL), 0x0); in BootLogoUpdateProgress()
457 &Color, in BootLogoUpdateProgress()
470 (EFI_UGA_PIXEL *) &Color, in BootLogoUpdateProgress()
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/
DPchXhci.asl110 … //31:0 - Bit[6:0]=2 revision is 0x2, Bit[7]=1 Ignore Color Bit[31:8]=0 RGB color is ignored
149 … //31:0 - Bit[6:0]=2 revision is 0x2, Bit[7]=1 Ignore Color Bit[31:8]=0 RGB color is ignored
192 … //31:0 - Bit[6:0]=2 revision is 0x2, Bit[7]=1 Ignore Color Bit[31:8]=0 RGB color is ignored
239 … //31:0 - Bit[6:0]=2 revision is 0x2, Bit[7]=1 Ignore Color Bit[31:8]=0 RGB color is ignored
280 … //31:0 - Bit[6:0]=2 revision is 0x2, Bit[7]=1 Ignore Color Bit[31:8]=0 RGB color is ignored
323 … //31:0 - Bit[6:0]=2 revision is 0x2, Bit[7]=1 Ignore Color Bit[31:8]=0 RGB color is ignored
364 … //31:0 - Bit[6:0]=2 revision is 0x2, Bit[7]=1 Ignore Color Bit[31:8]=0 RGB color is ignored
/device/linaro/bootloader/edk2/OptionRomPkg/Library/GopBltLib/
DGopBltLib.c201 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Color, in BltLibVideoFill() argument
209 Color, in BltLibVideoFill()
/device/linaro/bootloader/edk2/OptionRomPkg/Include/Library/
DBltLib.h92 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Color,
/device/linaro/bootloader/edk2/OptionRomPkg/CirrusLogic5430Dxe/
DCirrusLogic5430.c784 UINT32 Color; in ClearScreen() local
786 Color = 0; in ClearScreen()
793 &Color in ClearScreen()
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DX11GraphicsWindow.c732 unsigned long Color; in X11Blt() local
819 Color = X11PixelToColor(Private, *BltBuffer); in X11Blt()
822 XPutPixel(Private->image, DstX, DstY, Color); in X11Blt()
850 Color = X11PixelToColor (Private, *BltBuffer); in X11Blt()
851 XSetForeground (Private->display, Private->gc, Color); in X11Blt()
/device/linaro/bootloader/edk2/OvmfPkg/QemuVideoDxe/
DDriver.c747 UINT32 Color; in ClearScreen() local
749 Color = 0; in ClearScreen()
756 &Color in ClearScreen()
/device/linaro/bootloader/edk2/DuetPkg/BiosVideoThunkDxe/
DBiosVideo.c2290 UINTN Color; in VgaConvertToGraphicsOutputColor() local
2294 for (Bit = 0x01, Color = 0; Bit < 0x10; Bit <<= 1, MemoryBuffer += VGA_BYTES_PER_BIT_PLANE) { in VgaConvertToGraphicsOutputColor()
2296 Color |= Bit; in VgaConvertToGraphicsOutputColor()
2300 *BltBuffer = mVgaColorToGraphicsOutputColor[Color]; in VgaConvertToGraphicsOutputColor()
2318 UINT8 Color; in VgaConvertColor() local
2320Color = (UINT8) ((BltBuffer->Blue >> 7) | ((BltBuffer->Green >> 6) & 0x02) | ((BltBuffer->Red >> 5… in VgaConvertColor()
2322 Color |= 0x08; in VgaConvertColor()
2325 return Color; in VgaConvertColor()
/device/linaro/bootloader/edk2/OptionRomPkg/Library/FrameBufferBltLib/
DFrameBufferBltLib.c231 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Color, in BltLibVideoFill() argument
270 Uint32 = *(UINT32*) Color; in BltLibVideoFill()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/
DBiosVideo.c2682 UINTN Color; in VgaConvertToGraphicsOutputColor() local
2686 for (Bit = 0x01, Color = 0; Bit < 0x10; Bit <<= 1, MemoryBuffer += VGA_BYTES_PER_BIT_PLANE) { in VgaConvertToGraphicsOutputColor()
2688 Color |= Bit; in VgaConvertToGraphicsOutputColor()
2692 *BltBuffer = mVgaColorToGraphicsOutputColor[Color]; in VgaConvertToGraphicsOutputColor()
2708 UINT8 Color; in VgaConvertColor() local
2710Color = (UINT8) ((BltBuffer->Blue >> 7) | ((BltBuffer->Green >> 6) & 0x02) | ((BltBuffer->Red >> 5… in VgaConvertColor()
2712 Color |= 0x08; in VgaConvertColor()
2715 return Color; in VgaConvertColor()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/FrameBufferBltLib/
DFrameBufferBltLib.c177 IN EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Color, in FrameBufferBltLibVideoFill() argument
216 Uint32 = *(UINT32*) Color; in FrameBufferBltLibVideoFill()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/PlatformBdsLib/
DBdsPlatform.c2412 EFI_GRAPHICS_OUTPUT_BLT_PIXEL Color; in ShowProgressHotKey() local
2441 SetMem (&Color, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL), 0xff); in ShowProgressHotKey()
2513 PlatformBdsShowProgress (Foreground, Background, TmpStr, Color, 0, 0); in ShowProgressHotKey()
2539 Color, in ShowProgressHotKey()