TianoCore EDK2 master
Loading...
Searching...
No Matches
PrintLibInternal.h
Go to the documentation of this file.
1
9#ifndef __PRINT_LIB_INTERNAL_H__
10#define __PRINT_LIB_INTERNAL_H__
11
12#include <Base.h>
13#include <Library/PrintLib.h>
14#include <Library/BaseLib.h>
15#include <Library/DebugLib.h>
16#include <Library/PcdLib.h>
17
18//
19// Print primitives
20//
21#define PREFIX_SIGN BIT1
22#define PREFIX_BLANK BIT2
23#define LONG_TYPE BIT4
24#define OUTPUT_UNICODE BIT6
25#define FORMAT_UNICODE BIT8
26#define PAD_TO_WIDTH BIT9
27#define ARGUMENT_UNICODE BIT10
28#define PRECISION BIT11
29#define ARGUMENT_REVERSED BIT12
30#define COUNT_ONLY_NO_PRINT BIT13
31#define UNSIGNED_TYPE BIT14
32
33//
34// Record date and time information
35//
36typedef struct {
37 UINT16 Year;
38 UINT8 Month;
39 UINT8 Day;
40 UINT8 Hour;
41 UINT8 Minute;
42 UINT8 Second;
43 UINT8 Pad1;
44 UINT32 Nanosecond;
45 INT16 TimeZone;
46 UINT8 Daylight;
47 UINT8 Pad2;
48} TIME;
49
80 OUT CHAR8 *Buffer,
81 IN UINTN BufferSize,
82 IN UINTN Flags,
83 IN CONST CHAR8 *Format,
84 IN VA_LIST VaListMarker OPTIONAL,
85 IN BASE_LIST BaseListMarker OPTIONAL
86 );
87
108UINTN
109EFIAPI
111 OUT CHAR8 *StartOfBuffer,
112 IN UINTN BufferSize,
113 IN UINTN Flags,
114 IN CONST CHAR8 *FormatString,
115 ...
116 );
117
134CHAR8 *
136 OUT CHAR8 *Buffer,
137 IN CHAR8 *EndBuffer,
138 IN INTN Length,
139 IN UINTN Character,
140 IN INTN Increment
141 );
142
155CHAR8 *
157 IN OUT CHAR8 *Buffer,
158 IN INT64 Value,
159 IN UINTN Radix
160 );
161
200UINTN
202 IN OUT CHAR8 *Buffer,
203 IN UINTN Flags,
204 IN INT64 Value,
205 IN UINTN Width,
206 IN UINTN Increment
207 );
208
260RETURN_STATUS
262 IN OUT CHAR8 *Buffer,
263 IN UINTN BufferSize,
264 IN UINTN Flags,
265 IN INT64 Value,
266 IN UINTN Width,
267 IN UINTN Increment
268 );
269
270#endif
UINT64 UINTN
INT64 INTN
#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
CHAR8 * BasePrintLibValueToString(IN OUT CHAR8 *Buffer, IN INT64 Value, IN UINTN Radix)
CHAR8 * BasePrintLibFillBuffer(OUT CHAR8 *Buffer, IN CHAR8 *EndBuffer, IN INTN Length, IN UINTN Character, IN INTN Increment)
UINTN EFIAPI BasePrintLibSPrint(OUT CHAR8 *StartOfBuffer, IN UINTN BufferSize, IN UINTN Flags, IN CONST CHAR8 *FormatString,...)
RETURN_STATUS BasePrintLibConvertValueToStringS(IN OUT CHAR8 *Buffer, IN UINTN BufferSize, IN UINTN Flags, IN INT64 Value, IN UINTN Width, IN UINTN Increment)
UINTN BasePrintLibConvertValueToString(IN OUT CHAR8 *Buffer, IN UINTN Flags, IN INT64 Value, IN UINTN Width, IN UINTN Increment)
UINTN BasePrintLibSPrintMarker(OUT CHAR8 *Buffer, IN UINTN BufferSize, IN UINTN Flags, IN CONST CHAR8 *Format, IN VA_LIST VaListMarker OPTIONAL, IN BASE_LIST BaseListMarker OPTIONAL)