summaryrefslogtreecommitdiff
path: root/libjava/java/nio/ByteBufferImpl.h
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/java/nio/ByteBufferImpl.h
downloadcbb-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/java/nio/ByteBufferImpl.h')
-rw-r--r--libjava/java/nio/ByteBufferImpl.h87
1 files changed, 87 insertions, 0 deletions
diff --git a/libjava/java/nio/ByteBufferImpl.h b/libjava/java/nio/ByteBufferImpl.h
new file mode 100644
index 000000000..12621a0c7
--- /dev/null
+++ b/libjava/java/nio/ByteBufferImpl.h
@@ -0,0 +1,87 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_nio_ByteBufferImpl__
+#define __java_nio_ByteBufferImpl__
+
+#pragma interface
+
+#include <java/nio/ByteBuffer.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class ByteBufferImpl;
+ class CharBuffer;
+ class DoubleBuffer;
+ class FloatBuffer;
+ class IntBuffer;
+ class LongBuffer;
+ class ShortBuffer;
+ }
+ }
+}
+
+class java::nio::ByteBufferImpl : public ::java::nio::ByteBuffer
+{
+
+public: // actually package-private
+ ByteBufferImpl(JArray< jbyte > *, jint, jint, jint, jint, jint, jboolean);
+public:
+ ::java::nio::CharBuffer * asCharBuffer();
+ ::java::nio::ShortBuffer * asShortBuffer();
+ ::java::nio::IntBuffer * asIntBuffer();
+ ::java::nio::LongBuffer * asLongBuffer();
+ ::java::nio::FloatBuffer * asFloatBuffer();
+ ::java::nio::DoubleBuffer * asDoubleBuffer();
+ jboolean isReadOnly();
+ ::java::nio::ByteBuffer * slice();
+ ::java::nio::ByteBuffer * duplicate();
+ ::java::nio::ByteBuffer * asReadOnlyBuffer();
+public: // actually package-private
+ void shiftDown(jint, jint, jint);
+public:
+ ::java::nio::ByteBuffer * compact();
+ jboolean isDirect();
+ jbyte get();
+ ::java::nio::ByteBuffer * get(JArray< jbyte > *, jint, jint);
+ ::java::nio::ByteBuffer * put(JArray< jbyte > *, jint, jint);
+ ::java::nio::ByteBuffer * put(jbyte);
+ jbyte get(jint);
+ ::java::nio::ByteBuffer * put(jint, jbyte);
+ jchar getChar();
+ ::java::nio::ByteBuffer * putChar(jchar);
+ jchar getChar(jint);
+ ::java::nio::ByteBuffer * putChar(jint, jchar);
+ jshort getShort();
+ ::java::nio::ByteBuffer * putShort(jshort);
+ jshort getShort(jint);
+ ::java::nio::ByteBuffer * putShort(jint, jshort);
+ jint getInt();
+ ::java::nio::ByteBuffer * putInt(jint);
+ jint getInt(jint);
+ ::java::nio::ByteBuffer * putInt(jint, jint);
+ jlong getLong();
+ ::java::nio::ByteBuffer * putLong(jlong);
+ jlong getLong(jint);
+ ::java::nio::ByteBuffer * putLong(jint, jlong);
+ jfloat getFloat();
+ ::java::nio::ByteBuffer * putFloat(jfloat);
+ jfloat getFloat(jint);
+ ::java::nio::ByteBuffer * putFloat(jint, jfloat);
+ jdouble getDouble();
+ ::java::nio::ByteBuffer * putDouble(jdouble);
+ jdouble getDouble(jint);
+ ::java::nio::ByteBuffer * putDouble(jint, jdouble);
+private:
+ jboolean __attribute__((aligned(__alignof__( ::java::nio::ByteBuffer)))) readOnly;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_nio_ByteBufferImpl__