/** @file\r
\r
-Copyright (c) 2007 - 2016, Intel Corporation All rights reserved.<BR>\r
+Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
@param Str - The string\r
\r
**/\r
-\r
UINT64\r
EFIAPI\r
LXtoi (\r
return RetVal;\r
}\r
\r
+/**\r
+\r
+ Convert the character to upper case.\r
+\r
+ @param Chr the character to be converted.\r
+\r
+**/\r
STATIC\r
CHAR16\r
UnicodeToUpper (\r
return (Chr >= L'a' && Chr <= L'z') ? Chr - (L'a' - L'A') : Chr;\r
}\r
\r
+/**\r
+\r
+ Convert the character to upper case.\r
+\r
+ @param Chr the character to be converted.\r
+\r
+**/\r
STATIC\r
CHAR8\r
AsciiToUpper (\r
@param CharSet Point to the string to be found.\r
\r
**/\r
-\r
CHAR16 *\r
EFIAPI\r
StrBrk (\r
@param CharSet Point to the string to be found.\r
\r
**/\r
-\r
CHAR16 *\r
EFIAPI\r
StrTokenField (\r
return Begin;\r
}\r
\r
+/**\r
+\r
+ Find the next token after one or more specified characters.\r
+\r
+ @param String Point to the string where to find the substring.\r
+ @param CharSet Point to the string to be found.\r
+\r
+**/\r
CHAR16 *\r
EFIAPI\r
StrGetNewTokenLine (\r
return StrTokenLine (String, CharSet);\r
}\r
\r
+/**\r
+\r
+ Find the next token after one or more specified characters.\r
+\r
+ @param CharSet Point to the string to be found.\r
+\r
+**/\r
CHAR16 *\r
EFIAPI\r
StrGetNextTokenLine (\r
return StrTokenLine (NULL, CharSet);\r
}\r
\r
+/**\r
+\r
+ Find the next token after one specificed characters.\r
+\r
+ @param String Point to the string where to find the substring.\r
+ @param CharSet Point to the string to be found.\r
+\r
+**/\r
CHAR16 *\r
EFIAPI\r
StrGetNewTokenField (\r
return StrTokenField (String, CharSet);\r
}\r
\r
+/**\r
+\r
+ Find the next token after one specificed characters.\r
+\r
+ @param CharSet Point to the string to be found.\r
+\r
+**/\r
CHAR16 *\r
EFIAPI\r
StrGetNextTokenField (\r
return StrTokenField (NULL, CharSet);\r
}\r
\r
+/**\r
+\r
+ Patch a character to the end of a string.\r
+\r
+ @param Buffer The string to be patched.\r
+ @param Patch The patch character.\r
+\r
+**/\r
VOID\r
EFIAPI\r
PatchForStrTokenAfter (\r
return ;\r
}\r
\r
+/**\r
+ Patch a character at the beginning of a string.\r
+\r
+ @param Buffer The string to be patched.\r
+ @param Patch The patch character.\r
+\r
+**/\r
VOID\r
EFIAPI\r
PatchForStrTokenBefore (\r
@param CharSet Point to the string to be found.\r
\r
**/\r
-\r
CHAR8 *\r
EFIAPI\r
AsciiStrTokenField (\r
return Begin;\r
}\r
\r
+/**\r
+\r
+ Find the next token after one or more specified characters.\r
+\r
+ @param String Point to the string where to find the substring.\r
+ @param CharSet Point to the string to be found.\r
+\r
+**/\r
CHAR8 *\r
EFIAPI\r
AsciiStrGetNewTokenLine (\r
return AsciiStrTokenLine (String, CharSet);\r
}\r
\r
+/**\r
+\r
+ Find the next token after one or more specified characters.\r
+\r
+ @param CharSet Point to the string to be found.\r
+\r
+**/\r
CHAR8 *\r
EFIAPI\r
AsciiStrGetNextTokenLine (\r
return AsciiStrTokenLine (NULL, CharSet);\r
}\r
\r
+/**\r
+\r
+ Find the next token after one specificed characters.\r
+\r
+ @param String Point to the string where to find the substring.\r
+ @param CharSet Point to the string to be found.\r
+\r
+**/\r
CHAR8 *\r
EFIAPI\r
AsciiStrGetNewTokenField (\r
return AsciiStrTokenField (String, CharSet);\r
}\r
\r
+/**\r
+\r
+ Find the next token after one specificed characters.\r
+\r
+ @param CharSet Point to the string to be found.\r
+\r
+**/\r
CHAR8 *\r
EFIAPI\r
AsciiStrGetNextTokenField (\r
return AsciiStrTokenField (NULL, CharSet);\r
}\r
\r
+/**\r
+\r
+ Patch a character to the end of a string.\r
+\r
+ @param Buffer The string to be patched.\r
+ @param Patch The patch character.\r
+\r
+**/\r
VOID\r
EFIAPI\r
PatchForAsciiStrTokenAfter (\r
return ;\r
}\r
\r
+/**\r
+ Patch a character at the beginning of a string.\r
+\r
+ @param Buffer The string to be patched.\r
+ @param Patch The patch character.\r
+\r
+**/\r
VOID\r
EFIAPI\r
PatchForAsciiStrTokenBefore (\r