mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/EbcDebugger: Change function names
Change UnicodeToUpper to InternalUnicodeToUpper. Change AsciiToUpper to InternalAsciiToUpper. These changes are committed for bisectability, or build failure will occur when 2/7 is applied. Because the introduced function names in 2/7 are the same as ones in EdbSupporting.c. https://bugzilla.tianocore.org/show_bug.cgi?id=1369 Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao Wu <hao.a.wu@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Star Zeng <star.zeng@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com> Reviewed-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
This commit is contained in:
parent
41dfc44dc6
commit
cecbecb71d
|
@ -1,6 +1,6 @@
|
||||||
/** @file
|
/** @file
|
||||||
|
|
||||||
Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -316,7 +316,7 @@ AsciiAtoi (
|
||||||
**/
|
**/
|
||||||
STATIC
|
STATIC
|
||||||
CHAR16
|
CHAR16
|
||||||
UnicodeToUpper (
|
InternalUnicodeToUpper (
|
||||||
IN CHAR16 Chr
|
IN CHAR16 Chr
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -332,7 +332,7 @@ UnicodeToUpper (
|
||||||
**/
|
**/
|
||||||
STATIC
|
STATIC
|
||||||
CHAR8
|
CHAR8
|
||||||
AsciiToUpper (
|
InternalAsciiToUpper (
|
||||||
IN CHAR8 Chr
|
IN CHAR8 Chr
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -390,12 +390,12 @@ StriCmp (
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
while ((*String != L'\0') &&
|
while ((*String != L'\0') &&
|
||||||
(UnicodeToUpper (*String) == UnicodeToUpper (*String2))) {
|
(InternalUnicodeToUpper (*String) == InternalUnicodeToUpper (*String2))) {
|
||||||
String++;
|
String++;
|
||||||
String2++;
|
String2++;
|
||||||
}
|
}
|
||||||
|
|
||||||
return UnicodeToUpper (*String) - UnicodeToUpper (*String2);
|
return InternalUnicodeToUpper (*String) - InternalUnicodeToUpper (*String2);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -418,12 +418,12 @@ StriCmpUnicodeAndAscii (
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
while ((*String != L'\0') &&
|
while ((*String != L'\0') &&
|
||||||
(UnicodeToUpper (*String) == (CHAR16)AsciiToUpper (*String2))) {
|
(InternalUnicodeToUpper (*String) == (CHAR16)InternalAsciiToUpper (*String2))) {
|
||||||
String++;
|
String++;
|
||||||
String2++;
|
String2++;
|
||||||
}
|
}
|
||||||
|
|
||||||
return UnicodeToUpper (*String) - (CHAR16)AsciiToUpper (*String2);
|
return InternalUnicodeToUpper (*String) - (CHAR16)InternalAsciiToUpper (*String2);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue