/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | DataInputStreamTest.java | 138 dis.readFully(rbytes); in test_readFully$B() 151 dis.readFully(rbytes, 0, fileString.length()); in test_readFully$BII() 166 is.readFully(byteArray, -1, -1); in test_readFully$BII_Exception() 173 is.readFully(byteArray, 0, -1); in test_readFully$BII_Exception() 180 is.readFully(byteArray, 1, -1); in test_readFully$BII_Exception() 186 is.readFully(byteArray, -1, 0); in test_readFully$BII_Exception() 187 is.readFully(byteArray, 0, 0); in test_readFully$BII_Exception() 188 is.readFully(byteArray, 1, 0); in test_readFully$BII_Exception() 191 is.readFully(byteArray, -1, 1); in test_readFully$BII_Exception() 197 is.readFully(byteArray, 0, 1); in test_readFully$BII_Exception() [all …]
|
D | RandomAccessFileTest.java | 319 raf.readFully(buf); in test_readFully$B() 335 raf.readFully(buf, 0, buf.length); in test_readFully$BII() 339 raf.readFully(buf, 0, buf.length); in test_readFully$BII() 462 raf.readFully(buf); in test_skipBytesI() 716 raf.readFully(buf); in test_writeBytesLjava_lang_String()
|
/libcore/ojluni/src/main/java/java/io/ |
D | DataInputStream.java | 171 public final void readFully(byte b[]) throws IOException { in readFully() method in DataInputStream 172 readFully(b, 0, b.length); in readFully() 193 public final void readFully(byte b[], int off, int len) throws IOException { in readFully() method in DataInputStream 317 readFully(readBuffer, 0, 2); in readShort() 341 readFully(readBuffer, 0, 2); in readUnsignedShort() 365 readFully(readBuffer, 0, 2); in readChar() 389 readFully(readBuffer, 0, 4); in readInt() 413 readFully(readBuffer, 0, 8); in readLong() 606 in.readFully(bytearr, 0, utflen); in readUTF()
|
D | DataInput.java | 235 void readFully(byte b[]) throws IOException; in readFully() method 281 void readFully(byte b[], int off, int len) throws IOException; in readFully() method
|
D | ObjectInputStream.java | 1015 public void readFully(byte[] buf) throws IOException { in readFully() method in ObjectInputStream 1016 bin.readFully(buf, 0, buf.length, false); in readFully() 1028 public void readFully(byte[] buf, int off, int len) throws IOException { in readFully() method in ObjectInputStream 1033 bin.readFully(buf, off, len, false); in readFully() 1688 bin.readFully((byte[]) array, 0, len, true); in readArray() 1981 bin.readFully(primVals, 0, primDataSize, false); in defaultReadFields() 2153 bin.readFully(primVals, 0, primVals.length, false); in readFields() 2326 void readFully(byte[] b, int off, int len) throws IOException { in readFully() method in ObjectInputStream.PeekInputStream 2485 in.readFully(hbuf, 0, 2); in readBlockHeader() 2492 in.readFully(hbuf, 0, 5); in readBlockHeader() [all …]
|
D | RandomAccessFile.java | 392 public final void readFully(byte b[]) throws IOException { in readFully() method in RandomAccessFile 393 readFully(b, 0, b.length); in readFully() 410 public final void readFully(byte b[], int off, int len) throws IOException { in readFully() method in RandomAccessFile
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldDataInputStreamTest.java | 157 dis.readFully(rbytes); in test_readFully$B() 163 dis.readFully(rbytes); in test_readFully$B() 172 dis.readFully(rbytes); in test_readFully$B() 186 dis.readFully(rbytes, 2, testLength - 4); in test_readFully$BII() 193 dis.readFully(rbytes, 0, testLength); in test_readFully$BII() 202 dis.readFully(rbytes, 0, testLength); in test_readFully$BII() 215 is.readFully(byteArray, 0, -1); in test_readFully$BII_Exception() 222 is.readFully(byteArray, 0, byteArray.length + 1); in test_readFully$BII_Exception() 229 is.readFully(byteArray, 1, byteArray.length); in test_readFully$BII_Exception() 236 is.readFully(byteArray, -1, byteArray.length); in test_readFully$BII_Exception() [all …]
|
D | OldRandomAccessFileTest.java | 764 raf.readFully(null); in test_readFully$B_writeBytesLjava_lang_String() 770 raf.readFully(buf); in test_readFully$B_writeBytesLjava_lang_String() 775 raf.readFully(buf); in test_readFully$B_writeBytesLjava_lang_String() 789 raf.readFully(buf); in test_readFully$B_writeBytesLjava_lang_String() 807 raf.readFully(null); in test_readFully$BII() 813 raf.readFully(buf, 5, testLength - 10); in test_readFully$BII() 823 raf.readFully(buf, 3, testLength - 6); in test_readFully$BII() 831 raf.readFully(buf, -1, 1); in test_readFully$BII() 837 raf.readFully(buf, 0, -1); in test_readFully$BII() 843 raf.readFully(buf, 2, testLength); in test_readFully$BII() [all …]
|
/libcore/luni/src/main/java/libcore/io/ |
D | Streams.java | 59 public static void readFully(InputStream in, byte[] dst) throws IOException { in readFully() method in Streams 60 readFully(in, dst, 0, dst.length); in readFully() 69 …public static void readFully(InputStream in, byte[] dst, int offset, int byteCount) throws IOExcep… in readFully() method in Streams 93 public static byte[] readFully(InputStream in) throws IOException { in readFully() method in Streams 117 public static String readFully(Reader reader) throws IOException { in readFully() method in Streams
|
D | IoUtils.java | 107 return new FileReader(absolutePath).readFully().toByteArray(); in readFileAsByteArray() 114 return new FileReader(absolutePath).readFully().toString(StandardCharsets.UTF_8); in readFileAsString() 230 public FileReader readFully() throws IOException { in readFully() method in IoUtils.FileReader
|
/libcore/luni/src/test/etc/loading-test-jar/ |
D | TestMethods.java | 66 public static byte[] readFully(InputStream in) throws IOException { in readFully() method in TestMethods 129 byte[] contents = readFully(in); in test_getResourceAsStream() 185 byte[] contents = readFully(in); in test_diff_getResourceAsStream()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipInputStream.java | 286 readFully(tmpbuf, 0, LOCHDR); in readLOC() 304 readFully(b, 0, len); in readLOC() 329 readFully(bb, 0, len); in readLOC() 382 readFully(tmpbuf, 0, ZIP64_EXTHDR); in readEnd() 396 readFully(tmpbuf, 0, EXTHDR); in readEnd() 431 private void readFully(byte[] b, int off, int len) throws IOException { in readFully() method in ZipInputStream
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | CharacterEncoder.java | 124 protected int readFully(InputStream in, byte buffer[]) in readFully() method in CharacterEncoder 150 numBytes = readFully(inStream, tmpbuffer); in encode() 285 numBytes = readFully(inStream, tmpbuffer); in encodeBuffer()
|
D | IOUtils.java | 50 public static byte[] readFully(InputStream is, int length, boolean readAll) in readFully() method in IOUtils
|
D | BASE64Decoder.java | 122 i = readFully(inStream, decode_buffer, 1, rem-1); in decodeAtom()
|
D | CharacterDecoder.java | 133 protected int readFully(InputStream in, byte buffer[], int offset, int len) in readFully() method in CharacterDecoder
|
/libcore/support/src/test/java/libcore/tlswire/handshake/ |
D | ClientHello.java | 47 in.readFully(random); in parseBody() 72 in.readFully(extensionsBytes); in parseBody()
|
D | HandshakeMessage.java | 51 in.readFully(result.body); in read()
|
/libcore/support/src/test/java/libcore/tlswire/record/ |
D | TlsRecord.java | 37 in.readFully(result.fragment); in read()
|
/libcore/support/src/test/java/libcore/tlswire/util/ |
D | IoUtils.java | 32 in.readFully(result); in readTlsVariableLengthByteVector()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
D | ObjectInputStreamTest.java | 275 ois.readFully(buf); in test_readFully$B() 283 ois.readFully(buf); in test_readFully$B() 299 ois.readFully(buf); in test_readFully$B_Exception() 315 ois.readFully(buf, 0, testLength); in test_readFully$BII() 322 ois.readFully(buf); in test_readFully$BII() 336 ois.readFully(buf, 0, -1); in test_readFully$BII_Exception() 342 ois.readFully(buf, -1,1); in test_readFully$BII_Exception() 348 ois.readFully(buf, testLength, 1); in test_readFully$BII_Exception() 359 ois.readFully(buf, 0, 1); in test_readFully$BII_Exception()
|
/libcore/luni/src/test/java/libcore/io/ |
D | ClassPathURLStreamHandlerTest.java | 186 byte[] actualBytes = Streams.readFully(actualJarUrlConnection.getInputStream()); in assertBehaviorSame() 187 byte[] standardBytes = Streams.readFully(standardJarUrlConnection.getInputStream()); in assertBehaviorSame()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | DerValue.java | 269 dis.readFully(indefData, offset, readLen); in DerValue() 386 dis.readFully(indefData, offset, readLen); in init() 399 byte[] bytes = IOUtils.readFully(in, length, true); in init()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | Zip64FileTest.java | 52 byte[] uncompressed = Streams.readFully(is); in testZip64Support_largeNumberOfEntries()
|
/libcore/ojluni/src/main/java/sun/net/www/http/ |
D | KeepAliveStream.java | 143 dis.readFully(buf); in hurry()
|