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

12

/libcore/luni/src/main/java/java/io/
H A DDataInput.java110 * 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 DDataInputStream.java94 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 DRandomAccessFile.java264 * 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 DObjectInputStream.java555 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 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/luni/src/main/java/java/util/zip/
H A DGZIPInputStream.java98 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 DZipInputStream.java193 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 DZipEntry.java353 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 DZipFile.java384 raf.readFully(eocd);
402 raf.readFully(commentBytes);
/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/crypto/src/main/java/org/conscrypt/
H A DClientKeyExchange.java113 Streams.readFully(in, exchange_keys);
H A DServerHello.java90 Streams.readFully(in, random);
H A DCertificateRequest.java92 Streams.readFully(in, certificate_types);
H A DAbstractSessionContext.java243 dais.readFully(sessionData);
250 dais.readFully(certData);
H A DClientHello.java92 Streams.readFully(in, random);
H A DFileClientSessionCache.java167 new DataInputStream(in).readFully(data);
/libcore/luni/src/test/java/tests/api/java/io/
H A DObjectInputStreamTest.java216 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 DZoneInfoDBTest.java59 in.readFully(content);
/libcore/luni/src/main/java/java/util/jar/
H A DJarFile.java292 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 DSHA1PRNG_SecureRandomImpl.java544 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 DBinaryHprofReader.java251 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 DX509CertFactoryImpl.java647 Streams.readFully(inStream, encoding);
718 Streams.readFully(inStream, encoding);

Completed in 434 milliseconds

12