Home
last modified time | relevance | path

Searched refs:readFully (Results 1 – 25 of 70) sorted by relevance

123

/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
DChannelHelper.java30 …public static ByteBuffer readFully(final ReadableByteChannel channel, long size) throws IOExceptio… in readFully() method in ChannelHelper
38 readFully(channel, buf, buf.limit()); in readFully()
48 public static void readFully(final ReadableByteChannel channel, final ByteBuffer buf) in readFully() method in ChannelHelper
50 readFully(channel, buf, buf.remaining()); in readFully()
53 …public static int readFully(final ReadableByteChannel channel, final ByteBuffer buf, final int len… in readFully() method in ChannelHelper
/external/proguard/src/proguard/classfile/io/
DRuntimeDataInput.java104 public void readFully(byte[] b) in readFully() method in RuntimeDataInput
108 dataInput.readFully(b); in readFully()
116 public void readFully(byte[] b, int off, int len) in readFully() method in RuntimeDataInput
120 dataInput.readFully(b, off, len); in readFully()
/external/guava/guava-tests/test/com/google/common/io/
DByteStreamsTest.java55 ByteStreams.readFully(newTestStream(10), null, 0, 10); in testReadFully()
61 ByteStreams.readFully(null, b, 0, 10); in testReadFully()
67 ByteStreams.readFully(newTestStream(10), b, -1, 10); in testReadFully()
73 ByteStreams.readFully(newTestStream(10), b, 0, -1); in testReadFully()
79 ByteStreams.readFully(newTestStream(10), b, 0, -1); in testReadFully()
85 ByteStreams.readFully(newTestStream(10), b, 2, 10); in testReadFully()
91 ByteStreams.readFully(newTestStream(5), b, 0, 10); in testReadFully()
97 ByteStreams.readFully(newTestStream(10), b, 0, 0); in testReadFully()
101 ByteStreams.readFully(newTestStream(10), b, 0, 10); in testReadFully()
105 ByteStreams.readFully(newTestStream(10), b, 0, 5); in testReadFully()
[all …]
DLittleEndianDataOutputStreamTest.java65 in.readFully(b); in testWriteLittleEndian()
96 in.readFully(b); in testWriteBytes()
113 in.readFully(b); in testWriteBytes_discardHighOrderBytes()
130 in.readFully(actual); in testWriteChars()
DCharSequenceReaderTest.java51 assertEquals(string, readFully(reader)); in testMarkAndReset()
56 assertEquals(string, readFully(reader)); in testMarkAndReset()
63 assertEquals(string.substring(5), readFully(reader)); in testMarkAndReset()
68 assertEquals(string.substring(5), readFully(reader)); in testMarkAndReset()
254 private static String readFully(CharSequenceReader reader) throws IOException { in readFully() method in CharSequenceReaderTest
DLittleEndianDataInputStreamTest.java72 in.readFully(b); in testReadFully()
109 in.readFully(b); in testReadLittleEndian()
145 in.readFully(b); in testSkipBytes()
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/bsdiff/
DBsPatch.java90 readFully(patchData, signatureBuffer, 0, signatureBuffer.length); in applyPatchInternal()
207 oldData.readFully(buffer1, 0, numBytesThisRound); in transformBytes()
208 readFully(patchData, buffer2, 0, numBytesThisRound); in transformBytes()
256 static void readFully( in readFully() method in BsPatch
284 readFully(in, buffer, 0, maxCopy); in pipe()
/external/guava/guava/src/com/google/common/io/
DLittleEndianDataInputStream.java65 public void readFully(byte[] b) throws IOException { in readFully() method in LittleEndianDataInputStream
66 ByteStreams.readFully(this, b); in readFully()
70 public void readFully(byte[] b, int off, int len) throws IOException { in readFully() method in LittleEndianDataInputStream
71 ByteStreams.readFully(this, b, off, len); in readFully()
DByteArrayDataInput.java36 @Override void readFully(byte b[]); in readFully() method
38 @Override void readFully(byte b[], int off, int len); in readFully() method
DByteStreams.java212 @Override public void readFully(byte b[]) { in readFully() method in ByteStreams.ByteArrayDataInputStream
214 input.readFully(b); in readFully()
220 @Override public void readFully(byte b[], int off, int len) { in readFully() method in ByteStreams.ByteArrayDataInputStream
222 input.readFully(b, off, len); in readFully()
621 public static void readFully(InputStream in, byte[] b) throws IOException { in readFully() method in ByteStreams
622 readFully(in, b, 0, b.length); in readFully()
639 public static void readFully( in readFully() method in ByteStreams
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/
DStreams.java70 public static int readFully(InputStream inStr, byte[] buf) in readFully() method in Streams
73 return readFully(inStr, buf, 0, buf.length); in readFully()
86 public static int readFully(InputStream inStr, byte[] buf, int off, int len) in readFully() method in Streams
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java231 dIn.readFully(salt); in getObject()
250 dIn.readFully(salt); in getObject()
271 dIn.readFully(salt); in getObject()
366 dIn.readFully(cEnc); in decodeCertificate()
421 dIn.readFully(enc); in decodeKey()
729 dIn.readFully(b); in loadStore()
823 dIn.readFully(salt); in engineLoad()
863 dIn.readFully(oldMac); in engineLoad()
878 dIn.readFully(oldMac); in engineLoad()
977 dIn.readFully(salt); in engineLoad()
[all …]
/external/okhttp/okio/okio/src/main/java/okio/
DBufferedSource.java119 void readFully(byte[] sink) throws IOException; in readFully() method
132 void readFully(Buffer sink, long byteCount) throws IOException; in readFully() method
DRealBufferedSource.java105 @Override public void readFully(byte[] sink) throws IOException { in readFully() method in RealBufferedSource
118 buffer.readFully(sink); in readFully()
133 @Override public void readFully(Buffer sink, long byteCount) throws IOException { in readFully() method in RealBufferedSource
141 buffer.readFully(sink, byteCount); in readFully()
/external/lzma/Java/Tukaani/src/org/tukaani/xz/
DBlockInputStream.java49 inData.readFully(buf, 0, 1); in BlockInputStream()
57 inData.readFully(buf, 1, headerSize - 1); in BlockInputStream()
267 inData.readFully(storedCheck); in validate()
DXZInputStream.java316 inData.readFully(buf, 1, 3); in prepareNextStream()
323 inData.readFully(buf, 4, DecoderUtil.STREAM_HEADER_SIZE - 4); in prepareNextStream()
DSingleXZInputStream.java61 new DataInputStream(in).readFully(streamHeader); in readStreamHeader()
329 new DataInputStream(in).readFully(buf); in validateStreamFooter()
DSeekableXZInputStream.java316 inData.readFully(buf); in SeekableXZInputStream()
337 inData.readFully(buf); in SeekableXZInputStream()
406 inData.readFully(buf); in SeekableXZInputStream()
/external/conscrypt/testing/src/main/java/libcore/tlswire/handshake/
DClientHello.java44 in.readFully(random); in parseBody()
67 in.readFully(extensionsBytes); in parseBody()
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/
DJsonWireAdapter.java81 mInputStream.readFully(payloadLenBytes); in getNextMessage()
84 mInputStream.readFully(outerJsonBytes); in getNextMessage()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DDexUtil.java64 ByteStreams.readFully(inputStream, partialHeader); in verifyDexHeader()
123 ByteStreams.readFully(inputStream, partialHeader); in verifyOdexHeader()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1InputStream.java115 protected void readFully( in readFully() method in ASN1InputStream
119 if (Streams.readFully(this, bytes) != bytes.length) in readFully()
390 Streams.readFully(defIn, buf); in getBuffer()
/external/okhttp/okio/okio/src/test/java/okio/
DSocketTimeoutTest.java104 readFully(socket.getInputStream(), writableByteCount); in socket()
128 private static byte[] readFully(InputStream in, int byteCount) throws IOException { in readFully() method in SocketTimeoutTest
/external/conscrypt/testing/src/main/java/libcore/tlswire/record/
DTlsRecord.java35 in.readFully(result.fragment); in read()
/external/conscrypt/libcore-stub/src/main/java/libcore/io/
DStreams.java30 public static byte[] readFully(InputStream in) throws IOException { in readFully() method in Streams

123