Home
last modified time | relevance | path

Searched refs:readChar (Results 1 – 20 of 20) 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/luni/src/main/java/java/io/
DDataInput.java83 public abstract char readChar() throws IOException; in readChar() method
DBufferedReader.java253 int ch = readChar(); in read()
255 ch = readChar(); in read()
262 private int readChar() throws IOException { in readChar() method in BufferedReader
DDataInputStream.java82 public final char readChar() throws IOException { in readChar() method in DataInputStream
DObjectInputStream.java612 public char readChar() throws IOException { in readChar() method in ObjectInputStream
613 return primitiveTypes.readChar(); in readChar()
1003 element.fieldValue = input.readChar(); in readFieldValues()
1078 char c = input.readChar(); in readFieldValues()
1450 charArray[i] = input.readChar(); in readNewArray()
DRandomAccessFile.java341 public final char readChar() throws IOException { in readChar() method in RandomAccessFile
DFile.java1116 char inSeparator = stream.readChar(); 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/luni/src/main/java/libcore/reflect/
DAnnotationAccess.java719 return reader.readChar(); in decodeValue()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
DObjectInputStreamTest.java762 assertEquals("Read incorrect char value", 'T', ois.readChar()); in test_readChar()