Home
last modified time | relevance | path

Searched refs:CharArrayReader (Results 1 – 14 of 14) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DCharArrayReaderTest.java20 import java.io.CharArrayReader;
27 CharArrayReader cr;
33 cr = new CharArrayReader(hw); in test_Constructor$C()
41 cr = new CharArrayReader(hw, 5, 5); in test_Constructor$CII()
53 cr = new CharArrayReader(hw); in test_close()
70 cr = new CharArrayReader(hw); in test_markI()
82 cr = new CharArrayReader(hw); in test_markSupported()
90 cr = new CharArrayReader(hw); in test_read()
92 cr = new CharArrayReader(new char[] { '\u8765' }); in test_read()
101 cr = new CharArrayReader(hw); in test_read$CII()
[all …]
DCharArrayWriterTest.java20 import java.io.CharArrayReader;
31 CharArrayReader cr;
70 cr = new CharArrayReader(cw.toCharArray()); in test_reset()
91 cr = new CharArrayReader(cw.toCharArray()); in test_toCharArray()
103 cr = new CharArrayReader(cw.toCharArray()); in test_toString()
112 cr = new CharArrayReader(cw.toCharArray()); in test_write$CII()
137 cr = new CharArrayReader(cw.toCharArray()); in test_writeI()
146 cr = new CharArrayReader(cw.toCharArray()); in test_writeLjava_lang_StringII()
DStreamTokenizerTest.java21 import java.io.CharArrayReader;
302 Reader reader = new CharArrayReader("t // t t t".toCharArray()); in test_slashSlashComments_withSSOpen()
315 Reader reader = new CharArrayReader("// t".toCharArray()); in test_slashSlashComments_withSSOpen_NoComment()
328 Reader reader = new CharArrayReader("// t".toCharArray()); in test_slashSlashComments_withSSClosed()
354 Reader reader = new CharArrayReader("t /* t */ t".toCharArray()); in test_slashStarComments_withSTOpen()
368 Reader reader = new CharArrayReader("t /* t */ t".toCharArray()); in test_slashStarComments_withSTClosed()
DPushbackReaderTest.java20 import java.io.CharArrayReader;
104 Reader reader = new PushbackReader(new CharArrayReader( in test_read()
236 reader = new CharArrayReader(chars); in test_skip$J()
237 reader2 = new CharArrayReader(chars); in test_skip$J()
DBufferedReaderTest.java22 import java.io.CharArrayReader;
220 assertTrue(new BufferedReader(new CharArrayReader(new char[5], 1, 0), 2).read() == -1); in test_read()
344 BufferedReader reader = new BufferedReader(new CharArrayReader(ch)); in test_read$CII()
/libcore/luni/src/test/java/libcore/java/io/
DOldCharArrayReaderTest.java20 import java.io.CharArrayReader;
27 CharArrayReader cr;
36 cr = new CharArrayReader(hw); in test_Constructor$C()
48 cr = new CharArrayReader(null, 0, 0); in test_Constructor$CII()
54 cr = new CharArrayReader(hw, -1, 0); in test_Constructor$CII()
60 cr = new CharArrayReader(hw, 0, -1); in test_Constructor$CII()
66 cr = new CharArrayReader(hw, hw.length + 1, 1); in test_Constructor$CII()
72 cr = new CharArrayReader(hw, 5, 5); in test_Constructor$CII()
82 cr = new CharArrayReader(hw); in test_close()
97 cr = new CharArrayReader(hw); in test_markI()
[all …]
DOldAndroidCharArrayReaderTest.java19 import java.io.CharArrayReader;
32 CharArrayReader a = new CharArrayReader(str.toCharArray()); in testCharArrayReader()
33 CharArrayReader b = new CharArrayReader(str.toCharArray()); in testCharArrayReader()
34 CharArrayReader c = new CharArrayReader(str.toCharArray()); in testCharArrayReader()
35 CharArrayReader d = new CharArrayReader(str.toCharArray()); in testCharArrayReader()
DOldCharArrayWriterTest.java20 import java.io.CharArrayReader;
29 CharArrayReader cr;
DOldBufferedReaderTest.java21 import java.io.CharArrayReader;
174 assertTrue(new BufferedReader(new CharArrayReader(new char[5], 1, 0), 2).read() == -1); in test_read()
/libcore/ojluni/src/main/java/java/io/
DCharArrayReader.java35 public class CharArrayReader extends Reader { class
55 public CharArrayReader(char buf[]) { in CharArrayReader() method in CharArrayReader
78 public CharArrayReader(char buf[], int offset, int length) { in CharArrayReader() method in CharArrayReader
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DPropertyResourceBundleTest.java21 import java.io.CharArrayReader;
80 prb = new PropertyResourceBundle(new CharArrayReader(chars)); in test_ConstructorLjava_io_Reader()
90 prb = new PropertyResourceBundle(new CharArrayReader(chars)); in test_ConstructorLjava_io_Reader()
DPropertiesTest.java23 import java.io.CharArrayReader;
1126 try (Reader reader = new CharArrayReader(serialized.toCharArray())) { in checkSingleProperty()
/libcore/luni/src/test/java/tests/java/sql/
DSelectFunctionalityTest.java21 import java.io.CharArrayReader;
182 CharArrayReader reader = new CharArrayReader(new String( in test_SelectPrepared()
/libcore/
Dopenjdk_java_files.bp20 "ojluni/src/main/java/java/io/CharArrayReader.java",