Lines Matching refs:mid

408                          jmethodID mid, Primitive::Type type, InvokeType invoke)  in CheckMethodAndSig()  argument
410 ArtMethod* m = CheckMethodID(mid); in CheckMethodAndSig()
480 bool CheckStaticMethod(ScopedObjectAccess& soa, jclass java_class, jmethodID mid) in CheckStaticMethod() argument
482 ArtMethod* m = CheckMethodID(mid); in CheckStaticMethod()
502 bool CheckVirtualMethod(ScopedObjectAccess& soa, jobject java_object, jmethodID mid) in CheckVirtualMethod() argument
504 ArtMethod* m = CheckMethodID(mid); in CheckVirtualMethod()
676 bool CheckConstructor(jmethodID mid) REQUIRES_SHARED(Locks::mutator_lock_) { in CheckConstructor() argument
677 ArtMethod* method = jni::DecodeArtMethod(mid); in CheckConstructor()
683 AbortF("expected a constructor but %s: %p", method->PrettyMethod().c_str(), mid); in CheckConstructor()
1107 jmethodID mid = arg.m; in TracePossibleHeapValue() local
1108 ArtMethod* m = jni::DecodeArtMethod(mid); in TracePossibleHeapValue()
1111 StringAppendF(msg, " (%p)", mid); in TracePossibleHeapValue()
1339 ArtMethod* CheckMethodID(jmethodID mid) REQUIRES_SHARED(Locks::mutator_lock_) { in CheckMethodID() argument
1340 if (mid == nullptr) { in CheckMethodID()
1344 ArtMethod* m = jni::DecodeArtMethod(mid); in CheckMethodID()
1348 AbortF("invalid jmethodID: %p", mid); in CheckMethodID()
1975 static jobject ToReflectedMethod(JNIEnv* env, jclass cls, jmethodID mid, jboolean isStatic) { in ToReflectedMethod() argument
1979 JniValueType args[4] = {{.E = env}, {.c = cls}, {.m = mid}, {.I = isStatic}}; in ToReflectedMethod()
1982 result.L = baseEnv(env)->ToReflectedMethod(env, cls, mid, isStatic); in ToReflectedMethod()
2208 static jobject NewObjectV(JNIEnv* env, jclass c, jmethodID mid, va_list vargs) { in NewObjectV() argument
2212 VarArgs rest(mid, vargs); in NewObjectV()
2213 JniValueType args[4] = {{.E = env}, {.c = c}, {.m = mid}, {.va = &rest}}; in NewObjectV()
2215 sc.CheckConstructor(mid)) { in NewObjectV()
2217 result.L = baseEnv(env)->NewObjectV(env, c, mid, vargs); in NewObjectV()
2225 static jobject NewObject(JNIEnv* env, jclass c, jmethodID mid, ...) { in NewObject() argument
2228 va_start(args, mid); in NewObject()
2229 jobject result = NewObjectV(env, c, mid, args); in NewObject()
2234 static jobject NewObjectA(JNIEnv* env, jclass c, jmethodID mid, const jvalue* vargs) { in NewObjectA() argument
2238 VarArgs rest(mid, vargs); in NewObjectA()
2239 JniValueType args[4] = {{.E = env}, {.c = c}, {.m = mid}, {.va = &rest}}; in NewObjectA()
2241 sc.CheckConstructor(mid)) { in NewObjectA()
2243 result.L = baseEnv(env)->NewObjectA(env, c, mid, vargs); in NewObjectA()
2329 static void CallVoidMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* vargs) { in FIELD_ACCESSORS()
2330 CallMethodA(__FUNCTION__, env, obj, nullptr, mid, vargs, Primitive::kPrimVoid, kVirtual); in FIELD_ACCESSORS()
2333 static void CallNonvirtualVoidMethodA(JNIEnv* env, jobject obj, jclass c, jmethodID mid, in CallNonvirtualVoidMethodA() argument
2335 CallMethodA(__FUNCTION__, env, obj, c, mid, vargs, Primitive::kPrimVoid, kDirect); in CallNonvirtualVoidMethodA()
2338 static void CallStaticVoidMethodA(JNIEnv* env, jclass c, jmethodID mid, const jvalue* vargs) { in CallStaticVoidMethodA() argument
2339 CallMethodA(__FUNCTION__, env, nullptr, c, mid, vargs, Primitive::kPrimVoid, kStatic); in CallStaticVoidMethodA()
2342 static void CallVoidMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list vargs) { in CallVoidMethodV() argument
2343 CallMethodV(__FUNCTION__, env, obj, nullptr, mid, vargs, Primitive::kPrimVoid, kVirtual); in CallVoidMethodV()
2346 static void CallNonvirtualVoidMethodV(JNIEnv* env, jobject obj, jclass c, jmethodID mid, in CallNonvirtualVoidMethodV() argument
2348 CallMethodV(__FUNCTION__, env, obj, c, mid, vargs, Primitive::kPrimVoid, kDirect); in CallNonvirtualVoidMethodV()
2352 static void CallStaticVoidMethodV(JNIEnv* env, jclass c, jmethodID mid, va_list vargs) { in CallStaticVoidMethodV() argument
2353 CallMethodV(__FUNCTION__, env, nullptr, c, mid, vargs, Primitive::kPrimVoid, kStatic); in CallStaticVoidMethodV()
2356 static void CallVoidMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallVoidMethod() argument
2358 va_start(vargs, mid); in CallVoidMethod()
2359 CallMethodV(__FUNCTION__, env, obj, nullptr, mid, vargs, Primitive::kPrimVoid, kVirtual); in CallVoidMethod()
2363 static void CallNonvirtualVoidMethod(JNIEnv* env, jobject obj, jclass c, jmethodID mid, ...) { in CallNonvirtualVoidMethod() argument
2365 va_start(vargs, mid); in CallNonvirtualVoidMethod()
2366 CallMethodV(__FUNCTION__, env, obj, c, mid, vargs, Primitive::kPrimVoid, kDirect); in CallNonvirtualVoidMethod()
2370 static void CallStaticVoidMethod(JNIEnv* env, jclass c, jmethodID mid, ...) { in CallStaticVoidMethod() argument
2372 va_start(vargs, mid); in CallStaticVoidMethod()
2373 CallMethodV(__FUNCTION__, env, nullptr, c, mid, vargs, Primitive::kPrimVoid, kStatic); in CallStaticVoidMethod()
2378 static rtype Call##name##MethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* vargs) { \
2379 return CallMethodA(__FUNCTION__, env, obj, nullptr, mid, vargs, ptype, kVirtual).shorty; \
2382 static rtype CallNonvirtual##name##MethodA(JNIEnv* env, jobject obj, jclass c, jmethodID mid, \
2384 return CallMethodA(__FUNCTION__, env, obj, c, mid, vargs, ptype, kDirect).shorty; \
2387 …static rtype CallStatic##name##MethodA(JNIEnv* env, jclass c, jmethodID mid, const jvalue* vargs) …
2388 return CallMethodA(__FUNCTION__, env, nullptr, c, mid, vargs, ptype, kStatic).shorty; \
2391 static rtype Call##name##MethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list vargs) { \
2392 return CallMethodV(__FUNCTION__, env, obj, nullptr, mid, vargs, ptype, kVirtual).shorty; \
2395 static rtype CallNonvirtual##name##MethodV(JNIEnv* env, jobject obj, jclass c, jmethodID mid, \
2397 return CallMethodV(__FUNCTION__, env, obj, c, mid, vargs, ptype, kDirect).shorty; \
2400 static rtype CallStatic##name##MethodV(JNIEnv* env, jclass c, jmethodID mid, va_list vargs) { \
2401 return CallMethodV(__FUNCTION__, env, nullptr, c, mid, vargs, ptype, kStatic).shorty; \
2404 static rtype Call##name##Method(JNIEnv* env, jobject obj, jmethodID mid, ...) { \
2406 va_start(vargs, mid); \
2408 CallMethodV(__FUNCTION__, env, obj, nullptr, mid, vargs, ptype, kVirtual).shorty; \
2413 static rtype CallNonvirtual##name##Method(JNIEnv* env, jobject obj, jclass c, jmethodID mid, \
2416 va_start(vargs, mid); \
2418 CallMethodV(__FUNCTION__, env, obj, c, mid, vargs, ptype, kDirect).shorty; \
2423 static rtype CallStatic##name##Method(JNIEnv* env, jclass c, jmethodID mid, ...) { \
2425 va_start(vargs, mid); \
2427 CallMethodV(__FUNCTION__, env, nullptr, c, mid, vargs, ptype, kStatic).shorty; \
3102 jclass c, jmethodID mid, InvokeType invoke, const VarArgs* vargs) in CheckCallArgs() argument
3108 JniValueType args[4] = {{.E = env}, {.L = obj}, {.m = mid}, {.va = vargs}}; in CheckCallArgs()
3113 JniValueType args[5] = {{.E = env}, {.L = obj}, {.c = c}, {.m = mid}, {.va = vargs}}; in CheckCallArgs()
3119 JniValueType args[4] = {{.E = env}, {.c = c}, {.m = mid}, {.va = vargs}}; in CheckCallArgs()
3132 jmethodID mid, const jvalue* vargs, Primitive::Type type, in CallMethodA() argument
3138 VarArgs rest(mid, vargs); in CallMethodA()
3139 if (CheckCallArgs(soa, sc, env, obj, c, mid, invoke, &rest) && in CallMethodA()
3140 sc.CheckMethodAndSig(soa, obj, c, mid, type, invoke)) { in CallMethodA()
3147 result.L = baseEnv(env)->CallObjectMethodA(env, obj, mid, vargs); in CallMethodA()
3150 result.L = baseEnv(env)->CallNonvirtualObjectMethodA(env, obj, c, mid, vargs); in CallMethodA()
3153 result.L = baseEnv(env)->CallStaticObjectMethodA(env, c, mid, vargs); in CallMethodA()
3163 result.Z = baseEnv(env)->CallBooleanMethodA(env, obj, mid, vargs); in CallMethodA()
3166 result.Z = baseEnv(env)->CallNonvirtualBooleanMethodA(env, obj, c, mid, vargs); in CallMethodA()
3169 result.Z = baseEnv(env)->CallStaticBooleanMethodA(env, c, mid, vargs); in CallMethodA()
3179 result.B = baseEnv(env)->CallByteMethodA(env, obj, mid, vargs); in CallMethodA()
3182 result.B = baseEnv(env)->CallNonvirtualByteMethodA(env, obj, c, mid, vargs); in CallMethodA()
3185 result.B = baseEnv(env)->CallStaticByteMethodA(env, c, mid, vargs); in CallMethodA()
3195 result.C = baseEnv(env)->CallCharMethodA(env, obj, mid, vargs); in CallMethodA()
3198 result.C = baseEnv(env)->CallNonvirtualCharMethodA(env, obj, c, mid, vargs); in CallMethodA()
3201 result.C = baseEnv(env)->CallStaticCharMethodA(env, c, mid, vargs); in CallMethodA()
3211 result.S = baseEnv(env)->CallShortMethodA(env, obj, mid, vargs); in CallMethodA()
3214 result.S = baseEnv(env)->CallNonvirtualShortMethodA(env, obj, c, mid, vargs); in CallMethodA()
3217 result.S = baseEnv(env)->CallStaticShortMethodA(env, c, mid, vargs); in CallMethodA()
3227 result.I = baseEnv(env)->CallIntMethodA(env, obj, mid, vargs); in CallMethodA()
3230 result.I = baseEnv(env)->CallNonvirtualIntMethodA(env, obj, c, mid, vargs); in CallMethodA()
3233 result.I = baseEnv(env)->CallStaticIntMethodA(env, c, mid, vargs); in CallMethodA()
3243 result.J = baseEnv(env)->CallLongMethodA(env, obj, mid, vargs); in CallMethodA()
3246 result.J = baseEnv(env)->CallNonvirtualLongMethodA(env, obj, c, mid, vargs); in CallMethodA()
3249 result.J = baseEnv(env)->CallStaticLongMethodA(env, c, mid, vargs); in CallMethodA()
3259 result.F = baseEnv(env)->CallFloatMethodA(env, obj, mid, vargs); in CallMethodA()
3262 result.F = baseEnv(env)->CallNonvirtualFloatMethodA(env, obj, c, mid, vargs); in CallMethodA()
3265 result.F = baseEnv(env)->CallStaticFloatMethodA(env, c, mid, vargs); in CallMethodA()
3275 result.D = baseEnv(env)->CallDoubleMethodA(env, obj, mid, vargs); in CallMethodA()
3278 result.D = baseEnv(env)->CallNonvirtualDoubleMethodA(env, obj, c, mid, vargs); in CallMethodA()
3281 result.D = baseEnv(env)->CallStaticDoubleMethodA(env, c, mid, vargs); in CallMethodA()
3292 baseEnv(env)->CallVoidMethodA(env, obj, mid, vargs); in CallMethodA()
3295 baseEnv(env)->CallNonvirtualVoidMethodA(env, obj, c, mid, vargs); in CallMethodA()
3298 baseEnv(env)->CallStaticVoidMethodA(env, c, mid, vargs); in CallMethodA()
3315 jmethodID mid, va_list vargs, Primitive::Type type, in CallMethodV() argument
3321 VarArgs rest(mid, vargs); in CallMethodV()
3322 if (CheckCallArgs(soa, sc, env, obj, c, mid, invoke, &rest) && in CallMethodV()
3323 sc.CheckMethodAndSig(soa, obj, c, mid, type, invoke)) { in CallMethodV()
3330 result.L = baseEnv(env)->CallObjectMethodV(env, obj, mid, vargs); in CallMethodV()
3333 result.L = baseEnv(env)->CallNonvirtualObjectMethodV(env, obj, c, mid, vargs); in CallMethodV()
3336 result.L = baseEnv(env)->CallStaticObjectMethodV(env, c, mid, vargs); in CallMethodV()
3346 result.Z = baseEnv(env)->CallBooleanMethodV(env, obj, mid, vargs); in CallMethodV()
3349 result.Z = baseEnv(env)->CallNonvirtualBooleanMethodV(env, obj, c, mid, vargs); in CallMethodV()
3352 result.Z = baseEnv(env)->CallStaticBooleanMethodV(env, c, mid, vargs); in CallMethodV()
3362 result.B = baseEnv(env)->CallByteMethodV(env, obj, mid, vargs); in CallMethodV()
3365 result.B = baseEnv(env)->CallNonvirtualByteMethodV(env, obj, c, mid, vargs); in CallMethodV()
3368 result.B = baseEnv(env)->CallStaticByteMethodV(env, c, mid, vargs); in CallMethodV()
3378 result.C = baseEnv(env)->CallCharMethodV(env, obj, mid, vargs); in CallMethodV()
3381 result.C = baseEnv(env)->CallNonvirtualCharMethodV(env, obj, c, mid, vargs); in CallMethodV()
3384 result.C = baseEnv(env)->CallStaticCharMethodV(env, c, mid, vargs); in CallMethodV()
3394 result.S = baseEnv(env)->CallShortMethodV(env, obj, mid, vargs); in CallMethodV()
3397 result.S = baseEnv(env)->CallNonvirtualShortMethodV(env, obj, c, mid, vargs); in CallMethodV()
3400 result.S = baseEnv(env)->CallStaticShortMethodV(env, c, mid, vargs); in CallMethodV()
3410 result.I = baseEnv(env)->CallIntMethodV(env, obj, mid, vargs); in CallMethodV()
3413 result.I = baseEnv(env)->CallNonvirtualIntMethodV(env, obj, c, mid, vargs); in CallMethodV()
3416 result.I = baseEnv(env)->CallStaticIntMethodV(env, c, mid, vargs); in CallMethodV()
3426 result.J = baseEnv(env)->CallLongMethodV(env, obj, mid, vargs); in CallMethodV()
3429 result.J = baseEnv(env)->CallNonvirtualLongMethodV(env, obj, c, mid, vargs); in CallMethodV()
3432 result.J = baseEnv(env)->CallStaticLongMethodV(env, c, mid, vargs); in CallMethodV()
3442 result.F = baseEnv(env)->CallFloatMethodV(env, obj, mid, vargs); in CallMethodV()
3445 result.F = baseEnv(env)->CallNonvirtualFloatMethodV(env, obj, c, mid, vargs); in CallMethodV()
3448 result.F = baseEnv(env)->CallStaticFloatMethodV(env, c, mid, vargs); in CallMethodV()
3458 result.D = baseEnv(env)->CallDoubleMethodV(env, obj, mid, vargs); in CallMethodV()
3461 result.D = baseEnv(env)->CallNonvirtualDoubleMethodV(env, obj, c, mid, vargs); in CallMethodV()
3464 result.D = baseEnv(env)->CallStaticDoubleMethodV(env, c, mid, vargs); in CallMethodV()
3475 baseEnv(env)->CallVoidMethodV(env, obj, mid, vargs); in CallMethodV()
3478 baseEnv(env)->CallNonvirtualVoidMethodV(env, obj, c, mid, vargs); in CallMethodV()
3481 baseEnv(env)->CallStaticVoidMethodV(env, c, mid, vargs); in CallMethodV()