mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-22 21:24:35 +02:00
MdePkg/BasePrintLib: Add deprecated flag for APIs [A|U]ValueToString
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
695e4c49be
commit
342fdb6eaa
@ -491,7 +491,11 @@ UnicodeSPrintAsciiFormat (
|
|||||||
...
|
...
|
||||||
);
|
);
|
||||||
|
|
||||||
|
#ifndef DISABLE_NEW_DEPRECATED_INTERFACES
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
[ATTENTION] This function is deprecated for security reason.
|
||||||
|
|
||||||
Converts a decimal value to a Null-terminated Unicode string.
|
Converts a decimal value to a Null-terminated Unicode string.
|
||||||
|
|
||||||
Converts the decimal number specified by Value to a Null-terminated Unicode
|
Converts the decimal number specified by Value to a Null-terminated Unicode
|
||||||
@ -541,6 +545,8 @@ UnicodeValueToString (
|
|||||||
IN UINTN Width
|
IN UINTN Width
|
||||||
);
|
);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Converts a decimal value to a Null-terminated Unicode string.
|
Converts a decimal value to a Null-terminated Unicode string.
|
||||||
|
|
||||||
@ -882,7 +888,11 @@ AsciiSPrintUnicodeFormat (
|
|||||||
...
|
...
|
||||||
);
|
);
|
||||||
|
|
||||||
|
#ifndef DISABLE_NEW_DEPRECATED_INTERFACES
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
[ATTENTION] This function is deprecated for security reason.
|
||||||
|
|
||||||
Converts a decimal value to a Null-terminated ASCII string.
|
Converts a decimal value to a Null-terminated ASCII string.
|
||||||
|
|
||||||
Converts the decimal number specified by Value to a Null-terminated ASCII string
|
Converts the decimal number specified by Value to a Null-terminated ASCII string
|
||||||
@ -931,6 +941,8 @@ AsciiValueToString (
|
|||||||
IN UINTN Width
|
IN UINTN Width
|
||||||
);
|
);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Converts a decimal value to a Null-terminated Ascii string.
|
Converts a decimal value to a Null-terminated Ascii string.
|
||||||
|
|
||||||
|
@ -349,7 +349,11 @@ UnicodeSPrintAsciiFormat (
|
|||||||
return NumberOfPrinted;
|
return NumberOfPrinted;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef DISABLE_NEW_DEPRECATED_INTERFACES
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
[ATTENTION] This function is deprecated for security reason.
|
||||||
|
|
||||||
Converts a decimal value to a Null-terminated Unicode string.
|
Converts a decimal value to a Null-terminated Unicode string.
|
||||||
|
|
||||||
Converts the decimal number specified by Value to a Null-terminated Unicode
|
Converts the decimal number specified by Value to a Null-terminated Unicode
|
||||||
@ -403,6 +407,8 @@ UnicodeValueToString (
|
|||||||
return BasePrintLibConvertValueToString ((CHAR8 *)Buffer, Flags, Value, Width, 2);
|
return BasePrintLibConvertValueToString ((CHAR8 *)Buffer, Flags, Value, Width, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Converts a decimal value to a Null-terminated Unicode string.
|
Converts a decimal value to a Null-terminated Unicode string.
|
||||||
|
|
||||||
@ -781,7 +787,11 @@ AsciiSPrintUnicodeFormat (
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef DISABLE_NEW_DEPRECATED_INTERFACES
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
[ATTENTION] This function is deprecated for security reason.
|
||||||
|
|
||||||
Converts a decimal value to a Null-terminated ASCII string.
|
Converts a decimal value to a Null-terminated ASCII string.
|
||||||
|
|
||||||
Converts the decimal number specified by Value to a Null-terminated ASCII string
|
Converts the decimal number specified by Value to a Null-terminated ASCII string
|
||||||
@ -833,6 +843,8 @@ AsciiValueToString (
|
|||||||
return BasePrintLibConvertValueToString (Buffer, Flags, Value, Width, 1);
|
return BasePrintLibConvertValueToString (Buffer, Flags, Value, Width, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Converts a decimal value to a Null-terminated Ascii string.
|
Converts a decimal value to a Null-terminated Ascii string.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user