/libcore/luni/src/main/java/libcore/io/ |
H A D | Streams.java | 59 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 D | IoUtils.java | 107 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 D | TestMethods.java | 66 public static byte[] readFully(InputStream in) throws IOException { method in class:TestMethods 129 byte[] contents = readFully(in); 185 byte[] contents = readFully(in);
|
/libcore/luni/src/main/java/java/io/ |
H A D | DataInput.java | 110 * Equivalent to {@code readFully(dst, 0, dst.length);}. 112 public abstract void readFully(byte[] dst) throws IOException; method in interface:DataInput 140 public abstract void readFully(byte[] dst, int offset, int byteCount) throws IOException; method in interface:DataInput
|
H A D | DataInputStream.java | 94 public final void readFully(byte[] dst) throws IOException { method in class:DataInputStream 95 readFully(dst, 0, dst.length); 98 public final void readFully(byte[] dst, int offset, int byteCount) throws IOException { method in class:DataInputStream 99 Streams.readFully(in, dst, offset, byteCount); 103 Streams.readFully(in, scratch, 0, SizeOf.INT); 147 Streams.readFully(in, scratch, 0, SizeOf.LONG); 152 Streams.readFully(in, scratch, 0, SizeOf.SHORT); 178 in.readFully(buf, 0, utfSize);
|
H A D | RandomAccessFile.java | 266 * has been reached. See also {@link #readFully}. 281 * See also {@link #readFully}. 381 * Equivalent to {@code readFully(dst, 0, dst.length);}. 383 public final void readFully(byte[] dst) throws IOException { method in class:RandomAccessFile 384 readFully(dst, 0, dst.length); 413 public final void readFully(byte[] dst, int offset, int byteCount) throws IOException { method in class:RandomAccessFile 438 readFully(scratch, 0, SizeOf.INT); 499 readFully(scratch, 0, SizeOf.LONG); 516 readFully(scratch, 0, SizeOf.SHORT);
|
H A D | ObjectInputStream.java | 554 input.readFully(result); 570 input.readFully(result); 1165 public void readFully(byte[] dst) throws IOException { method in class:ObjectInputStream 1166 primitiveTypes.readFully(dst); 1185 public void readFully(byte[] dst, int offset, int byteCount) throws IOException { method in class:ObjectInputStream 1186 primitiveTypes.readFully(dst, offset, byteCount); 1446 input.readFully(byteArray, 0, size);
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
H A D | BinaryHprofReader.java | 251 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 D | DataInputStreamTest.java | 130 * 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...] |