/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 | 264 * has been reached. See also {@link #readFully}. 279 * See also {@link #readFully}. 379 * Equivalent to {@code readFully(dst, 0, dst.length);}. 381 public final void readFully(byte[] dst) throws IOException { method in class:RandomAccessFile 382 readFully(dst, 0, dst.length); 411 public final void readFully(byte[] dst, int offset, int byteCount) throws IOException { method in class:RandomAccessFile 436 readFully(scratch, 0, SizeOf.INT); 497 readFully(scratch, 0, SizeOf.LONG); 514 readFully(scratch, 0, SizeOf.SHORT);
|
H A D | ObjectInputStream.java | 555 input.readFully(result); 571 input.readFully(result); 1167 public void readFully(byte[] dst) throws IOException { method in class:ObjectInputStream 1168 primitiveTypes.readFully(dst); 1187 public void readFully(byte[] dst, int offset, int byteCount) throws IOException { method in class:ObjectInputStream 1188 primitiveTypes.readFully(dst, offset, byteCount); 1448 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/luni/src/main/java/java/util/zip/ |
H A D | GZIPInputStream.java | 98 readFully(header, 0, header.length); 109 readFully(header, 0, 2); 133 readFully(header, 0, 2); 187 readFully(b, copySize, trailerSize - copySize); 197 private void readFully(byte[] buffer, int offset, int length) throws IOException { method in class:GZIPInputStream
|
H A D | ZipInputStream.java | 193 Streams.readFully(in, hdrBuf, 0, EXTHDR); 223 Streams.readFully(in, hdrBuf, 0, 4); 234 Streams.readFully(in, hdrBuf, 0, (LOCHDR - LOCVER)); 266 Streams.readFully(in, nameBuf, 0, nameLength); 278 Streams.readFully(in, extraData, 0, extraLength);
|
H A D | ZipEntry.java | 353 Streams.readFully(cdStream, cdeHdrBuf, 0, cdeHdrBuf.length); 388 Streams.readFully(cdStream, nameBytes, 0, nameBytes.length); 396 Streams.readFully(cdStream, extra, 0, extraLength); 403 Streams.readFully(cdStream, commentBytes, 0, commentByteCount);
|
H A D | ZipFile.java | 384 raf.readFully(eocd); 402 raf.readFully(commentBytes);
|
/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/crypto/src/main/java/org/conscrypt/ |
H A D | ClientKeyExchange.java | 113 Streams.readFully(in, exchange_keys);
|
H A D | ServerHello.java | 90 Streams.readFully(in, random);
|
H A D | CertificateRequest.java | 92 Streams.readFully(in, certificate_types);
|
H A D | AbstractSessionContext.java | 243 dais.readFully(sessionData); 250 dais.readFully(certData);
|
H A D | ClientHello.java | 92 Streams.readFully(in, random);
|
H A D | FileClientSessionCache.java | 167 new DataInputStream(in).readFully(data);
|
/libcore/luni/src/test/java/tests/api/java/io/ |
H A D | ObjectInputStreamTest.java | 216 ois.readFully(buf); 224 ois.readFully(buf); 240 ois.readFully(buf); 250 // Test for method void java.io.ObjectInputStream.readFully(byte [], 256 ois.readFully(buf, 0, testLength); 263 ois.readFully(buf); 277 ois.readFully(buf, 0, -1); 283 ois.readFully(buf, -1,1); 289 ois.readFully(buf, testLength, 1); 300 ois.readFully(bu [all...] |
/libcore/luni/src/test/java/libcore/util/ |
H A D | ZoneInfoDBTest.java | 59 in.readFully(content);
|
/libcore/luni/src/main/java/java/util/jar/ |
H A D | JarFile.java | 292 verifier.addMetaEntry(manifestEntry.getName(), Streams.readFully(is)); 344 verifier.addMetaEntry(entryName, Streams.readFully(is));
|
/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);
|
/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/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
H A D | X509CertFactoryImpl.java | 647 Streams.readFully(inStream, encoding); 718 Streams.readFully(inStream, encoding);
|