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

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DDataInputStreamTest.java131 * java.io.DataInputStream#readFully(byte[])
138 dis.readFully(rbytes);
144 * java.io.DataInputStream#readFully(byte[], int, int)
151 dis.readFully(rbytes, 0, fileString.length());
157 * java.io.DataInputStream#readFully(byte[], int, int)
166 is.readFully(byteArray, -1, -1);
173 is.readFully(byteArray, 0, -1);
180 is.readFully(byteArray, 1, -1);
186 is.readFully(byteArray, -1, 0);
187 is.readFully(byteArra
487 public void readFully(byte[] buffer) throws IOException { method in class:DataInputStreamTest.TestDataInputStream
490 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.java190 void readFully(byte b[]) throws IOException; method in interface:DataInput
236 void readFully(byte b[], int off, int len) throws IOException; method in interface:DataInput
H A DDataInputStream.java156 * See the general contract of the <code>readFully</code>
171 public final void readFully(byte b[]) throws IOException { method in class:DataInputStream
172 readFully(b, 0, b.length);
176 * See the general contract of the <code>readFully</code>
193 public final void readFully(byte b[], int off, int len) throws IOException { method in class:DataInputStream
317 readFully(readBuffer, 0, 2);
341 readFully(readBuffer, 0, 2);
365 readFully(readBuffer, 0, 2);
389 readFully(readBuffer, 0, 4);
413 readFully(readBuffe
[all...]
H A DObjectInputStream.java850 * is available. Consider using java.io.DataInputStream.readFully to read
859 * @see java.io.DataInputStream#readFully(byte[],int,int)
1018 public void readFully(byte[] buf) throws IOException { method in class:ObjectInputStream
1019 bin.readFully(buf, 0, buf.length, false);
1031 public void readFully(byte[] buf, int off, int len) throws IOException { method in class:ObjectInputStream
1036 bin.readFully(buf, off, len, false);
1691 bin.readFully((byte[]) array, 0, len, true);
1992 bin.readFully(primVals, 0, primDataSize, false);
2164 bin.readFully(primVals, 0, primVals.length, false);
2337 void readFully(byt method in class:ObjectInputStream.PeekInputStream
2747 public void readFully(byte[] b) throws IOException { method in class:ObjectInputStream.BlockDataInputStream
2751 public void readFully(byte[] b, int off, int len) throws IOException { method in class:ObjectInputStream.BlockDataInputStream
2755 public void readFully(byte[] b, int off, int len, boolean copy) method in class:ObjectInputStream.BlockDataInputStream
[all...]
H A DRandomAccessFile.java403 public final void readFully(byte b[]) throws IOException { method in class:RandomAccessFile
404 readFully(b, 0, b.length);
421 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.java289 readFully(tmpbuf, 0, LOCHDR);
307 readFully(b, 0, len);
332 readFully(extra, 0, len);
363 readFully(tmpbuf, 0, ZIP64_EXTHDR);
377 readFully(tmpbuf, 0, EXTHDR);
412 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/luni/src/test/java/libcore/io/
H A DClassPathURLStreamHandlerTest.java186 byte[] actualBytes = Streams.readFully(actualJarUrlConnection.getInputStream());
187 byte[] standardBytes = Streams.readFully(standardJarUrlConnection.getInputStream());
/libcore/ojluni/src/test/java/time/tck/java/time/
H A DAbstractTCKTest.java143 dis.readFully(input);
152 dis.readFully(possible);
/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);
/libcore/ojluni/src/main/java/java/security/cert/
H A DCertificateRevokedException.java241 ois.readFully(extVal);

Completed in 730 milliseconds

12