/external/chromium/third_party/icu/source/test/letest/ |
letsutil.h | 30 char *getCString(const UnicodeString *uString); 32 char *getUTF8String(const UnicodeString *uString);
|
letsutil.cpp | 30 char *getCString(const UnicodeString *uString) 32 if (uString == NULL) { 36 le_int32 uLength = uString->length(); 37 le_int32 cLength = uString->extract(0, uLength, NULL, 0, US_INV); 40 uString->extract(0, uLength, cString, cLength, US_INV); 52 const UnicodeString ustring(uChars); 54 return getCString(&ustring); 57 char *getUTF8String(const UnicodeString *uString) 59 if (uString == NULL) { 63 le_int32 uLength = uString->length() [all...] |
/external/icu4c/test/letest/ |
letsutil.h | 30 char *getCString(const UnicodeString *uString); 32 char *getUTF8String(const UnicodeString *uString);
|
letsutil.cpp | 30 char *getCString(const UnicodeString *uString) 32 if (uString == NULL) { 36 le_int32 uLength = uString->length(); 37 le_int32 cLength = uString->extract(0, uLength, NULL, 0, US_INV); 40 uString->extract(0, uLength, cString, cLength, US_INV); 52 const UnicodeString ustring(uChars); 54 return getCString(&ustring); 57 char *getUTF8String(const UnicodeString *uString) 59 if (uString == NULL) { 63 le_int32 uLength = uString->length() [all...] |
/external/chromium/third_party/icu/source/test/cintltst/ |
utexttst.c | 18 #include "unicode/ustring.h" 66 UChar uString[] = {0x41, 0x42, 0x43, 0}; 71 uta = utext_openUChars(NULL, uString, -1, &status); 88 UChar uString[] = {0x41, 0x42, 0x43, 0}; 94 uta = utext_openUChars(NULL, uString, -1, &status); 101 TEST_ASSERT(len == u_strlen(uString)); 108 UChar uString[] = {0x41, 0x42, 0x43, 0}; 116 uta = utext_openUChars(NULL, uString, -1, &status); 122 TEST_ASSERT(len == u_strlen(uString)); 127 TEST_ASSERT(c==uString[0]) [all...] |
uenumtst.c | 21 #include "unicode/ustring.h" 211 const UChar *uString = NULL; 216 while ((uString = uenum_unext(en, &len, &status))) { 217 log_verbose("read \"%s\" (UChar), length %i\n", quikU2C(uString, len), len); 282 const UChar *uString = NULL; 283 while ((uString = uenum_unext(en, &len, &status))) { 284 log_verbose("read \"%s\" (UChar), length %i\n", quikU2C(uString, len), len);
|
capitst.c | 25 #include "unicode/ustring.h" [all...] |
/external/icu4c/test/cintltst/ |
utexttst.c | 18 #include "unicode/ustring.h" 66 UChar uString[] = {0x41, 0x42, 0x43, 0}; 71 uta = utext_openUChars(NULL, uString, -1, &status); 88 UChar uString[] = {0x41, 0x42, 0x43, 0}; 94 uta = utext_openUChars(NULL, uString, -1, &status); 101 TEST_ASSERT(len == u_strlen(uString)); 108 UChar uString[] = {0x41, 0x42, 0x43, 0}; 116 uta = utext_openUChars(NULL, uString, -1, &status); 122 TEST_ASSERT(len == u_strlen(uString)); 127 TEST_ASSERT(c==uString[0]) [all...] |
uenumtst.c | 21 #include "unicode/ustring.h" 211 const UChar *uString = NULL; 216 while ((uString = uenum_unext(en, &len, &status))) { 217 log_verbose("read \"%s\" (UChar), length %i\n", quikU2C(uString, len), len); 282 const UChar *uString = NULL; 283 while ((uString = uenum_unext(en, &len, &status))) { 284 log_verbose("read \"%s\" (UChar), length %i\n", quikU2C(uString, len), len);
|
capitst.c | 25 #include "unicode/ustring.h" [all...] |
/external/webkit/WebCore/bridge/jni/jsc/ |
JavaStringJSC.h | 49 m_rep = UString().rep(); 58 m_rep = UString(reinterpret_cast<const UChar*>(uc), size).rep(); 67 m_utf8String = UString(m_rep).UTF8String(); 73 UString uString() const { return UString(m_rep); } 76 RefPtr<UString::Rep> m_rep;
|
/external/webkit/WebCore/bridge/jni/ |
JNIBridge.h | 68 operator UString() const { return m_impl.uString(); }
|
/external/webkit/JavaScriptGlue/ |
JSUtils.cpp | 53 UString CFStringToUString(CFStringRef inCFString) 55 UString result; 62 result = UString((const UChar *)buffer, len); 74 CFStringRef UStringToCFString(const UString& inUString) 96 return UStringToCFString(inIdentifier.ustring()); 217 UString uString = inValue.toString(exec); 218 result = UStringToCFString(uString); 285 UString ustr = propName.ustring(); [all...] |