Home
last modified time | relevance | path

Searched refs:readFully (Results 1 – 25 of 46) 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 …]
/libcore/ojluni/src/main/java/java/io/
DDataInputStream.java172 public final void readFully(byte b[]) throws IOException { in readFully() method in DataInputStream
173 readFully(b, 0, b.length); in readFully()
198 public final void readFully(byte b[], int off, int len) throws IOException { in readFully() method in DataInputStream
322 readFully(readBuffer, 0, 2); in readShort()
346 readFully(readBuffer, 0, 2); in readUnsignedShort()
370 readFully(readBuffer, 0, 2); in readChar()
394 readFully(readBuffer, 0, 4); in readInt()
418 readFully(readBuffer, 0, 8); in readLong()
611 in.readFully(bytearr, 0, utflen); in readUTF()
DDataInput.java200 void readFully(byte b[]) throws IOException; in readFully() method
250 void readFully(byte b[], int off, int len) throws IOException; in readFully() method
DObjectInputStream.java1074 public void readFully(byte[] buf) throws IOException { in readFully() method in ObjectInputStream
1075 bin.readFully(buf, 0, buf.length, false); in readFully()
1087 public void readFully(byte[] buf, int off, int len) throws IOException { in readFully() method in ObjectInputStream
1092 bin.readFully(buf, off, len, false); in readFully()
1816 bin.readFully((byte[]) array, 0, len, true); in readArray()
2175 bin.readFully(primVals, 0, primDataSize, false); in defaultReadFields()
2288 bin.readFully(primValues, 0, primDataSize, false); in FieldValues()
2500 bin.readFully(primVals, 0, primVals.length, false); in readFields()
2689 void readFully(byte[] b, int off, int len) throws IOException { in readFully() method in ObjectInputStream.PeekInputStream
2854 in.readFully(hbuf, 0, 2); in readBlockHeader()
[all …]
DRandomAccessFile.java472 public final void readFully(byte b[]) throws IOException { in readFully() method in RandomAccessFile
473 readFully(b, 0, b.length); in readFully()
490 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.java97 public static void readFully(@NonNull InputStream in, @NonNull byte[] dst) throws IOException { in readFully() method in Streams
98 readFully(in, dst, 0, dst.length); in readFully()
109 …public static void readFully(InputStream in, byte[] dst, int offset, int byteCount) throws IOExcep… in readFully() method in Streams
142 public static @NonNull byte[] readFully(@NonNull InputStream in) throws IOException { in readFully() method in Streams
181 public static @NonNull String readFully(@NonNull Reader reader) throws IOException { in readFully() method in Streams
DIoUtils.java276 return new FileReader(absolutePath).readFully().toByteArray(); in readFileAsByteArray()
291 return new FileReader(absolutePath).readFully().toString(StandardCharsets.UTF_8); in readFileAsString()
401 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.java309 readFully(tmpbuf, 0, LOCHDR); in readLOC()
327 readFully(b, 0, len); in readLOC()
360 readFully(extra, 0, len); in readLOC()
404 readFully(tmpbuf, 0, ZIP64_EXTHDR); in readEnd()
418 readFully(tmpbuf, 0, EXTHDR); in readEnd()
453 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/src/main/java/sun/security/util/
DHexDumpEncoder.java132 protected int readFully(InputStream in, byte buffer[]) in readFully() method in HexDumpEncoder
159 numBytes = readFully(inStream, tmpbuffer); in encode()
272 numBytes = readFully(inStream, tmpbuffer); in encodeBuffer()
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/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/luni/src/test/java/libcore/libcore/io/
DStreamsTest.java41 Streams.readFully(inStream, dst); in testReadFully()
DClassPathURLStreamHandlerTest.java189 byte[] actualBytes = Streams.readFully(actualJarUrlConnection.getInputStream()); in assertBehaviorSame()
190 byte[] standardBytes = Streams.readFully(standardJarUrlConnection.getInputStream()); in assertBehaviorSame()
/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/ojluni/src/test/java/time/tck/java/time/
DAbstractTCKTest.java162 dis.readFully(input); in assertSerializedBySer()
171 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

12