Searched refs:getChars (Results 1 - 25 of 41) sorted by relevance

12

/libcore/support/src/test/java/org/apache/harmony/testframework/
H A DCharSinkTester.java48 public abstract char[] getChars() throws Exception; method in class:CharSinkTester
98 assertArrayEquals(expected, getChars());
111 assertArrayEquals(expected, getChars());
123 assertArrayEquals(expected, getChars());
136 assertArrayEquals(expected, getChars());
162 assertArrayEquals(expected, getChars());
176 assertArrayEquals(expected, getChars());
192 assertArrayEquals(expectedChars, getChars());
H A DCharWrapperTester.java90 public char[] getChars() throws Exception { method in class:CharWrapperTester.WrapperSinkTester
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldStringBufferTest.java51 buf2.getChars(-1, 0, new char[5], 2);
58 buf2.getChars(0, -1, new char[5], 2);
65 buf2.getChars(0, -1, new char[5], 2);
72 buf2.getChars(2, 1, new char[5], 2);
79 buf2.getChars(0, 6, new char[5], 2);
86 buf2.getChars(0, 6, new char[10], 5);
H A DStringTest.java452 "yes".getChars(srcBegin, srcEnd, new char[256], 0);
465 "abcd".getChars(0, 1, dst, 0);
467 "abcd".getChars(3, 4, dst, 0);
470 "abcd".getChars(0, 4, dst, 0);
474 "abcd".getChars(0, 0, new char[0], 0); // dstBegin == 0 is ok if copying zero chars
475 "abcd".getChars(0, 0, new char[1], 1); // dstBegin == 1 is ok if copying zero chars
476 "".getChars(0, 0, new char[0], 0);
477 "abcd".getChars(1, 1, new char[1], 0);
478 "abcd".getChars(1, 1, new char[1], 1);
507 s.getChars(srcBegi
[all...]
H A DOldStringTest.java116 "Hello World".getChars(-1, 1, null, 0);
123 "Hello World".getChars(6, 2, null, 0);
130 "Hello World".getChars(2, 10, new char[10], 4);
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DHelpers.java92 s.getChars(0, len, chars, j);
107 k.getChars(0, klen, chars, 0);
109 v.getChars(0, vlen, chars, klen + 1);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DWriterTesterTest.java87 public char[] getChars() throws Exception { method in class:WriterTesterTest.FileWriterCharSinkTester
102 public char[] getChars() throws Exception { method in class:WriterTesterTest.CharArrayWriterCharSinkTester
134 public char[] getChars() throws Exception { method in class:WriterTesterTest.PipedWriterCharSinkTester
150 public char[] getChars() throws Exception { method in class:WriterTesterTest.StringWriterCharSinkTester
209 public char[] getChars() throws Exception { method in class:WriterTesterTest.OutputStreamWriterCharSinkTester
H A DPipedWriterTest.java78 "HelloWorld".getChars(0, 10, buf, 0);
96 "HelloWorld".getChars(0, 10, buf, 0);
115 "HelloWorld".getChars(0, 10, buf, 0);
134 "HelloWorld".getChars(0, 10, buf, 0);
179 "HelloWorld".getChars(0, 10, buf, 0);
H A DCharArrayReaderTest.java148 str.getChars(0, str.length(), data, 0);
H A DStringWriterTest.java86 "This is a test string".getChars(0, 21, c, 0);
H A DPrintWriterTest.java249 "Hello World".getChars(0, 11, schars, 0);
402 "Hello World".getChars(0, 11, schars, 0);
582 "Hello World".getChars(0, 11, schars, 0);
604 "Hello World".getChars(0, 11, schars, 0);
H A DInputStreamReaderTest.java114 fileString.getChars(0, fileString.length(), buf, 0);
436 fileString.getChars(0, 100, sbuf, 0);
H A DPipedReaderTest.java46 "Hello World".getChars(0, 11, c, 0);
/libcore/ojluni/src/main/java/java/io/
H A DStringReader.java100 str.getChars(next, next + n, cbuf, off);
H A DWriter.java191 str.getChars(off, (off + len), cbuf, 0);
H A DBufferedWriter.java226 s.getChars(b, b + d, cb, nextChar);
H A DCharArrayWriter.java124 str.getChars(off, off + len, buf, count);
/libcore/ojluni/src/main/java/java/lang/
H A DAbstractStringBuilder.java381 public void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) method in class:AbstractStringBuilder
452 str.getChars(0, len, value, count);
464 sb.getChars(0, len, value, count);
478 asb.getChars(0, len, value, count);
687 Integer.getChars(i, spaceNeeded, value);
714 Long.getChars(l, spaceNeeded, value);
883 str.getChars(value, start);
1060 str.getChars(value, offset);
H A DStringBuffer.java242 public synchronized void getChars(int srcBegin, int srcEnd, char[] dst, method in class:StringBuffer
245 super.getChars(srcBegin, srcEnd, dst, dstBegin);
H A DInteger.java430 getChars(i, size, buf);
461 static void getChars(int i, int index, char[] buf) { method in class:Integer
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DStringBuffer2Test.java70 "char".getChars(0, 4, buf, 0);
298 * java.lang.StringBuffer#getChars(int, int, char[], int)
301 // Test for method void java.lang.StringBuffer.getChars(int, int, char
305 testBuffer.getChars(4, 8, buf, 2);
312 buf2.getChars(0, 0, new char[5], 2);
326 "char".getChars(0, 4, buf, 0);
H A DStringBuilderTest.java641 * java.lang.StringBuilder.getChars(int, int, char[], int)'
647 sb.getChars(0, 10, dst, 0);
651 sb.getChars(0, 5, dst, 0);
653 fixture.getChars(0, 5, fixtureChars, 0);
658 sb.getChars(0, 5, dst, 5);
659 fixture.getChars(0, 5, fixtureChars, 5);
664 sb.getChars(5, 10, dst, 1);
665 fixture.getChars(5, 10, fixtureChars, 1);
669 sb.getChars(0, 10, null, 0);
676 sb.getChars(
[all...]
/libcore/support/src/test/java/tests/support/
H A DSupport_StringReader.java159 str.getChars(pos, end, buf, offset);
/libcore/ojluni/src/main/java/java/text/
H A DPatternEntry.java108 final String getChars() { method in class:PatternEntry
/libcore/luni/src/test/java/libcore/java/io/
H A DOldInputStreamReaderTest.java54 fileString.getChars(0, fileString.length(), buf, 0);
222 fileString.getChars(0, 100, sbuf, 0);

Completed in 326 milliseconds

12