Home
last modified time | relevance | path

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

1234

/external/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()
/external/cldr/tools/java/com/ibm/icu/dev/test/
DUTF16Util.java145 buffer.setCharAt(i, (char)ch); in setCodePointAt()
148 buffer.setCharAt(i, (char)(0xd7c0 + (ch >> 10))); in setCodePointAt()
149 buffer.setCharAt(i+1, (char)(0xdc00 + (ch & 0x3ff))); in setCodePointAt()
152 buffer.setCharAt(i, (char)ch); in setCodePointAt()
156 buffer.setCharAt(i, (char)(0xd7c0 + (ch >> 10))); in setCodePointAt()
/external/jdiff/src/jdiff/
DAPI.java297 sb.setCharAt(i ,'l'); in hideHTMLTags()
300 sb.setCharAt(i ,'a'); in hideHTMLTags()
303 sb.setCharAt(i ,'q'); in hideHTMLTags()
332 res.setCharAt(resIdx ,'<'); in showHTMLTags()
344 res.setCharAt(resIdx ,'"'); in showHTMLTags()
354 res.setCharAt(resIdx ,'&'); in showHTMLTags()
357 res.setCharAt(resIdx, c); in showHTMLTags()
415 sb.setCharAt(i, '&'); in convertHTMLTagsToXHTML()
/external/icu/android_icu4j/src/main/tests/android/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()
/external/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 …]
/external/icu/android_icu4j/src/main/tests/android/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 …]
/external/icu/android_icu4j/src/main/java/android/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.java114 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxArguments()
161 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxArguments()
172 sb.setCharAt(0, (char)argCount); in compileToStringMinMaxArguments()
/external/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()
407 labelString.setCharAt(i, '\ufffd'); in processLabel()
410 labelString.setCharAt(i, '\ufffd'); in processLabel()
416 labelString.setCharAt(i, '\ufffd'); in processLabel()
430 labelString.setCharAt(labelStart, '\ufffd'); in processLabel()
506 dest.setCharAt(i, '\ufffd'); in markBadACELabel()
511 dest.setCharAt(i, '\ufffd'); in markBadACELabel()
DSimpleFormatterImpl.java112 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxArguments()
159 sb.setCharAt(sb.length() - textLength - 1, (char)(ARG_NUM_LIMIT + textLength)); in compileToStringMinMaxArguments()
170 sb.setCharAt(0, (char)argCount); in compileToStringMinMaxArguments()
/external/owasp/sanitizer/src/main/org/owasp/html/
DEncoding.java111 sb.setCharAt(k++, ch); in stripBannedCodeunits()
112 sb.setCharAt(k++, next); in stripBannedCodeunits()
121 sb.setCharAt(k++, ch); in stripBannedCodeunits()
/external/antlr/tool/src/main/java/org/antlr/codegen/
DObjCTarget.java78 buf.setCharAt(0,'"'); in getTargetStringLiteralFromANTLRStringLiteral()
79 buf.setCharAt(literal.length()-1,'"'); in getTargetStringLiteralFromANTLRStringLiteral()
DDelphiTarget.java129 buf.setCharAt(0,'\''); in getTargetStringLiteralFromANTLRStringLiteral()
130 buf.setCharAt(literal.length()-1,'\''); in getTargetStringLiteralFromANTLRStringLiteral()
/external/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()
/external/icu/android_icu4j/src/main/tests/android/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()
/external/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()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DSystemIDResolver.java194 buf.setCharAt(i, '%'); in replaceChars()
202 buf.setCharAt(i, '/'); in replaceChars()
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DSystemIDResolver.java201 buf.setCharAt(i, '%'); in replaceChars()
209 buf.setCharAt(i, '/'); in replaceChars()
/external/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.cpp99 result.setCharAt(i, c); in canonicalLocaleString()
106 result.setCharAt(i, c); in canonicalLocaleString()
/external/icu/icu4c/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()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DStringBuilderExtensions.cs62 public static void setCharAt( this StringBuilder buffer, int index, char c ) in setCharAt() method in Antlr.Runtime.JavaExtensions.StringBuilderExtensions
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationFastLatinBuilder.java427 result.setCharAt(1 + group, (char)pri); in encodeUniqueCEs()
555 result.setCharAt(miniCEsStart + i, (char)miniCE); in encodeCharCEs()
569 result.setCharAt(headerLength + i, (char) CollationFastLatin.BAIL_OUT); in encodeContractions()
593 result.setCharAt(headerLength + i, in encodeContractions()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationFastLatinBuilder.java426 result.setCharAt(1 + group, (char)pri); in encodeUniqueCEs()
554 result.setCharAt(miniCEsStart + i, (char)miniCE); in encodeCharCEs()
568 result.setCharAt(headerLength + i, (char) CollationFastLatin.BAIL_OUT); in encodeContractions()
592 result.setCharAt(headerLength + i, in encodeContractions()
/external/icu/icu4c/source/samples/translit/answers/
Dunaccent.cpp52 str.setCharAt(0, d); in handleTransliterate()

1234