Searched refs:readFully (Results 1 - 25 of 45) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DDataInputStreamTest.java130 * java.io.DataInputStream#readFully(byte[])
137 dis.readFully(rbytes);
143 * java.io.DataInputStream#readFully(byte[], int, int)
150 dis.readFully(rbytes, 0, fileString.length());
156 * java.io.DataInputStream#readFully(byte[], int, int)
165 is.readFully(byteArray, -1, -1);
172 is.readFully(byteArray, 0, -1);
179 is.readFully(byteArray, 1, -1);
185 is.readFully(byteArray, -1, 0);
186 is.readFully(byteArra
486 public void readFully(byte[] buffer) throws IOException { method in class:DataInputStreamTest.TestDataInputStream
489 public void readFully(byte[] buffer, int offset, int count) method in class:DataInputStreamTest.TestDataInputStream
[all...]
/libcore/ojluni/src/main/java/java/io/
H A DDataInput.java235 void readFully(byte b[]) throws IOException; method in interface:DataInput
281 void readFully(byte b[], int off, int len) throws IOException; method in interface:DataInput
H A DDataInputStream.java153 * See the general contract of the <code>readFully</code>
168 public final void readFully(byte b[]) throws IOException { method in class:DataInputStream
169 readFully(b, 0, b.length);
173 * See the general contract of the <code>readFully</code>
190 public final void readFully(byte b[], int off, int len) throws IOException { method in class:DataInputStream
416 readFully(readBuffer, 0, 8);
609 in.readFully(bytearr, 0, utflen);
H A DObjectInputStream.java847 * is available. Consider using java.io.DataInputStream.readFully to read
856 * @see java.io.DataInputStream#readFully(byte[],int,int)
1015 public void readFully(byte[] buf) throws IOException { method in class:ObjectInputStream
1016 bin.readFully(buf, 0, buf.length, false);
1028 public void readFully(byte[] buf, int off, int len) throws IOException { method in class:ObjectInputStream
1033 bin.readFully(buf, off, len, false);
1688 bin.readFully((byte[]) array, 0, len, true);
1981 bin.readFully(primVals, 0, primDataSize, false);
2153 bin.readFully(primVals, 0, primVals.length, false);
2326 void readFully(byt method in class:ObjectInputStream.PeekInputStream
2736 public void readFully(byte[] b) throws IOException { method in class:ObjectInputStream.BlockDataInputStream
2740 public void readFully(byte[] b, int off, int len) throws IOException { method in class:ObjectInputStream.BlockDataInputStream
2744 public void readFully(byte[] b, int off, int len, boolean copy) method in class:ObjectInputStream.BlockDataInputStream
[all...]
H A DRandomAccessFile.java392 public final void readFully(byte b[]) throws IOException { method in class:RandomAccessFile
393 readFully(b, 0, b.length);
410 public final void readFully(byte b[], int off, int len) throws IOException { method in class:RandomAccessFile
/libcore/luni/src/test/java/libcore/java/io/
H A DOldDataInputStreamTest.java157 dis.readFully(rbytes);
163 dis.readFully(rbytes);
172 dis.readFully(rbytes);
186 dis.readFully(rbytes, 2, testLength - 4);
193 dis.readFully(rbytes, 0, testLength);
202 dis.readFully(rbytes, 0, testLength);
215 is.readFully(byteArray, 0, -1);
222 is.readFully(byteArray, 0, byteArray.length + 1);
229 is.readFully(byteArray, 1, byteArray.length);
236 is.readFully(byteArra
[all...]
H A DOldRandomAccessFileTest.java755 * java.io.RandomAccessFile#readFully(byte[])
764 raf.readFully(null);
770 raf.readFully(buf);
775 raf.readFully(buf);
789 raf.readFully(buf);
798 * java.io.RandomAccessFile#readFully(byte[], int, int)
807 raf.readFully(null);
813 raf.readFully(buf, 5, testLength - 10);
823 raf.readFully(buf, 3, testLength - 6);
831 raf.readFully(bu
[all...]
/libcore/luni/src/test/etc/loading-test-jar/
H A DTestMethods.java66 public static byte[] readFully(InputStream in) throws IOException { method in class:TestMethods
129 byte[] contents = readFully(in);
185 byte[] contents = readFully(in);
/libcore/support/src/test/java/libcore/tlswire/record/
H A DTlsRecord.java37 in.readFully(result.fragment);
/libcore/luni/src/main/java/libcore/io/
H A DStreams.java59 public static void readFully(InputStream in, byte[] dst) throws IOException { method in class:Streams
60 readFully(in, dst, 0, dst.length);
67 * Used to implement {@link java.io.DataInputStream#readFully(byte[], int, int)}.
69 public static void readFully(InputStream in, byte[] dst, int offset, int byteCount) throws IOException { method in class:Streams
93 public static byte[] readFully(InputStream in) throws IOException { method in class:Streams
117 public static String readFully(Reader reader) throws IOException { method in class:Streams
H A DIoUtils.java107 return new FileReader(absolutePath).readFully().toByteArray();
114 return new FileReader(absolutePath).readFully().toString(StandardCharsets.UTF_8);
230 public FileReader readFully() throws IOException { method in class:IoUtils.FileReader
/libcore/ojluni/src/main/java/sun/misc/
H A DIOUtils.java50 public static byte[] readFully(InputStream is, int length, boolean readAll) method in class:IOUtils
H A DCharacterEncoder.java124 protected int readFully(InputStream in, byte buffer[]) method in class:CharacterEncoder
150 numBytes = readFully(inStream, tmpbuffer);
285 numBytes = readFully(inStream, tmpbuffer);
H A DBASE64Decoder.java122 i = readFully(inStream, decode_buffer, 1, rem-1);
H A DCharacterDecoder.java133 protected int readFully(InputStream in, byte buffer[], int offset, int len) method in class:CharacterDecoder
/libcore/support/src/test/java/libcore/tlswire/handshake/
H A DHandshakeMessage.java51 in.readFully(result.body);
H A DClientHello.java47 in.readFully(random);
72 in.readFully(extensionsBytes);
/libcore/support/src/test/java/libcore/tlswire/util/
H A DIoUtils.java32 in.readFully(result);
/libcore/ojluni/src/main/java/java/util/zip/
H A DZipInputStream.java286 readFully(tmpbuf, 0, LOCHDR);
304 readFully(b, 0, len);
329 readFully(bb, 0, len);
382 readFully(tmpbuf, 0, ZIP64_EXTHDR);
396 readFully(tmpbuf, 0, EXTHDR);
431 private void readFully(byte[] b, int off, int len) throws IOException { method in class:ZipInputStream
/libcore/luni/src/test/java/libcore/java/util/zip/
H A DZip64FileTest.java52 byte[] uncompressed = Streams.readFully(is);
/libcore/ojluni/src/main/java/sun/net/www/http/
H A DKeepAliveStream.java143 dis.readFully(buf);
/libcore/ojluni/src/main/java/sun/security/ssl/
H A DInputRecord.java438 private int readFully(InputStream s, byte b[], int off, int len) method in class:InputRecord
480 int really = readFully(s, buf, exlen, headerSize - exlen);
554 int really = readFully(
630 int really = readFully(
/libcore/luni/src/test/java/libcore/io/
H A DClassPathURLStreamHandlerTest.java186 byte[] actualBytes = Streams.readFully(actualJarUrlConnection.getInputStream());
187 byte[] standardBytes = Streams.readFully(standardJarUrlConnection.getInputStream());
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
H A DObjectInputStreamTest.java275 ois.readFully(buf);
283 ois.readFully(buf);
299 ois.readFully(buf);
309 // Test for method void java.io.ObjectInputStream.readFully(byte [],
315 ois.readFully(buf, 0, testLength);
322 ois.readFully(buf);
336 ois.readFully(buf, 0, -1);
342 ois.readFully(buf, -1,1);
348 ois.readFully(buf, testLength, 1);
359 ois.readFully(bu
[all...]
/libcore/ojluni/src/main/java/sun/security/util/
H A DDerValue.java269 dis.readFully(indefData, offset, readLen);
386 dis.readFully(indefData, offset, readLen);
399 byte[] bytes = IOUtils.readFully(in, length, true);

Completed in 1235 milliseconds

12