/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...] |
/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/luni/src/test/java/libcore/java/io/ |
H A D | OldDataInputStreamTest.java | 157 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 D | OldRandomAccessFileTest.java | 755 * 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 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/support/src/test/java/libcore/tlswire/record/ |
H A D | TlsRecord.java | 37 in.readFully(result.fragment);
|
/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/support/src/test/java/libcore/tlswire/handshake/ |
H A D | HandshakeMessage.java | 51 in.readFully(result.body);
|
H A D | ClientHello.java | 47 in.readFully(random); 72 in.readFully(extensionsBytes);
|
/libcore/support/src/test/java/libcore/tlswire/util/ |
H A D | IoUtils.java | 32 in.readFully(result);
|
/libcore/luni/src/main/java/java/util/zip/ |
H A D | ZipInputStream.java | 193 Streams.readFully(in, hdrBuf, 0, EXTHDR + 8); 195 Streams.readFully(in, hdrBuf, 0, EXTHDR); 235 Streams.readFully(in, hdrBuf, 0, 4); 246 Streams.readFully(in, hdrBuf, 0, (LOCHDR - LOCVER)); 284 Streams.readFully(in, extraData, 0, extraLength); 301 Streams.readFully(in, stringBytesBuf, 0, byteLength);
|
H A D | GZIPInputStream.java | 209 Streams.readFully(in, header, 0, header.length); 221 Streams.readFully(in, header, 0, 2); 245 Streams.readFully(in, header, 0, 2); 262 Streams.readFully(in, b, copySize, trailerSize - copySize);
|
H A D | ZipEntry.java | 383 Streams.readFully(cdStream, cdeHdrBuf, 0, cdeHdrBuf.length); 425 Streams.readFully(cdStream, nameBytes, 0, nameBytes.length); 433 Streams.readFully(cdStream, extra, 0, extraLength); 438 Streams.readFully(cdStream, commentBytes, 0, commentByteCount);
|
H A D | Zip64.java | 101 raf.readFully(zip64EocdLocator); 140 raf.readFully(zip64Eocd);
|
/libcore/luni/src/main/java/java/util/jar/ |
H A D | JarFile.java | 337 metaEntriesMap.put(MANIFEST_NAME, Streams.readFully( 351 metaEntriesMap.put(entryName.toUpperCase(Locale.US), Streams.readFully(is));
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
H A D | StrictJarFileTest.java | 81 assertEquals("Blah", new String(Streams.readFully(jarFile.getInputStream(ze)), 104 assertEquals("Blah", new String(Streams.readFully(jarFile.getInputStream(ze)),
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
H A D | ObjectInputStreamTest.java | 275 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/luni/src/test/java/libcore/java/util/zip/ |
H A D | GZIPInputStreamTest.java | 189 byte[] unzipped = Streams.readFully(gzip);
|
/libcore/luni/src/test/java/libcore/util/ |
H A D | ZoneInfoDBTest.java | 60 in.readFully(content);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
H A D | DeflaterInputStreamTest.java | 146 byte[] contents = Streams.readFully(dis); 164 byte[] contents = Streams.readFully(dis);
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
H A D | SHA1PRNG_SecureRandomImpl.java | 544 Streams.readFully(ois, nextBytes, nextBIndex, HASHBYTES_TO_USE - nextBIndex); 556 Streams.readFully(devURandom, result, 0, byteCount);
|