BaseTools/CommonLib: get rid of 'native' type string parsing routines
Parsing a string into an integer variable of the native word size is not defined for the BaseTools, since the same tools may be used to build firmware for different targets with different native word sizes. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@ -251,16 +251,6 @@ StrSize (
|
||||
CONST CHAR16 *String
|
||||
);
|
||||
|
||||
UINTN
|
||||
StrHexToUintn (
|
||||
CONST CHAR16 *String
|
||||
);
|
||||
|
||||
UINTN
|
||||
StrDecimalToUintn (
|
||||
CONST CHAR16 *String
|
||||
);
|
||||
|
||||
UINT64
|
||||
StrHexToUint64 (
|
||||
CONST CHAR16 *String
|
||||
@ -278,13 +268,6 @@ StrHexToUint64S (
|
||||
UINT64 *Data
|
||||
);
|
||||
|
||||
RETURN_STATUS
|
||||
StrHexToUintnS (
|
||||
CONST CHAR16 *String,
|
||||
CHAR16 **EndPointer, OPTIONAL
|
||||
UINTN *Data
|
||||
);
|
||||
|
||||
RETURN_STATUS
|
||||
StrDecimalToUint64S (
|
||||
CONST CHAR16 *String,
|
||||
@ -292,13 +275,6 @@ StrDecimalToUint64S (
|
||||
UINT64 *Data
|
||||
);
|
||||
|
||||
RETURN_STATUS
|
||||
StrDecimalToUintnS (
|
||||
CONST CHAR16 *String,
|
||||
CHAR16 **EndPointer, OPTIONAL
|
||||
UINTN *Data
|
||||
);
|
||||
|
||||
VOID *
|
||||
ReallocatePool (
|
||||
UINTN OldSize,
|
||||
|
Reference in New Issue
Block a user