Searched defs:readFully (Results 1 - 17 of 17) sorted by relevance

/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 DCharacterDecoder.java133 protected int readFully(InputStream in, byte buffer[], int offset, int len) method in class:CharacterDecoder
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);
/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/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/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 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
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...]
/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/ojluni/src/main/java/sun/security/provider/
H A DX509Factory.java113 private static int readFully(InputStream in, ByteArrayOutputStream bout, method in class:X509Factory
692 if (readFully(is, bout, length) != length) {
/libcore/dalvik/src/main/java/dalvik/system/profiler/
H A DBinaryHprofReader.java251 readFully(in, bytes);
262 private static void readFully(InputStream in, byte[] dst) throws IOException { method in class:BinaryHprofReader
/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/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/ojluni/src/main/native/
H A DUNIXProcess_md.c658 readFully(int fd, void *buf, size_t nbyte) function
915 switch (readFully(fail[0], &errnum, sizeof(errnum))) {
H A Dzip_util.c190 readFully(ZFILE zfd, void *buf, jlong len) { function
224 return readFully(zfd, buf, len);
881 if (readFully(zfd, errbuf, 4) != -1) { // errors will be handled later
987 if (readFully(zfd, cen+bufsize, censize-bufsize) == -1) goto Catch;

Completed in 2001 milliseconds