/libcore/luni/src/main/java/java/io/ |
D | PipedOutputStream.java | 66 PipedInputStream stream = target; in close() local 67 if (stream != null) { in close() 68 stream.done(); in close() 82 public void connect(PipedInputStream stream) throws IOException { in connect() argument 83 if (stream == null) { in connect() 86 synchronized (stream) { in connect() 90 if (stream.isConnected) { in connect() 93 stream.establishConnection(); in connect() 94 this.target = stream; in connect() 107 PipedInputStream stream = target; in flush() local [all …]
|
/libcore/luni/src/main/native/ |
D | java_util_zip_Deflater.cpp | 31 return toNativeZipStream(handle)->stream.total_in; in Deflater_getTotalInImpl() 35 return toNativeZipStream(handle)->stream.total_out; in Deflater_getTotalOutImpl() 39 return toNativeZipStream(handle)->stream.adler; in Deflater_getAdlerImpl() 59 int err = deflateInit2(&jstream->stream, level, Z_DEFLATED, windowBits, memLevel, strategy); in Deflater_createStream() 72 NativeZipStream* stream = toNativeZipStream(handle); in Deflater_deflateImpl() local 77 stream->stream.next_out = reinterpret_cast<Bytef*>(out.get() + off); in Deflater_deflateImpl() 78 stream->stream.avail_out = len; in Deflater_deflateImpl() 80 Bytef* initialNextIn = stream->stream.next_in; in Deflater_deflateImpl() 81 Bytef* initialNextOut = stream->stream.next_out; in Deflater_deflateImpl() 83 int err = deflate(&stream->stream, flushStyle); in Deflater_deflateImpl() [all …]
|
D | java_util_zip_Inflater.cpp | 33 jstream->stream.adler = 1; in Inflater_createStream() 43 int err = inflateInit2(&jstream->stream, noHeader ? -DEF_WBITS : DEF_WBITS); in Inflater_createStream() 56 NativeZipStream* stream = toNativeZipStream(handle); in Inflater_setFileInputImpl() local 60 if (stream->inCap < len) { in Inflater_setFileInputImpl() 61 stream->setInput(env, NULL, 0, len); in Inflater_setFileInputImpl() 63 stream->stream.next_in = reinterpret_cast<Bytef*>(&stream->input[0]); in Inflater_setFileInputImpl() 64 stream->stream.avail_in = len; in Inflater_setFileInputImpl() 77 Bytef* dst = reinterpret_cast<Bytef*>(&stream->input[0]); in Inflater_setFileInputImpl() 92 NativeZipStream* stream = toNativeZipStream(handle); in Inflater_inflateImpl() local 97 stream->stream.next_out = reinterpret_cast<Bytef*>(out.get() + off); in Inflater_inflateImpl() [all …]
|
D | ZipUtilities.cpp | 24 NativeZipStream* stream) { in throwExceptionForZlibError() argument 27 } else if (stream != NULL && stream->stream.msg != NULL) { in throwExceptionForZlibError() 28 jniThrowException(env, exceptionClassName, stream->stream.msg); in throwExceptionForZlibError() 36 stream.opaque = Z_NULL; in NativeZipStream() 37 stream.zalloc = Z_NULL; in NativeZipStream() 38 stream.zfree = Z_NULL; in NativeZipStream() 55 err = inflateSetDictionary(&stream, dictionary, len); in setDictionary() 57 err = deflateSetDictionary(&stream, dictionary, len); in setDictionary() 77 stream.next_in = reinterpret_cast<Bytef*>(&input[0]); in setInput() 78 stream.avail_in = len; in setInput()
|
D | ZipUtilities.h | 29 z_stream stream; variable 47 NativeZipStream* stream);
|
/libcore/luni/src/test/java/tests/api/org/xml/sax/support/ |
D | BrokenInputStream.java | 29 private InputStream stream; field in BrokenInputStream 33 public BrokenInputStream(InputStream stream, int offset) { in BrokenInputStream() argument 36 this.stream = stream; in BrokenInputStream() 47 return stream.read(); in read() 52 stream.close(); in close()
|
/libcore/luni/src/main/java/java/util/ |
D | HashSet.java | 186 private void writeObject(ObjectOutputStream stream) throws IOException { in writeObject() argument 187 stream.defaultWriteObject(); in writeObject() 188 stream.writeInt(backingMap.table.length); in writeObject() 189 stream.writeFloat(HashMap.DEFAULT_LOAD_FACTOR); in writeObject() 190 stream.writeInt(size()); in writeObject() 192 stream.writeObject(e); in writeObject() 197 private void readObject(ObjectInputStream stream) throws IOException, in readObject() argument 199 stream.defaultReadObject(); in readObject() 200 int length = stream.readInt(); in readObject() 201 float loadFactor = stream.readFloat(); in readObject() [all …]
|
D | TreeSet.java | 472 private void writeObject(ObjectOutputStream stream) throws IOException { in writeObject() argument 473 stream.defaultWriteObject(); in writeObject() 474 stream.writeObject(backingMap.comparator()); in writeObject() 476 stream.writeInt(size); in writeObject() 480 stream.writeObject(it.next()); in writeObject() 486 private void readObject(ObjectInputStream stream) throws IOException, in readObject() argument 488 stream.defaultReadObject(); in readObject() 490 (Comparator<? super E>) stream.readObject()); in readObject() 491 int size = stream.readInt(); in readObject() 494 E elem = (E)stream.readObject(); in readObject()
|
D | PropertyResourceBundle.java | 47 public PropertyResourceBundle(InputStream stream) throws IOException { in PropertyResourceBundle() argument 48 if (stream == null) { in PropertyResourceBundle() 52 resources.load(stream); in PropertyResourceBundle()
|
/libcore/crypto/src/main/java/org/conscrypt/ |
D | OpenSSLDSAPublicKey.java | 165 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { in readObject() argument 166 stream.defaultReadObject(); in readObject() 168 final BigInteger g = (BigInteger) stream.readObject(); in readObject() 169 final BigInteger p = (BigInteger) stream.readObject(); in readObject() 170 final BigInteger q = (BigInteger) stream.readObject(); in readObject() 171 final BigInteger y = (BigInteger) stream.readObject(); in readObject() 181 private void writeObject(ObjectOutputStream stream) throws IOException { in writeObject() argument 185 stream.defaultWriteObject(); in writeObject() 188 stream.writeObject(params.getG()); in writeObject() 189 stream.writeObject(params.getP()); in writeObject() [all …]
|
D | OpenSSLDSAPrivateKey.java | 205 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { in readObject() argument 206 stream.defaultReadObject(); in readObject() 208 final BigInteger g = (BigInteger) stream.readObject(); in readObject() 209 final BigInteger p = (BigInteger) stream.readObject(); in readObject() 210 final BigInteger q = (BigInteger) stream.readObject(); in readObject() 211 final BigInteger x = (BigInteger) stream.readObject(); in readObject() 221 private void writeObject(ObjectOutputStream stream) throws IOException { in writeObject() argument 226 stream.defaultWriteObject(); in writeObject() 229 stream.writeObject(params.getG()); in writeObject() 230 stream.writeObject(params.getP()); in writeObject() [all …]
|
D | OpenSSLECPrivateKey.java | 169 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { in readObject() argument 170 stream.defaultReadObject(); in readObject() 172 byte[] encoded = (byte[]) stream.readObject(); in readObject() 180 private void writeObject(ObjectOutputStream stream) throws IOException { in writeObject() argument 185 stream.defaultWriteObject(); in writeObject() 186 stream.writeObject(getEncoded()); in writeObject()
|
D | OpenSSLSecretKey.java | 124 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { in readObject() argument 125 stream.defaultReadObject(); in readObject() 130 private void writeObject(ObjectOutputStream stream) throws IOException { in writeObject() argument 135 stream.defaultWriteObject(); in writeObject()
|
D | OpenSSLECPublicKey.java | 154 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { in readObject() argument 155 stream.defaultReadObject(); in readObject() 157 byte[] encoded = (byte[]) stream.readObject(); in readObject() 165 private void writeObject(ObjectOutputStream stream) throws IOException { in writeObject() argument 170 stream.defaultWriteObject(); in writeObject() 171 stream.writeObject(getEncoded()); in writeObject()
|
D | OpenSSLRSAPublicKey.java | 170 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { in readObject() argument 171 stream.defaultReadObject(); in readObject() 185 private void writeObject(ObjectOutputStream stream) throws IOException { in writeObject() argument 187 stream.defaultWriteObject(); in writeObject()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | OldAndroidZipStressTest.java | 86 InputStream stream = zip.getInputStream(entry); in testZipStressManifest() local 87 int j = stream.read(buffer); in testZipStressManifest() 89 j = stream.read(buffer); in testZipStressManifest() 91 stream.close(); in testZipStressManifest() 105 InputStream stream = zip.getInputStream(entries.nextElement()); in testZipStressAllFiles() local 106 int j = stream.read(buffer); in testZipStressAllFiles() 108 j = stream.read(buffer); in testZipStressAllFiles() 110 stream.close(); in testZipStressAllFiles()
|
/libcore/luni/src/main/java/java/sql/ |
D | SQLData.java | 90 public void readSQL(SQLInput stream, String typeName) throws SQLException; in readSQL() argument 113 public void writeSQL(SQLOutput stream) throws SQLException; in writeSQL() argument
|
/libcore/luni/src/main/java/java/security/ |
D | Certificate.java | 50 public void decode(InputStream stream) throws KeyException, IOException; in decode() argument 65 public void encode(OutputStream stream) throws KeyException, IOException; in encode() argument
|
D | DigestOutputStream.java | 47 public DigestOutputStream(OutputStream stream, MessageDigest digest) { in DigestOutputStream() argument 48 super(stream); in DigestOutputStream()
|
D | DigestInputStream.java | 50 public DigestInputStream(InputStream stream, MessageDigest digest) { in DigestInputStream() argument 51 super(stream); in DigestInputStream()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | MyKeyStoreSpi.java | 129 public void engineStore(OutputStream stream, char[] password) in engineStore() argument 131 if (!(stream instanceof ByteArrayOutputStream)) { in engineStore() 134 if (((ByteArrayOutputStream) stream).size() == 0) { in engineStore() 142 public void engineLoad(InputStream stream, char[] password) in engineLoad() argument
|
/libcore/luni/src/main/java/java/nio/ |
D | NioUtils.java | 46 public static FileChannel newFileChannel(Object stream, FileDescriptor fd, int mode) { in newFileChannel() argument 47 return new FileChannelImpl(stream, fd, mode); in newFileChannel()
|
/libcore/luni/src/main/java/java/util/jar/ |
D | JarInputStream.java | 61 public JarInputStream(InputStream stream, boolean verify) throws IOException { in JarInputStream() argument 62 super(stream); in JarInputStream() 106 public JarInputStream(InputStream stream) throws IOException { in JarInputStream() argument 107 this(stream, true); in JarInputStream()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | CipherInputStreamTest.java | 37 CipherInputStream stream = new CipherInputStream(null, new NullCipher()); in testReadBII() local 39 stream.read(new byte[1], 1, 0); in testReadBII()
|
/libcore/luni/src/main/java/java/net/ |
D | Inet6Address.java | 253 private void writeObject(ObjectOutputStream stream) throws IOException { in writeObject() argument 254 ObjectOutputStream.PutField fields = stream.putFields(); in writeObject() 265 stream.writeFields(); in writeObject() 268 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { in readObject() argument 269 ObjectInputStream.GetField fields = stream.readFields(); in readObject()
|