コード例 #1
0
void __INIT_IMPL_sdljava_ttf_SDLTrueTypeFont()
{
    // Initialize base class if necessary
    if (!__TIB_java_lang_Object.classInitialized) __INIT_java_lang_Object();
    __TIB_sdljava_ttf_SDLTrueTypeFont.newInstanceFunc = __NEW_INSTANCE_sdljava_ttf_SDLTrueTypeFont;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_sdljava_ttf_SDLTrueTypeFont.vtable, __TIB_java_lang_Object.vtable, sizeof(__TIB_java_lang_Object.vtable));
    // Initialize vtable for this class
    __TIB_sdljava_ttf_SDLTrueTypeFont.vtable[2] = (VTABLE_PTR) &sdljava_ttf_SDLTrueTypeFont_finalize_sdljava_ttf_SDLTrueTypeFont__;
    // Initialize interface information
    __TIB_sdljava_ttf_SDLTrueTypeFont.numImplementedInterfaces = 0;
    __TIB_sdljava_ttf_SDLTrueTypeFont.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 0);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces

    __TIB_sdljava_ttf_SDLTrueTypeFont.declaredFields = &__field_reflection_data[0];
    __TIB_sdljava_ttf_SDLTrueTypeFont.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_sdljava_ttf_SDLTrueTypeFont.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_sdljava_ttf_SDLTrueTypeFont.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_sdljava_ttf_SDLTrueTypeFont.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_sdljava_ttf_SDLTrueTypeFont.methodDispatcherFunc = method_dispatcher;
    __TIB_sdljava_ttf_SDLTrueTypeFont.declaredMethods = &__method_reflection_data[0];
    __TIB_sdljava_ttf_SDLTrueTypeFont.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_sdljava_ttf_SDLTrueTypeFont = XMLVM_CREATE_CLASS_OBJECT(&__TIB_sdljava_ttf_SDLTrueTypeFont);
    __TIB_sdljava_ttf_SDLTrueTypeFont.clazz = __CLASS_sdljava_ttf_SDLTrueTypeFont;
    __TIB_sdljava_ttf_SDLTrueTypeFont.baseType = JAVA_NULL;
    __CLASS_sdljava_ttf_SDLTrueTypeFont_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_sdljava_ttf_SDLTrueTypeFont);
    __CLASS_sdljava_ttf_SDLTrueTypeFont_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_sdljava_ttf_SDLTrueTypeFont_1ARRAY);
    __CLASS_sdljava_ttf_SDLTrueTypeFont_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_sdljava_ttf_SDLTrueTypeFont_2ARRAY);
    //XMLVM_BEGIN_WRAPPER[__INIT_sdljava_ttf_SDLTrueTypeFont]
    //XMLVM_END_WRAPPER

    __TIB_sdljava_ttf_SDLTrueTypeFont.classInitialized = 1;
}
void __INIT_IMPL_java_lang_ThreadGroup_ChildrenGroupsLock()
{
    // Initialize base class if necessary
    if (!__TIB_java_lang_Object.classInitialized) __INIT_java_lang_Object();
    __TIB_java_lang_ThreadGroup_ChildrenGroupsLock.newInstanceFunc = __NEW_INSTANCE_java_lang_ThreadGroup_ChildrenGroupsLock;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_java_lang_ThreadGroup_ChildrenGroupsLock.vtable, __TIB_java_lang_Object.vtable, sizeof(__TIB_java_lang_Object.vtable));
    // Initialize vtable for this class
    // Initialize interface information
    __TIB_java_lang_ThreadGroup_ChildrenGroupsLock.numImplementedInterfaces = 0;
    __TIB_java_lang_ThreadGroup_ChildrenGroupsLock.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 0);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces

    __TIB_java_lang_ThreadGroup_ChildrenGroupsLock.declaredFields = &__field_reflection_data[0];
    __TIB_java_lang_ThreadGroup_ChildrenGroupsLock.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_java_lang_ThreadGroup_ChildrenGroupsLock.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_java_lang_ThreadGroup_ChildrenGroupsLock.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_java_lang_ThreadGroup_ChildrenGroupsLock.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_java_lang_ThreadGroup_ChildrenGroupsLock.methodDispatcherFunc = method_dispatcher;
    __TIB_java_lang_ThreadGroup_ChildrenGroupsLock.declaredMethods = &__method_reflection_data[0];
    __TIB_java_lang_ThreadGroup_ChildrenGroupsLock.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_java_lang_ThreadGroup_ChildrenGroupsLock = XMLVM_CREATE_CLASS_OBJECT(&__TIB_java_lang_ThreadGroup_ChildrenGroupsLock);
    __TIB_java_lang_ThreadGroup_ChildrenGroupsLock.clazz = __CLASS_java_lang_ThreadGroup_ChildrenGroupsLock;
    __TIB_java_lang_ThreadGroup_ChildrenGroupsLock.baseType = JAVA_NULL;
    __CLASS_java_lang_ThreadGroup_ChildrenGroupsLock_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_ThreadGroup_ChildrenGroupsLock);
    __CLASS_java_lang_ThreadGroup_ChildrenGroupsLock_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_ThreadGroup_ChildrenGroupsLock_1ARRAY);
    __CLASS_java_lang_ThreadGroup_ChildrenGroupsLock_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_ThreadGroup_ChildrenGroupsLock_2ARRAY);
    //XMLVM_BEGIN_WRAPPER[__INIT_java_lang_ThreadGroup_ChildrenGroupsLock]
    //XMLVM_END_WRAPPER

    __TIB_java_lang_ThreadGroup_ChildrenGroupsLock.classInitialized = 1;
}
JAVA_OBJECT org_apache_harmony_luni_internal_nls_Messages_getString___java_lang_String_java_lang_Object_java_lang_Object(JAVA_OBJECT n1, JAVA_OBJECT n2, JAVA_OBJECT n3)
{
    if (!__TIB_org_apache_harmony_luni_internal_nls_Messages.classInitialized) __INIT_org_apache_harmony_luni_internal_nls_Messages();
    //XMLVM_BEGIN_WRAPPER[org_apache_harmony_luni_internal_nls_Messages_getString___java_lang_String_java_lang_Object_java_lang_Object]
    XMLVM_ENTER_METHOD("org.apache.harmony.luni.internal.nls.Messages", "getString", "?")
    XMLVMElem _r0;
    XMLVMElem _r1;
    XMLVMElem _r2;
    XMLVMElem _r3;
    XMLVMElem _r4;
    _r2.o = n1;
    _r3.o = n2;
    _r4.o = n3;
    XMLVM_SOURCE_POSITION("Messages.java", 123)
    _r0.i = 2;
    if (!__TIB_java_lang_Object.classInitialized) __INIT_java_lang_Object();
    _r0.o = XMLVMArray_createSingleDimension(__CLASS_java_lang_Object, _r0.i);
    _r1.i = 0;
    XMLVM_CHECK_NPE(0)
    XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r1.i);
    ((JAVA_ARRAY_OBJECT*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r1.i] = _r3.o;
    _r1.i = 1;
    XMLVM_CHECK_NPE(0)
    XMLVM_CHECK_ARRAY_BOUNDS(_r0.o, _r1.i);
    ((JAVA_ARRAY_OBJECT*) (((org_xmlvm_runtime_XMLVMArray*) _r0.o)->fields.org_xmlvm_runtime_XMLVMArray.array_))[_r1.i] = _r4.o;
    _r0.o = org_apache_harmony_luni_internal_nls_Messages_getString___java_lang_String_java_lang_Object_1ARRAY(_r2.o, _r0.o);
    XMLVM_EXIT_METHOD()
    return _r0.o;
    //XMLVM_END_WRAPPER
}
void __INIT_IMPL_java_nio_charset_spi_CharsetProvider()
{
    // Initialize base class if necessary
    if (!__TIB_java_lang_Object.classInitialized) __INIT_java_lang_Object();
    __TIB_java_nio_charset_spi_CharsetProvider.newInstanceFunc = __NEW_INSTANCE_java_nio_charset_spi_CharsetProvider;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_java_nio_charset_spi_CharsetProvider.vtable, __TIB_java_lang_Object.vtable, sizeof(__TIB_java_lang_Object.vtable));
    // Initialize vtable for this class
    // Initialize interface information
    __TIB_java_nio_charset_spi_CharsetProvider.numImplementedInterfaces = 0;
    __TIB_java_nio_charset_spi_CharsetProvider.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 0);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces
    _STATIC_java_nio_charset_spi_CharsetProvider_CONSTRUCT_PERM = (java_lang_RuntimePermission*) JAVA_NULL;

    __TIB_java_nio_charset_spi_CharsetProvider.declaredFields = &__field_reflection_data[0];
    __TIB_java_nio_charset_spi_CharsetProvider.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_java_nio_charset_spi_CharsetProvider.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_java_nio_charset_spi_CharsetProvider.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_java_nio_charset_spi_CharsetProvider.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_java_nio_charset_spi_CharsetProvider.methodDispatcherFunc = method_dispatcher;
    __TIB_java_nio_charset_spi_CharsetProvider.declaredMethods = &__method_reflection_data[0];
    __TIB_java_nio_charset_spi_CharsetProvider.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_java_nio_charset_spi_CharsetProvider = XMLVM_CREATE_CLASS_OBJECT(&__TIB_java_nio_charset_spi_CharsetProvider);
    __TIB_java_nio_charset_spi_CharsetProvider.clazz = __CLASS_java_nio_charset_spi_CharsetProvider;
    __TIB_java_nio_charset_spi_CharsetProvider.baseType = JAVA_NULL;
    __CLASS_java_nio_charset_spi_CharsetProvider_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_nio_charset_spi_CharsetProvider);
    __CLASS_java_nio_charset_spi_CharsetProvider_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_nio_charset_spi_CharsetProvider_1ARRAY);
    __CLASS_java_nio_charset_spi_CharsetProvider_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_nio_charset_spi_CharsetProvider_2ARRAY);
    java_nio_charset_spi_CharsetProvider___CLINIT_();
    //XMLVM_BEGIN_WRAPPER[__INIT_java_nio_charset_spi_CharsetProvider]
    //XMLVM_END_WRAPPER

    __TIB_java_nio_charset_spi_CharsetProvider.classInitialized = 1;
}
コード例 #5
0
void __INIT_IMPL_org_xmlvm_runtime_Mutex()
{
    // Initialize base class if necessary
    if (!__TIB_java_lang_Object.classInitialized) __INIT_java_lang_Object();
    __TIB_org_xmlvm_runtime_Mutex.newInstanceFunc = __NEW_INSTANCE_org_xmlvm_runtime_Mutex;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_org_xmlvm_runtime_Mutex.vtable, __TIB_java_lang_Object.vtable, sizeof(__TIB_java_lang_Object.vtable));
    // Initialize vtable for this class
    xmlvm_init_native_org_xmlvm_runtime_Mutex();
    // Initialize interface information
    __TIB_org_xmlvm_runtime_Mutex.numImplementedInterfaces = 0;
    __TIB_org_xmlvm_runtime_Mutex.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 0);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces
    _STATIC_org_xmlvm_runtime_Mutex_finalizableNativeMutexList = (java_util_Queue*) JAVA_NULL;

    __TIB_org_xmlvm_runtime_Mutex.declaredFields = &__field_reflection_data[0];
    __TIB_org_xmlvm_runtime_Mutex.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_org_xmlvm_runtime_Mutex.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_org_xmlvm_runtime_Mutex.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_org_xmlvm_runtime_Mutex.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_org_xmlvm_runtime_Mutex.methodDispatcherFunc = method_dispatcher;
    __TIB_org_xmlvm_runtime_Mutex.declaredMethods = &__method_reflection_data[0];
    __TIB_org_xmlvm_runtime_Mutex.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_org_xmlvm_runtime_Mutex = XMLVM_CREATE_CLASS_OBJECT(&__TIB_org_xmlvm_runtime_Mutex);
    __TIB_org_xmlvm_runtime_Mutex.clazz = __CLASS_org_xmlvm_runtime_Mutex;
    __TIB_org_xmlvm_runtime_Mutex.baseType = JAVA_NULL;
    __CLASS_org_xmlvm_runtime_Mutex_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_xmlvm_runtime_Mutex);
    __CLASS_org_xmlvm_runtime_Mutex_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_xmlvm_runtime_Mutex_1ARRAY);
    __CLASS_org_xmlvm_runtime_Mutex_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_xmlvm_runtime_Mutex_2ARRAY);
    org_xmlvm_runtime_Mutex___CLINIT_();
    //XMLVM_BEGIN_WRAPPER[__INIT_org_xmlvm_runtime_Mutex]
    //XMLVM_END_WRAPPER

    __TIB_org_xmlvm_runtime_Mutex.classInitialized = 1;
}