summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Disk
diff options
context:
space:
mode:
authorlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-08 05:53:18 +0000
committerlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-08 05:53:18 +0000
commit4f0779023cb4f633425a6fa8df747326336f2077 (patch)
treeb4b886d425bb25ddd135777f46264f493b9a841e /MdeModulePkg/Universal/Disk
parent8052c4a2b9e0c3575e912e5867cd0d7c2669c925 (diff)
downloadedk2-platforms-4f0779023cb4f633425a6fa8df747326336f2077.tar.xz
String Reference Cleanup.
Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11762 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Disk')
-rw-r--r--MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/UnicodeCollationEng.c44
-rw-r--r--MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/UnicodeCollationEng.h44
2 files changed, 42 insertions, 46 deletions
diff --git a/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/UnicodeCollationEng.c b/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/UnicodeCollationEng.c
index 76d1ec7729..a37f5c923c 100644
--- a/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/UnicodeCollationEng.c
+++ b/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/UnicodeCollationEng.c
@@ -1,7 +1,7 @@
/** @file
Driver to implement English version of Unicode Collation Protocol.
-Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
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
@@ -171,12 +171,11 @@ InitializeUnicodeCollationEng (
/**
- Performs a case-insensitive comparison of two Null-terminated Unicode
- strings.
+ Performs a case-insensitive comparison of two Null-terminated strings.
@param This Protocol instance pointer.
- @param Str1 A pointer to a Null-terminated Unicode string.
- @param Str2 A pointer to a Null-terminated Unicode string.
+ @param Str1 A pointer to a Null-terminated string.
+ @param Str2 A pointer to a Null-terminated string.
@retval 0 Str1 is equivalent to Str2
@retval > 0 Str1 is lexically greater than Str2
@@ -205,11 +204,11 @@ EngStriColl (
/**
- Converts all the Unicode characters in a Null-terminated Unicode string to
- lower case Unicode characters.
+ Converts all the characters in a Null-terminated string to
+ lower case characters.
@param This Protocol instance pointer.
- @param Str A pointer to a Null-terminated Unicode string.
+ @param Str A pointer to a Null-terminated string.
**/
VOID
@@ -227,11 +226,11 @@ EngStrLwr (
/**
- Converts all the Unicode characters in a Null-terminated Unicode string to upper
- case Unicode characters.
+ Converts all the characters in a Null-terminated string to upper
+ case characters.
@param This Protocol instance pointer.
- @param Str A pointer to a Null-terminated Unicode string.
+ @param Str A pointer to a Null-terminated string.
**/
VOID
@@ -248,12 +247,12 @@ EngStrUpr (
}
/**
- Performs a case-insensitive comparison of a Null-terminated Unicode
- pattern string and a Null-terminated Unicode string.
+ Performs a case-insensitive comparison of a Null-terminated
+ pattern string and a Null-terminated string.
@param This Protocol instance pointer.
- @param String A pointer to a Null-terminated Unicode string.
- @param Pattern A pointer to a Null-terminated Unicode pattern string.
+ @param String A pointer to a Null-terminated string.
+ @param Pattern A pointer to a Null-terminated pattern string.
@retval TRUE Pattern was found in String.
@retval FALSE Pattern was not found in String.
@@ -385,15 +384,14 @@ EngMetaiMatch (
/**
- Converts an 8.3 FAT file name in an OEM character set to a Null-terminated
- Unicode string.
+ Converts an 8.3 FAT file name in an OEM character set to a Null-terminated string.
@param This Protocol instance pointer.
@param FatSize The size of the string Fat in bytes.
@param Fat A pointer to a Null-terminated string that contains an 8.3 file
- name using an OEM character set.
- @param String A pointer to a Null-terminated Unicode string. The string must
- be preallocated to hold FatSize Unicode characters.
+ name using an 8-bit OEM character set.
+ @param String A pointer to a Null-terminated string. The string must
+ be preallocated to hold FatSize characters.
**/
VOID
@@ -420,12 +418,12 @@ EngFatToStr (
/**
- Converts a Null-terminated Unicode string to legal characters in a FAT
+ Converts a Null-terminated string to legal characters in a FAT
filename using an OEM character set.
@param This Protocol instance pointer.
- @param String A pointer to a Null-terminated Unicode string. The string must
- be preallocated to hold FatSize Unicode characters.
+ @param String A pointer to a Null-terminated string. The string must
+ be preallocated to hold FatSize characters.
@param FatSize The size of the string Fat in bytes.
@param Fat A pointer to a Null-terminated string that contains an 8.3 file
name using an OEM character set.
diff --git a/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/UnicodeCollationEng.h b/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/UnicodeCollationEng.h
index 3e1e1dca68..ac6dfc4033 100644
--- a/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/UnicodeCollationEng.h
+++ b/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/UnicodeCollationEng.h
@@ -1,7 +1,7 @@
/** @file
Head file for Unicode Collation Protocol (English)
-Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
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
@@ -50,12 +50,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
// Prototypes
//
/**
- Performs a case-insensitive comparison of two Null-terminated Unicode
- strings.
+ Performs a case-insensitive comparison of two Null-terminated strings.
@param This Protocol instance pointer.
- @param Str1 A pointer to a Null-terminated Unicode string.
- @param Str2 A pointer to a Null-terminated Unicode string.
+ @param Str1 A pointer to a Null-terminated string.
+ @param Str2 A pointer to a Null-terminated string.
@retval 0 Str1 is equivalent to Str2
@retval > 0 Str1 is lexically greater than Str2
@@ -71,12 +70,12 @@ EngStriColl (
);
/**
- Performs a case-insensitive comparison of a Null-terminated Unicode
- pattern string and a Null-terminated Unicode string.
+ Performs a case-insensitive comparison of a Null-terminated
+ pattern string and a Null-terminated string.
@param This Protocol instance pointer.
- @param String A pointer to a Null-terminated Unicode string.
- @param Pattern A pointer to a Null-terminated Unicode pattern string.
+ @param String A pointer to a Null-terminated string.
+ @param Pattern A pointer to a Null-terminated pattern string.
@retval TRUE Pattern was found in String.
@retval FALSE Pattern was not found in String.
@@ -91,11 +90,11 @@ EngMetaiMatch (
);
/**
- Converts all the Unicode characters in a Null-terminated Unicode string to
- lower case Unicode characters.
+ Converts all the characters in a Null-terminated string to
+ lower case characters.
@param This Protocol instance pointer.
- @param Str A pointer to a Null-terminated Unicode string.
+ @param Str A pointer to a Null-terminated string.
**/
VOID
@@ -106,11 +105,11 @@ EngStrLwr (
);
/**
- Converts all the Unicode characters in a Null-terminated Unicode string to upper
- case Unicode characters.
+ Converts all the characters in a Null-terminated string to upper
+ case characters.
@param This Protocol instance pointer.
- @param Str A pointer to a Null-terminated Unicode string.
+ @param Str A pointer to a Null-terminated string.
**/
VOID
@@ -121,15 +120,14 @@ EngStrUpr (
);
/**
- Converts an 8.3 FAT file name in an OEM character set to a Null-terminated
- Unicode string.
+ Converts an 8.3 FAT file name in an OEM character set to a Null-terminated string.
@param This Protocol instance pointer.
@param FatSize The size of the string Fat in bytes.
@param Fat A pointer to a Null-terminated string that contains an 8.3 file
- name using an OEM character set.
- @param String A pointer to a Null-terminated Unicode string. The string must
- be preallocated to hold FatSize Unicode characters.
+ name using an 8-bit OEM character set.
+ @param String A pointer to a Null-terminated string. The string must
+ be preallocated to hold FatSize characters.
**/
VOID
@@ -142,12 +140,12 @@ EngFatToStr (
);
/**
- Converts a Null-terminated Unicode string to legal characters in a FAT
+ Converts a Null-terminated string to legal characters in a FAT
filename using an OEM character set.
@param This Protocol instance pointer.
- @param String A pointer to a Null-terminated Unicode string. The string must
- be preallocated to hold FatSize Unicode characters.
+ @param String A pointer to a Null-terminated string. The string must
+ be preallocated to hold FatSize characters.
@param FatSize The size of the string Fat in bytes.
@param Fat A pointer to a Null-terminated string that contains an 8.3 file
name using an OEM character set.