Searched refs:getChars (Results 1 - 25 of 29) 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 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/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);
H A DPrintStreamTest.java207 fileString.getChars(0, fileString.length(), sc, 0);
377 fileString.getChars(0, fileString.length(), sc, 0);
/libcore/luni/src/main/java/java/io/
H A DBufferedWriter.java275 str.getChars(offset, offset + count, chars, 0);
284 str.getChars(offset, offset + available, buf, pos);
295 str.getChars(offset, offset + available, chars, 0);
299 str.getChars(offset, offset + available, buf, pos);
H A DStringReader.java156 str.getChars(pos, end, buffer, offset);
H A DWriter.java165 str.getChars(offset, offset + count, buf, 0);
H A DCharArrayWriter.java212 str.getChars(offset, offset + count, buf, this.count);
/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...]
H A DStringBufferTest.java454 * java.lang.StringBuffer.getChars(int, int, char[], int)
459 obj.getChars(0, 0, new char[0], -1);
/libcore/luni/src/main/java/java/nio/
H A DCharSequenceAdapter.java85 sequence.toString().getChars(position, newPosition, dst, dstOffset);
/libcore/support/src/test/java/tests/support/
H A DSupport_StringReader.java159 str.getChars(pos, end, buf, offset);
/libcore/luni/src/main/java/java/lang/
H A DStringBuffer.java418 public synchronized void getChars(int start, int end, char[] buffer, int idx) { method in class:StringBuffer
419 super.getChars(start, end, buffer, idx);
/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);
H A DOldPipedWriterTest.java261 testString.getChars(0, testLength, testBuf, 0);
/libcore/libart/src/main/java/java/lang/
H A DString.java485 stringBuilder.getChars(0, this.count, this.value, 0);
810 public void getChars(int start, int end, char[] buffer, int index) { method in class:String
820 * getChars without bounds checks, for use by other classes

Completed in 394 milliseconds

12