]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSupportString.c
MdeModulePkg/EbcDxe: Fix incorrect Copyright format
[mirror_edk2.git] / MdeModulePkg / Universal / EbcDxe / EbcDebugger / EdbSupportString.c
index bb0626fae7e43535868d05730907172988a61c95..78a0559079e324790847bfe12834d4286f4fe7ea 100644 (file)
@@ -1,6 +1,6 @@
 /** @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
@@ -85,7 +85,6 @@ Xtoi (
   @param  Str  -  The string\r
 \r
 **/\r
-\r
 UINT64\r
 EFIAPI\r
 LXtoi (\r
@@ -308,6 +307,13 @@ AsciiAtoi (
   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
@@ -317,6 +323,13 @@ UnicodeToUpper (
   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
@@ -520,7 +533,6 @@ StrSpn (
   @param  CharSet   Point to the string to be found.\r
 \r
 **/\r
-\r
 CHAR16 *\r
 EFIAPI\r
 StrBrk (\r
@@ -589,7 +601,6 @@ StrTokenLine (
   @param  CharSet   Point to the string to be found.\r
 \r
 **/\r
-\r
 CHAR16 *\r
 EFIAPI\r
 StrTokenField (\r
@@ -621,6 +632,14 @@ StrTokenField (
   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
@@ -631,6 +650,13 @@ StrGetNewTokenLine (
   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
@@ -640,6 +666,14 @@ StrGetNextTokenLine (
   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
@@ -650,6 +684,13 @@ StrGetNewTokenField (
   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
@@ -659,6 +700,14 @@ StrGetNextTokenField (
   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
@@ -689,6 +738,13 @@ PatchForStrTokenAfter (
   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
@@ -831,7 +887,6 @@ AsciiStrTokenLine (
   @param  CharSet   Point to the string to be found.\r
 \r
 **/\r
-\r
 CHAR8 *\r
 EFIAPI\r
 AsciiStrTokenField (\r
@@ -863,6 +918,14 @@ AsciiStrTokenField (
   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
@@ -873,6 +936,13 @@ AsciiStrGetNewTokenLine (
   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
@@ -882,6 +952,14 @@ AsciiStrGetNextTokenLine (
   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
@@ -892,6 +970,13 @@ AsciiStrGetNewTokenField (
   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
@@ -901,6 +986,14 @@ AsciiStrGetNextTokenField (
   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
@@ -931,6 +1024,13 @@ PatchForAsciiStrTokenAfter (
   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