Home
last modified time | relevance | path

Searched refs:toChars (Results 1 – 25 of 55) sorted by relevance

123

/external/guava/android/guava-tests/test/com/google/common/escape/
DUnicodeEscaperTest.java100 Character.toChars(min, dst, 1); in testSurrogatePairs()
101 Character.toChars(s1, dst, 3); in testSurrogatePairs()
102 Character.toChars(s2, dst, 5); in testSurrogatePairs()
103 Character.toChars(s3, dst, 7); in testSurrogatePairs()
104 Character.toChars(max, dst, 9); in testSurrogatePairs()
/external/guava/guava-tests/test/com/google/common/escape/
DUnicodeEscaperTest.java100 Character.toChars(min, dst, 1); in testSurrogatePairs()
101 Character.toChars(s1, dst, 3); in testSurrogatePairs()
102 Character.toChars(s2, dst, 5); in testSurrogatePairs()
103 Character.toChars(s3, dst, 7); in testSurrogatePairs()
104 Character.toChars(max, dst, 9); in testSurrogatePairs()
/external/jackson-core/src/test/java/com/fasterxml/jackson/failing/
DSurrogate223Test.java22 final String toQuote = new String(Character.toChars(0x1F602)); in testSurrogatesByteBacked()
59 final String toQuote = new String(Character.toChars(0x1F602)); in testSurrogatesCharBacked()
/external/jsilver/src/com/google/streamhtmlparser/util/
DEntityResolver.java243 return new String(Character.toChars( in convertEntity()
246 return new String(Character.toChars( in convertEntity()
/external/llvm-project/flang/runtime/
Dcharacter.cpp237 TO *to, const FROM *from, std::size_t toChars, std::size_t fromChars) { in CopyAndPad() argument
239 std::size_t copyChars{std::min(toChars, fromChars)}; in CopyAndPad()
243 for (std::size_t j{copyChars}; j < toChars; ++j) { in CopyAndPad()
246 } else if (toChars <= fromChars) { in CopyAndPad()
247 std::memcpy(to, from, toChars * shift<TO>); in CopyAndPad()
250 for (std::size_t j{fromChars}; j < toChars; ++j) { in CopyAndPad()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DStringResources.java93 return Character.toChars(Integer.valueOf(codePoint, 16)); in extractCodePoint()
/external/icu/android_icu4j/testing/src/android/icu/extratest/
DAndroidTransliteratorParameterizedTest.java85 String sourceString = new String(Character.toChars(exampleCodePoint)); in testTranslierateASourceCharacter()
/external/cldr/tools/java/org/unicode/cldr/draft/
DCharEncoder.java61 int len = Character.toChars(codepoint, chars, 0); in getValue()
DGapString.java178 return insert(index, Character.toChars(x)); // rare, so inefficiency doesn't matter in insertCodePoint()
/external/guava/guava/src/com/google/common/escape/
DEscapers.java236 Character.toChars(cp, surrogateChars, 0); in wrap()
/external/guava/android/guava/src/com/google/common/escape/
DEscapers.java236 Character.toChars(cp, surrogateChars, 0); in wrap()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPadder.java64 String paddingString = String.valueOf(Character.toChars(cp)); in codePoints()
/external/owasp/sanitizer/src/tests/org/owasp/html/
DEncodingTest.java67 String.valueOf(Character.toChars(0x10000)), in testDecodeHtml()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DPadder.java71 String paddingString = String.valueOf(Character.toChars(cp)); in codePoints()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUCharacterSurrogateTest.java217 UCharacter.toChars(cp, chars, 1); in TestToChars()
224 chars = UCharacter.toChars(cp); in TestToChars()
DUCharacterTest.java3458 UCharacter.toChars(-1*positive_cases[i],dst,0);
3465 … if(UCharacter.toChars(UCharacter.MIN_SUPPLEMENTARY_CODE_POINT-positive_cases[i], dst, 0) != 1){
3467 … UCharacter.toChars(UCharacter.MIN_SUPPLEMENTARY_CODE_POINT-positive_cases[i], dst, 0));
3473 UCharacter.toChars(UCharacter.MAX_CODE_POINT+positive_cases[i],dst,0);
3486 UCharacter.toChars(-1*positive_cases[i]);
3493 … if(UCharacter.toChars(UCharacter.MIN_SUPPLEMENTARY_CODE_POINT-positive_cases[i]).length <= 0){
3501 UCharacter.toChars(UCharacter.MAX_CODE_POINT+positive_cases[i]);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterSurrogateTest.java214 UCharacter.toChars(cp, chars, 1); in TestToChars()
221 chars = UCharacter.toChars(cp); in TestToChars()
DUCharacterTest.java3455 UCharacter.toChars(-1*positive_cases[i],dst,0);
3462 … if(UCharacter.toChars(UCharacter.MIN_SUPPLEMENTARY_CODE_POINT-positive_cases[i], dst, 0) != 1){
3464 … UCharacter.toChars(UCharacter.MIN_SUPPLEMENTARY_CODE_POINT-positive_cases[i], dst, 0));
3470 UCharacter.toChars(UCharacter.MAX_CODE_POINT+positive_cases[i],dst,0);
3483 UCharacter.toChars(-1*positive_cases[i]);
3490 … if(UCharacter.toChars(UCharacter.MIN_SUPPLEMENTARY_CODE_POINT-positive_cases[i]).length <= 0){
3498 UCharacter.toChars(UCharacter.MAX_CODE_POINT+positive_cases[i]);
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/external/com/google/gdata/util/common/base/
DUnicodeEscaper.java360 int len = Character.toChars(cp, decodedChars, 0); in escape()
/external/cldr/tools/java/org/unicode/cldr/util/
DWith.java191 return String.valueOf(Character.toChars(codePoints[0])); in fromCodePoint()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestStringByteConverter.java196 String test2 = new String(Character.toChars(test)); in testInt()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DDecodeUtf8Test.java21 String str = new String(Character.toChars(i)); in testRoundTripAllValidChars()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DUCharacter.java4562 return new String(Character.toChars(ch)); in toString()
6330 public static final int toChars(int cp, char[] dst, int dstIndex) { in toChars() method in UCharacter
6331 return Character.toChars(cp, dst, dstIndex); in toChars()
6343 public static final char[] toChars(int cp) { in toChars() method in UCharacter
6344 return Character.toChars(cp); in toChars()
/external/icu/android_icu4j/src/main/java/android/icu/lang/
DUCharacter.java3984 return new String(Character.toChars(ch)); in toString()
5665 public static final int toChars(int cp, char[] dst, int dstIndex) { in toChars() method in UCharacter
5666 return Character.toChars(cp, dst, dstIndex); in toChars()
5677 public static final char[] toChars(int cp) { in toChars() method in UCharacter
5678 return Character.toChars(cp); in toChars()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTextTrieMap.java172 char[] chars = Character.toChars(cp); in next()

123