Lines Matching refs:environment
1631 void JavaVirtualMachine::setUpUnoVirtualMachine(JNIEnv * environment) { in setUpUnoVirtualMachine() argument
1666 jclass class_URLClassLoader = environment->FindClass( in setUpUnoVirtualMachine()
1669 handleJniException(environment); in setUpUnoVirtualMachine()
1671 jmethodID ctor_URLClassLoader = environment->GetMethodID( in setUpUnoVirtualMachine()
1674 handleJniException(environment); in setUpUnoVirtualMachine()
1676 jclass class_URL = environment->FindClass("java/net/URL"); in setUpUnoVirtualMachine()
1678 handleJniException(environment); in setUpUnoVirtualMachine()
1680 jmethodID ctor_URL_1 = environment->GetMethodID( in setUpUnoVirtualMachine()
1683 handleJniException(environment); in setUpUnoVirtualMachine()
1686 args[0].l = environment->NewString( in setUpUnoVirtualMachine()
1690 handleJniException(environment); in setUpUnoVirtualMachine()
1692 jobject base = environment->NewObjectA(class_URL, ctor_URL_1, args); in setUpUnoVirtualMachine()
1694 handleJniException(environment); in setUpUnoVirtualMachine()
1696 jmethodID ctor_URL_2 = environment->GetMethodID( in setUpUnoVirtualMachine()
1699 handleJniException(environment); in setUpUnoVirtualMachine()
1702 m_xContext, environment, classPath); in setUpUnoVirtualMachine()
1704 handleJniException(environment); in setUpUnoVirtualMachine()
1707 args[1].l = environment->NewStringUTF("unoloader.jar"); in setUpUnoVirtualMachine()
1709 handleJniException(environment); in setUpUnoVirtualMachine()
1711 args[0].l = environment->NewObjectA(class_URL, ctor_URL_2, args); in setUpUnoVirtualMachine()
1713 handleJniException(environment); in setUpUnoVirtualMachine()
1715 args[0].l = environment->NewObjectArray(1, class_URL, args[0].l); in setUpUnoVirtualMachine()
1717 handleJniException(environment); in setUpUnoVirtualMachine()
1719 jobject cl1 = environment->NewObjectA( in setUpUnoVirtualMachine()
1722 handleJniException(environment); in setUpUnoVirtualMachine()
1724 jmethodID method_loadClass = environment->GetMethodID( in setUpUnoVirtualMachine()
1728 handleJniException(environment); in setUpUnoVirtualMachine()
1730 args[0].l = environment->NewStringUTF( in setUpUnoVirtualMachine()
1733 handleJniException(environment); in setUpUnoVirtualMachine()
1736 environment->CallObjectMethodA(cl1, method_loadClass, args)); in setUpUnoVirtualMachine()
1738 handleJniException(environment); in setUpUnoVirtualMachine()
1740 jmethodID ctor_UnoClassLoader = environment->GetMethodID( in setUpUnoVirtualMachine()
1744 handleJniException(environment); in setUpUnoVirtualMachine()
1749 jobject cl2 = environment->NewObjectA( in setUpUnoVirtualMachine()
1752 handleJniException(environment); in setUpUnoVirtualMachine()
1766 void JavaVirtualMachine::handleJniException(JNIEnv * environment) { in handleJniException() argument
1767 environment->ExceptionClear(); in handleJniException()