Lines Matching refs:jvm
23 JniCache::JniCache(JavaVM* jvm) in JniCache() argument
24 : jvm(jvm), in JniCache()
25 string_class(nullptr, jvm), in JniCache()
26 string_utf8(nullptr, jvm), in JniCache()
27 pattern_class(nullptr, jvm), in JniCache()
28 matcher_class(nullptr, jvm), in JniCache()
29 locale_class(nullptr, jvm), in JniCache()
30 locale_us(nullptr, jvm), in JniCache()
31 breakiterator_class(nullptr, jvm), in JniCache()
32 integer_class(nullptr, jvm), in JniCache()
33 calendar_class(nullptr, jvm), in JniCache()
34 timezone_class(nullptr, jvm), in JniCache()
35 urlencoder_class(nullptr, jvm) in JniCache()
38 context_class(nullptr, jvm), in JniCache()
39 uri_class(nullptr, jvm), in JniCache()
40 usermanager_class(nullptr, jvm), in JniCache()
41 bundle_class(nullptr, jvm), in JniCache()
42 resources_class(nullptr, jvm) in JniCache()
53 result->FIELD##_class = MakeGlobalRef(env->FindClass(NAME), env, jvm); \
60 result->FIELD##_class = MakeGlobalRef(clazz, env, jvm); \
99 env, jvm); \
117 JavaVM* jvm = nullptr; in Create() local
118 if (JNI_OK != env->GetJavaVM(&jvm) || jvm == nullptr) { in Create()
121 std::unique_ptr<JniCache> result(new JniCache(jvm)); in Create()
129 result->string_utf8 = MakeGlobalRef(env->NewStringUTF("UTF-8"), env, jvm); in Create()
254 if (JNI_OK == jvm->GetEnv(&env, JNI_VERSION_1_4)) { in GetEnv()