Home
last modified time | relevance | path

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

1234567

/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/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/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/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/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()
DBinaryCodec.java127 return fromAscii(((String) ascii).toCharArray()); in decode()
156 return fromAscii(ascii.toCharArray()); in toByteArray()
/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/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/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/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/mockito/cglib-and-asm/src/org/mockito/asm/
DType.java207 return getType(typeDescriptor.toCharArray(), 0); in getType()
217 char[] buf = internalName.toCharArray(); in getObjectType()
262 char[] buf = methodDescriptor.toCharArray(); in getArgumentTypes()
314 char[] buf = methodDescriptor.toCharArray(); in getReturnType()
/external/conscrypt/src/main/java/org/conscrypt/
DDefaultSSLContextImpl.java72 char[] pwd = (keystorepwd == null) ? null : keystorepwd.toCharArray(); in getKeyManagers()
104 char[] pwd = (keystorepwd == null) ? null : keystorepwd.toCharArray(); in getTrustManagers()
/external/owasp/sanitizer/src/main/org/owasp/html/
DStrings.java115 char[] chars = s.toCharArray(); in toLowerCase()
133 char[] chars = s.toCharArray(); in toUpperCase()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DStrings.java88 return toUTF8ByteArray(string.toCharArray()); in toUTF8ByteArray()
170 char[] chars = string.toCharArray(); in toUpperCase()
199 char[] chars = string.toCharArray(); in toLowerCase()
/external/guava/guava/src/com/google/common/net/
DPercentEscaper.java66 "0123456789ABCDEF".toCharArray();
125 char[] safeCharArray = safeChars.toCharArray(); in createSafeOctets()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUTF16Test.java89 char array[] = str.toCharArray(); in TestBounds()
185 char array[] = str.toCharArray(); in TestCharAt()
246 array = str.toCharArray(); in TestCountCodePoint()
261 array = str.toCharArray(); in TestCountCodePoint()
270 array = str.toCharArray(); in TestCountCodePoint()
287 char array[] = strbuff.toString().toCharArray(); in TestDelete()
328 array = strbuff.toString().toCharArray(); in TestDelete()
362 char array[] = str.toCharArray(); in TestfindOffset()
616 char ca[] = s.toCharArray(); in checkMoveCodePointOffset()
787 char strarray[] = str.toCharArray(); in TestMoveCodePointOffset()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemCopyOf.java147 handler.characters(s.toCharArray(), 0, s.length()); in execute()
192 handler.characters(s.toCharArray(), 0, s.length()); in execute()

1234567