mirror of
https://github.com/2003scape/deep-c-rsc.git
synced 2024-03-22 05:49:51 -04:00
139 lines
4.7 KiB
C
139 lines
4.7 KiB
C
|
/* DO NOT EDIT THIS FILE - it is machine generated (JCGO_116) */
|
||
|
|
||
|
#ifdef JCGO_SEPARATED
|
||
|
#define JCGO_116
|
||
|
#include "jcgortl.h"
|
||
|
#include "Main.h"
|
||
|
#endif
|
||
|
|
||
|
#ifdef JCGO_116
|
||
|
|
||
|
#ifdef CHKALL_gnu_java_nio_charset_ISO_18859_11
|
||
|
#include "jcgobchk.h"
|
||
|
#endif
|
||
|
|
||
|
JCGO_NOSEP_INLINE gnu_java_nio_charset_ISO_8859_1_Encoder CFASTCALL
|
||
|
gnu_java_nio_charset_ISO_8859_1_Encoder__this__L7qsf6( gnu_java_nio_charset_ISO_8859_1_Encoder
|
||
|
This, java_nio_charset_Charset cs )
|
||
|
{
|
||
|
{
|
||
|
(java_nio_charset_CharsetEncoder__this__L7qsf6FF((java_nio_charset_CharsetEncoder)This,
|
||
|
cs, (jfloat)1.0, (jfloat)1.0));
|
||
|
}
|
||
|
return This;
|
||
|
}
|
||
|
|
||
|
JCGO_NOSEP_FRWINL gnu_java_nio_charset_ISO_8859_1_Encoder CFASTCALL
|
||
|
gnu_java_nio_charset_ISO_8859_1_Encoder__new__L7qsf6( java_nio_charset_Charset
|
||
|
cs )
|
||
|
{
|
||
|
return gnu_java_nio_charset_ISO_8859_1_Encoder__this__L7qsf6(
|
||
|
(gnu_java_nio_charset_ISO_8859_1_Encoder)jcgo_newObject((jvtable)&gnu_java_nio_charset_ISO_8859_1_Encoder_methods),
|
||
|
cs);
|
||
|
}
|
||
|
|
||
|
JCGO_NOSEP_STATIC java_nio_charset_CoderResult CFASTCALL
|
||
|
gnu_java_nio_charset_ISO_8859_1_Encoder__encodeLoop__L3367bL9oaia(
|
||
|
gnu_java_nio_charset_ISO_8859_1_Encoder This, java_nio_CharBuffer
|
||
|
in, java_nio_ByteBuffer out )
|
||
|
{
|
||
|
{
|
||
|
while ((JCGO_CALL_FINALF(in) java_nio_Buffer__hasRemaining__(
|
||
|
(java_nio_Buffer)in)))
|
||
|
{
|
||
|
jchar c;
|
||
|
c= (java_nio_CharBufferImpl__get__(
|
||
|
(java_nio_CharBufferImpl)in));
|
||
|
if ((jint)c > (jint)255)
|
||
|
{
|
||
|
(java_nio_Buffer__position__I(
|
||
|
(java_nio_Buffer)in, (java_nio_Buffer__position__(
|
||
|
(java_nio_Buffer)in)) - (jint)1));
|
||
|
return (java_nio_charset_CoderResult__unmappableForLength__I(
|
||
|
(jint)1));
|
||
|
}
|
||
|
if (!(JCGO_CALL_FINALF(out) java_nio_Buffer__hasRemaining__(
|
||
|
(java_nio_Buffer)out)))
|
||
|
{
|
||
|
(java_nio_Buffer__position__I(
|
||
|
(java_nio_Buffer)in, (java_nio_Buffer__position__(
|
||
|
(java_nio_Buffer)in)) - (jint)1));
|
||
|
return JCGO_CLINIT_VARACC(java_nio_charset_CoderResult__class,
|
||
|
java_nio_charset_CoderResult__OVERFLOW);
|
||
|
}
|
||
|
(java_nio_ByteBufferImpl__put__B(
|
||
|
(java_nio_ByteBufferImpl)out, (jbyte)c));
|
||
|
}
|
||
|
return JCGO_CLINIT_VARACC(java_nio_charset_CoderResult__class, java_nio_charset_CoderResult__UNDERFLOW);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
JCGO_NOSEP_DATA CONST struct gnu_java_nio_charset_ISO_8859_1_Encoder_methods_s
|
||
|
gnu_java_nio_charset_ISO_8859_1_Encoder_methods=
|
||
|
{
|
||
|
JCGO_CLASSREF_OF(gnu_java_nio_charset_ISO_8859_1_Encoder__class),
|
||
|
JCGO_GCJDESCR_INIT(gnu_java_nio_charset_ISO_8859_1_Encoder_s, unmappableCharacterAction)
|
||
|
OBJT_gnu_java_nio_charset_ISO_8859_1_Encoder,
|
||
|
(JCGO_OBJSIZE_T)sizeof(struct gnu_java_nio_charset_ISO_8859_1_Encoder_s),
|
||
|
NULL,
|
||
|
JCGO_CLINIT_INIT(0)
|
||
|
0,
|
||
|
java_lang_Object__equals__Lo,
|
||
|
java_lang_Object__hashCode__,
|
||
|
java_lang_Object__toString__,
|
||
|
java_lang_Object__finalize__,
|
||
|
gnu_java_nio_charset_ISO_8859_1_Encoder__encodeLoop__L3367bL9oaia,
|
||
|
(void (CFASTCALL*)(java_nio_charset_CharsetEncoder))java_lang_Object__finalize__
|
||
|
};
|
||
|
|
||
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct gnu_java_nio_charset_ISO_8859_1_Encoder_class_s
|
||
|
gnu_java_nio_charset_ISO_8859_1_Encoder__class JCGO_THRD_ATTRNONGC=
|
||
|
{
|
||
|
{
|
||
|
&java_lang_Class_methods,
|
||
|
JCGO_MON_INIT
|
||
|
JCGO_OBJREF_OF(*(java_lang_Object)&gnu_java_nio_charset_ISO_8859_1_Encoder_methods),
|
||
|
JCGO_STRREF_OF(jcgo_string1_Encoder),
|
||
|
JCGO_CLASSREF_OF(java_nio_charset_CharsetEncoder__class),
|
||
|
((jObjectArr)JCGO_OBJREF_OF(jcgo_array3_Object)),
|
||
|
0x1a
|
||
|
}
|
||
|
};
|
||
|
|
||
|
JCGO_NOSEP_DATA CONST jcgo_arrtype627_Mdclnt jcgo_array2_Encoder=
|
||
|
{
|
||
|
(jvtable)&jbyteArr_methods,
|
||
|
JCGO_MON_INIT
|
||
|
39,
|
||
|
{
|
||
|
(jbyte)(jchar)103/*'g'*/, (jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)117/*'u'*/,
|
||
|
(jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)106/*'j'*/, (jbyte)(jchar)97/*'a'*/,
|
||
|
(jbyte)(jchar)118/*'v'*/, (jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)46/*'.'*/,
|
||
|
(jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)105/*'i'*/, (jbyte)(jchar)111/*'o'*/,
|
||
|
(jbyte)(jchar)46/*'.'*/, (jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)104/*'h'*/,
|
||
|
(jbyte)(jchar)97/*'a'*/, (jbyte)(jchar)114/*'r'*/, (jbyte)(jchar)115/*'s'*/,
|
||
|
(jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)116/*'t'*/, (jbyte)(jchar)46/*'.'*/,
|
||
|
(jbyte)(jchar)73/*'I'*/, (jbyte)(jchar)83/*'S'*/, (jbyte)(jchar)79/*'O'*/,
|
||
|
(jbyte)(jchar)95/*'_'*/, (jbyte)(jchar)56/*'8'*/, (jbyte)(jchar)56/*'8'*/,
|
||
|
(jbyte)(jchar)53/*'5'*/, (jbyte)(jchar)57/*'9'*/, (jbyte)(jchar)95/*'_'*/,
|
||
|
(jbyte)(jchar)49/*'1'*/, (jbyte)(jchar)36/*'$'*/, (jbyte)(jchar)69/*'E'*/,
|
||
|
(jbyte)(jchar)110/*'n'*/, (jbyte)(jchar)99/*'c'*/, (jbyte)(jchar)111/*'o'*/,
|
||
|
(jbyte)(jchar)100/*'d'*/, (jbyte)(jchar)101/*'e'*/, (jbyte)(jchar)114/*'r'*/
|
||
|
}
|
||
|
};
|
||
|
|
||
|
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string1_Encoder
|
||
|
JCGO_THRD_ATTRNONGC=
|
||
|
{
|
||
|
&java_lang_String_methods,
|
||
|
JCGO_MON_INIT
|
||
|
(java_lang_Object)JCGO_OBJREF_OF(jcgo_array2_Encoder),
|
||
|
0, 39, (jint)0x5939190L
|
||
|
};
|
||
|
|
||
|
#ifdef CHKALL_gnu_java_nio_charset_ISO_18859_11
|
||
|
#include "jcgochke.h"
|
||
|
#endif
|
||
|
|
||
|
#endif
|