Home
last modified time | relevance | path

Searched refs:readFully (Results 1 – 25 of 43) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DDataInputStreamTest.java138 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 …]
DRandomAccessFileTest.java319 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/
DDataInputStream.java171 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()
DDataInput.java235 void readFully(byte b[]) throws IOException; in readFully() method
281 void readFully(byte b[], int off, int len) throws IOException; in readFully() method
DObjectInputStream.java1015 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 …]
DRandomAccessFile.java392 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/
DOldDataInputStreamTest.java157 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 …]
DOldRandomAccessFileTest.java764 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/
DStreams.java59 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
DIoUtils.java107 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/
DTestMethods.java66 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/
DZipInputStream.java286 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/
DCharacterEncoder.java124 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()
DIOUtils.java50 public static byte[] readFully(InputStream is, int length, boolean readAll) in readFully() method in IOUtils
DBASE64Decoder.java122 i = readFully(inStream, decode_buffer, 1, rem-1); in decodeAtom()
DCharacterDecoder.java133 protected int readFully(InputStream in, byte buffer[], int offset, int len) in readFully() method in CharacterDecoder
/libcore/support/src/test/java/libcore/tlswire/handshake/
DClientHello.java47 in.readFully(random); in parseBody()
72 in.readFully(extensionsBytes); in parseBody()
DHandshakeMessage.java51 in.readFully(result.body); in read()
/libcore/support/src/test/java/libcore/tlswire/record/
DTlsRecord.java37 in.readFully(result.fragment); in read()
/libcore/support/src/test/java/libcore/tlswire/util/
DIoUtils.java32 in.readFully(result); in readTlsVariableLengthByteVector()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
DObjectInputStreamTest.java275 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/
DClassPathURLStreamHandlerTest.java186 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/
DDerValue.java269 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/
DZip64FileTest.java52 byte[] uncompressed = Streams.readFully(is); in testZip64Support_largeNumberOfEntries()
/libcore/ojluni/src/main/java/sun/net/www/http/
DKeepAliveStream.java143 dis.readFully(buf); in hurry()

12