Home
last modified time | relevance | path

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

1234

/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/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/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/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/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/jackson-core/src/main/java/com/fasterxml/jackson/core/
DBase64Variants.java69 sb.setCharAt(sb.indexOf("+"), '-');
70 sb.setCharAt(sb.indexOf("/"), '_');
/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()
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()
/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()
418 labelString.setCharAt(i, '\ufffd'); in processLabel()
421 labelString.setCharAt(i, '\ufffd'); in processLabel()
427 labelString.setCharAt(i, '\ufffd'); in processLabel()
441 labelString.setCharAt(labelStart, '\ufffd'); in processLabel()
517 dest.setCharAt(i, '\ufffd'); in markBadACELabel()
522 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()
/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/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/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/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DSystemIDResolver.java201 buf.setCharAt(i, '%'); in replaceChars()
209 buf.setCharAt(i, '/'); in replaceChars()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DSystemIDResolver.java194 buf.setCharAt(i, '%'); in replaceChars()
202 buf.setCharAt(i, '/'); in replaceChars()
/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/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/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()
/external/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()
/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/icu4c/source/samples/translit/
Dunaccent.cpp55 str.setCharAt(0, d); in handleTransliterate()
/external/icu/icu4c/source/samples/translit/answers/
Dunaccent.cpp52 str.setCharAt(0, d); in handleTransliterate()

1234