25 Length =
AsciiVSPrint (String,
sizeof (String), Format, Marker);
27 DEBUG ((DEBUG_ERROR,
"%a formatted string is too long\n", __func__));
29 DEBUG ((DEBUG_INFO, String));
40 CHAR8 AsciiString[128];
45 for (Index = 0; Index < Length; Index += (
sizeof (AsciiString) - 1)) {
46 AsciiStrnCpyS (AsciiString,
sizeof (AsciiString), &Output[Index],
sizeof (AsciiString) - 1);
47 DEBUG ((DEBUG_INFO, AsciiString));
RETURN_STATUS EFIAPI AsciiStrnCpyS(OUT CHAR8 *Destination, IN UINTN DestMax, IN CONST CHAR8 *Source, IN UINTN Length)
UINTN EFIAPI AsciiStrLen(IN CONST CHAR8 *String)
UINTN EFIAPI AsciiVSPrint(OUT CHAR8 *StartOfBuffer, IN UINTN BufferSize, IN CONST CHAR8 *FormatString, IN VA_LIST Marker)
#define VA_START(Marker, Parameter)
#define DEBUG(Expression)