Lines Matching refs:Vm
301 return reinterpret_cast<JNIEnvExt*>(env)->vm;
537 return soa.Vm()->AddGlobalRef(soa.Self(), decoded_obj);
541 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->vm;
543 vm->DeleteGlobalRef(self, obj);
549 return soa.Vm()->AddWeakGlobalRef(soa.Self(), decoded_obj);
553 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->vm;
555 vm->DeleteWeakGlobalRef(self, obj);
1844 soa.Vm()->JniAbortF("GetArrayLength", "not an array: %s", obj->PrettyTypeOf().c_str());
1911 soa.Vm()->JniAbortF("NewObjectArray",
1931 soa.Vm()->JniAbortF("NewObjectArray", "cannot assign object of type '%s' to array with "
1955 soa.Vm()->JniAbortF("GetPrimitiveArrayCritical", "expected primitive array, given %s",
1983 soa.Vm()->JniAbortF("ReleasePrimitiveArrayCritical", "expected primitive array, given %s",
2223 bool warn_on_going_to_parent = down_cast<JNIEnvExt*>(env)->vm->IsCheckJniEnabled();
2334 static jint GetJavaVM(JNIEnv* env, JavaVM** vm) {
2335 CHECK_NON_NULL_ARGUMENT_RETURN(vm, JNI_ERR);
2338 *vm = runtime->GetJavaVM();
2340 *vm = nullptr;
2342 return (*vm != nullptr) ? JNI_OK : JNI_ERR;
2428 soa.Vm()->JniAbortF("NewPrimitiveArray", "negative array length: %d", length);
2441 soa.Vm()->JniAbortF(fn_name,
2506 soa.Vm()->JniAbortF("ReleaseArrayElements",