diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/javax/imageio/stream | |
download | cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2 cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz |
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig;
imported gcc-4.6.4 source tree from verified upstream tarball.
downloading a git-generated archive based on the 'upstream' tag
should provide you with a source tree that is binary identical
to the one extracted from the above tarball.
if you have obtained the source via the command 'git clone',
however, do note that line-endings of files in your working
directory might differ from line-endings of the respective
files in the upstream repository.
Diffstat (limited to 'libjava/javax/imageio/stream')
-rw-r--r-- | libjava/javax/imageio/stream/FileCacheImageInputStream.h | 47 | ||||
-rw-r--r-- | libjava/javax/imageio/stream/FileCacheImageOutputStream.h | 51 | ||||
-rw-r--r-- | libjava/javax/imageio/stream/FileImageInputStream.h | 43 | ||||
-rw-r--r-- | libjava/javax/imageio/stream/FileImageOutputStream.h | 45 | ||||
-rw-r--r-- | libjava/javax/imageio/stream/IIOByteBuffer.h | 45 | ||||
-rw-r--r-- | libjava/javax/imageio/stream/ImageInputStream.h | 86 | ||||
-rw-r--r-- | libjava/javax/imageio/stream/ImageInputStreamImpl.h | 105 | ||||
-rw-r--r-- | libjava/javax/imageio/stream/ImageOutputStream.h | 108 | ||||
-rw-r--r-- | libjava/javax/imageio/stream/ImageOutputStreamImpl.h | 59 | ||||
-rw-r--r-- | libjava/javax/imageio/stream/MemoryCacheImageInputStream.h | 47 | ||||
-rw-r--r-- | libjava/javax/imageio/stream/MemoryCacheImageOutputStream.h | 46 |
11 files changed, 682 insertions, 0 deletions
diff --git a/libjava/javax/imageio/stream/FileCacheImageInputStream.h b/libjava/javax/imageio/stream/FileCacheImageInputStream.h new file mode 100644 index 000000000..728ed37bd --- /dev/null +++ b/libjava/javax/imageio/stream/FileCacheImageInputStream.h @@ -0,0 +1,47 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_imageio_stream_FileCacheImageInputStream__ +#define __javax_imageio_stream_FileCacheImageInputStream__ + +#pragma interface + +#include <javax/imageio/stream/ImageInputStreamImpl.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace imageio + { + namespace stream + { + class FileCacheImageInputStream; + } + } + } +} + +class javax::imageio::stream::FileCacheImageInputStream : public ::javax::imageio::stream::ImageInputStreamImpl +{ + +public: + FileCacheImageInputStream(::java::io::InputStream *, ::java::io::File *); + virtual void close(); +private: + void checkStreamClosed(); +public: + virtual jboolean isCached(); + virtual jboolean isCachedFile(); + virtual jboolean isCachedMemory(); + virtual jint read(); + virtual jint read(JArray< jbyte > *, jint, jint); +private: + ::java::io::InputStream * __attribute__((aligned(__alignof__( ::javax::imageio::stream::ImageInputStreamImpl)))) stream; + ::java::io::File * cacheDir; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_imageio_stream_FileCacheImageInputStream__ diff --git a/libjava/javax/imageio/stream/FileCacheImageOutputStream.h b/libjava/javax/imageio/stream/FileCacheImageOutputStream.h new file mode 100644 index 000000000..c473085e9 --- /dev/null +++ b/libjava/javax/imageio/stream/FileCacheImageOutputStream.h @@ -0,0 +1,51 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_imageio_stream_FileCacheImageOutputStream__ +#define __javax_imageio_stream_FileCacheImageOutputStream__ + +#pragma interface + +#include <javax/imageio/stream/ImageOutputStreamImpl.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace imageio + { + namespace stream + { + class FileCacheImageOutputStream; + } + } + } +} + +class javax::imageio::stream::FileCacheImageOutputStream : public ::javax::imageio::stream::ImageOutputStreamImpl +{ + +public: + FileCacheImageOutputStream(::java::io::OutputStream *, ::java::io::File *); + virtual void close(); + virtual jboolean isCached(); + virtual jboolean isCachedFile(); + virtual jboolean isCachedMemory(); + virtual jint read(); + virtual jint read(JArray< jbyte > *, jint, jint); + virtual void write(JArray< jbyte > *, jint, jint); + virtual void write(jint); + virtual jlong length(); + virtual void seek(jlong); + virtual void flushBefore(jlong); +private: + ::java::io::OutputStream * __attribute__((aligned(__alignof__( ::javax::imageio::stream::ImageOutputStreamImpl)))) stream; + ::java::io::File * cacheFile; + ::java::io::RandomAccessFile * cache; + jlong maxPos; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_imageio_stream_FileCacheImageOutputStream__ diff --git a/libjava/javax/imageio/stream/FileImageInputStream.h b/libjava/javax/imageio/stream/FileImageInputStream.h new file mode 100644 index 000000000..801e2cb1d --- /dev/null +++ b/libjava/javax/imageio/stream/FileImageInputStream.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_imageio_stream_FileImageInputStream__ +#define __javax_imageio_stream_FileImageInputStream__ + +#pragma interface + +#include <javax/imageio/stream/ImageInputStreamImpl.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace imageio + { + namespace stream + { + class FileImageInputStream; + } + } + } +} + +class javax::imageio::stream::FileImageInputStream : public ::javax::imageio::stream::ImageInputStreamImpl +{ + +public: + FileImageInputStream(::java::io::File *); + FileImageInputStream(::java::io::RandomAccessFile *); + virtual void close(); + virtual jlong length(); + virtual jint read(); + virtual jint read(JArray< jbyte > *, jint, jint); + virtual void seek(jlong); +private: + ::java::io::RandomAccessFile * __attribute__((aligned(__alignof__( ::javax::imageio::stream::ImageInputStreamImpl)))) file; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_imageio_stream_FileImageInputStream__ diff --git a/libjava/javax/imageio/stream/FileImageOutputStream.h b/libjava/javax/imageio/stream/FileImageOutputStream.h new file mode 100644 index 000000000..8075f4577 --- /dev/null +++ b/libjava/javax/imageio/stream/FileImageOutputStream.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_imageio_stream_FileImageOutputStream__ +#define __javax_imageio_stream_FileImageOutputStream__ + +#pragma interface + +#include <javax/imageio/stream/ImageOutputStreamImpl.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace imageio + { + namespace stream + { + class FileImageOutputStream; + } + } + } +} + +class javax::imageio::stream::FileImageOutputStream : public ::javax::imageio::stream::ImageOutputStreamImpl +{ + +public: + FileImageOutputStream(::java::io::File *); + FileImageOutputStream(::java::io::RandomAccessFile *); + virtual void close(); + virtual jlong length(); + virtual jint read(); + virtual jint read(JArray< jbyte > *, jint, jint); + virtual void seek(jlong); + virtual void write(JArray< jbyte > *, jint, jint); + virtual void write(jint); +private: + ::java::io::RandomAccessFile * __attribute__((aligned(__alignof__( ::javax::imageio::stream::ImageOutputStreamImpl)))) file; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_imageio_stream_FileImageOutputStream__ diff --git a/libjava/javax/imageio/stream/IIOByteBuffer.h b/libjava/javax/imageio/stream/IIOByteBuffer.h new file mode 100644 index 000000000..0e5e0c145 --- /dev/null +++ b/libjava/javax/imageio/stream/IIOByteBuffer.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_imageio_stream_IIOByteBuffer__ +#define __javax_imageio_stream_IIOByteBuffer__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace imageio + { + namespace stream + { + class IIOByteBuffer; + } + } + } +} + +class javax::imageio::stream::IIOByteBuffer : public ::java::lang::Object +{ + +public: + IIOByteBuffer(JArray< jbyte > *, jint, jint); + virtual JArray< jbyte > * getData(); + virtual void setData(JArray< jbyte > *); + virtual jint getOffset(); + virtual void setOffset(jint); + virtual jint getLength(); + virtual void setLength(jint); +private: + JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) data; + jint offset; + jint length; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_imageio_stream_IIOByteBuffer__ diff --git a/libjava/javax/imageio/stream/ImageInputStream.h b/libjava/javax/imageio/stream/ImageInputStream.h new file mode 100644 index 000000000..99c6304c4 --- /dev/null +++ b/libjava/javax/imageio/stream/ImageInputStream.h @@ -0,0 +1,86 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_imageio_stream_ImageInputStream__ +#define __javax_imageio_stream_ImageInputStream__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace nio + { + class ByteOrder; + } + } + namespace javax + { + namespace imageio + { + namespace stream + { + class IIOByteBuffer; + class ImageInputStream; + } + } + } +} + +class javax::imageio::stream::ImageInputStream : public ::java::lang::Object +{ + +public: + virtual void setByteOrder(::java::nio::ByteOrder *) = 0; + virtual ::java::nio::ByteOrder * getByteOrder() = 0; + virtual jint read() = 0; + virtual jint read(JArray< jbyte > *) = 0; + virtual jint read(JArray< jbyte > *, jint, jint) = 0; + virtual void readBytes(::javax::imageio::stream::IIOByteBuffer *, jint) = 0; + virtual jboolean readBoolean() = 0; + virtual jbyte readByte() = 0; + virtual jint readUnsignedByte() = 0; + virtual jshort readShort() = 0; + virtual jint readUnsignedShort() = 0; + virtual jchar readChar() = 0; + virtual jint readInt() = 0; + virtual jlong readUnsignedInt() = 0; + virtual jlong readLong() = 0; + virtual jfloat readFloat() = 0; + virtual jdouble readDouble() = 0; + virtual ::java::lang::String * readLine() = 0; + virtual ::java::lang::String * readUTF() = 0; + virtual void readFully(JArray< jbyte > *, jint, jint) = 0; + virtual void readFully(JArray< jbyte > *) = 0; + virtual void readFully(JArray< jshort > *, jint, jint) = 0; + virtual void readFully(JArray< jchar > *, jint, jint) = 0; + virtual void readFully(JArray< jint > *, jint, jint) = 0; + virtual void readFully(JArray< jlong > *, jint, jint) = 0; + virtual void readFully(JArray< jfloat > *, jint, jint) = 0; + virtual void readFully(JArray< jdouble > *, jint, jint) = 0; + virtual jlong getStreamPosition() = 0; + virtual jint getBitOffset() = 0; + virtual void setBitOffset(jint) = 0; + virtual jint readBit() = 0; + virtual jlong readBits(jint) = 0; + virtual jlong length() = 0; + virtual jint skipBytes(jint) = 0; + virtual jlong skipBytes(jlong) = 0; + virtual void seek(jlong) = 0; + virtual void mark() = 0; + virtual void reset() = 0; + virtual void flushBefore(jlong) = 0; + virtual void flush() = 0; + virtual jlong getFlushedPosition() = 0; + virtual jboolean isCached() = 0; + virtual jboolean isCachedMemory() = 0; + virtual jboolean isCachedFile() = 0; + virtual void close() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_imageio_stream_ImageInputStream__ diff --git a/libjava/javax/imageio/stream/ImageInputStreamImpl.h b/libjava/javax/imageio/stream/ImageInputStreamImpl.h new file mode 100644 index 000000000..42b2f1204 --- /dev/null +++ b/libjava/javax/imageio/stream/ImageInputStreamImpl.h @@ -0,0 +1,105 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_imageio_stream_ImageInputStreamImpl__ +#define __javax_imageio_stream_ImageInputStreamImpl__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace nio + { + class ByteOrder; + } + } + namespace javax + { + namespace imageio + { + namespace stream + { + class IIOByteBuffer; + class ImageInputStreamImpl; + } + } + } +} + +class javax::imageio::stream::ImageInputStreamImpl : public ::java::lang::Object +{ + +public: + ImageInputStreamImpl(); +public: // actually protected + virtual void checkClosed(); +public: + virtual void close(); +public: // actually protected + virtual void finalize(); +public: + virtual void flush(); + virtual void flushBefore(jlong); + virtual jint getBitOffset(); + virtual ::java::nio::ByteOrder * getByteOrder(); + virtual jlong getFlushedPosition(); + virtual jlong getStreamPosition(); + virtual jboolean isCached(); + virtual jboolean isCachedFile(); + virtual jboolean isCachedMemory(); + virtual jlong length(); + virtual void mark(); + virtual jint read() = 0; + virtual jint read(JArray< jbyte > *, jint, jint) = 0; + virtual jint read(JArray< jbyte > *); + virtual jint readBit(); + virtual jlong readBits(jint); + virtual jboolean readBoolean(); + virtual jbyte readByte(); + virtual void readBytes(::javax::imageio::stream::IIOByteBuffer *, jint); + virtual jchar readChar(); + virtual jdouble readDouble(); + virtual jfloat readFloat(); + virtual void readFully(JArray< jbyte > *); + virtual void readFully(JArray< jbyte > *, jint, jint); + virtual void readFully(JArray< jchar > *, jint, jint); + virtual void readFully(JArray< jdouble > *, jint, jint); + virtual void readFully(JArray< jfloat > *, jint, jint); + virtual void readFully(JArray< jint > *, jint, jint); + virtual void readFully(JArray< jlong > *, jint, jint); + virtual void readFully(JArray< jshort > *, jint, jint); + virtual jint readInt(); + virtual ::java::lang::String * readLine(); + virtual jlong readLong(); + virtual jshort readShort(); + virtual jint readUnsignedByte(); + virtual jlong readUnsignedInt(); + virtual jint readUnsignedShort(); + virtual ::java::lang::String * readUTF(); + virtual void reset(); + virtual void seek(jlong); + virtual void setBitOffset(jint); + virtual void setByteOrder(::java::nio::ByteOrder *); + virtual jint skipBytes(jint); + virtual jlong skipBytes(jlong); +private: + void readFullyPrivate(JArray< jbyte > *, jint, jint); + jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) closed; + ::java::util::Stack * markStack; +public: // actually package-private + JArray< jbyte > * buffer; +public: // actually protected + jint bitOffset; + ::java::nio::ByteOrder * byteOrder; + jlong flushedPos; + jlong streamPos; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_imageio_stream_ImageInputStreamImpl__ diff --git a/libjava/javax/imageio/stream/ImageOutputStream.h b/libjava/javax/imageio/stream/ImageOutputStream.h new file mode 100644 index 000000000..7557e0a67 --- /dev/null +++ b/libjava/javax/imageio/stream/ImageOutputStream.h @@ -0,0 +1,108 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_imageio_stream_ImageOutputStream__ +#define __javax_imageio_stream_ImageOutputStream__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace nio + { + class ByteOrder; + } + } + namespace javax + { + namespace imageio + { + namespace stream + { + class IIOByteBuffer; + class ImageOutputStream; + } + } + } +} + +class javax::imageio::stream::ImageOutputStream : public ::java::lang::Object +{ + +public: + virtual void flushBefore(jlong) = 0; + virtual void write(JArray< jbyte > *) = 0; + virtual void write(JArray< jbyte > *, jint, jint) = 0; + virtual void write(jint) = 0; + virtual void writeBit(jint) = 0; + virtual void writeBits(jlong, jint) = 0; + virtual void writeBoolean(jboolean) = 0; + virtual void writeByte(jint) = 0; + virtual void writeBytes(::java::lang::String *) = 0; + virtual void writeChar(jint) = 0; + virtual void writeChars(JArray< jchar > *, jint, jint) = 0; + virtual void writeChars(::java::lang::String *) = 0; + virtual void writeDouble(jdouble) = 0; + virtual void writeDoubles(JArray< jdouble > *, jint, jint) = 0; + virtual void writeFloat(jfloat) = 0; + virtual void writeFloats(JArray< jfloat > *, jint, jint) = 0; + virtual void writeInt(jint) = 0; + virtual void writeInts(JArray< jint > *, jint, jint) = 0; + virtual void writeLong(jlong) = 0; + virtual void writeLongs(JArray< jlong > *, jint, jint) = 0; + virtual void writeShort(jint) = 0; + virtual void writeShorts(JArray< jshort > *, jint, jint) = 0; + virtual void writeUTF(::java::lang::String *) = 0; + virtual void setByteOrder(::java::nio::ByteOrder *) = 0; + virtual ::java::nio::ByteOrder * getByteOrder() = 0; + virtual jint read() = 0; + virtual jint read(JArray< jbyte > *) = 0; + virtual jint read(JArray< jbyte > *, jint, jint) = 0; + virtual void readBytes(::javax::imageio::stream::IIOByteBuffer *, jint) = 0; + virtual jboolean readBoolean() = 0; + virtual jbyte readByte() = 0; + virtual jint readUnsignedByte() = 0; + virtual jshort readShort() = 0; + virtual jint readUnsignedShort() = 0; + virtual jchar readChar() = 0; + virtual jint readInt() = 0; + virtual jlong readUnsignedInt() = 0; + virtual jlong readLong() = 0; + virtual jfloat readFloat() = 0; + virtual jdouble readDouble() = 0; + virtual ::java::lang::String * readLine() = 0; + virtual ::java::lang::String * readUTF() = 0; + virtual void readFully(JArray< jbyte > *, jint, jint) = 0; + virtual void readFully(JArray< jbyte > *) = 0; + virtual void readFully(JArray< jshort > *, jint, jint) = 0; + virtual void readFully(JArray< jchar > *, jint, jint) = 0; + virtual void readFully(JArray< jint > *, jint, jint) = 0; + virtual void readFully(JArray< jlong > *, jint, jint) = 0; + virtual void readFully(JArray< jfloat > *, jint, jint) = 0; + virtual void readFully(JArray< jdouble > *, jint, jint) = 0; + virtual jlong getStreamPosition() = 0; + virtual jint getBitOffset() = 0; + virtual void setBitOffset(jint) = 0; + virtual jint readBit() = 0; + virtual jlong readBits(jint) = 0; + virtual jlong length() = 0; + virtual jint skipBytes(jint) = 0; + virtual jlong skipBytes(jlong) = 0; + virtual void seek(jlong) = 0; + virtual void mark() = 0; + virtual void reset() = 0; + virtual void flush() = 0; + virtual jlong getFlushedPosition() = 0; + virtual jboolean isCached() = 0; + virtual jboolean isCachedMemory() = 0; + virtual jboolean isCachedFile() = 0; + virtual void close() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_imageio_stream_ImageOutputStream__ diff --git a/libjava/javax/imageio/stream/ImageOutputStreamImpl.h b/libjava/javax/imageio/stream/ImageOutputStreamImpl.h new file mode 100644 index 000000000..a45df4698 --- /dev/null +++ b/libjava/javax/imageio/stream/ImageOutputStreamImpl.h @@ -0,0 +1,59 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_imageio_stream_ImageOutputStreamImpl__ +#define __javax_imageio_stream_ImageOutputStreamImpl__ + +#pragma interface + +#include <javax/imageio/stream/ImageInputStreamImpl.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace imageio + { + namespace stream + { + class ImageOutputStreamImpl; + } + } + } +} + +class javax::imageio::stream::ImageOutputStreamImpl : public ::javax::imageio::stream::ImageInputStreamImpl +{ + +public: + ImageOutputStreamImpl(); +public: // actually protected + virtual void flushBits(); +public: + virtual void write(JArray< jbyte > *); + virtual void write(JArray< jbyte > *, jint, jint) = 0; + virtual void write(jint) = 0; + virtual void writeBit(jint); + virtual void writeBits(jlong, jint); + virtual void writeBoolean(jboolean); + virtual void writeByte(jint); + virtual void writeBytes(::java::lang::String *); + virtual void writeChar(jint); + virtual void writeChars(JArray< jchar > *, jint, jint); + virtual void writeChars(::java::lang::String *); + virtual void writeDouble(jdouble); + virtual void writeDoubles(JArray< jdouble > *, jint, jint); + virtual void writeFloat(jfloat); + virtual void writeFloats(JArray< jfloat > *, jint, jint); + virtual void writeInt(jint); + virtual void writeInts(JArray< jint > *, jint, jint); + virtual void writeLong(jlong); + virtual void writeLongs(JArray< jlong > *, jint, jint); + virtual void writeShort(jint); + virtual void writeShorts(JArray< jshort > *, jint, jint); + virtual void writeUTF(::java::lang::String *); + static ::java::lang::Class class$; +}; + +#endif // __javax_imageio_stream_ImageOutputStreamImpl__ diff --git a/libjava/javax/imageio/stream/MemoryCacheImageInputStream.h b/libjava/javax/imageio/stream/MemoryCacheImageInputStream.h new file mode 100644 index 000000000..c83efe112 --- /dev/null +++ b/libjava/javax/imageio/stream/MemoryCacheImageInputStream.h @@ -0,0 +1,47 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_imageio_stream_MemoryCacheImageInputStream__ +#define __javax_imageio_stream_MemoryCacheImageInputStream__ + +#pragma interface + +#include <javax/imageio/stream/ImageInputStreamImpl.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace imageio + { + namespace stream + { + class MemoryCacheImageInputStream; + } + } + } +} + +class javax::imageio::stream::MemoryCacheImageInputStream : public ::javax::imageio::stream::ImageInputStreamImpl +{ + +public: + MemoryCacheImageInputStream(::java::io::InputStream *); + virtual void close(); + virtual void flushBefore(jlong); + virtual jboolean isCached(); + virtual jboolean isCachedFile(); + virtual jboolean isCachedMemory(); + virtual jint read(); + virtual jint read(JArray< jbyte > *, jint, jint); + virtual void seek(jlong); +private: + ::java::io::InputStream * __attribute__((aligned(__alignof__( ::javax::imageio::stream::ImageInputStreamImpl)))) stream; + ::java::io::BufferedInputStream * buffer; + jint READLIMIT; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_imageio_stream_MemoryCacheImageInputStream__ diff --git a/libjava/javax/imageio/stream/MemoryCacheImageOutputStream.h b/libjava/javax/imageio/stream/MemoryCacheImageOutputStream.h new file mode 100644 index 000000000..a7643c1ea --- /dev/null +++ b/libjava/javax/imageio/stream/MemoryCacheImageOutputStream.h @@ -0,0 +1,46 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_imageio_stream_MemoryCacheImageOutputStream__ +#define __javax_imageio_stream_MemoryCacheImageOutputStream__ + +#pragma interface + +#include <javax/imageio/stream/ImageOutputStreamImpl.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace imageio + { + namespace stream + { + class MemoryCacheImageOutputStream; + } + } + } +} + +class javax::imageio::stream::MemoryCacheImageOutputStream : public ::javax::imageio::stream::ImageOutputStreamImpl +{ + +public: + MemoryCacheImageOutputStream(::java::io::OutputStream *); + virtual void close(); + virtual void flushBefore(jlong); + virtual jboolean isCached(); + virtual jboolean isCachedFile(); + virtual jboolean isCachedMemory(); + virtual jint read(); + virtual jint read(JArray< jbyte > *, jint, jint); + virtual void write(JArray< jbyte > *, jint, jint); + virtual void write(jint); +private: + ::java::io::OutputStream * __attribute__((aligned(__alignof__( ::javax::imageio::stream::ImageOutputStreamImpl)))) stream; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_imageio_stream_MemoryCacheImageOutputStream__ |