Home
last modified time | relevance | path

Searched refs:readChar (Results 1 – 19 of 19) sorted by relevance

/libcore/dex/src/test/java/com/android/dex/
DEncodedValueReaderTest.java90 assertEquals('\u0000', readerOf( 3, 0x00).readChar()); in testReadChar()
91 assertEquals('\u00ab', readerOf( 3, 0xab).readChar()); in testReadChar()
92 assertEquals('\uabcd', readerOf(35, 0xcd, 0xab).readChar()); in testReadChar()
93 assertEquals('\uffff', readerOf(35, 0xff, 0xff).readChar()); in testReadChar()
/libcore/luni/src/test/java/libcore/java/io/
DOldAndroidDataInputStreamTest.java93 assertEquals('e', g.readChar()); in testDataInputStream()
94 assertEquals('F', g.readChar()); in testDataInputStream()
95 assertEquals('G', g.readChar()); in testDataInputStream()
96 assertEquals('H', g.readChar()); in testDataInputStream()
DOldObjectInputOutputStreamTest.java90 'b', is.readChar()); in test_read_writeChar()
93 is.readChar(); in test_read_writeChar()
101 is.readChar(); in test_read_writeChar()
DOldDataInputOutputStreamTest.java115 'b', dis.readChar()); in test_read_writeChar()
118 dis.readChar(); in test_read_writeChar()
126 dis.readChar(); in test_read_writeChar()
DOldRandomAccessFileTest.java476 Character.MIN_VALUE, raf.readChar()); in test_read_writeChar()
478 'T', raf.readChar()); in test_read_writeChar()
480 Character.MAX_VALUE, raf.readChar()); in test_read_writeChar()
482 0xffff, raf.readChar()); in test_read_writeChar()
484 0, raf.readChar()); in test_read_writeChar()
487 raf.readChar(); in test_read_writeChar()
501 raf.readChar(); in test_read_writeChar()
1174 hchars[i], raf.readChar()); in test_writeCharsLjava_lang_String()
DOldDataOutputStreamTest.java164 for (i = 0; i < a; i++) chars[i] = dis.readChar(); in test_writeCharsLjava_lang_String()
/libcore/ojluni/src/main/java/java/io/
DDataInput.java419 char readChar() throws IOException; in readChar() method
DDataInputStream.java361 public final char readChar() throws IOException { in readChar() method in DataInputStream
DRandomAccessFile.java779 public final char readChar() throws IOException { in readChar() method in RandomAccessFile
DObjectInputStream.java938 public char readChar() throws IOException { in readChar() method in ObjectInputStream
939 return bin.readChar(); in readChar()
2785 public char readChar() throws IOException { in readChar() method in ObjectInputStream.BlockDataInputStream
2790 return din.readChar(); in readChar()
2915 v[off++] = din.readChar(); in readChars()
DFile.java2005 char sep = s.readChar(); // read the previous separator char in readObject()
/libcore/dex/src/main/java/com/android/dex/
DEncodedValueReader.java146 public char readChar() { in readChar() method in EncodedValueReader
230 readChar(); in skipValue()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DDataOutputStreamTest.java144 char c = dis.readChar(); in test_writeCharI()
159 chars[i] = dis.readChar(); in test_writeCharsLjava_lang_String()
DDataInputStreamTest.java105 assertEquals("Incorrect char read", 't', dis.readChar()); in test_readChar()
474 public char readChar() throws IOException { in readChar() method in DataInputStreamTest.TestDataInputStream
DRandomAccessFileTest.java280 assertEquals("Incorrect char read/written", 'T', raf.readChar()); in test_readChar()
731 assertEquals("Incorrect char read/written", 'T', raf.readChar()); in test_writeCharI()
747 assertEquals("Incorrect string written", hchars[i], raf.readChar()); in test_writeCharsLjava_lang_String()
DSerializationStressTest.java462 assertEquals("Wrote incorrect char value", 'T', ois.readChar()); in test_12_writeChar()
480 buf[i] = ois.readChar(); in test_13_writeChars()
DObjectOutputStreamTest.java815 assertEquals("Wrote incorrect char value", 'T', ois.readChar()); in test_writeCharI()
832 buf[i] = ois.readChar(); in test_writeCharsLjava_lang_String()
/libcore/ojluni/src/main/java/sun/security/x509/
DAVA.java186 c = readChar(in, "Incorrect AVA format"); in AVA()
324 int c = readChar(in, "Quoted string did not end in quote"); in parseQuotedString()
330 c = readChar(in, "Quoted string did not end in quote"); in parseQuotedString()
364 c = readChar(in, "Quoted string did not end in quote"); in parseQuotedString()
410 c = readChar(in, "Invalid trailing backslash"); in parseString()
534 int c2 = readChar(in, "unexpected EOF - " + in getEmbeddedHexPair()
573 private static int readChar(Reader in, String errMsg) throws IOException { in readChar() method in AVA
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
DObjectInputStreamTest.java759 assertEquals("Read incorrect char value", 'T', ois.readChar()); in test_readChar()