summaryrefslogtreecommitdiffstats
path: root/libjava/gnu/java/nio/natMappedByteFileBuffer.cc
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-25 11:09:44 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-25 11:09:44 +0000
commitff4726c9a402cd853734fdae4927a05b187f564a (patch)
treec3783a6c80e03005b2c9dd6ee8eb19eb72e3a733 /libjava/gnu/java/nio/natMappedByteFileBuffer.cc
parent8281e5d5be9e68c822f43fe0950a9095f994bb19 (diff)
downloadppe42-gcc-ff4726c9a402cd853734fdae4927a05b187f564a.tar.gz
ppe42-gcc-ff4726c9a402cd853734fdae4927a05b187f564a.zip
2003-02-25 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/MappedByteFileBuffer.java, gnu/java/nio/natMappedByteFileBuffer.cc: New files, both are not compiled yet to get not noncompiling CVS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63403 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/java/nio/natMappedByteFileBuffer.cc')
-rw-r--r--libjava/gnu/java/nio/natMappedByteFileBuffer.cc140
1 files changed, 140 insertions, 0 deletions
diff --git a/libjava/gnu/java/nio/natMappedByteFileBuffer.cc b/libjava/gnu/java/nio/natMappedByteFileBuffer.cc
new file mode 100644
index 00000000000..6f2eee2107d
--- /dev/null
+++ b/libjava/gnu/java/nio/natMappedByteFileBuffer.cc
@@ -0,0 +1,140 @@
+// natMappedByteFileBuffer.cc
+
+/* Copyright (C) 2003 Free Software Foundation
+
+ This file is part of libgcj.
+
+This software is copyrighted work licensed under the terms of the
+Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
+details. */
+
+#include <config.h>
+
+#include <jvm.h>
+
+#include <errno.h>
+#include <string.h>
+#include <sys/types.h>
+
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
+#ifdef HAVE_FCNTL_H
+#include <fcntl.h>
+#endif
+
+#include <gnu/java/nio/MappedByteFileBuffer.h>
+#include <java/lang/Error.h>
+
+jbyte
+gnu::java::nio::MappedByteFileBuffer::nio_read_Byte_file_channel
+ (gnu::java::nio::FileChannelImpl*,
+ jint, jint, jlong)
+{
+ throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented"));
+}
+
+jchar
+gnu::java::nio::MappedByteFileBuffer::nio_read_Char_file_channel
+ (gnu::java::nio::FileChannelImpl*,
+ jint, jint, jlong)
+{
+ throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented"));
+}
+
+jdouble
+gnu::java::nio::MappedByteFileBuffer::nio_read_Double_file_channel
+ (gnu::java::nio::FileChannelImpl*,
+ jint, jint, jlong)
+{
+ throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented"));
+}
+
+jfloat
+gnu::java::nio::MappedByteFileBuffer::nio_read_Float_file_channel
+ (gnu::java::nio::FileChannelImpl*,
+ jint, jint, jlong)
+{
+ throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented"));
+}
+
+jint
+gnu::java::nio::MappedByteFileBuffer::nio_read_Int_file_channel
+ (gnu::java::nio::FileChannelImpl*,
+ jint, jint, jlong)
+{
+ throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented"));
+}
+
+jlong
+gnu::java::nio::MappedByteFileBuffer::nio_read_Long_file_channel
+ (gnu::java::nio::FileChannelImpl*,
+ jint, jint, jlong)
+{
+ throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented"));
+}
+
+jshort
+gnu::java::nio::MappedByteFileBuffer::nio_read_Short_file_channel
+ (gnu::java::nio::FileChannelImpl*,
+ jint, jint, jlong)
+{
+ throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented"));
+}
+
+void
+gnu::java::nio::MappedByteFileBuffer::nio_write_Byte_file_channel
+ (gnu::java::nio::FileChannelImpl*,
+ jint, jint, jbyte, jlong)
+{
+ throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented"));
+}
+
+void
+gnu::java::nio::MappedByteFileBuffer::nio_write_Char_file_channel
+ (gnu::java::nio::FileChannelImpl*,
+ jint, jint, jchar, jlong)
+{
+ throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented"));
+}
+
+void
+gnu::java::nio::MappedByteFileBuffer::nio_write_Double_file_channel
+ (gnu::java::nio::FileChannelImpl*,
+ jint, jint, jdouble, jlong)
+{
+ throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented"));
+}
+
+void
+gnu::java::nio::MappedByteFileBuffer::nio_write_Float_file_channel
+ (gnu::java::nio::FileChannelImpl*,
+ jint, jint, jfloat, jlong)
+{
+ throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented"));
+}
+
+void
+gnu::java::nio::MappedByteFileBuffer::nio_write_Int_file_channel
+ (gnu::java::nio::FileChannelImpl*,
+ jint, jint, jint, jlong)
+{
+ throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented"));
+}
+
+void
+gnu::java::nio::MappedByteFileBuffer::nio_write_Long_file_channel
+ (gnu::java::nio::FileChannelImpl*,
+ jint, jint, jlong, jlong)
+{
+ throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented"));
+}
+
+void
+gnu::java::nio::MappedByteFileBuffer::nio_write_Short_file_channel
+ (gnu::java::nio::FileChannelImpl*,
+ jint, jint, jshort, jlong)
+{
+ throw new ::java::lang::Error (_Jv_NewStringUTF ("not implemented"));
+}
OpenPOWER on IntegriCloud