Home
last modified time | relevance | path

Searched refs:setCharAt (Results 1 – 25 of 112) sorted by relevance

12345

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/
DUTF16Util.java150 buffer.setCharAt(i, (char)ch); in setCodePointAt()
153 buffer.setCharAt(i, (char)(0xd7c0 + (ch >> 10))); in setCodePointAt()
154 buffer.setCharAt(i+1, (char)(0xdc00 + (ch & 0x3ff))); in setCodePointAt()
157 buffer.setCharAt(i, (char)ch); in setCodePointAt()
161 buffer.setCharAt(i, (char)(0xd7c0 + (ch >> 10))); in setCodePointAt()
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DUTF16Util.java146 buffer.setCharAt(i, (char)ch); in setCodePointAt()
149 buffer.setCharAt(i, (char)(0xd7c0 + (ch >> 10))); in setCodePointAt()
150 buffer.setCharAt(i+1, (char)(0xdc00 + (ch & 0x3ff))); in setCodePointAt()
153 buffer.setCharAt(i, (char)ch); in setCodePointAt()
157 buffer.setCharAt(i, (char)(0xd7c0 + (ch >> 10))); in setCodePointAt()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
DUTF16Test.java835 UTF16.setCharAt(strbuff, i, '0'); in TestSetCharAt()
836 UTF16.setCharAt(array, length, i, '0'); in TestSetCharAt()
843 UTF16.setCharAt(strbuff, 0, 0x10000); in TestSetCharAt()
844 UTF16.setCharAt(strbuff, 4, 0x10000); in TestSetCharAt()
845 UTF16.setCharAt(strbuff, 7, 0x10000); in TestSetCharAt()
850 length = UTF16.setCharAt(array, length, 0, 0x10000); in TestSetCharAt()
851 length = UTF16.setCharAt(array, length, 4, 0x10000); in TestSetCharAt()
852 length = UTF16.setCharAt(array, length, 7, 0x10000); in TestSetCharAt()
857 UTF16.setCharAt(strbuff, 0, '0'); in TestSetCharAt()
858 UTF16.setCharAt(strbuff, 1, '1'); in TestSetCharAt()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUTF16Test.java832 UTF16.setCharAt(strbuff, i, '0'); in TestSetCharAt()
833 UTF16.setCharAt(array, length, i, '0'); in TestSetCharAt()
840 UTF16.setCharAt(strbuff, 0, 0x10000); in TestSetCharAt()
841 UTF16.setCharAt(strbuff, 4, 0x10000); in TestSetCharAt()
842 UTF16.setCharAt(strbuff, 7, 0x10000); in TestSetCharAt()
847 length = UTF16.setCharAt(array, length, 0, 0x10000); in TestSetCharAt()
848 length = UTF16.setCharAt(array, length, 4, 0x10000); in TestSetCharAt()
849 length = UTF16.setCharAt(array, length, 7, 0x10000); in TestSetCharAt()
854 UTF16.setCharAt(strbuff, 0, '0'); in TestSetCharAt()
855 UTF16.setCharAt(strbuff, 1, '1'); in TestSetCharAt()
[all …]
/third_party/libphonenumber/cpp/test/phonenumbers/
Dunicodestring_test.cc139 s.setCharAt(0, 'H'); in TEST()
145 s.setCharAt(2, 'L'); in TEST()
151 s.setCharAt(4, 'O'); in TEST()
157 s.setCharAt(4, 0xFF10 /* 0 */); in TEST()
227 s.setCharAt(1, 'E'); in TEST()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUTS46.java248 dest.setCharAt(labelLimit, '\ufffd'); in processUnicode()
274 dest.setCharAt(i++, 's'); in mapDevChars()
280 dest.setCharAt(i++, '\u03c3'); in mapDevChars()
417 labelString.setCharAt(i, '\ufffd'); in processLabel()
420 labelString.setCharAt(i, '\ufffd'); in processLabel()
426 labelString.setCharAt(i, '\ufffd'); in processLabel()
440 labelString.setCharAt(labelStart, '\ufffd'); in processLabel()
516 dest.setCharAt(i, '\ufffd'); in markBadACELabel()
521 dest.setCharAt(i, '\ufffd'); in markBadACELabel()
DSimpleFormatterImpl.java118 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxArguments()
165 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxArguments()
176 sb.setCharAt(0, (char)argCount); in compileToStringMinMaxArguments()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DUTS46.java249 dest.setCharAt(labelLimit, '\ufffd'); in processUnicode()
275 dest.setCharAt(i++, 's'); in mapDevChars()
281 dest.setCharAt(i++, '\u03c3'); in mapDevChars()
408 labelString.setCharAt(i, '\ufffd'); in processLabel()
411 labelString.setCharAt(i, '\ufffd'); in processLabel()
417 labelString.setCharAt(i, '\ufffd'); in processLabel()
431 labelString.setCharAt(labelStart, '\ufffd'); in processLabel()
507 dest.setCharAt(i, '\ufffd'); in markBadACELabel()
512 dest.setCharAt(i, '\ufffd'); in markBadACELabel()
DSimpleFormatterImpl.java120 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxArguments()
167 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxArguments()
178 sb.setCharAt(0, (char)argCount); in compileToStringMinMaxArguments()
/third_party/icu/icu4c/source/test/intltest/
Drbbimonkeytest.cpp449 … fExpectedBreaks.setCharAt(0, (UChar)1); // Force an expected break before the start of the text. in set()
504 fRuleForPosition.setCharAt(i, (UChar)ruleNum); in set()
506 f2ndRuleForPos.setCharAt(i, (UChar)ruleNum); in set()
523 fExpectedBreaks.setCharAt(breakPos, (UChar)1); in set()
715 fTestData->fActualBreaks.setCharAt(bk, 1); in testForwards()
737 fTestData->fActualBreaks.setCharAt(bk, 1); in testFollowing()
764 fTestData->fActualBreaks.setCharAt(bk, 1); in testPrevious()
797 fTestData->fActualBreaks.setCharAt(bk, 1); in testPreceding()
816 fTestData->fActualBreaks.setCharAt(i, 1); in testIsBoundary()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DBreakIteratorTest.java44 work.setCharAt(0, testChars.charAt(i)); in doOtherInvariantTest()
46 work.setCharAt(3, testChars.charAt(j)); in doOtherInvariantTest()
68 work.setCharAt(1, c); in doOtherInvariantTest()
74 work.setCharAt(2, c); in doOtherInvariantTest()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/
DBreakIteratorTest.java47 work.setCharAt(0, testChars.charAt(i)); in doOtherInvariantTest()
49 work.setCharAt(3, testChars.charAt(j)); in doOtherInvariantTest()
71 work.setCharAt(1, c); in doOtherInvariantTest()
77 work.setCharAt(2, c); in doOtherInvariantTest()
/third_party/node/deps/icu-small/source/common/
Dsimpleformatter.cpp100 compiledPattern.setCharAt(compiledPattern.length() - textLength - 1, in applyPatternMinMaxArguments()
146 compiledPattern.setCharAt(compiledPattern.length() - textLength - 1, in applyPatternMinMaxArguments()
154 compiledPattern.setCharAt(0, (UChar)argCount); in applyPatternMinMaxArguments()
Dlocutil.cpp100 result.setCharAt(i, c); in canonicalLocaleString()
107 result.setCharAt(i, c); in canonicalLocaleString()
/third_party/icu/icu4c/source/common/
Dsimpleformatter.cpp100 compiledPattern.setCharAt(compiledPattern.length() - textLength - 1, in applyPatternMinMaxArguments()
146 compiledPattern.setCharAt(compiledPattern.length() - textLength - 1, in applyPatternMinMaxArguments()
154 compiledPattern.setCharAt(0, (UChar)argCount); in applyPatternMinMaxArguments()
Dlocutil.cpp100 result.setCharAt(i, c); in canonicalLocaleString()
107 result.setCharAt(i, c); in canonicalLocaleString()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dsimpleformatter.cpp100 compiledPattern.setCharAt(compiledPattern.length() - textLength - 1, in applyPatternMinMaxArguments()
146 compiledPattern.setCharAt(compiledPattern.length() - textLength - 1, in applyPatternMinMaxArguments()
154 compiledPattern.setCharAt(0, (UChar)argCount); in applyPatternMinMaxArguments()
Dlocutil.cpp99 result.setCharAt(i, c); in canonicalLocaleString()
106 result.setCharAt(i, c); in canonicalLocaleString()
/third_party/skia/third_party/externals/icu/source/common/
Dsimpleformatter.cpp100 compiledPattern.setCharAt(compiledPattern.length() - textLength - 1, in applyPatternMinMaxArguments()
146 compiledPattern.setCharAt(compiledPattern.length() - textLength - 1, in applyPatternMinMaxArguments()
154 compiledPattern.setCharAt(0, (UChar)argCount); in applyPatternMinMaxArguments()
Dlocutil.cpp100 result.setCharAt(i, c); in canonicalLocaleString()
107 result.setCharAt(i, c); in canonicalLocaleString()
/third_party/icu/icu4c/source/samples/ustring/
Dustring.cpp463 three.setCharAt(1, 0x39); in demoUnicodeStringStorage()
487 four.setCharAt(1, 0x39); in demoUnicodeStringStorage()
495 two.setCharAt(1, 0x21); in demoUnicodeStringStorage()
508 one.setCharAt(1, 0x25); in demoUnicodeStringStorage()
/third_party/skia/third_party/externals/icu/source/samples/ustring/
Dustring.cpp463 three.setCharAt(1, 0x39); in demoUnicodeStringStorage()
487 four.setCharAt(1, 0x39); in demoUnicodeStringStorage()
495 two.setCharAt(1, 0x21); in demoUnicodeStringStorage()
508 one.setCharAt(1, 0x25); in demoUnicodeStringStorage()
/third_party/flutter/skia/third_party/externals/icu/source/samples/ustring/
Dustring.cpp460 three.setCharAt(1, 0x39); in demoUnicodeStringStorage()
484 four.setCharAt(1, 0x39); in demoUnicodeStringStorage()
492 two.setCharAt(1, 0x21); in demoUnicodeStringStorage()
505 one.setCharAt(1, 0x25); in demoUnicodeStringStorage()
/third_party/icu/icu4c/source/samples/translit/answers/
Dunaccent.cpp52 str.setCharAt(0, d); in handleTransliterate()
/third_party/flutter/skia/third_party/externals/icu/source/samples/translit/answers/
Dunaccent.cpp52 str.setCharAt(0, d); in handleTransliterate()

12345