/libcore/support/src/test/java/org/apache/harmony/testframework/ |
D | CharSinkTester.java | 48 public abstract char[] getChars() throws Exception; in getChars() method in CharSinkTester 98 assertArrayEquals(expected, getChars()); in sinkTestNoWriting() 111 assertArrayEquals(expected, getChars()); in sinkTestWriteZeroChars() 123 assertArrayEquals(expected, getChars()); in sinkTestWriteCharByChar() 136 assertArrayEquals(expected, getChars()); in sinkTestWriteArray() 162 assertArrayEquals(expected, getChars()); in sinkTestWriteOffset() 176 assertArrayEquals(expected, getChars()); in sinkTestWriteLargeArray() 192 assertArrayEquals(expectedChars, getChars()); in sinkTestWriteAfterClose()
|
D | CharWrapperTester.java | 90 public char[] getChars() throws Exception { in getChars() method in CharWrapperTester.WrapperSinkTester
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldStringBufferTest.java | 51 buf2.getChars(-1, 0, new char[5], 2); in test_getCharsII$CI() 58 buf2.getChars(0, -1, new char[5], 2); in test_getCharsII$CI() 65 buf2.getChars(0, -1, new char[5], 2); in test_getCharsII$CI() 72 buf2.getChars(2, 1, new char[5], 2); in test_getCharsII$CI() 79 buf2.getChars(0, 6, new char[5], 2); in test_getCharsII$CI() 86 buf2.getChars(0, 6, new char[10], 5); in test_getCharsII$CI()
|
D | StringTest.java | 641 "yes".getChars(srcBegin, srcEnd, new char[256], 0); in testGetCharsOverflow() 654 "abcd".getChars(0, 1, dst, 0); in testGetCharsBoundsChecks() 656 "abcd".getChars(3, 4, dst, 0); in testGetCharsBoundsChecks() 659 "abcd".getChars(0, 4, dst, 0); in testGetCharsBoundsChecks() 663 "abcd".getChars(0, 0, new char[0], 0); // dstBegin == 0 is ok if copying zero chars in testGetCharsBoundsChecks() 664 "abcd".getChars(0, 0, new char[1], 1); // dstBegin == 1 is ok if copying zero chars in testGetCharsBoundsChecks() 665 "".getChars(0, 0, new char[0], 0); in testGetCharsBoundsChecks() 666 "abcd".getChars(1, 1, new char[1], 0); in testGetCharsBoundsChecks() 667 "abcd".getChars(1, 1, new char[1], 1); in testGetCharsBoundsChecks() 696 s.getChars(srcBegin, srcEnd, dst, dstBegin); in assertGetCharsThrowsAIOOBException() [all …]
|
D | OldStringTest.java | 116 "Hello World".getChars(-1, 1, null, 0); in test_getCharsII$CI() 123 "Hello World".getChars(6, 2, null, 0); in test_getCharsII$CI() 130 "Hello World".getChars(2, 10, new char[10], 4); in test_getCharsII$CI()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | Helpers.java | 92 s.getChars(0, len, chars, j); in toString() 107 k.getChars(0, klen, chars, 0); in mapEntryToString() 109 v.getChars(0, vlen, chars, klen + 1); in mapEntryToString()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | WriterTesterTest.java | 87 public char[] getChars() throws Exception { in getChars() method in WriterTesterTest.FileWriterCharSinkTester 102 public char[] getChars() throws Exception { in getChars() method in WriterTesterTest.CharArrayWriterCharSinkTester 134 public char[] getChars() throws Exception { in getChars() method in WriterTesterTest.PipedWriterCharSinkTester 150 public char[] getChars() throws Exception { in getChars() method in WriterTesterTest.StringWriterCharSinkTester 209 public char[] getChars() throws Exception { in getChars() method in WriterTesterTest.OutputStreamWriterCharSinkTester
|
D | PipedWriterTest.java | 78 "HelloWorld".getChars(0, 10, buf, 0); in test_ConstructorLjava_io_PipedReader() 96 "HelloWorld".getChars(0, 10, buf, 0); in test_close() 115 "HelloWorld".getChars(0, 10, buf, 0); in test_connectLjava_io_PipedReader() 134 "HelloWorld".getChars(0, 10, buf, 0); in test_flush() 179 "HelloWorld".getChars(0, 10, buf, 0); in test_write$CII()
|
D | PrintWriterTest.java | 249 "Hello World".getChars(0, 11, schars, 0); in test_print$C() 402 "Hello World".getChars(0, 11, schars, 0); in test_println$C() 582 "Hello World".getChars(0, 11, schars, 0); in test_write$C() 604 "Hello World".getChars(0, 11, schars, 0); in test_write$CII()
|
D | StringWriterTest.java | 86 "This is a test string".getChars(0, 21, c, 0); in test_write$CII()
|
D | CharArrayReaderTest.java | 148 str.getChars(0, str.length(), data, 0); in test_reset()
|
D | InputStreamReaderTest.java | 114 fileString.getChars(0, fileString.length(), buf, 0); in setUp() 436 fileString.getChars(0, 100, sbuf, 0); in test_read$CII()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | AbstractStringBuilder.java | 380 public void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) in getChars() method in AbstractStringBuilder 449 str.getChars(0, len, value, count); in append() 460 sb.getChars(0, len, value, count); in append() 473 asb.getChars(0, len, value, count); in append() 675 Integer.getChars(i, spaceNeeded, value); in append() 701 Long.getChars(l, spaceNeeded, value); in append() 864 str.getChars(value, start); in replace() 1038 str.getChars(value, offset); in insert()
|
D | StringBuffer.java | 242 public synchronized void getChars(int srcBegin, int srcEnd, char[] dst, in getChars() method in StringBuffer 245 super.getChars(srcBegin, srcEnd, dst, dstBegin); in getChars()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StringBuffer2Test.java | 70 "char".getChars(0, 4, buf, 0); in test_append$C() 305 testBuffer.getChars(4, 8, buf, 2); in test_getCharsII$CI() 312 buf2.getChars(0, 0, new char[5], 2); in test_getCharsII$CI() 326 "char".getChars(0, 4, buf, 0); in test_insertI$C()
|
D | StringBuilderTest.java | 647 sb.getChars(0, 10, dst, 0); in test_getCharsII$CI() 651 sb.getChars(0, 5, dst, 0); in test_getCharsII$CI() 653 fixture.getChars(0, 5, fixtureChars, 0); in test_getCharsII$CI() 658 sb.getChars(0, 5, dst, 5); in test_getCharsII$CI() 659 fixture.getChars(0, 5, fixtureChars, 5); in test_getCharsII$CI() 664 sb.getChars(5, 10, dst, 1); in test_getCharsII$CI() 665 fixture.getChars(5, 10, fixtureChars, 1); in test_getCharsII$CI() 669 sb.getChars(0, 10, null, 0); in test_getCharsII$CI() 676 sb.getChars(-1, 10, dst, 0); in test_getCharsII$CI() 683 sb.getChars(0, 10, dst, -1); in test_getCharsII$CI() [all …]
|
/libcore/ojluni/src/main/java/java/io/ |
D | StringReader.java | 100 str.getChars(next, next + n, cbuf, off); in read()
|
D | Writer.java | 191 str.getChars(off, (off + len), cbuf, 0); in write()
|
D | CharArrayWriter.java | 124 str.getChars(off, off + len, buf, count); in write()
|
D | BufferedWriter.java | 226 s.getChars(b, b + d, cb, nextChar); in write()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldInputStreamReaderTest.java | 54 fileString.getChars(0, fileString.length(), buf, 0); in setUp() 222 fileString.getChars(0, 100, sbuf, 0); in test_read$CII()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_StringReader.java | 159 str.getChars(pos, end, buf, offset); in read()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | String.java | 133 void getChars(char[] dst, int dstBegin) { in getChars() method in String 137 public void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) { in getChars() method in String
|
D | Long.java | 83 static void getChars(long i, int index, char[] buf) { in getChars() method in Long
|
D | AbstractStringBuilder.java | 93 public void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) { in getChars() method in AbstractStringBuilder
|