Home
last modified time | relevance | path

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

12345678910

/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/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestInverse.java116 if (!Arrays.equals(src.toCharArray(), bidi.getText())) { in _testInverseBidi()
125 printUnicode(src.toCharArray(), bidi.getLevels()); in _testInverseBidi()
142 printUnicode(src.toCharArray(), null); in _testInverseBidi()
151 printUnicode(visualLTR.toCharArray(), bidi.getLevels()); in _testInverseBidi()
161 printUnicode(logicalDest.toCharArray(), bidi.getLevels()); in _testInverseBidi()
164 printUnicode(visualDest.toCharArray(), null); in _testInverseBidi()
DBidiTest.java161 static final char[] columns = columnString.toCharArray();
366 static final char[] mates1Chars = mates1.toCharArray();
367 static final char[] mates2Chars = mates2.toCharArray();
392 char[] srcChars = src.toCharArray();
393 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/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestInverse.java120 if (!Arrays.equals(src.toCharArray(), bidi.getText())) { in _testInverseBidi()
129 printUnicode(src.toCharArray(), bidi.getLevels()); in _testInverseBidi()
146 printUnicode(src.toCharArray(), null); in _testInverseBidi()
155 printUnicode(visualLTR.toCharArray(), bidi.getLevels()); in _testInverseBidi()
165 printUnicode(logicalDest.toCharArray(), bidi.getLevels()); in _testInverseBidi()
168 printUnicode(visualDest.toCharArray(), null); in _testInverseBidi()
DBidiTest.java165 static final char[] columns = columnString.toCharArray();
370 static final char[] mates1Chars = mates1.toCharArray();
371 static final char[] mates2Chars = mates2.toCharArray();
396 char[] srcChars = src.toCharArray();
397 char[] dstChars = dst.toCharArray();
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/
DUtils.java69 char[] digits = String.valueOf(n).toCharArray(); in chineseNumber()
198 this.digits = digits.toCharArray(); in ChineseDigits()
199 this.units = units.toCharArray(); in ChineseDigits()
200 this.levels = levels.toCharArray(); in ChineseDigits()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
DUtils.java65 char[] digits = String.valueOf(n).toCharArray(); in chineseNumber()
194 this.digits = digits.toCharArray(); in ChineseDigits()
195 this.units = units.toCharArray(); in ChineseDigits()
196 this.levels = levels.toCharArray(); in ChineseDigits()
/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.java189 assertTrue(signature.toCharArray()[0] == 'L' in testAllClasses001()
190 || signature.toCharArray()[0] == '['); in testAllClasses001()
206 assertTrue(signature.toCharArray()[0] == 'L' in testAllClasses001()
207 || signature.toCharArray()[0] == '['); in testAllClasses001()
DAllClassesWithGenericTest.java197 assertTrue(signature.toCharArray()[0] == 'L' in testAllClassesWithGeneric001()
198 || signature.toCharArray()[0] == '['); in testAllClassesWithGeneric001()
218 signature.toCharArray()[0] == 'L' in testAllClassesWithGeneric001()
219 || 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/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/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/google-tv-pairing-protocol/java/src/com/google/polo/ssl/
DSslUtil.java323 ks.load(new FileInputStream(fileName), password.toCharArray()); in getFileBackedKeyManagers()
324 km.init(ks, password.toCharArray()); in getFileBackedKeyManagers()
353 password.toCharArray(), chain); in generateTestServerKeyManager()
354 km.init(ks, password.toCharArray()); in generateTestServerKeyManager()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/compression/
DExhaustiveTest.java27 if (logDiffs(s.toCharArray(), s.length(), in simpleTest()
28 res.toCharArray(), res.length()) == false) { in simpleTest()
42 myTest(fTestCases[i].toCharArray(), fTestCases[i].length()); in testIterative()
79 myMultipassTest(fTestCases[i].toCharArray(), fTestCases[i].length()); in testMultipass()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/compression/
DExhaustiveTest.java31 if (logDiffs(s.toCharArray(), s.length(), in simpleTest()
32 res.toCharArray(), res.length()) == false) { in simpleTest()
46 myTest(fTestCases[i].toCharArray(), fTestCases[i].length()); in testIterative()
83 myMultipassTest(fTestCases[i].toCharArray(), fTestCases[i].length()); in testMultipass()
/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()
/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/android_icu4j/src/main/java/android/icu/text/
DStringPrepParseException.java182 setPreContext(str.toCharArray(),pos); in setPreContext()
193 setPostContext(str.toCharArray(),pos); in setPostContext()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DStringPrepParseException.java198 setPreContext(str.toCharArray(),pos); in setPreContext()
209 setPostContext(str.toCharArray(),pos); in setPostContext()
/external/guava/guava-tests/test/com/google/common/io/
DAppendableWriterTest.java65 writer.write("Hello".toCharArray()); in testWriteMethods()
69 writer.write("Whirled".toCharArray(), 3, 2); in testWriteMethods()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/
DCommandLineSupport.java35 for (final char c : arg.toCharArray()) { in quote()
84 for (final char c : commandline.toCharArray()) { in split()

12345678910