TianoCore EDK2 master
Loading...
Searching...
No Matches
PrintLib.h
Go to the documentation of this file.
1
172#ifndef __PRINT_LIB_H__
173#define __PRINT_LIB_H__
174
189#define MAXIMUM_VALUE_CHARACTERS 38
190
195#define LEFT_JUSTIFY 0x01
196#define COMMA_TYPE 0x08
197#define PREFIX_ZERO 0x20
198#define RADIX_HEX 0x80
199
240UINTN
241EFIAPI
243 OUT CHAR16 *StartOfBuffer,
244 IN UINTN BufferSize,
245 IN CONST CHAR16 *FormatString,
246 IN VA_LIST Marker
247 );
248
287UINTN
288EFIAPI
290 OUT CHAR16 *StartOfBuffer,
291 IN UINTN BufferSize,
292 IN CONST CHAR16 *FormatString,
293 IN BASE_LIST Marker
294 );
295
336UINTN
337EFIAPI
339 OUT CHAR16 *StartOfBuffer,
340 IN UINTN BufferSize,
341 IN CONST CHAR16 *FormatString,
342 ...
343 );
344
384UINTN
385EFIAPI
387 OUT CHAR16 *StartOfBuffer,
388 IN UINTN BufferSize,
389 IN CONST CHAR8 *FormatString,
390 IN VA_LIST Marker
391 );
392
430UINTN
431EFIAPI
433 OUT CHAR16 *StartOfBuffer,
434 IN UINTN BufferSize,
435 IN CONST CHAR8 *FormatString,
436 IN BASE_LIST Marker
437 );
438
479UINTN
480EFIAPI
482 OUT CHAR16 *StartOfBuffer,
483 IN UINTN BufferSize,
484 IN CONST CHAR8 *FormatString,
485 ...
486 );
487
539RETURN_STATUS
540EFIAPI
542 IN OUT CHAR16 *Buffer,
543 IN UINTN BufferSize,
544 IN UINTN Flags,
545 IN INT64 Value,
546 IN UINTN Width
547 );
548
586UINTN
587EFIAPI
589 OUT CHAR8 *StartOfBuffer,
590 IN UINTN BufferSize,
591 IN CONST CHAR8 *FormatString,
592 IN VA_LIST Marker
593 );
594
630UINTN
631EFIAPI
633 OUT CHAR8 *StartOfBuffer,
634 IN UINTN BufferSize,
635 IN CONST CHAR8 *FormatString,
636 IN BASE_LIST Marker
637 );
638
677UINTN
678EFIAPI
680 OUT CHAR8 *StartOfBuffer,
681 IN UINTN BufferSize,
682 IN CONST CHAR8 *FormatString,
683 ...
684 );
685
725UINTN
726EFIAPI
728 OUT CHAR8 *StartOfBuffer,
729 IN UINTN BufferSize,
730 IN CONST CHAR16 *FormatString,
731 IN VA_LIST Marker
732 );
733
771UINTN
772EFIAPI
774 OUT CHAR8 *StartOfBuffer,
775 IN UINTN BufferSize,
776 IN CONST CHAR16 *FormatString,
777 IN BASE_LIST Marker
778 );
779
820UINTN
821EFIAPI
823 OUT CHAR8 *StartOfBuffer,
824 IN UINTN BufferSize,
825 IN CONST CHAR16 *FormatString,
826 ...
827 );
828
878RETURN_STATUS
879EFIAPI
881 IN OUT CHAR8 *Buffer,
882 IN UINTN BufferSize,
883 IN UINTN Flags,
884 IN INT64 Value,
885 IN UINTN Width
886 );
887
905UINTN
906EFIAPI
908 IN CONST CHAR16 *FormatString,
909 IN VA_LIST Marker
910 );
911
927UINTN
928EFIAPI
930 IN CONST CHAR8 *FormatString,
931 IN VA_LIST Marker
932 );
933
934#endif
UINT64 UINTN
#define CONST
Definition: Base.h:259
CHAR8 * VA_LIST
Definition: Base.h:643
#define IN
Definition: Base.h:279
UINTN * BASE_LIST
Definition: Base.h:711
#define OUT
Definition: Base.h:284
RETURN_STATUS EFIAPI UnicodeValueToStringS(IN OUT CHAR16 *Buffer, IN UINTN BufferSize, IN UINTN Flags, IN INT64 Value, IN UINTN Width)
Definition: PrintLib.c:652
UINTN EFIAPI UnicodeVSPrint(OUT CHAR16 *StartOfBuffer, IN UINTN BufferSize, IN CONST CHAR16 *FormatString, IN VA_LIST Marker)
Definition: PrintLib.c:287
UINTN EFIAPI UnicodeBSPrintAsciiFormat(OUT CHAR16 *StartOfBuffer, IN UINTN BufferSize, IN CONST CHAR8 *FormatString, IN BASE_LIST Marker)
Definition: PrintLib.c:530
UINTN EFIAPI AsciiBSPrintUnicodeFormat(OUT CHAR8 *StartOfBuffer, IN UINTN BufferSize, IN CONST CHAR16 *FormatString, IN BASE_LIST Marker)
Definition: PrintLib.c:935
UINTN EFIAPI AsciiSPrintUnicodeFormat(OUT CHAR8 *StartOfBuffer, IN UINTN BufferSize, IN CONST CHAR16 *FormatString,...)
Definition: PrintLib.c:988
UINTN EFIAPI SPrintLengthAsciiFormat(IN CONST CHAR8 *FormatString, IN VA_LIST Marker)
Definition: PrintLib.c:2117
UINTN EFIAPI UnicodeSPrint(OUT CHAR16 *StartOfBuffer, IN UINTN BufferSize, IN CONST CHAR16 *FormatString,...)
Definition: PrintLib.c:408
UINTN EFIAPI UnicodeVSPrintAsciiFormat(OUT CHAR16 *StartOfBuffer, IN UINTN BufferSize, IN CONST CHAR8 *FormatString, IN VA_LIST Marker)
Definition: PrintLib.c:465
UINTN EFIAPI AsciiVSPrintUnicodeFormat(OUT CHAR8 *StartOfBuffer, IN UINTN BufferSize, IN CONST CHAR16 *FormatString, IN VA_LIST Marker)
Definition: PrintLib.c:870
UINTN EFIAPI UnicodeSPrintAsciiFormat(OUT CHAR16 *StartOfBuffer, IN UINTN BufferSize, IN CONST CHAR8 *FormatString,...)
Definition: PrintLib.c:583
UINTN EFIAPI SPrintLength(IN CONST CHAR16 *FormatString, IN VA_LIST Marker)
Definition: PrintLib.c:2091
UINTN EFIAPI UnicodeBSPrint(OUT CHAR16 *StartOfBuffer, IN UINTN BufferSize, IN CONST CHAR16 *FormatString, IN BASE_LIST Marker)
Definition: PrintLib.c:354
UINTN EFIAPI AsciiBSPrint(OUT CHAR8 *StartOfBuffer, IN UINTN BufferSize, IN CONST CHAR8 *FormatString, IN BASE_LIST Marker)
Definition: PrintLib.c:763
UINTN EFIAPI AsciiVSPrint(OUT CHAR8 *StartOfBuffer, IN UINTN BufferSize, IN CONST CHAR8 *FormatString, IN VA_LIST Marker)
Definition: PrintLib.c:702
RETURN_STATUS EFIAPI AsciiValueToStringS(IN OUT CHAR8 *Buffer, IN UINTN BufferSize, IN UINTN Flags, IN INT64 Value, IN UINTN Width)
Definition: PrintLib.c:1055
UINTN EFIAPI AsciiSPrint(OUT CHAR8 *StartOfBuffer, IN UINTN BufferSize, IN CONST CHAR8 *FormatString,...)
Definition: PrintLib.c:813