Home
last modified time | relevance | path

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

1234567891011

/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/
DCharSinkTester.java115 char[] expected = "EFGCDECBA".toCharArray(); in sinkTestWriteCharByChar()
127 char[] expected = "EFGCDECBA".toCharArray(); in sinkTestWriteArray()
131 out.write("EF".toCharArray()); in sinkTestWriteArray()
132 out.write("GCDE".toCharArray()); in sinkTestWriteArray()
133 out.write("CBA".toCharArray()); in sinkTestWriteArray()
140 char[] expected = "EFGCDECBA".toCharArray(); in sinkTestWriteOffset()
180 char[] expectedChars = "EF".toCharArray(); in sinkTestWriteAfterClose()
187 out.write("GCDE".toCharArray()); in sinkTestWriteAfterClose()
197 out.write("EF".toCharArray()); in sinkTestWriteAfterCloseSuppressed()
199 out.write("GCDE".toCharArray()); // no exception expected! in sinkTestWriteAfterCloseSuppressed()
/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/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()
DBidiFmwk.java166 static final char[] columns = columnString.toCharArray();
374 static final char[] mates1Chars = mates1.toCharArray();
375 static final char[] mates2Chars = mates2.toCharArray();
400 char[] srcChars = src.toCharArray();
401 char[] dstChars = dst.toCharArray();
/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()
DBidiFmwk.java163 static final char[] columns = columnString.toCharArray();
371 static final char[] mates1Chars = mates1.toCharArray();
372 static final char[] mates2Chars = mates2.toCharArray();
397 char[] srcChars = src.toCharArray();
398 char[] dstChars = dst.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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberStringBuilderTest.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()
185 sb.append(sb.toCharArray(), sb.toFieldArray()); in testFields()
210 assertTrue(sb.contentEquals(sb2.toCharArray(), sb2.toFieldArray())); in testFields()
214 assertTrue(!sb.contentEquals(sb2.toCharArray(), sb2.toFieldArray())); in testFields()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberStringBuilderTest.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()
188 sb.append(sb.toCharArray(), sb.toFieldArray()); in testFields()
213 assertTrue(sb.contentEquals(sb2.toCharArray(), sb2.toFieldArray())); in testFields()
217 assertTrue(!sb.contentEquals(sb2.toCharArray(), sb2.toFieldArray())); in testFields()
/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/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/icu4j/main/classes/core/src/com/ibm/icu/number/
DFormattedNumberRange.java183 return Arrays.hashCode(string.toCharArray()) ^ Arrays.hashCode(string.toFieldArray()) in hashCode()
204 return Arrays.equals(string.toCharArray(), _other.string.toCharArray()) in equals()
DFormattedNumber.java209 return Arrays.hashCode(nsb.toCharArray()) in hashCode()
231 return Arrays.equals(nsb.toCharArray(), _other.nsb.toCharArray()) in equals()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DFormattedNumberRange.java176 return Arrays.hashCode(string.toCharArray()) ^ Arrays.hashCode(string.toFieldArray()) in hashCode()
196 return Arrays.equals(string.toCharArray(), _other.string.toCharArray()) in equals()
DFormattedNumber.java204 return Arrays.hashCode(nsb.toCharArray()) in hashCode()
225 return Arrays.equals(nsb.toCharArray(), _other.nsb.toCharArray()) in equals()
/external/guava/guava-tests/test/com/google/common/escape/
DEscapersTest.java91 .put('x', "<hello>".toCharArray()) in testAsUnicodeEscaper()
92 .put('\uD800', "<hi>".toCharArray()) in testAsUnicodeEscaper()
93 .put('\uDC00', "<lo>".toCharArray()) in testAsUnicodeEscaper()
DArrayBasedCharEscaperTest.java46 return ("{" + c + "}").toCharArray(); in testSafeRange()
59 return ("{" + c + "}").toCharArray(); in testSafeRange_maxLessThanMin()
/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/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DCharMatcher.java149 "CharMatcher.DIGIT", ZEROES.toCharArray(), NINES.toCharArray());
222 + "\u2069\u206a\u3000\ud800\ufeff\ufff9\ufffa").toCharArray(), (
224 + "\u2069\u206f\u3000\uf8ff\ufeff\ufff9\ufffb").toCharArray());
246 "\u0000\u05be\u05d0\u05f3\u0600\u0750\u0e00\u1e00\u2100\ufb50\ufe70\uff61".toCharArray(),
247 "\u04f9\u05be\u05ea\u05f4\u06ff\u077f\u0e7f\u20af\u213a\ufdff\ufeff\uffdc".toCharArray());
479 final char[] chars = sequence.toString().toCharArray();
907 char[] chars = string.toCharArray();
965 char[] chars = string.toCharArray();
/external/guava/guava-tests/test/com/google/common/base/
DAsciiTest.java56 for (char c : IGNORED.toCharArray()) { in testCharsIgnored()
66 for (char c : LOWER.toCharArray()) { in testCharsLower()
76 for (char c : UPPER.toCharArray()) { in testCharsUpper()
/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/guava/guava/src/com/google/common/base/
DCharMatcher.java151 "CharMatcher.DIGIT", ZEROES.toCharArray(), NINES.toCharArray());
224 + "\u2069\u206a\u3000\ud800\ufeff\ufff9\ufffa").toCharArray(), (
226 + "\u2069\u206f\u3000\uf8ff\ufeff\ufff9\ufffb").toCharArray());
248 "\u0000\u05be\u05d0\u05f3\u0600\u0750\u0e00\u1e00\u2100\ufb50\ufe70\uff61".toCharArray(),
249 "\u04f9\u05be\u05ea\u05f4\u06ff\u077f\u0e7f\u20af\u213a\ufdff\ufeff\uffdc".toCharArray());
494 final char[] chars = sequence.toString().toCharArray();
1064 char[] chars = string.toCharArray();
1122 char[] chars = string.toCharArray();
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/compression/
DExhaustiveTest.java31 if (logDiffs(s.toCharArray(), s.length(), in simpleTest()
32 res.toCharArray(), res.length()) == false) { in simpleTest()
47 myTest(fTestCases[i].toCharArray(), fTestCases[i].length()); in testIterative()
85 myMultipassTest(fTestCases[i].toCharArray(), fTestCases[i].length()); in testMultipass()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_utils_Utils.txt3 Line 58) string.toCharArray() ==> java.lang.String.toCharArray()

1234567891011