deep-c-rsc/jcgo_Out/Decoder.c

109 lines
3.3 KiB
C
Raw Permalink Normal View History

2021-07-16 18:07:51 -04:00
/* 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_Decoder CFASTCALL
gnu_java_nio_charset_ISO_8859_1_Decoder__this__L7qsf6( gnu_java_nio_charset_ISO_8859_1_Decoder
This, java_nio_charset_Charset cs )
{
{
(java_nio_charset_CharsetDecoder__this__L7qsf6FF((java_nio_charset_CharsetDecoder)This,
cs, (jfloat)1.0, (jfloat)1.0));
}
return This;
}
JCGO_NOSEP_FRWINL gnu_java_nio_charset_ISO_8859_1_Decoder CFASTCALL
gnu_java_nio_charset_ISO_8859_1_Decoder__new__L7qsf6( java_nio_charset_Charset
cs )
{
return gnu_java_nio_charset_ISO_8859_1_Decoder__this__L7qsf6(
(gnu_java_nio_charset_ISO_8859_1_Decoder)jcgo_newObject((jvtable)&gnu_java_nio_charset_ISO_8859_1_Decoder_methods),
cs);
}
JCGO_NOSEP_STATIC java_nio_charset_CoderResult CFASTCALL
gnu_java_nio_charset_ISO_8859_1_Decoder__decodeLoop__L9oaiaL3367b(
gnu_java_nio_charset_ISO_8859_1_Decoder This, java_nio_ByteBuffer
in, java_nio_CharBuffer out )
{
{
while ((JCGO_CALL_FINALF(in) java_nio_Buffer__hasRemaining__(
(java_nio_Buffer)in)))
{
jbyte b;
b= (java_nio_ByteBufferImpl__get__(
(java_nio_ByteBufferImpl)in));
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_CharBufferImpl__put__C(
(java_nio_CharBufferImpl)out, (jchar)((jint)((unsigned char)b))));
}
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_Decoder_methods_s
gnu_java_nio_charset_ISO_8859_1_Decoder_methods=
{
JCGO_CLASSREF_OF(gnu_java_nio_charset_ISO_8859_1_Decoder__class),
JCGO_GCJDESCR_INIT(gnu_java_nio_charset_ISO_8859_1_Decoder_s, unmappableCharacterAction)
OBJT_gnu_java_nio_charset_ISO_8859_1_Decoder,
(JCGO_OBJSIZE_T)sizeof(struct gnu_java_nio_charset_ISO_8859_1_Decoder_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_Decoder__decodeLoop__L9oaiaL3367b,
(void (CFASTCALL*)(java_nio_charset_CharsetDecoder))java_lang_Object__finalize__
};
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct gnu_java_nio_charset_ISO_8859_1_Decoder_class_s
gnu_java_nio_charset_ISO_8859_1_Decoder__class JCGO_THRD_ATTRNONGC=
{
{
&java_lang_Class_methods,
JCGO_MON_INIT
JCGO_OBJREF_OF(*(java_lang_Object)&gnu_java_nio_charset_ISO_8859_1_Decoder_methods),
JCGO_STRREF_OF(jcgo_string1_Decoder),
JCGO_CLASSREF_OF(java_nio_charset_CharsetDecoder__class),
((jObjectArr)JCGO_OBJREF_OF(jcgo_array3_Object)),
0x1a
}
};
JCGO_NOSEP_DATA JCGO_NOTHR_CONST struct java_lang_String_s jcgo_string1_Decoder
JCGO_THRD_ATTRNONGC=
{
&java_lang_String_methods,
JCGO_MON_INIT
(java_lang_Object)JCGO_OBJREF_OF(jcgo_array685_VMSstmPr),
0, 39, (jint)0xc151b8b8L
};
#ifdef CHKALL_gnu_java_nio_charset_ISO_18859_11
#include "jcgochke.h"
#endif
#endif