Home
last modified time | relevance | path

Searched refs:chStr (Results 1 – 8 of 8) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dstrtest.cpp500 CharString chStr(longStr, errorCode); in TestCharString() local
501 if (0 != strcmp(longStr, chStr.data()) || (int32_t)strlen(longStr) != chStr.length()) { in TestCharString()
506 copy.copyFrom(chStr, errorCode); in TestCharString()
510 StringPiece sp(chStr.toStringPiece()); in TestCharString()
512 chStr.append(sp, errorCode).append(chStr, errorCode); in TestCharString()
517 if (0 != strcmp(expected, chStr.data()) || (int32_t)strlen(expected) != chStr.length()) { in TestCharString()
520 chStr.clear().append("abc", errorCode).append("defghij", 3, errorCode); in TestCharString()
521 if (0 != strcmp("abcdef", chStr.data()) || 6 != chStr.length()) { in TestCharString()
524 chStr.appendInvariantChars(UNICODE_STRING_SIMPLE( in TestCharString()
529 if (0 != strcmp(expected, chStr.data()) || (int32_t)strlen(expected) != chStr.length()) { in TestCharString()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DTestDeprecatedNormalizerAPI.java140 String chStr = String.valueOf(ch); in TestRoundTrip() local
152 if (!comp.equals(chStr)) { in TestRoundTrip()
153 errln("ERROR: Round trip invalid: " + hex(chStr) + " --> " + hex(decomp) in TestRoundTrip()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DTestDeprecatedNormalizerAPI.java137 String chStr = String.valueOf(ch); in TestRoundTrip() local
149 if (!comp.equals(chStr)) { in TestRoundTrip()
150 errln("ERROR: Round trip invalid: " + hex(chStr) + " --> " + hex(decomp) in TestRoundTrip()
/external/icu/icu4c/source/common/
Dcaniter.cpp326 UnicodeString *chStr = new UnicodeString(cp); in permute() local
328 if (chStr == NULL) { in permute()
332 chStr->append(*permRes); //*((UnicodeString *)(ne->value.pointer)); in permute()
334 result->put(*chStr, chStr, status); in permute()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCanonicalIterator.java195 String chStr = UTF16.valueOf(source, i); in permute() local
197 String piece = chStr + s; in permute()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCanonicalIterator.java199 String chStr = UTF16.valueOf(source, i); in permute() local
201 String piece = chStr + s; in permute()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUCharacterName.java376 String chStr = Integer.toHexString(ch).toUpperCase(Locale.ENGLISH); in getExtendedOr10Name() local
377 int zeros = 4 - chStr.length(); in getExtendedOr10Name()
382 m_utilStringBuffer_.append(chStr); in getExtendedOr10Name()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUCharacterName.java377 String chStr = Integer.toHexString(ch).toUpperCase(Locale.ENGLISH); in getExtendedOr10Name() local
378 int zeros = 4 - chStr.length(); in getExtendedOr10Name()
383 m_utilStringBuffer_.append(chStr); in getExtendedOr10Name()