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.java325 raf.readFully(buf); in test_readFully$B()
341 raf.readFully(buf, 0, buf.length); in test_readFully$BII()
345 raf.readFully(buf, 0, buf.length); in test_readFully$BII()
468 raf.readFully(buf); in test_skipBytesI()
722 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.java190 void readFully(byte b[]) throws IOException; in readFully() method
236 void readFully(byte b[], int off, int len) throws IOException; in readFully() method
DObjectInputStream.java1071 public void readFully(byte[] buf) throws IOException { in readFully() method in ObjectInputStream
1072 bin.readFully(buf, 0, buf.length, false); in readFully()
1084 public void readFully(byte[] buf, int off, int len) throws IOException { in readFully() method in ObjectInputStream
1089 bin.readFully(buf, off, len, false); in readFully()
1786 bin.readFully((byte[]) array, 0, len, true); in readArray()
2103 bin.readFully(primVals, 0, primDataSize, false); in defaultReadFields()
2278 bin.readFully(primVals, 0, primVals.length, false); in readFields()
2467 void readFully(byte[] b, int off, int len) throws IOException { in readFully() method in ObjectInputStream.PeekInputStream
2632 in.readFully(hbuf, 0, 2); in readBlockHeader()
2639 in.readFully(hbuf, 0, 5); in readBlockHeader()
[all …]
DRandomAccessFile.java454 public final void readFully(byte b[]) throws IOException { in readFully() method in RandomAccessFile
455 readFully(b, 0, b.length); in readFully()
472 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.java69 public static void readFully(InputStream in, byte[] dst) throws IOException { in readFully() method in Streams
70 readFully(in, dst, 0, dst.length); in readFully()
79 …public static void readFully(InputStream in, byte[] dst, int offset, int byteCount) throws IOExcep… in readFully() method in Streams
105 public static byte[] readFully(InputStream in) throws IOException { in readFully() method in Streams
131 public static String readFully(Reader reader) throws IOException { in readFully() method in Streams
DIoUtils.java224 return new FileReader(absolutePath).readFully().toByteArray(); in readFileAsByteArray()
233 return new FileReader(absolutePath).readFully().toString(StandardCharsets.UTF_8); in readFileAsString()
355 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.java296 readFully(tmpbuf, 0, LOCHDR); in readLOC()
314 readFully(b, 0, len); in readLOC()
339 readFully(extra, 0, len); in readLOC()
370 readFully(tmpbuf, 0, ZIP64_EXTHDR); in readEnd()
384 readFully(tmpbuf, 0, EXTHDR); in readEnd()
419 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.java123 i = readFully(inStream, decode_buffer, 1, rem-1); in decodeAtom()
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DIOUtils.java38 public static byte[] readFully(java.io.InputStream is, int length, boolean readAll) in readFully() method in IOUtils
DCharacterDecoder.java71 protected int readFully(java.io.InputStream in, byte[] buffer, int offset, int len) in readFully() method in CharacterDecoder
/libcore/ojluni/annotations/hiddenapi/java/io/
DObjectInputStream.java155 public void readFully(byte[] buf) throws java.io.IOException { in readFully() method in ObjectInputStream
159 public void readFully(byte[] buf, int off, int len) throws java.io.IOException { in readFully() method in ObjectInputStream
404 public void readFully(byte[] b) throws java.io.IOException { in readFully() method in ObjectInputStream.BlockDataInputStream
408 public void readFully(byte[] b, int off, int len) throws java.io.IOException { in readFully() method in ObjectInputStream.BlockDataInputStream
412 public void readFully(byte[] b, int off, int len, boolean copy) throws java.io.IOException { in readFully() method in ObjectInputStream.BlockDataInputStream
810 void readFully(byte[] b, int off, int len) throws java.io.IOException { in readFully() method in ObjectInputStream.PeekInputStream
DRandomAccessFile.java72 public final void readFully(byte[] b) throws java.io.IOException { in readFully() method in RandomAccessFile
76 public final void readFully(byte[] b, int off, int len) throws java.io.IOException { in readFully() method in RandomAccessFile
/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/libcore/io/
DClassPathURLStreamHandlerTest.java189 byte[] actualBytes = Streams.readFully(actualJarUrlConnection.getInputStream()); in assertBehaviorSame()
190 byte[] standardBytes = Streams.readFully(standardJarUrlConnection.getInputStream()); in assertBehaviorSame()
/libcore/ojluni/src/test/java/time/tck/java/time/
DAbstractTCKTest.java143 dis.readFully(input); in assertSerializedBySer()
152 dis.readFully(possible); in assertSerializedBySer()
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DZipInputStream.java85 private void readFully(byte[] b, int off, int len) throws java.io.IOException { in readFully() method in ZipInputStream
/libcore/ojluni/src/main/java/sun/security/util/
DDerValue.java272 dis.readFully(indefData, offset, readLen); in DerValue()
390 dis.readFully(indefData, offset, readLen); in init()
403 byte[] bytes = IOUtils.readFully(in, length, true); in init()
/libcore/luni/src/test/java/libcore/libcore/timezone/
DZoneInfoDBTest.java73 in.readFully(content); in testLoadTzDataWithFallback_goodOverrideFile()
98 in.readFully(content); in testLoadTzData_badHeader()

12