summaryrefslogtreecommitdiff
path: root/libjava/gnu/java/nio/charset
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/java/nio/charset')
-rw-r--r--libjava/gnu/java/nio/charset/ByteCharset$1.h42
-rw-r--r--libjava/gnu/java/nio/charset/ByteCharset$2.h42
-rw-r--r--libjava/gnu/java/nio/charset/ByteCharset$Decoder.h4
-rw-r--r--libjava/gnu/java/nio/charset/ByteCharset$Encoder.h4
-rw-r--r--libjava/gnu/java/nio/charset/ByteCharset.h2
-rw-r--r--libjava/gnu/java/nio/charset/ByteDecodeLoopHelper.h56
-rw-r--r--libjava/gnu/java/nio/charset/ByteEncodeLoopHelper.h56
-rw-r--r--libjava/gnu/java/nio/charset/ISO_8859_1$1.h39
-rw-r--r--libjava/gnu/java/nio/charset/ISO_8859_1$2.h39
-rw-r--r--libjava/gnu/java/nio/charset/ISO_8859_1$Decoder.h3
-rw-r--r--libjava/gnu/java/nio/charset/ISO_8859_1$Encoder.h3
-rw-r--r--libjava/gnu/java/nio/charset/Provider$1.h2
-rw-r--r--libjava/gnu/java/nio/charset/US_ASCII$1.h39
-rw-r--r--libjava/gnu/java/nio/charset/US_ASCII$2.h39
-rw-r--r--libjava/gnu/java/nio/charset/US_ASCII$Decoder.h3
-rw-r--r--libjava/gnu/java/nio/charset/US_ASCII$Encoder.h3
16 files changed, 375 insertions, 1 deletions
diff --git a/libjava/gnu/java/nio/charset/ByteCharset$1.h b/libjava/gnu/java/nio/charset/ByteCharset$1.h
new file mode 100644
index 00000000000..cc36fe86a06
--- /dev/null
+++ b/libjava/gnu/java/nio/charset/ByteCharset$1.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_nio_charset_ByteCharset$1__
+#define __gnu_java_nio_charset_ByteCharset$1__
+
+#pragma interface
+
+#include <gnu/java/nio/charset/ByteDecodeLoopHelper.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class ByteCharset$1;
+ class ByteCharset$Decoder;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::nio::charset::ByteCharset$1 : public ::gnu::java::nio::charset::ByteDecodeLoopHelper
+{
+
+public: // actually package-private
+ ByteCharset$1(::gnu::java::nio::charset::ByteCharset$Decoder *);
+public: // actually protected
+ jboolean isMappable(jbyte);
+ jchar mapToChar(jbyte);
+public: // actually package-private
+ ::gnu::java::nio::charset::ByteCharset$Decoder * __attribute__((aligned(__alignof__( ::gnu::java::nio::charset::ByteDecodeLoopHelper)))) this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_nio_charset_ByteCharset$1__
diff --git a/libjava/gnu/java/nio/charset/ByteCharset$2.h b/libjava/gnu/java/nio/charset/ByteCharset$2.h
new file mode 100644
index 00000000000..924e44c5ca5
--- /dev/null
+++ b/libjava/gnu/java/nio/charset/ByteCharset$2.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_nio_charset_ByteCharset$2__
+#define __gnu_java_nio_charset_ByteCharset$2__
+
+#pragma interface
+
+#include <gnu/java/nio/charset/ByteEncodeLoopHelper.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class ByteCharset$2;
+ class ByteCharset$Encoder;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::nio::charset::ByteCharset$2 : public ::gnu::java::nio::charset::ByteEncodeLoopHelper
+{
+
+public: // actually package-private
+ ByteCharset$2(::gnu::java::nio::charset::ByteCharset$Encoder *);
+public: // actually protected
+ jboolean isMappable(jchar);
+ jbyte mapToByte(jchar);
+public: // actually package-private
+ ::gnu::java::nio::charset::ByteCharset$Encoder * __attribute__((aligned(__alignof__( ::gnu::java::nio::charset::ByteEncodeLoopHelper)))) this$1;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_nio_charset_ByteCharset$2__
diff --git a/libjava/gnu/java/nio/charset/ByteCharset$Decoder.h b/libjava/gnu/java/nio/charset/ByteCharset$Decoder.h
index 584b15fe5ba..0f5dd6c65a7 100644
--- a/libjava/gnu/java/nio/charset/ByteCharset$Decoder.h
+++ b/libjava/gnu/java/nio/charset/ByteCharset$Decoder.h
@@ -21,6 +21,7 @@ extern "Java"
{
class ByteCharset;
class ByteCharset$Decoder;
+ class ByteDecodeLoopHelper;
}
}
}
@@ -46,8 +47,11 @@ public: // actually package-private
ByteCharset$Decoder(::gnu::java::nio::charset::ByteCharset *);
public: // actually protected
::java::nio::charset::CoderResult * decodeLoop(::java::nio::ByteBuffer *, ::java::nio::CharBuffer *);
+public: // actually package-private
+ static JArray< jchar > * access$0(::gnu::java::nio::charset::ByteCharset$Decoder *);
private:
JArray< jchar > * __attribute__((aligned(__alignof__( ::java::nio::charset::CharsetDecoder)))) lookup;
+ ::gnu::java::nio::charset::ByteDecodeLoopHelper * helper;
public:
static ::java::lang::Class class$;
};
diff --git a/libjava/gnu/java/nio/charset/ByteCharset$Encoder.h b/libjava/gnu/java/nio/charset/ByteCharset$Encoder.h
index cc31ae43eec..019bb4b5d6e 100644
--- a/libjava/gnu/java/nio/charset/ByteCharset$Encoder.h
+++ b/libjava/gnu/java/nio/charset/ByteCharset$Encoder.h
@@ -21,6 +21,7 @@ extern "Java"
{
class ByteCharset;
class ByteCharset$Encoder;
+ class ByteEncodeLoopHelper;
}
}
}
@@ -49,8 +50,11 @@ public:
jboolean canEncode(::java::lang::CharSequence *);
public: // actually protected
::java::nio::charset::CoderResult * encodeLoop(::java::nio::CharBuffer *, ::java::nio::ByteBuffer *);
+public: // actually package-private
+ static JArray< jbyte > * access$0(::gnu::java::nio::charset::ByteCharset$Encoder *);
private:
JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::nio::charset::CharsetEncoder)))) lookup;
+ ::gnu::java::nio::charset::ByteEncodeLoopHelper * helper;
public:
static ::java::lang::Class class$;
};
diff --git a/libjava/gnu/java/nio/charset/ByteCharset.h b/libjava/gnu/java/nio/charset/ByteCharset.h
index 045e03fde28..aa0890cb16d 100644
--- a/libjava/gnu/java/nio/charset/ByteCharset.h
+++ b/libjava/gnu/java/nio/charset/ByteCharset.h
@@ -42,7 +42,7 @@ class gnu::java::nio::charset::ByteCharset : public ::java::nio::charset::Charse
{
public: // actually package-private
- ByteCharset(::java::lang::String *, JArray< ::java::lang::String * > *);
+ ByteCharset(::java::lang::String *, JArray< ::java::lang::String * > *, JArray< jchar > *);
public:
virtual jboolean contains(::java::nio::charset::Charset *);
public: // actually package-private
diff --git a/libjava/gnu/java/nio/charset/ByteDecodeLoopHelper.h b/libjava/gnu/java/nio/charset/ByteDecodeLoopHelper.h
new file mode 100644
index 00000000000..1a373a1bf5c
--- /dev/null
+++ b/libjava/gnu/java/nio/charset/ByteDecodeLoopHelper.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_nio_charset_ByteDecodeLoopHelper__
+#define __gnu_java_nio_charset_ByteDecodeLoopHelper__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class ByteDecodeLoopHelper;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class CharBuffer;
+ namespace charset
+ {
+ class CoderResult;
+ }
+ }
+ }
+}
+
+class gnu::java::nio::charset::ByteDecodeLoopHelper : public ::java::lang::Object
+{
+
+public:
+ ByteDecodeLoopHelper();
+public: // actually protected
+ virtual jboolean isMappable(jbyte) = 0;
+ virtual jchar mapToChar(jbyte) = 0;
+public: // actually package-private
+ virtual ::java::nio::charset::CoderResult * decodeLoop(::java::nio::ByteBuffer *, ::java::nio::CharBuffer *);
+private:
+ ::java::nio::charset::CoderResult * normalDecodeLoop(::java::nio::ByteBuffer *, ::java::nio::CharBuffer *);
+ ::java::nio::charset::CoderResult * arrayDecodeLoop(::java::nio::ByteBuffer *, ::java::nio::CharBuffer *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_nio_charset_ByteDecodeLoopHelper__
diff --git a/libjava/gnu/java/nio/charset/ByteEncodeLoopHelper.h b/libjava/gnu/java/nio/charset/ByteEncodeLoopHelper.h
new file mode 100644
index 00000000000..0b67645e7f8
--- /dev/null
+++ b/libjava/gnu/java/nio/charset/ByteEncodeLoopHelper.h
@@ -0,0 +1,56 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_nio_charset_ByteEncodeLoopHelper__
+#define __gnu_java_nio_charset_ByteEncodeLoopHelper__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class ByteEncodeLoopHelper;
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace nio
+ {
+ class ByteBuffer;
+ class CharBuffer;
+ namespace charset
+ {
+ class CoderResult;
+ }
+ }
+ }
+}
+
+class gnu::java::nio::charset::ByteEncodeLoopHelper : public ::java::lang::Object
+{
+
+public:
+ ByteEncodeLoopHelper();
+public: // actually protected
+ virtual jboolean isMappable(jchar) = 0;
+ virtual jbyte mapToByte(jchar) = 0;
+public: // actually package-private
+ virtual ::java::nio::charset::CoderResult * encodeLoop(::java::nio::CharBuffer *, ::java::nio::ByteBuffer *);
+private:
+ ::java::nio::charset::CoderResult * normalEncodeLoop(::java::nio::CharBuffer *, ::java::nio::ByteBuffer *);
+ ::java::nio::charset::CoderResult * arrayEncodeLoop(::java::nio::CharBuffer *, ::java::nio::ByteBuffer *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_nio_charset_ByteEncodeLoopHelper__
diff --git a/libjava/gnu/java/nio/charset/ISO_8859_1$1.h b/libjava/gnu/java/nio/charset/ISO_8859_1$1.h
new file mode 100644
index 00000000000..ceaa655aace
--- /dev/null
+++ b/libjava/gnu/java/nio/charset/ISO_8859_1$1.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_nio_charset_ISO_8859_1$1__
+#define __gnu_java_nio_charset_ISO_8859_1$1__
+
+#pragma interface
+
+#include <gnu/java/nio/charset/ByteDecodeLoopHelper.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class ISO_8859_1$1;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::nio::charset::ISO_8859_1$1 : public ::gnu::java::nio::charset::ByteDecodeLoopHelper
+{
+
+public: // actually package-private
+ ISO_8859_1$1();
+public: // actually protected
+ jboolean isMappable(jbyte);
+ jchar mapToChar(jbyte);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_nio_charset_ISO_8859_1$1__
diff --git a/libjava/gnu/java/nio/charset/ISO_8859_1$2.h b/libjava/gnu/java/nio/charset/ISO_8859_1$2.h
new file mode 100644
index 00000000000..849ebe637bc
--- /dev/null
+++ b/libjava/gnu/java/nio/charset/ISO_8859_1$2.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_nio_charset_ISO_8859_1$2__
+#define __gnu_java_nio_charset_ISO_8859_1$2__
+
+#pragma interface
+
+#include <gnu/java/nio/charset/ByteEncodeLoopHelper.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class ISO_8859_1$2;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::nio::charset::ISO_8859_1$2 : public ::gnu::java::nio::charset::ByteEncodeLoopHelper
+{
+
+public: // actually package-private
+ ISO_8859_1$2();
+public: // actually protected
+ jboolean isMappable(jchar);
+ jbyte mapToByte(jchar);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_nio_charset_ISO_8859_1$2__
diff --git a/libjava/gnu/java/nio/charset/ISO_8859_1$Decoder.h b/libjava/gnu/java/nio/charset/ISO_8859_1$Decoder.h
index 8adb8b83bcd..25e97ee0d88 100644
--- a/libjava/gnu/java/nio/charset/ISO_8859_1$Decoder.h
+++ b/libjava/gnu/java/nio/charset/ISO_8859_1$Decoder.h
@@ -17,6 +17,7 @@ extern "Java"
{
namespace charset
{
+ class ByteDecodeLoopHelper;
class ISO_8859_1$Decoder;
}
}
@@ -44,6 +45,8 @@ public: // actually package-private
ISO_8859_1$Decoder(::java::nio::charset::Charset *);
public: // actually protected
::java::nio::charset::CoderResult * decodeLoop(::java::nio::ByteBuffer *, ::java::nio::CharBuffer *);
+private:
+ static ::gnu::java::nio::charset::ByteDecodeLoopHelper * helper;
public:
static ::java::lang::Class class$;
};
diff --git a/libjava/gnu/java/nio/charset/ISO_8859_1$Encoder.h b/libjava/gnu/java/nio/charset/ISO_8859_1$Encoder.h
index 47d2280cbb5..e4da289cc1b 100644
--- a/libjava/gnu/java/nio/charset/ISO_8859_1$Encoder.h
+++ b/libjava/gnu/java/nio/charset/ISO_8859_1$Encoder.h
@@ -17,6 +17,7 @@ extern "Java"
{
namespace charset
{
+ class ByteEncodeLoopHelper;
class ISO_8859_1$Encoder;
}
}
@@ -47,6 +48,8 @@ public:
jboolean canEncode(::java::lang::CharSequence *);
public: // actually protected
::java::nio::charset::CoderResult * encodeLoop(::java::nio::CharBuffer *, ::java::nio::ByteBuffer *);
+private:
+ static ::gnu::java::nio::charset::ByteEncodeLoopHelper * helper;
public:
static ::java::lang::Class class$;
};
diff --git a/libjava/gnu/java/nio/charset/Provider$1.h b/libjava/gnu/java/nio/charset/Provider$1.h
index 880faccf5c6..651b6d06ca8 100644
--- a/libjava/gnu/java/nio/charset/Provider$1.h
+++ b/libjava/gnu/java/nio/charset/Provider$1.h
@@ -17,6 +17,7 @@ extern "Java"
{
namespace charset
{
+ class Provider;
class Provider$1;
}
}
@@ -30,6 +31,7 @@ class gnu::java::nio::charset::Provider$1 : public ::java::lang::Object
public: // actually package-private
Provider$1();
public:
+ ::gnu::java::nio::charset::Provider * Provider$1$run();
::java::lang::Object * run();
static ::java::lang::Class class$;
};
diff --git a/libjava/gnu/java/nio/charset/US_ASCII$1.h b/libjava/gnu/java/nio/charset/US_ASCII$1.h
new file mode 100644
index 00000000000..63d4af15b45
--- /dev/null
+++ b/libjava/gnu/java/nio/charset/US_ASCII$1.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_nio_charset_US_ASCII$1__
+#define __gnu_java_nio_charset_US_ASCII$1__
+
+#pragma interface
+
+#include <gnu/java/nio/charset/ByteDecodeLoopHelper.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class US_ASCII$1;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::nio::charset::US_ASCII$1 : public ::gnu::java::nio::charset::ByteDecodeLoopHelper
+{
+
+public: // actually package-private
+ US_ASCII$1();
+public: // actually protected
+ jboolean isMappable(jbyte);
+ jchar mapToChar(jbyte);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_nio_charset_US_ASCII$1__
diff --git a/libjava/gnu/java/nio/charset/US_ASCII$2.h b/libjava/gnu/java/nio/charset/US_ASCII$2.h
new file mode 100644
index 00000000000..41c450a55fc
--- /dev/null
+++ b/libjava/gnu/java/nio/charset/US_ASCII$2.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_java_nio_charset_US_ASCII$2__
+#define __gnu_java_nio_charset_US_ASCII$2__
+
+#pragma interface
+
+#include <gnu/java/nio/charset/ByteEncodeLoopHelper.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace java
+ {
+ namespace nio
+ {
+ namespace charset
+ {
+ class US_ASCII$2;
+ }
+ }
+ }
+ }
+}
+
+class gnu::java::nio::charset::US_ASCII$2 : public ::gnu::java::nio::charset::ByteEncodeLoopHelper
+{
+
+public: // actually package-private
+ US_ASCII$2();
+public: // actually protected
+ jboolean isMappable(jchar);
+ jbyte mapToByte(jchar);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_java_nio_charset_US_ASCII$2__
diff --git a/libjava/gnu/java/nio/charset/US_ASCII$Decoder.h b/libjava/gnu/java/nio/charset/US_ASCII$Decoder.h
index c0c09bc32f7..9659ac2e7ba 100644
--- a/libjava/gnu/java/nio/charset/US_ASCII$Decoder.h
+++ b/libjava/gnu/java/nio/charset/US_ASCII$Decoder.h
@@ -17,6 +17,7 @@ extern "Java"
{
namespace charset
{
+ class ByteDecodeLoopHelper;
class US_ASCII$Decoder;
}
}
@@ -44,6 +45,8 @@ public: // actually package-private
US_ASCII$Decoder(::java::nio::charset::Charset *);
public: // actually protected
::java::nio::charset::CoderResult * decodeLoop(::java::nio::ByteBuffer *, ::java::nio::CharBuffer *);
+private:
+ static ::gnu::java::nio::charset::ByteDecodeLoopHelper * helper;
public:
static ::java::lang::Class class$;
};
diff --git a/libjava/gnu/java/nio/charset/US_ASCII$Encoder.h b/libjava/gnu/java/nio/charset/US_ASCII$Encoder.h
index 7a30c343c6e..467f6b77036 100644
--- a/libjava/gnu/java/nio/charset/US_ASCII$Encoder.h
+++ b/libjava/gnu/java/nio/charset/US_ASCII$Encoder.h
@@ -17,6 +17,7 @@ extern "Java"
{
namespace charset
{
+ class ByteEncodeLoopHelper;
class US_ASCII$Encoder;
}
}
@@ -47,6 +48,8 @@ public:
jboolean canEncode(::java::lang::CharSequence *);
public: // actually protected
::java::nio::charset::CoderResult * encodeLoop(::java::nio::CharBuffer *, ::java::nio::ByteBuffer *);
+private:
+ static ::gnu::java::nio::charset::ByteEncodeLoopHelper * helper;
public:
static ::java::lang::Class class$;
};