version 1.11, 2005/03/08 05:46:35
|
version 1.14, 2005/04/07 19:56:09
|
|
|
// | // |
// Author: Dave Rosckes (rosckes@us.ibm.com) | // Author: Dave Rosckes (rosckes@us.ibm.com) |
// | // |
|
// Modified By: David Dillard, VERITAS Software Corp. |
|
// (david.dillard@veritas.com) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
#include <Pegasus/Common/Array.h> | #include <Pegasus/Common/Array.h> |
#include "CommonUTF.h" | #include "CommonUTF.h" |
#include <cctype> |
|
#include <cstdio> | #include <cstdio> |
#include <cstring> | #include <cstring> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
| |
inline Uint8 _hexCharToNumeric(const Uint16 c) |
inline Uint8 _hexCharToNumeric(Char16 c) |
{ | { |
Uint8 n; | Uint8 n; |
| |
|
|
0x00};*/ | 0x00};*/ |
// char tmp_[] = "class"; | // char tmp_[] = "class"; |
// char * tmp = legal; | // char * tmp = legal; |
Uint32 count = 0; |
size_t count = 0; |
Uint32 size = strlen(legal); |
const size_t size = strlen(legal); |
// printf("size = %d\n",size); | // printf("size = %d\n",size); |
while(count<size) | while(count<size) |
{ | { |