Home
last modified time | relevance | path

Searched refs:FontInfo (Results 1 – 13 of 13) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/
DFont.c944 OUT EFI_FONT_INFO **FontInfo in SaveFontName() argument
950 ASSERT (FontName != NULL && FontInfo != NULL); in SaveFontName()
954 *FontInfo = (EFI_FONT_INFO *) AllocateZeroPool (FontInfoLen); in SaveFontName()
955 if (*FontInfo == NULL) { in SaveFontName()
959 StrCpyS ((*FontInfo)->FontName, NameSize / sizeof (CHAR16), FontName); in SaveFontName()
982 OUT EFI_FONT_DISPLAY_INFO **FontInfo, in GetSystemFont() argument
993 if (FontInfo == NULL) { in GetSystemFont()
1010 Info->FontInfo.FontStyle = 0; in GetSystemFont()
1011 Info->FontInfo.FontSize = EFI_GLYPH_HEIGHT; in GetSystemFont()
1012 StrCpyS (Info->FontInfo.FontName, NameSize / sizeof (CHAR16), L"sysdefault"); in GetSystemFont()
[all …]
DString.c214 HII_FONT_INFO *FontInfo; in GetStringFontInfo() local
220 FontInfo = CR (Link, HII_FONT_INFO, Entry, HII_FONT_INFO_SIGNATURE); in GetStringFontInfo()
221 if (FontInfo->FontId == FontId) { in GetStringFontInfo()
222 …GlobalFont = CR (FontInfo->GlobalEntry, HII_GLOBAL_FONT_INFO, Entry, HII_GLOBAL_FONT_INFO_SIGNATUR… in GetStringFontInfo()
227 CopyMem (*StringFontInfo, GlobalFont->FontInfo, GlobalFont->FontInfoSize); in GetStringFontInfo()
281 EFI_FONT_INFO *FontInfo; in FindStringBlock() local
507 FontInfo = (EFI_FONT_INFO *) AllocateZeroPool (FontInfoSize); in FindStringBlock()
508 if (FontInfo == NULL) { in FindStringBlock()
511 FontInfo->FontStyle = FontStyle; in FindStringBlock()
512 FontInfo->FontSize = FontSize; in FindStringBlock()
[all …]
DDatabase.c1083 HII_FONT_INFO *FontInfo; in RemoveStringPackages() local
1114 FontInfo = CR ( in RemoveStringPackages()
1120 RemoveEntryList (&FontInfo->Entry); in RemoveStringPackages()
1121 FreePool (FontInfo); in RemoveStringPackages()
1165 EFI_FONT_INFO *FontInfo; in InsertFontPackage() local
1176 FontInfo = NULL; in InsertFontPackage()
1193 FontInfo = (EFI_FONT_INFO *) AllocateZeroPool (FontInfoSize); in InsertFontPackage()
1194 if (FontInfo == NULL) { in InsertFontPackage()
1198 FontInfo->FontStyle = FontPkgHdr->FontStyle; in InsertFontPackage()
1199 FontInfo->FontSize = FontPkgHdr->Cell.Height; in InsertFontPackage()
[all …]
DImage.c1216 EFI_FONT_DISPLAY_INFO *FontInfo; in HiiDrawImage() local
1231 FontInfo = NULL; in HiiDrawImage()
1371 Status = GetSystemFont (Private, &FontInfo, NULL); in HiiDrawImage()
1377 ASSERT (FontInfo != NULL); in HiiDrawImage()
1379 BltBuffer[Index] = FontInfo->BackgroundColor; in HiiDrawImage()
1381 FreePool (FontInfo); in HiiDrawImage()
DHiiDatabase.h215 EFI_FONT_INFO *FontInfo; member
443 IN EFI_FONT_INFO *FontInfo,
492 OUT EFI_FONT_DISPLAY_INFO **FontInfo,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/
DFonts.c65 EFI_FONT_DISPLAY_INFO *FontInfo; in HiiGetGlyph() local
78 &FontInfo, in HiiGetGlyph()
83 ASSERT (StrCmp (FontInfo->FontInfo.FontName, L"sysdefault") == 0); in HiiGetGlyph()
84 mSysFGColor = FontInfo->ForegroundColor; in HiiGetGlyph()
85 FreePool (FontInfo); in HiiGetGlyph()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/
DPrint.c145 EFI_FONT_DISPLAY_INFO *FontInfo; in _IPrint() local
174 FontInfo = NULL; in _IPrint()
225 FontInfo = (EFI_FONT_DISPLAY_INFO *) EfiLibAllocateZeroPool (sizeof (EFI_FONT_DISPLAY_INFO)); in _IPrint()
226 if (FontInfo == NULL) { in _IPrint()
231 EfiCopyMem (&FontInfo->ForegroundColor, Foreground, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL)); in _IPrint()
234 &FontInfo->ForegroundColor, in _IPrint()
240 EfiCopyMem (&FontInfo->BackgroundColor, Background, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL)); in _IPrint()
243 &FontInfo->BackgroundColor, in _IPrint()
253 FontInfo, in _IPrint()
338 EfiLibSafeFreePool (FontInfo); in _IPrint()
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/FrameworkUefiLib/
DUefiLibPrint.c357 EFI_FONT_DISPLAY_INFO FontInfo; in InternalPrintGraphic() local
432 ZeroMem (&FontInfo, sizeof (EFI_FONT_DISPLAY_INFO)); in InternalPrintGraphic()
435 CopyMem (&FontInfo.ForegroundColor, Foreground, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL)); in InternalPrintGraphic()
438 &FontInfo.ForegroundColor, in InternalPrintGraphic()
444 CopyMem (&FontInfo.BackgroundColor, Background, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL)); in InternalPrintGraphic()
447 &FontInfo.BackgroundColor, in InternalPrintGraphic()
462 &FontInfo, in InternalPrintGraphic()
490 &FontInfo, in InternalPrintGraphic()
/device/linaro/bootloader/edk2/MdePkg/Library/UefiLib/
DUefiLibPrint.c357 EFI_FONT_DISPLAY_INFO FontInfo; in InternalPrintGraphic() local
432 ZeroMem (&FontInfo, sizeof (EFI_FONT_DISPLAY_INFO)); in InternalPrintGraphic()
435 CopyMem (&FontInfo.ForegroundColor, Foreground, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL)); in InternalPrintGraphic()
438 &FontInfo.ForegroundColor, in InternalPrintGraphic()
444 CopyMem (&FontInfo.BackgroundColor, Background, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL)); in InternalPrintGraphic()
447 &FontInfo.BackgroundColor, in InternalPrintGraphic()
462 &FontInfo, in InternalPrintGraphic()
490 &FontInfo, in InternalPrintGraphic()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/
DPrint.c170 EFI_FONT_DISPLAY_INFO *FontInfo; in _IPrint() local
199 FontInfo = NULL; in _IPrint()
251 FontInfo = (EFI_FONT_DISPLAY_INFO *) EfiLibAllocateZeroPool (sizeof (EFI_FONT_DISPLAY_INFO)); in _IPrint()
252 if (FontInfo == NULL) { in _IPrint()
257 EfiCopyMem (&FontInfo->ForegroundColor, Foreground, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL)); in _IPrint()
260 &FontInfo->ForegroundColor, in _IPrint()
266 EfiCopyMem (&FontInfo->BackgroundColor, Background, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL)); in _IPrint()
269 &FontInfo->BackgroundColor, in _IPrint()
279 FontInfo, in _IPrint()
364 EfiLibSafeFreePool (FontInfo); in _IPrint()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/
DGraphicsConsole.c1750 EFI_FONT_DISPLAY_INFO *FontInfo; in DrawUnicodeWeightAtCursorN() local
1774 FontInfo = (EFI_FONT_DISPLAY_INFO *) AllocateZeroPool (sizeof (EFI_FONT_DISPLAY_INFO)); in DrawUnicodeWeightAtCursorN()
1775 if (FontInfo == NULL) { in DrawUnicodeWeightAtCursorN()
1783 GetTextColors (This, &FontInfo->ForegroundColor, &FontInfo->BackgroundColor); in DrawUnicodeWeightAtCursorN()
1795 FontInfo, in DrawUnicodeWeightAtCursorN()
1829 FontInfo, in DrawUnicodeWeightAtCursorN()
1871 if (FontInfo != NULL) { in DrawUnicodeWeightAtCursorN()
1872 FreePool (FontInfo); in DrawUnicodeWeightAtCursorN()
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DHiiFont.h106 EFI_FONT_INFO FontInfo; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiFont/
DHiiFont.h65 EFI_FONT_INFO FontInfo; member