Home
last modified time | relevance | path

Searched refs:Format (Results 1 – 25 of 207) sorted by relevance

123456789

/device/linaro/bootloader/edk2/MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/
DDebugLib.c52 IN CONST CHAR8 *Format, in DebugPrint() argument
67 ASSERT (Format != NULL); in DebugPrint()
93 TotalSize = 4 + sizeof (EFI_DEBUG_INFO) + 12 * sizeof (UINT64) + AsciiStrSize (Format); in DebugPrint()
118 …trCpyS (FormatString, sizeof(Buffer) - (4 + sizeof(EFI_DEBUG_INFO) + 12 * sizeof(UINT64)), Format); in DebugPrint()
125 VA_START (VaListMarker, Format); in DebugPrint()
126 for (; *Format != '\0'; Format++) { in DebugPrint()
130 if (*Format != '%') { in DebugPrint()
137 for (Format++; TRUE; Format++) { in DebugPrint()
138 if (*Format == '.' || *Format == '-' || *Format == '+' || *Format == ' ') { in DebugPrint()
144 if (*Format >= '0' && *Format <= '9') { in DebugPrint()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/
DDebugLib.c52 IN CONST CHAR8 *Format, in DebugPrint() argument
68 ASSERT (Format != NULL); in DebugPrint()
94 TotalSize = 4 + sizeof (EFI_DEBUG_INFO) + 12 * sizeof (UINT64) + AsciiStrSize (Format); in DebugPrint()
125 AsciiStrCpyS (FormatString, DestBufferSize / sizeof (CHAR8), Format); in DebugPrint()
132 VA_START (VaListMarker, Format); in DebugPrint()
133 for (; *Format != '\0'; Format++) { in DebugPrint()
137 if (*Format != '%') { in DebugPrint()
144 for (Format++; TRUE; Format++) { in DebugPrint()
145 if (*Format == '.' || *Format == '-' || *Format == '+' || *Format == ' ') { in DebugPrint()
151 if (*Format >= '0' && *Format <= '9') { in DebugPrint()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Print/
DStdErr.c65 IN CONST CHAR8 *Format, in ErrorPrint() argument
96 MaxIndex = EfiAsciiStrLen ((CHAR8 *) Format); in ErrorPrint()
116 UnicodeFormat[Index] = (CHAR16) Format[Index]; in ErrorPrint()
121 VA_START (Marker, Format); in ErrorPrint()
142 IN CONST CHAR8 *Format, in Aprint() argument
171 MaxIndex = EfiAsciiStrLen ((CHAR8 *) Format); in Aprint()
180 UnicodeFormat[Index] = (CHAR16) Format[Index]; in Aprint()
183 VA_START (Marker, Format); in Aprint()
204 IN CONST CHAR16 *Format, in Print() argument
230 VA_START (Marker, Format); in Print()
[all …]
DPrint.c91 IN CONST CHAR_W *Format, in SPrint() argument
120 VA_START (Marker, Format); in SPrint()
121 Return = VSPrint (Buffer, BufferSize, Format, Marker); in SPrint()
165 CHAR_W *Format; in VSPrint() local
181 Format = (CHAR_W *)FormatString; in VSPrint()
184 for (Index = 0; (*Format != '\0') && (Index < NumberOfCharacters - 1); Format++) { in VSPrint()
185 if (*Format != '%') { in VSPrint()
186 if ((*Format == '\n') && (Index < NumberOfCharacters - 2)) { in VSPrint()
193 Buffer[Index++] = *Format; in VSPrint()
203 Format++; in VSPrint()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/
DStdErr.c65 IN CONST CHAR8 *Format, in ErrorPrint() argument
96 MaxIndex = EfiAsciiStrLen ((CHAR8 *) Format); in ErrorPrint()
116 UnicodeFormat[Index] = (CHAR16) Format[Index]; in ErrorPrint()
121 VA_START (Marker, Format); in ErrorPrint()
142 IN CONST CHAR8 *Format, in Aprint() argument
171 MaxIndex = EfiAsciiStrLen ((CHAR8 *) Format); in Aprint()
180 UnicodeFormat[Index] = (CHAR16) Format[Index]; in Aprint()
183 VA_START (Marker, Format); in Aprint()
204 IN CONST CHAR16 *Format, in Print() argument
230 VA_START (Marker, Format); in Print()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/UefiLib/
DUefiLibPrint.c57 IN CONST CHAR16 *Format, in InternalPrint() argument
67 ASSERT (Format != NULL); in InternalPrint()
68 ASSERT (((UINTN) Format & BIT0) == 0); in InternalPrint()
76 Return = UnicodeVSPrint (Buffer, BufferSize, Format, Marker); in InternalPrint()
116 IN CONST CHAR16 *Format, in Print() argument
123 VA_START (Marker, Format); in Print()
125 Return = InternalPrint (Format, gST->ConOut, Marker); in Print()
155 IN CONST CHAR16 *Format, in ErrorPrint() argument
162 VA_START (Marker, Format); in ErrorPrint()
164 Return = InternalPrint( Format, gST->StdErr, Marker); in ErrorPrint()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/FrameworkUefiLib/
DUefiLibPrint.c57 IN CONST CHAR16 *Format, in InternalPrint() argument
67 ASSERT (Format != NULL); in InternalPrint()
68 ASSERT (((UINTN) Format & BIT0) == 0); in InternalPrint()
76 Return = UnicodeVSPrint (Buffer, BufferSize, Format, Marker); in InternalPrint()
116 IN CONST CHAR16 *Format, in Print() argument
123 VA_START (Marker, Format); in Print()
125 Return = InternalPrint (Format, gST->ConOut, Marker); in Print()
155 IN CONST CHAR16 *Format, in ErrorPrint() argument
162 VA_START (Marker, Format); in ErrorPrint()
164 Return = InternalPrint( Format, gST->StdErr, Marker); in ErrorPrint()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/Ascii/
DPrintWidth.h30 #define ASPrint(Buffer, BufferSize, Format) SPrint (Buffer, BufferSize, Format) argument
31 #define AvSPrint(Buffer, BufferSize, Format, Marker) VSPrint (Buffer, BufferSize, Format, Marker) argument
37 IN CONST CHAR16 *Format,
65 IN CONST CHAR16 *Format,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Ascii/
DPrintWidth.h30 #define ASPrint(Buffer, BufferSize, Format) SPrint (Buffer, BufferSize, Format) argument
31 #define AvSPrint(Buffer, BufferSize, Format, Marker) VSPrint (Buffer, BufferSize, Format, Marker) argument
37 IN CONST CHAR16 *Format,
65 IN CONST CHAR16 *Format,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Print/Ascii/
DPrintWidth.h30 #define ASPrint(Buffer, BufferSize, Format) SPrint (Buffer, BufferSize, Format) argument
31 #define AvSPrint(Buffer, BufferSize, Format, Marker) VSPrint (Buffer, BufferSize, Format, Marker) argument
37 IN CONST CHAR16 *Format,
65 IN CONST CHAR16 *Format,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/Ascii/
DPrintWidth.h30 #define ASPrint(Buffer, BufferSize, Format) SPrint (Buffer, BufferSize, Format) argument
31 #define AvSPrint(Buffer, BufferSize, Format, Marker) VSPrint (Buffer, BufferSize, Format, Marker) argument
37 IN CONST CHAR16 *Format,
65 IN CONST CHAR16 *Format,
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxePrintLibPrint2Protocol/
DPrintLib.c81 IN CONST CHAR8 *Format, in DxePrintLibPrint2ProtocolVaListToBaseList() argument
94 ASSERT (Format != NULL); in DxePrintLibPrint2ProtocolVaListToBaseList()
100 ASSERT (AsciiStrSize (Format) != 0); in DxePrintLibPrint2ProtocolVaListToBaseList()
104 ASSERT (StrSize ((CHAR16 *) Format) != 0); in DxePrintLibPrint2ProtocolVaListToBaseList()
112 FormatCharacter = ((*Format & 0xff) | (*(Format + 1) << 8)) & FormatMask; in DxePrintLibPrint2ProtocolVaListToBaseList()
125 Format += BytesPerFormatCharacter; in DxePrintLibPrint2ProtocolVaListToBaseList()
130 FormatCharacter = ((*Format & 0xff) | (*(Format + 1) << 8)) & FormatMask; in DxePrintLibPrint2ProtocolVaListToBaseList()
161 Format -= BytesPerFormatCharacter; in DxePrintLibPrint2ProtocolVaListToBaseList()
216 Format += BytesPerFormatCharacter; in DxePrintLibPrint2ProtocolVaListToBaseList()
221 FormatCharacter = ((*Format & 0xff) | (*(Format + 1) << 8)) & FormatMask; in DxePrintLibPrint2ProtocolVaListToBaseList()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BasePrintLib/
DPrintLibInternal.c313 IN CONST CHAR8 *Format, in BasePrintLibSPrintMarker() argument
397 ASSERT (StrSize ((CHAR16 *) Format) != 0); in BasePrintLibSPrintMarker()
405 ASSERT (AsciiStrSize (Format) != 0); in BasePrintLibSPrintMarker()
413 FormatCharacter = ((*Format & 0xff) | (*(Format + 1) << 8)) & FormatMask; in BasePrintLibSPrintMarker()
444 Format += BytesPerFormatCharacter; in BasePrintLibSPrintMarker()
445 FormatCharacter = ((*Format & 0xff) | (*(Format + 1) << 8)) & FormatMask; in BasePrintLibSPrintMarker()
497 Format += BytesPerFormatCharacter; in BasePrintLibSPrintMarker()
498 FormatCharacter = ((*Format & 0xff) | (*(Format + 1) << 8)) & FormatMask; in BasePrintLibSPrintMarker()
500 Format -= BytesPerFormatCharacter; in BasePrintLibSPrintMarker()
514 Format -= BytesPerFormatCharacter; in BasePrintLibSPrintMarker()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/Unicode/
DPrintWidth.h30 #define USPrint(Buffer, BufferSize, Format) SPrint (Buffer, BufferSize, Format) argument
31 #define UvSPrint(Buffer, BufferSize, Format, Marker) VSPrint (Buffer, BufferSize, Format, Marker) argument
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/Unicode/
DPrintWidth.h30 #define USPrint(Buffer, BufferSize, Format) SPrint (Buffer, BufferSize, Format) argument
31 #define UvSPrint(Buffer, BufferSize, Format, Marker) VSPrint (Buffer, BufferSize, Format, Marker) argument
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Unicode/
DPrintWidth.h30 #define USPrint(Buffer, BufferSize, Format) SPrint (Buffer, BufferSize, Format) argument
31 #define UvSPrint(Buffer, BufferSize, Format, Marker) VSPrint (Buffer, BufferSize, Format, Marker) argument
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Print/Unicode/
DPrintWidth.h30 #define USPrint(Buffer, BufferSize, Format) SPrint (Buffer, BufferSize, Format) argument
31 #define UvSPrint(Buffer, BufferSize, Format, Marker) VSPrint (Buffer, BufferSize, Format, Marker) argument
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Print/
DPrint.c109 IN CONST CHAR8 *Format, in ASPrint() argument
138 VA_START(Marker, Format); in ASPrint()
139 Return = AvSPrint(Buffer, BufferSize, Format, Marker); in ASPrint()
182 CHAR8 *Format; in AvSPrint() local
196 Format = (CHAR8 *) FormatString; in AvSPrint()
198 for (Index = 0; (*Format != '\0') && (Index < BufferSize - 1); Format++) { in AvSPrint()
199 if (*Format != '%') { in AvSPrint()
200 if ((*Format == '\n') && (Index < BufferSize - 2)) { in AvSPrint()
208 Buffer[Index++] = *Format; in AvSPrint()
218 Format++; in AvSPrint()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/
DEfiPrintLib.h32 IN CONST CHAR8 *Format,
86 IN CONST CHAR16 *Format,
144 IN CONST CHAR8 *Format,
169 IN CONST CHAR16 *Format,
197 IN CONST CHAR16 *Format,
225 IN CONST CHAR16 *Format,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/
DDebug.c77 IN CHAR8 *Format, in EfiDebugVPrint() argument
107 EfiDebugVPrintWorker (ErrorLevel, Format, Marker, sizeof (Buffer), Buffer); in EfiDebugVPrint()
123 IN CHAR8 *Format, in EfiDebugPrint() argument
151 VA_START (Marker, Format); in EfiDebugPrint()
152 EfiDebugVPrint (ErrorLevel, Format, Marker); in EfiDebugPrint()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/
DDebug.c86 IN CHAR8 *Format, in EfiDebugVPrint() argument
127 EfiDebugVPrintWorker (ErrorLevel, Format, Marker, sizeof (Buffer), Buffer); in EfiDebugVPrint()
143 IN CHAR8 *Format, in EfiDebugPrint() argument
169 VA_START (Marker, Format); in EfiDebugPrint()
170 EfiDebugVPrint (ErrorLevel, Format, Marker); in EfiDebugPrint()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/
DReportStatusCode.c140 OUT CHAR8 **Format in ReportStatusCodeExtractDebugInfo() argument
148 ASSERT (Format != NULL); in ReportStatusCodeExtractDebugInfo()
169 *Format = (CHAR8 *)(((UINT64 *)*Marker) + 12); in ReportStatusCodeExtractDebugInfo()
189 CHAR8 *Format; in SerialReportStatusCode() local
223 ReportStatusCodeExtractDebugInfo (Data, &ErrorLevel, &Marker, &Format)) { in SerialReportStatusCode()
231 Format, in SerialReportStatusCode()
244 Format = (CHAR8 *) (((UINT64 *) (DebugInfo + 1)) + 12); in SerialReportStatusCode()
246 CharCount = AsciiBSPrint (Buffer, EFI_STATUS_CODE_DATA_MAX_SIZE, Format, Marker); in SerialReportStatusCode()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePrintLib/
DPrintLib.c92 IN CONST CHAR8 *Format, in BasePrintLibVSPrint() argument
149 ASSERT (StrSize ((CHAR16 *) Format) != 0); in BasePrintLibVSPrint()
157 ASSERT (AsciiStrSize (Format) != 0); in BasePrintLibVSPrint()
167 FormatCharacter = (*Format | (*(Format + 1) << 8)) & FormatMask; in BasePrintLibVSPrint()
195 Format += BytesPerFormatCharacter; in BasePrintLibVSPrint()
196 FormatCharacter = (*Format | (*(Format + 1) << 8)) & FormatMask; in BasePrintLibVSPrint()
240 Format += BytesPerFormatCharacter; in BasePrintLibVSPrint()
241 FormatCharacter = (*Format | (*(Format + 1) << 8)) & FormatMask; in BasePrintLibVSPrint()
243 Format -= BytesPerFormatCharacter; in BasePrintLibVSPrint()
257 Format -= BytesPerFormatCharacter; in BasePrintLibVSPrint()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiDxeDebugLibReportStatusCode/
DDebugLib.c43 IN CONST CHAR8 *Format, in DebugPrint() argument
57 ASSERT (Format != NULL); in DebugPrint()
66 TotalSize = sizeof (EFI_DEBUG_INFO) + 12 * sizeof (UINT64) + AsciiStrLen (Format) + 1; in DebugPrint()
80 VA_START (Marker, Format); in DebugPrint()
85 AsciiStrCpy ((CHAR8 *)ArgumentPointer, Format); in DebugPrint()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/
DPrint.c467 IN CONST CHAR_W *Format, in SPrint() argument
496 VA_START (Marker, Format); in SPrint()
497 Return = VSPrint (Buffer, BufferSize, Format, Marker); in SPrint()
540 CHAR_W *Format; in VSPrint() local
556 Format = (CHAR_W *) FormatString; in VSPrint()
559 for (Index = 0; (*Format != '\0') && (Index < NumberOfCharacters - 1); Format++) { in VSPrint()
560 if (*Format != '%') { in VSPrint()
561 if ((*Format == '\n') && (Index < NumberOfCharacters - 2)) { in VSPrint()
569 Buffer[Index++] = *Format; in VSPrint()
579 Format++; in VSPrint()
[all …]

123456789