Lines Matching refs:env
59 ::JNIEnv * const env = static_cast< ::JNIEnv * >(environment); in doTranslateToUrls()
60 jclass classUrl(env->FindClass("java/net/URL")); in doTranslateToUrls()
65 env->GetMethodID(classUrl, "<init>", "(Ljava/lang/String;)V")); in doTranslateToUrls()
97 arg.l = env->NewString( in doTranslateToUrls()
103 jobject o(env->NewObjectA(classUrl, ctorUrl, &arg)); in doTranslateToUrls()
110 jobjectArray result = env->NewObjectArray( in doTranslateToUrls()
120 env->SetObjectArrayElement(result, idx++, *i); in doTranslateToUrls()
135 ::JNIEnv * const env = static_cast< ::JNIEnv * >(environment); in doLoadClass()
136 jclass classLoader(env->FindClass("java/net/URLClassLoader")); in doLoadClass()
141 env->GetMethodID(classLoader, "<init>", "([Ljava/net/URL;)V")); in doLoadClass()
146 arg.l = translateToUrls(context, env, classPath); in doLoadClass()
150 jobject cl = env->NewObjectA(classLoader, ctorLoader, &arg); in doLoadClass()
155 env->GetMethodID( in doLoadClass()
160 arg.l = env->NewString( in doLoadClass()
166 return env->CallObjectMethodA(cl, methLoadClass, &arg); in doLoadClass()