Lines Matching refs:environment
1632 void JavaVirtualMachine::setUpUnoVirtualMachine(JNIEnv * environment) { in setUpUnoVirtualMachine() argument
1667 jclass class_URLClassLoader = environment->FindClass( in setUpUnoVirtualMachine()
1670 handleJniException(environment); in setUpUnoVirtualMachine()
1672 jmethodID ctor_URLClassLoader = environment->GetMethodID( in setUpUnoVirtualMachine()
1675 handleJniException(environment); in setUpUnoVirtualMachine()
1677 jclass class_URL = environment->FindClass("java/net/URL"); in setUpUnoVirtualMachine()
1679 handleJniException(environment); in setUpUnoVirtualMachine()
1681 jmethodID ctor_URL_1 = environment->GetMethodID( in setUpUnoVirtualMachine()
1684 handleJniException(environment); in setUpUnoVirtualMachine()
1687 args[0].l = environment->NewString( in setUpUnoVirtualMachine()
1691 handleJniException(environment); in setUpUnoVirtualMachine()
1693 jobject base = environment->NewObjectA(class_URL, ctor_URL_1, args); in setUpUnoVirtualMachine()
1695 handleJniException(environment); in setUpUnoVirtualMachine()
1697 jmethodID ctor_URL_2 = environment->GetMethodID( in setUpUnoVirtualMachine()
1700 handleJniException(environment); in setUpUnoVirtualMachine()
1703 m_xContext, environment, classPath); in setUpUnoVirtualMachine()
1705 handleJniException(environment); in setUpUnoVirtualMachine()
1708 args[1].l = environment->NewStringUTF("unoloader.jar"); in setUpUnoVirtualMachine()
1710 handleJniException(environment); in setUpUnoVirtualMachine()
1712 args[0].l = environment->NewObjectA(class_URL, ctor_URL_2, args); in setUpUnoVirtualMachine()
1714 handleJniException(environment); in setUpUnoVirtualMachine()
1716 args[0].l = environment->NewObjectArray(1, class_URL, args[0].l); in setUpUnoVirtualMachine()
1718 handleJniException(environment); in setUpUnoVirtualMachine()
1720 jobject cl1 = environment->NewObjectA( in setUpUnoVirtualMachine()
1723 handleJniException(environment); in setUpUnoVirtualMachine()
1725 jmethodID method_loadClass = environment->GetMethodID( in setUpUnoVirtualMachine()
1729 handleJniException(environment); in setUpUnoVirtualMachine()
1731 args[0].l = environment->NewStringUTF( in setUpUnoVirtualMachine()
1734 handleJniException(environment); in setUpUnoVirtualMachine()
1737 environment->CallObjectMethodA(cl1, method_loadClass, args)); in setUpUnoVirtualMachine()
1739 handleJniException(environment); in setUpUnoVirtualMachine()
1741 jmethodID ctor_UnoClassLoader = environment->GetMethodID( in setUpUnoVirtualMachine()
1745 handleJniException(environment); in setUpUnoVirtualMachine()
1750 jobject cl2 = environment->NewObjectA( in setUpUnoVirtualMachine()
1753 handleJniException(environment); in setUpUnoVirtualMachine()
1767 void JavaVirtualMachine::handleJniException(JNIEnv * environment) { in handleJniException() argument
1768 environment->ExceptionClear(); in handleJniException()