Home
last modified time | relevance | path

Searched refs:toCharArray (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/mapper/
DRbnfMapper.java112 private final char[] DOUBLE_BACKSLASH = "\\\\".toCharArray();
113 private final char[] LEFT_ANGLE = "<".toCharArray();
114 private final char[] RIGHT_ANGLE = ">".toCharArray();
130 return String.format("\\u%04X", cp).toCharArray();
132 return String.format("\\U%08X", cp).toCharArray();
DBreakIteratorMapper.java131 private final char[] DOUBLE_BACKSLASH = "\\\\".toCharArray();
139 return String.format("\\u%04X", cp).toCharArray();
141 return String.format("\\U%08X", cp).toCharArray();
/external/snakeyaml/src/test/java/biz/source_code/base64Coder/
DBase64CoderTest.java36 Base64Coder.decode("YQ=".toCharArray()); in testFailure1()
58 Base64Coder.decode(encoded.toCharArray()); in checkInvalid()
69 byte[] s2 = Base64Coder.decode(encoded.toCharArray()); in check()
/external/smali/smali/src/main/java/org/jf/smali/
DLiteralTools.java47 byteChars = byteLiteral.substring(0, byteLiteral.length()-1).toCharArray(); in parseByte()
49 byteChars = byteLiteral.toCharArray(); in parseByte()
117 shortChars = shortLiteral.substring(0, shortLiteral.length()-1).toCharArray(); in parseShort()
119 shortChars = shortLiteral.toCharArray(); in parseShort()
185 char[] intChars = intLiteral.toCharArray(); in parseInt()
251 longChars = longLiteral.substring(0, longLiteral.length()-1).toCharArray(); in parseLong()
253 longChars = longLiteral.toCharArray(); in parseLong()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestInverse.java121 if (!Arrays.equals(src.toCharArray(), bidi.getText())) { in _testInverseBidi()
130 printUnicode(src.toCharArray(), bidi.getLevels()); in _testInverseBidi()
147 printUnicode(src.toCharArray(), null); in _testInverseBidi()
156 printUnicode(visualLTR.toCharArray(), bidi.getLevels()); in _testInverseBidi()
166 printUnicode(logicalDest.toCharArray(), bidi.getLevels()); in _testInverseBidi()
169 printUnicode(visualDest.toCharArray(), null); in _testInverseBidi()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestInverse.java124 if (!Arrays.equals(src.toCharArray(), bidi.getText())) { in _testInverseBidi()
133 printUnicode(src.toCharArray(), bidi.getLevels()); in _testInverseBidi()
150 printUnicode(src.toCharArray(), null); in _testInverseBidi()
159 printUnicode(visualLTR.toCharArray(), bidi.getLevels()); in _testInverseBidi()
169 printUnicode(logicalDest.toCharArray(), bidi.getLevels()); in _testInverseBidi()
172 printUnicode(visualDest.toCharArray(), null); in _testInverseBidi()
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/
DUtils.java71 char[] digits = String.valueOf(n).toCharArray(); in chineseNumber()
203 this.digits = digits.toCharArray(); in ChineseDigits()
204 this.units = units.toCharArray(); in ChineseDigits()
205 this.levels = levels.toCharArray(); in ChineseDigits()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/io/
DTestJsonStringEncoder.java17 assertArrayEquals("foobar".toCharArray(), result); in testQuoteAsString()
19 assertArrayEquals("\\\"x\\\"".toCharArray(), result); in testQuoteAsString()
23 assertArrayEquals("foobar".toCharArray(), result); in testQuoteAsString()
25 assertArrayEquals("\\\"x\\\"".toCharArray(), result); in testQuoteAsString()
DSegmentedStringWriterTest.java31 w.write(nr.toCharArray()); in testSimple()
35 char[] ch = (" "+nr+" ").toCharArray(); in testSimple()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
DUtils.java67 char[] digits = String.valueOf(n).toCharArray(); in chineseNumber()
196 this.digits = digits.toCharArray(); in ChineseDigits()
197 this.units = units.toCharArray(); in ChineseDigits()
198 this.levels = levels.toCharArray(); in ChineseDigits()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DFormattedStringBuilderTest.java60 sb4.append(str.toCharArray()); in testInsertAppendCharSequence()
61 sb5.append(str.toCharArray(), null); in testInsertAppendCharSequence()
64 sb4.insert(4, str.toCharArray()); in testInsertAppendCharSequence()
65 sb5.insert(4, str.toCharArray(), null); in testInsertAppendCharSequence()
199 sb.append(sb.toCharArray(), sb.toFieldArray()); in testFields()
224 assertTrue(sb.contentEquals(sb2.toCharArray(), sb2.toFieldArray())); in testFields()
228 assertTrue(!sb.contentEquals(sb2.toCharArray(), sb2.toFieldArray())); in testFields()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DFormattedStringBuilderTest.java57 sb4.append(str.toCharArray()); in testInsertAppendCharSequence()
58 sb5.append(str.toCharArray(), null); in testInsertAppendCharSequence()
61 sb4.insert(4, str.toCharArray()); in testInsertAppendCharSequence()
62 sb5.insert(4, str.toCharArray(), null); in testInsertAppendCharSequence()
196 sb.append(sb.toCharArray(), sb.toFieldArray()); in testFields()
221 assertTrue(sb.contentEquals(sb2.toCharArray(), sb2.toFieldArray())); in testFields()
225 assertTrue(!sb.contentEquals(sb2.toCharArray(), sb2.toFieldArray())); in testFields()
/external/guava/android/guava-tests/test/com/google/common/escape/
DEscapersTest.java85 .put('x', "<hello>".toCharArray()) in testAsUnicodeEscaper()
86 .put('\uD800', "<hi>".toCharArray()) in testAsUnicodeEscaper()
87 .put('\uDC00', "<lo>".toCharArray()) in testAsUnicodeEscaper()
DArrayBasedCharEscaperTest.java41 return ("{" + c + "}").toCharArray(); in testSafeRange()
55 return ("{" + c + "}").toCharArray(); in testSafeRange_maxLessThanMin()
/external/guava/guava-tests/test/com/google/common/escape/
DEscapersTest.java85 .put('x', "<hello>".toCharArray()) in testAsUnicodeEscaper()
86 .put('\uD800', "<hi>".toCharArray()) in testAsUnicodeEscaper()
87 .put('\uDC00', "<lo>".toCharArray()) in testAsUnicodeEscaper()
DArrayBasedCharEscaperTest.java41 return ("{" + c + "}").toCharArray(); in testSafeRange()
55 return ("{" + c + "}").toCharArray(); in testSafeRange_maxLessThanMin()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DFormattedNumberRange.java168 return Arrays.hashCode(string.toCharArray()) ^ Arrays.hashCode(string.toFieldArray()) in hashCode()
188 return Arrays.equals(string.toCharArray(), _other.string.toCharArray()) in equals()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DFormattedNumberRange.java149 return Arrays.hashCode(string.toCharArray()) ^ Arrays.hashCode(string.toFieldArray()) in hashCode()
167 return Arrays.equals(string.toCharArray(), _other.string.toCharArray()) in equals()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DAllClassesTest.java190 assertTrue(signature.toCharArray()[0] == 'L' in testAllClasses001()
191 || signature.toCharArray()[0] == '['); in testAllClasses001()
207 assertTrue(signature.toCharArray()[0] == 'L' in testAllClasses001()
208 || signature.toCharArray()[0] == '['); in testAllClasses001()
DAllClassesWithGenericTest.java198 assertTrue(signature.toCharArray()[0] == 'L' in testAllClassesWithGeneric001()
199 || signature.toCharArray()[0] == '['); in testAllClassesWithGeneric001()
219 signature.toCharArray()[0] == 'L' in testAllClassesWithGeneric001()
220 || signature.toCharArray()[0] == '['); in testAllClassesWithGeneric001()
/external/jcommander/src/test/java/com/beust/jcommander/internal/
DDefaultConsoleTest.java20 Assert.assertEquals(password, "password1".toCharArray()); in readPasswordCanBeCalledMultipleTimes()
25 Assert.assertEquals(password, "password2".toCharArray()); in readPasswordCanBeCalledMultipleTimes()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/sym/
DTestSymbolTables.java24 char[] ch = id.toCharArray(); in testSyntheticWithChars()
85 char[] ch = name.toCharArray(); in testThousandsOfSymbolsWithChars()
196 char[] ch = id.toCharArray(); in testCollisionsWithChars187()
308 char[] ch = id.toCharArray(); in testShortQuotedDirectChars()
347 char[] ch = id.toCharArray(); in testShortNameCollisionsDirect()
396 char[] idChars = id.toCharArray(); in testLongSymbols17Bytes()
/external/guava/android/guava-tests/test/com/google/common/base/
DAsciiTest.java55 for (char c : IGNORED.toCharArray()) { in testCharsIgnored()
65 for (char c : LOWER.toCharArray()) { in testCharsLower()
75 for (char c : UPPER.toCharArray()) { in testCharsUpper()
/external/guava/guava-tests/test/com/google/common/base/
DAsciiTest.java55 for (char c : IGNORED.toCharArray()) { in testCharsIgnored()
65 for (char c : LOWER.toCharArray()) { in testCharsLower()
75 for (char c : UPPER.toCharArray()) { in testCharsUpper()
/external/apache-http/src/org/apache/commons/codec/binary/
DHex.java136 return decodeHex(new String(array).toCharArray()); in decode()
155 … char[] charArray = object instanceof String ? ((String) object).toCharArray() : (char[]) object; in decode()

12345678910>>...14