/libcore/luni/src/main/java/java/sql/ |
H A D | SQLData.java | 67 * <li>Utilize the passed input stream to read the attributes or entries of 69 * <li>This is carried out by reading each entry from the input stream, 78 * The supplied input stream is typically initialized by the calling JDBC 81 * @param stream 82 * the {@code SQLInput} stream from which the type map data is 90 public void readSQL(SQLInput stream, String typeName) throws SQLException; argument 93 * Writes the object to a supplied {@code SQLOutput} data stream, writing it 98 * <li>Write each attribute of the SQL type to the output stream.</li> 99 * <li>Write each item by calling a method on the output stream, in the 106 * @param stream 113 writeSQL(SQLOutput stream) argument [all...] |
/libcore/luni/src/main/java/java/io/ |
H A D | PipedOutputStream.java | 22 * data back and forth, one creates a piped output stream and the other one 23 * creates a piped input stream. 36 * stream must be connected to a {@link PipedInputStream} before data can be 44 * {@link PipedInputStream} {@code target}. Any data written to this stream 45 * can be read from the target stream. 48 * the piped input stream to connect to. 50 * if this stream or {@code target} are already connected. 57 * Closes this stream. If this stream is connected to an input stream, th 82 connect(PipedInputStream stream) argument [all...] |
/libcore/luni/src/main/java/java/nio/ |
H A D | NioUtils.java | 71 public static FileChannel newFileChannel(Object stream, FileDescriptor fd, int mode) { argument 72 return new FileChannelImpl(stream, fd, mode);
|
/libcore/luni/src/main/java/java/security/ |
H A D | Certificate.java | 41 * @param stream 46 * if an exception is thrown by accessing the provided stream. 50 public void decode(InputStream stream) throws KeyException, IOException; argument 53 * Encodes this certificate to an output stream. The 57 * @param stream 62 * if an exception is thrown by accessing the provided stream. 65 public void encode(OutputStream stream) throws KeyException, IOException; argument
|
H A D | DigestInputStream.java | 31 * The message digest for this stream. 40 * given {@code stream} and the {@code digest}. 43 * {@code DigestInputStream}. All operations on such a stream will fail. 45 * @param stream 46 * the input stream. 50 public DigestInputStream(InputStream stream, MessageDigest digest) { argument 51 super(stream); 56 * Returns the message digest for this stream. 58 * @return the message digest for this stream. 65 * Sets the message digest which this stream wil [all...] |
H A D | DigestOutputStream.java | 31 * The message digest for this stream. 40 * given {@code stream} and the {@code digest}. 42 * @param stream 43 * the output stream. 47 public DigestOutputStream(OutputStream stream, MessageDigest digest) { argument 48 super(stream); 53 * Returns the message digest for this stream. 55 * @return the message digest for this stream. 62 * Sets the message digest which this stream will use. 65 * the message digest which this stream wil [all...] |
H A D | KeyStoreSpi.java | 221 * @param stream 226 * if a problem occurred while writing to the stream. 233 public abstract void engineStore(OutputStream stream, char[] password) argument 244 * if a problem occurred while writing to the stream. 263 * @param stream 269 * if a problem occurred while reading from the stream. 276 public abstract void engineLoad(InputStream stream, char[] password) argument 287 * if a problem occurred while reading from the stream.
|
/libcore/luni/src/main/java/java/util/ |
H A D | PropertyResourceBundle.java | 41 * @param stream 47 public PropertyResourceBundle(InputStream stream) throws IOException { argument 48 if (stream == null) { 52 resources.load(stream);
|
H A D | HashSet.java | 186 private void writeObject(ObjectOutputStream stream) throws IOException { argument 187 stream.defaultWriteObject(); 188 stream.writeInt(backingMap.table.length); 189 stream.writeFloat(HashMap.DEFAULT_LOAD_FACTOR); 190 stream.writeInt(size()); 192 stream.writeObject(e); 197 private void readObject(ObjectInputStream stream) throws IOException, argument 199 stream.defaultReadObject(); 200 int length = stream.readInt(); 201 float loadFactor = stream [all...] |
H A D | TreeSet.java | 472 private void writeObject(ObjectOutputStream stream) throws IOException { argument 473 stream.defaultWriteObject(); 474 stream.writeObject(backingMap.comparator()); 476 stream.writeInt(size); 480 stream.writeObject(it.next()); 486 private void readObject(ObjectInputStream stream) throws IOException, argument 488 stream.defaultReadObject(); 490 (Comparator<? super E>) stream.readObject()); 491 int size = stream.readInt(); 494 E elem = (E)stream [all...] |
/libcore/luni/src/main/java/javax/xml/transform/stream/ |
H A D | FilePathToURI.java | 18 package javax.xml.transform.stream;
|
H A D | StreamResult.java | 20 package javax.xml.transform.stream; 40 "http://javax.xml.transform.stream.StreamResult/feature"; 49 * Construct a StreamResult from a byte stream. Normally, 50 * a stream should be used rather than a reader, so that 61 * Construct a StreamResult from a character stream. Normally, 62 * a stream should be used rather than a reader, so that 66 * stream, such as when using a StringWriter. 94 * a stream should be used rather than a reader, so that 105 * Get the byte stream that was set with setOutputStream. 107 * @return The byte stream tha [all...] |
H A D | StreamSource.java | 20 package javax.xml.transform.stream; 29 * of a stream of XML markup.</p> 44 "http://javax.xml.transform.stream.StreamSource/feature"; 60 * Construct a StreamSource from a byte stream. Normally, 61 * a stream should be used rather than a reader, so 69 * @param inputStream A valid InputStream reference to an XML stream. 76 * Construct a StreamSource from a byte stream. Normally, 77 * a stream should be used rather than a reader, so that 82 * to the input stream, which allows relative URIs 85 * @param inputStream A valid InputStream reference to an XML stream [all...] |
/libcore/luni/src/test/java/tests/api/org/xml/sax/support/ |
H A D | BrokenInputStream.java | 29 private InputStream stream; field in class:BrokenInputStream 33 public BrokenInputStream(InputStream stream, int offset) { argument 36 this.stream = stream; 47 return stream.read(); 52 stream.close();
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | CertificateStub.java | 55 public void decode(InputStream stream) throws KeyException, argument 65 public void encode(OutputStream stream) throws KeyException, argument
|
H A D | MyKeyStore.java | 178 public void engineStore(OutputStream stream, char[] password) argument 180 if (!(stream instanceof ByteArrayOutputStream)) { 181 throw new IOException("Incorrect stream"); 201 public void engineLoad(InputStream stream, char[] password) argument
|
H A D | MyKeyStoreSpi.java | 129 public void engineStore(OutputStream stream, char[] password) argument 131 if (!(stream instanceof ByteArrayOutputStream)) { 132 throw new IOException("Incorrect stream"); 134 if (((ByteArrayOutputStream) stream).size() == 0) { 135 throw new IOException("Incorrect stream size "); 142 public void engineLoad(InputStream stream, char[] password) argument
|
/libcore/luni/src/main/java/java/net/ |
H A D | InetSocketAddress.java | 238 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { argument 239 stream.defaultReadObject();
|
H A D | Inet6Address.java | 253 private void writeObject(ObjectOutputStream stream) throws IOException { argument 254 ObjectOutputStream.PutField fields = stream.putFields(); 265 stream.writeFields(); 268 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { argument 269 ObjectInputStream.GetField fields = stream.readFields();
|
/libcore/luni/src/main/java/java/util/jar/ |
H A D | JarInputStream.java | 29 * The input stream from which the JAR file to be read may be fetched. It is 51 * Constructs a new {@code JarInputStream} from an input stream. 53 * @param stream 54 * the input stream containing the JAR file. 58 * If an error occurs reading entries from the input stream. 61 public JarInputStream(InputStream stream, boolean verify) throws IOException { argument 62 super(stream); 98 * Constructs a new {@code JarInputStream} from an input stream. 100 * @param stream 101 * the input stream containin 106 JarInputStream(InputStream stream) argument [all...] |
/libcore/luni/src/main/native/ |
H A D | zip.h | 40 z_stream stream; member in class:NativeZipStream 44 stream.opaque = Z_NULL; 45 stream.zalloc = Z_NULL; 46 stream.zfree = Z_NULL; 62 err = inflateSetDictionary(&stream, dictionary, len); 64 err = deflateSetDictionary(&stream, dictionary, len); 84 stream.next_in = reinterpret_cast<Bytef*>(&input[0]); 85 stream.avail_in = len;
|
H A D | java_util_zip_Deflater.cpp | 29 return toNativeZipStream(handle)->stream.total_in; 33 return toNativeZipStream(handle)->stream.total_out; 37 return toNativeZipStream(handle)->stream.adler; 57 int err = deflateInit2(&jstream->stream, level, Z_DEFLATED, windowBits, memLevel, strategy); 70 NativeZipStream* stream = toNativeZipStream(handle); local 75 stream->stream.next_out = reinterpret_cast<Bytef*>(out.get() + off); 76 stream->stream.avail_out = len; 78 Bytef* initialNextIn = stream 110 NativeZipStream* stream = toNativeZipStream(handle); local 116 NativeZipStream* stream = toNativeZipStream(handle); local 124 NativeZipStream* stream = toNativeZipStream(handle); local [all...] |
H A D | java_util_zip_Inflater.cpp | 31 jstream->stream.adler = 1; 41 int err = inflateInit2(&jstream->stream, noHeader ? -DEF_WBITS : DEF_WBITS); 54 NativeZipStream* stream = toNativeZipStream(handle); local 58 if (stream->inCap < len) { 59 stream->setInput(env, NULL, 0, len); 61 stream->stream.next_in = reinterpret_cast<Bytef*>(&stream->input[0]); 62 stream->stream 90 NativeZipStream* stream = toNativeZipStream(handle); local 135 NativeZipStream* stream = toNativeZipStream(handle); local [all...] |
/libcore/luni/src/main/java/java/util/zip/ |
H A D | ZipInputStream.java | 96 * Constructs a new {@code ZipInputStream} from the specified input stream. 98 * @param stream 99 * the input stream to representing a ZIP archive. 101 public ZipInputStream(InputStream stream) { argument 102 super(new PushbackInputStream(stream, BUF_SIZE), new Inflater(true)); 103 if (stream == null) { 144 * - pushing bytes back into the source stream 145 * - reading a data descriptor footer from the source stream 219 * @return the next {@code ZipEntry} contained in the input stream.
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | TrustedCertificateKeyStoreSpi.java | 104 @Override public void engineStore(OutputStream stream, char[] password) { argument 108 @Override public void engineLoad(InputStream stream, char[] password) { argument 109 if (stream != null) {
|