Lines Matching refs:mid

288   jmethodID mid = env->GetMethodID(exception_class, "<init>", signature);  in ThrowNewException()  local
289 if (mid == nullptr) { in ThrowNewException()
297 env, reinterpret_cast<jthrowable>(env->NewObjectA(exception_class, mid, args))); in ThrowNewException()
618 static jobject ToReflectedMethod(JNIEnv* env, jclass, jmethodID mid, jboolean) { in ToReflectedMethod() argument
619 CHECK_NON_NULL_ARGUMENT(mid); in ToReflectedMethod()
621 mirror::ArtMethod* m = soa.DecodeMethod(mid); in ToReflectedMethod()
743 jmethodID mid = env->GetMethodID(exception_class.get(), "printStackTrace", "()V"); in ExceptionDescribe() local
744 if (mid == nullptr) { in ExceptionDescribe()
748 env->CallVoidMethod(exception.get(), mid); in ExceptionDescribe()
885 static jobject NewObject(JNIEnv* env, jclass java_class, jmethodID mid, ...) { in NewObject() argument
887 va_start(args, mid); in NewObject()
889 CHECK_NON_NULL_ARGUMENT(mid); in NewObject()
890 jobject result = NewObjectV(env, java_class, mid, args); in NewObject()
895 static jobject NewObjectV(JNIEnv* env, jclass java_class, jmethodID mid, va_list args) { in NewObjectV() argument
897 CHECK_NON_NULL_ARGUMENT(mid); in NewObjectV()
908 CallNonvirtualVoidMethodV(env, local_result, java_class, mid, args); in NewObjectV()
915 static jobject NewObjectA(JNIEnv* env, jclass java_class, jmethodID mid, jvalue* args) { in NewObjectA() argument
917 CHECK_NON_NULL_ARGUMENT(mid); in NewObjectA()
928 CallNonvirtualVoidMethodA(env, local_result, java_class, mid, args); in NewObjectA()
952 static jobject CallObjectMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallObjectMethod() argument
954 va_start(ap, mid); in CallObjectMethod()
956 CHECK_NON_NULL_ARGUMENT(mid); in CallObjectMethod()
958 JValue result(InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, ap)); in CallObjectMethod()
963 static jobject CallObjectMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallObjectMethodV() argument
965 CHECK_NON_NULL_ARGUMENT(mid); in CallObjectMethodV()
967 JValue result(InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, args)); in CallObjectMethodV()
971 static jobject CallObjectMethodA(JNIEnv* env, jobject obj, jmethodID mid, jvalue* args) { in CallObjectMethodA() argument
973 CHECK_NON_NULL_ARGUMENT(mid); in CallObjectMethodA()
975 JValue result(InvokeVirtualOrInterfaceWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, in CallObjectMethodA()
980 static jboolean CallBooleanMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallBooleanMethod() argument
982 va_start(ap, mid); in CallBooleanMethod()
984 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallBooleanMethod()
986 JValue result(InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, ap)); in CallBooleanMethod()
991 static jboolean CallBooleanMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallBooleanMethodV() argument
993 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallBooleanMethodV()
995 return InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, args).GetZ(); in CallBooleanMethodV()
998 static jboolean CallBooleanMethodA(JNIEnv* env, jobject obj, jmethodID mid, jvalue* args) { in CallBooleanMethodA() argument
1000 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallBooleanMethodA()
1002 return InvokeVirtualOrInterfaceWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, in CallBooleanMethodA()
1006 static jbyte CallByteMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallByteMethod() argument
1008 va_start(ap, mid); in CallByteMethod()
1010 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallByteMethod()
1012 JValue result(InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, ap)); in CallByteMethod()
1017 static jbyte CallByteMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallByteMethodV() argument
1019 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallByteMethodV()
1021 return InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, args).GetB(); in CallByteMethodV()
1024 static jbyte CallByteMethodA(JNIEnv* env, jobject obj, jmethodID mid, jvalue* args) { in CallByteMethodA() argument
1026 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallByteMethodA()
1028 return InvokeVirtualOrInterfaceWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, in CallByteMethodA()
1032 static jchar CallCharMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallCharMethod() argument
1034 va_start(ap, mid); in CallCharMethod()
1036 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallCharMethod()
1038 JValue result(InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, ap)); in CallCharMethod()
1043 static jchar CallCharMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallCharMethodV() argument
1045 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallCharMethodV()
1047 return InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, args).GetC(); in CallCharMethodV()
1050 static jchar CallCharMethodA(JNIEnv* env, jobject obj, jmethodID mid, jvalue* args) { in CallCharMethodA() argument
1052 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallCharMethodA()
1054 return InvokeVirtualOrInterfaceWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, in CallCharMethodA()
1058 static jdouble CallDoubleMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallDoubleMethod() argument
1060 va_start(ap, mid); in CallDoubleMethod()
1062 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallDoubleMethod()
1064 JValue result(InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, ap)); in CallDoubleMethod()
1069 static jdouble CallDoubleMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallDoubleMethodV() argument
1071 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallDoubleMethodV()
1073 return InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, args).GetD(); in CallDoubleMethodV()
1076 static jdouble CallDoubleMethodA(JNIEnv* env, jobject obj, jmethodID mid, jvalue* args) { in CallDoubleMethodA() argument
1078 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallDoubleMethodA()
1080 return InvokeVirtualOrInterfaceWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, in CallDoubleMethodA()
1084 static jfloat CallFloatMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallFloatMethod() argument
1086 va_start(ap, mid); in CallFloatMethod()
1088 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallFloatMethod()
1090 JValue result(InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, ap)); in CallFloatMethod()
1095 static jfloat CallFloatMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallFloatMethodV() argument
1097 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallFloatMethodV()
1099 return InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, args).GetF(); in CallFloatMethodV()
1102 static jfloat CallFloatMethodA(JNIEnv* env, jobject obj, jmethodID mid, jvalue* args) { in CallFloatMethodA() argument
1104 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallFloatMethodA()
1106 return InvokeVirtualOrInterfaceWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, in CallFloatMethodA()
1110 static jint CallIntMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallIntMethod() argument
1112 va_start(ap, mid); in CallIntMethod()
1114 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallIntMethod()
1116 JValue result(InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, ap)); in CallIntMethod()
1121 static jint CallIntMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallIntMethodV() argument
1123 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallIntMethodV()
1125 return InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, args).GetI(); in CallIntMethodV()
1128 static jint CallIntMethodA(JNIEnv* env, jobject obj, jmethodID mid, jvalue* args) { in CallIntMethodA() argument
1130 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallIntMethodA()
1132 return InvokeVirtualOrInterfaceWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, in CallIntMethodA()
1136 static jlong CallLongMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallLongMethod() argument
1138 va_start(ap, mid); in CallLongMethod()
1140 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallLongMethod()
1142 JValue result(InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, ap)); in CallLongMethod()
1147 static jlong CallLongMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallLongMethodV() argument
1149 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallLongMethodV()
1151 return InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, args).GetJ(); in CallLongMethodV()
1154 static jlong CallLongMethodA(JNIEnv* env, jobject obj, jmethodID mid, jvalue* args) { in CallLongMethodA() argument
1156 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallLongMethodA()
1158 return InvokeVirtualOrInterfaceWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, in CallLongMethodA()
1162 static jshort CallShortMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallShortMethod() argument
1164 va_start(ap, mid); in CallShortMethod()
1166 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallShortMethod()
1168 JValue result(InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, ap)); in CallShortMethod()
1173 static jshort CallShortMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallShortMethodV() argument
1175 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallShortMethodV()
1177 return InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, args).GetS(); in CallShortMethodV()
1180 static jshort CallShortMethodA(JNIEnv* env, jobject obj, jmethodID mid, jvalue* args) { in CallShortMethodA() argument
1182 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallShortMethodA()
1184 return InvokeVirtualOrInterfaceWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, in CallShortMethodA()
1188 static void CallVoidMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallVoidMethod() argument
1190 va_start(ap, mid); in CallVoidMethod()
1192 CHECK_NON_NULL_ARGUMENT_RETURN_VOID(mid); in CallVoidMethod()
1194 InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, ap); in CallVoidMethod()
1198 static void CallVoidMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallVoidMethodV() argument
1200 CHECK_NON_NULL_ARGUMENT_RETURN_VOID(mid); in CallVoidMethodV()
1202 InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, args); in CallVoidMethodV()
1205 static void CallVoidMethodA(JNIEnv* env, jobject obj, jmethodID mid, jvalue* args) { in CallVoidMethodA() argument
1207 CHECK_NON_NULL_ARGUMENT_RETURN_VOID(mid); in CallVoidMethodA()
1209 InvokeVirtualOrInterfaceWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args); in CallVoidMethodA()
1212 static jobject CallNonvirtualObjectMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualObjectMethod() argument
1214 va_start(ap, mid); in CallNonvirtualObjectMethod()
1216 CHECK_NON_NULL_ARGUMENT(mid); in CallNonvirtualObjectMethod()
1218 JValue result(InvokeWithVarArgs(soa, obj, mid, ap)); in CallNonvirtualObjectMethod()
1224 static jobject CallNonvirtualObjectMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualObjectMethodV() argument
1227 CHECK_NON_NULL_ARGUMENT(mid); in CallNonvirtualObjectMethodV()
1229 JValue result(InvokeWithVarArgs(soa, obj, mid, args)); in CallNonvirtualObjectMethodV()
1233 static jobject CallNonvirtualObjectMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualObjectMethodA() argument
1236 CHECK_NON_NULL_ARGUMENT(mid); in CallNonvirtualObjectMethodA()
1238 JValue result(InvokeWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args)); in CallNonvirtualObjectMethodA()
1242 static jboolean CallNonvirtualBooleanMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualBooleanMethod() argument
1245 va_start(ap, mid); in CallNonvirtualBooleanMethod()
1247 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualBooleanMethod()
1249 JValue result(InvokeWithVarArgs(soa, obj, mid, ap)); in CallNonvirtualBooleanMethod()
1254 static jboolean CallNonvirtualBooleanMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualBooleanMethodV() argument
1257 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualBooleanMethodV()
1259 return InvokeWithVarArgs(soa, obj, mid, args).GetZ(); in CallNonvirtualBooleanMethodV()
1262 static jboolean CallNonvirtualBooleanMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualBooleanMethodA() argument
1265 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualBooleanMethodA()
1267 return InvokeWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args).GetZ(); in CallNonvirtualBooleanMethodA()
1270 static jbyte CallNonvirtualByteMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualByteMethod() argument
1272 va_start(ap, mid); in CallNonvirtualByteMethod()
1274 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualByteMethod()
1276 JValue result(InvokeWithVarArgs(soa, obj, mid, ap)); in CallNonvirtualByteMethod()
1281 static jbyte CallNonvirtualByteMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualByteMethodV() argument
1284 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualByteMethodV()
1286 return InvokeWithVarArgs(soa, obj, mid, args).GetB(); in CallNonvirtualByteMethodV()
1289 static jbyte CallNonvirtualByteMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualByteMethodA() argument
1292 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualByteMethodA()
1294 return InvokeWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args).GetB(); in CallNonvirtualByteMethodA()
1297 static jchar CallNonvirtualCharMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualCharMethod() argument
1299 va_start(ap, mid); in CallNonvirtualCharMethod()
1301 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualCharMethod()
1303 JValue result(InvokeWithVarArgs(soa, obj, mid, ap)); in CallNonvirtualCharMethod()
1308 static jchar CallNonvirtualCharMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualCharMethodV() argument
1311 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualCharMethodV()
1313 return InvokeWithVarArgs(soa, obj, mid, args).GetC(); in CallNonvirtualCharMethodV()
1316 static jchar CallNonvirtualCharMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualCharMethodA() argument
1319 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualCharMethodA()
1321 return InvokeWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args).GetC(); in CallNonvirtualCharMethodA()
1324 static jshort CallNonvirtualShortMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualShortMethod() argument
1326 va_start(ap, mid); in CallNonvirtualShortMethod()
1328 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualShortMethod()
1330 JValue result(InvokeWithVarArgs(soa, obj, mid, ap)); in CallNonvirtualShortMethod()
1335 static jshort CallNonvirtualShortMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualShortMethodV() argument
1338 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualShortMethodV()
1340 return InvokeWithVarArgs(soa, obj, mid, args).GetS(); in CallNonvirtualShortMethodV()
1343 static jshort CallNonvirtualShortMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualShortMethodA() argument
1346 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualShortMethodA()
1348 return InvokeWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args).GetS(); in CallNonvirtualShortMethodA()
1351 static jint CallNonvirtualIntMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualIntMethod() argument
1353 va_start(ap, mid); in CallNonvirtualIntMethod()
1355 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualIntMethod()
1357 JValue result(InvokeWithVarArgs(soa, obj, mid, ap)); in CallNonvirtualIntMethod()
1362 static jint CallNonvirtualIntMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualIntMethodV() argument
1365 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualIntMethodV()
1367 return InvokeWithVarArgs(soa, obj, mid, args).GetI(); in CallNonvirtualIntMethodV()
1370 static jint CallNonvirtualIntMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualIntMethodA() argument
1373 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualIntMethodA()
1375 return InvokeWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args).GetI(); in CallNonvirtualIntMethodA()
1378 static jlong CallNonvirtualLongMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualLongMethod() argument
1380 va_start(ap, mid); in CallNonvirtualLongMethod()
1382 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualLongMethod()
1384 JValue result(InvokeWithVarArgs(soa, obj, mid, ap)); in CallNonvirtualLongMethod()
1389 static jlong CallNonvirtualLongMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualLongMethodV() argument
1392 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualLongMethodV()
1394 return InvokeWithVarArgs(soa, obj, mid, args).GetJ(); in CallNonvirtualLongMethodV()
1397 static jlong CallNonvirtualLongMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualLongMethodA() argument
1400 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualLongMethodA()
1402 return InvokeWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args).GetJ(); in CallNonvirtualLongMethodA()
1405 static jfloat CallNonvirtualFloatMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualFloatMethod() argument
1407 va_start(ap, mid); in CallNonvirtualFloatMethod()
1409 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualFloatMethod()
1411 JValue result(InvokeWithVarArgs(soa, obj, mid, ap)); in CallNonvirtualFloatMethod()
1416 static jfloat CallNonvirtualFloatMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualFloatMethodV() argument
1419 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualFloatMethodV()
1421 return InvokeWithVarArgs(soa, obj, mid, args).GetF(); in CallNonvirtualFloatMethodV()
1424 static jfloat CallNonvirtualFloatMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualFloatMethodA() argument
1427 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualFloatMethodA()
1429 return InvokeWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args).GetF(); in CallNonvirtualFloatMethodA()
1432 static jdouble CallNonvirtualDoubleMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualDoubleMethod() argument
1434 va_start(ap, mid); in CallNonvirtualDoubleMethod()
1436 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualDoubleMethod()
1438 JValue result(InvokeWithVarArgs(soa, obj, mid, ap)); in CallNonvirtualDoubleMethod()
1443 static jdouble CallNonvirtualDoubleMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualDoubleMethodV() argument
1446 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualDoubleMethodV()
1448 return InvokeWithVarArgs(soa, obj, mid, args).GetD(); in CallNonvirtualDoubleMethodV()
1451 static jdouble CallNonvirtualDoubleMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualDoubleMethodA() argument
1454 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualDoubleMethodA()
1456 return InvokeWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args).GetD(); in CallNonvirtualDoubleMethodA()
1459 static void CallNonvirtualVoidMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualVoidMethod() argument
1461 va_start(ap, mid); in CallNonvirtualVoidMethod()
1463 CHECK_NON_NULL_ARGUMENT_RETURN_VOID(mid); in CallNonvirtualVoidMethod()
1465 InvokeWithVarArgs(soa, obj, mid, ap); in CallNonvirtualVoidMethod()
1469 static void CallNonvirtualVoidMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualVoidMethodV() argument
1472 CHECK_NON_NULL_ARGUMENT_RETURN_VOID(mid); in CallNonvirtualVoidMethodV()
1474 InvokeWithVarArgs(soa, obj, mid, args); in CallNonvirtualVoidMethodV()
1477 static void CallNonvirtualVoidMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualVoidMethodA() argument
1480 CHECK_NON_NULL_ARGUMENT_RETURN_VOID(mid); in CallNonvirtualVoidMethodA()
1482 InvokeWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args); in CallNonvirtualVoidMethodA()
1692 static jobject CallStaticObjectMethod(JNIEnv* env, jclass, jmethodID mid, ...) { in CallStaticObjectMethod() argument
1694 va_start(ap, mid); in CallStaticObjectMethod()
1695 CHECK_NON_NULL_ARGUMENT(mid); in CallStaticObjectMethod()
1697 JValue result(InvokeWithVarArgs(soa, nullptr, mid, ap)); in CallStaticObjectMethod()
1703 static jobject CallStaticObjectMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticObjectMethodV() argument
1704 CHECK_NON_NULL_ARGUMENT(mid); in CallStaticObjectMethodV()
1706 JValue result(InvokeWithVarArgs(soa, nullptr, mid, args)); in CallStaticObjectMethodV()
1710 static jobject CallStaticObjectMethodA(JNIEnv* env, jclass, jmethodID mid, jvalue* args) { in CallStaticObjectMethodA() argument
1711 CHECK_NON_NULL_ARGUMENT(mid); in CallStaticObjectMethodA()
1713 JValue result(InvokeWithJValues(soa, nullptr, mid, args)); in CallStaticObjectMethodA()
1717 static jboolean CallStaticBooleanMethod(JNIEnv* env, jclass, jmethodID mid, ...) { in CallStaticBooleanMethod() argument
1719 va_start(ap, mid); in CallStaticBooleanMethod()
1720 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticBooleanMethod()
1722 JValue result(InvokeWithVarArgs(soa, nullptr, mid, ap)); in CallStaticBooleanMethod()
1727 static jboolean CallStaticBooleanMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticBooleanMethodV() argument
1728 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticBooleanMethodV()
1730 return InvokeWithVarArgs(soa, nullptr, mid, args).GetZ(); in CallStaticBooleanMethodV()
1733 static jboolean CallStaticBooleanMethodA(JNIEnv* env, jclass, jmethodID mid, jvalue* args) { in CallStaticBooleanMethodA() argument
1734 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticBooleanMethodA()
1736 return InvokeWithJValues(soa, nullptr, mid, args).GetZ(); in CallStaticBooleanMethodA()
1739 static jbyte CallStaticByteMethod(JNIEnv* env, jclass, jmethodID mid, ...) { in CallStaticByteMethod() argument
1741 va_start(ap, mid); in CallStaticByteMethod()
1742 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticByteMethod()
1744 JValue result(InvokeWithVarArgs(soa, nullptr, mid, ap)); in CallStaticByteMethod()
1749 static jbyte CallStaticByteMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticByteMethodV() argument
1750 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticByteMethodV()
1752 return InvokeWithVarArgs(soa, nullptr, mid, args).GetB(); in CallStaticByteMethodV()
1755 static jbyte CallStaticByteMethodA(JNIEnv* env, jclass, jmethodID mid, jvalue* args) { in CallStaticByteMethodA() argument
1756 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticByteMethodA()
1758 return InvokeWithJValues(soa, nullptr, mid, args).GetB(); in CallStaticByteMethodA()
1761 static jchar CallStaticCharMethod(JNIEnv* env, jclass, jmethodID mid, ...) { in CallStaticCharMethod() argument
1763 va_start(ap, mid); in CallStaticCharMethod()
1764 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticCharMethod()
1766 JValue result(InvokeWithVarArgs(soa, nullptr, mid, ap)); in CallStaticCharMethod()
1771 static jchar CallStaticCharMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticCharMethodV() argument
1772 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticCharMethodV()
1774 return InvokeWithVarArgs(soa, nullptr, mid, args).GetC(); in CallStaticCharMethodV()
1777 static jchar CallStaticCharMethodA(JNIEnv* env, jclass, jmethodID mid, jvalue* args) { in CallStaticCharMethodA() argument
1778 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticCharMethodA()
1780 return InvokeWithJValues(soa, nullptr, mid, args).GetC(); in CallStaticCharMethodA()
1783 static jshort CallStaticShortMethod(JNIEnv* env, jclass, jmethodID mid, ...) { in CallStaticShortMethod() argument
1785 va_start(ap, mid); in CallStaticShortMethod()
1786 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticShortMethod()
1788 JValue result(InvokeWithVarArgs(soa, nullptr, mid, ap)); in CallStaticShortMethod()
1793 static jshort CallStaticShortMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticShortMethodV() argument
1794 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticShortMethodV()
1796 return InvokeWithVarArgs(soa, nullptr, mid, args).GetS(); in CallStaticShortMethodV()
1799 static jshort CallStaticShortMethodA(JNIEnv* env, jclass, jmethodID mid, jvalue* args) { in CallStaticShortMethodA() argument
1800 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticShortMethodA()
1802 return InvokeWithJValues(soa, nullptr, mid, args).GetS(); in CallStaticShortMethodA()
1805 static jint CallStaticIntMethod(JNIEnv* env, jclass, jmethodID mid, ...) { in CallStaticIntMethod() argument
1807 va_start(ap, mid); in CallStaticIntMethod()
1808 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticIntMethod()
1810 JValue result(InvokeWithVarArgs(soa, nullptr, mid, ap)); in CallStaticIntMethod()
1815 static jint CallStaticIntMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticIntMethodV() argument
1816 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticIntMethodV()
1818 return InvokeWithVarArgs(soa, nullptr, mid, args).GetI(); in CallStaticIntMethodV()
1821 static jint CallStaticIntMethodA(JNIEnv* env, jclass, jmethodID mid, jvalue* args) { in CallStaticIntMethodA() argument
1822 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticIntMethodA()
1824 return InvokeWithJValues(soa, nullptr, mid, args).GetI(); in CallStaticIntMethodA()
1827 static jlong CallStaticLongMethod(JNIEnv* env, jclass, jmethodID mid, ...) { in CallStaticLongMethod() argument
1829 va_start(ap, mid); in CallStaticLongMethod()
1830 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticLongMethod()
1832 JValue result(InvokeWithVarArgs(soa, nullptr, mid, ap)); in CallStaticLongMethod()
1837 static jlong CallStaticLongMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticLongMethodV() argument
1838 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticLongMethodV()
1840 return InvokeWithVarArgs(soa, nullptr, mid, args).GetJ(); in CallStaticLongMethodV()
1843 static jlong CallStaticLongMethodA(JNIEnv* env, jclass, jmethodID mid, jvalue* args) { in CallStaticLongMethodA() argument
1844 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticLongMethodA()
1846 return InvokeWithJValues(soa, nullptr, mid, args).GetJ(); in CallStaticLongMethodA()
1849 static jfloat CallStaticFloatMethod(JNIEnv* env, jclass, jmethodID mid, ...) { in CallStaticFloatMethod() argument
1851 va_start(ap, mid); in CallStaticFloatMethod()
1852 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticFloatMethod()
1854 JValue result(InvokeWithVarArgs(soa, nullptr, mid, ap)); in CallStaticFloatMethod()
1859 static jfloat CallStaticFloatMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticFloatMethodV() argument
1860 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticFloatMethodV()
1862 return InvokeWithVarArgs(soa, nullptr, mid, args).GetF(); in CallStaticFloatMethodV()
1865 static jfloat CallStaticFloatMethodA(JNIEnv* env, jclass, jmethodID mid, jvalue* args) { in CallStaticFloatMethodA() argument
1866 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticFloatMethodA()
1868 return InvokeWithJValues(soa, nullptr, mid, args).GetF(); in CallStaticFloatMethodA()
1871 static jdouble CallStaticDoubleMethod(JNIEnv* env, jclass, jmethodID mid, ...) { in CallStaticDoubleMethod() argument
1873 va_start(ap, mid); in CallStaticDoubleMethod()
1874 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticDoubleMethod()
1876 JValue result(InvokeWithVarArgs(soa, nullptr, mid, ap)); in CallStaticDoubleMethod()
1881 static jdouble CallStaticDoubleMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticDoubleMethodV() argument
1882 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticDoubleMethodV()
1884 return InvokeWithVarArgs(soa, nullptr, mid, args).GetD(); in CallStaticDoubleMethodV()
1887 static jdouble CallStaticDoubleMethodA(JNIEnv* env, jclass, jmethodID mid, jvalue* args) { in CallStaticDoubleMethodA() argument
1888 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticDoubleMethodA()
1890 return InvokeWithJValues(soa, nullptr, mid, args).GetD(); in CallStaticDoubleMethodA()
1893 static void CallStaticVoidMethod(JNIEnv* env, jclass, jmethodID mid, ...) { in CallStaticVoidMethod() argument
1895 va_start(ap, mid); in CallStaticVoidMethod()
1896 CHECK_NON_NULL_ARGUMENT_RETURN_VOID(mid); in CallStaticVoidMethod()
1898 InvokeWithVarArgs(soa, nullptr, mid, ap); in CallStaticVoidMethod()
1902 static void CallStaticVoidMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticVoidMethodV() argument
1903 CHECK_NON_NULL_ARGUMENT_RETURN_VOID(mid); in CallStaticVoidMethodV()
1905 InvokeWithVarArgs(soa, nullptr, mid, args); in CallStaticVoidMethodV()
1908 static void CallStaticVoidMethodA(JNIEnv* env, jclass, jmethodID mid, jvalue* args) { in CallStaticVoidMethodA() argument
1909 CHECK_NON_NULL_ARGUMENT_RETURN_VOID(mid); in CallStaticVoidMethodA()
1911 InvokeWithJValues(soa, nullptr, mid, args); in CallStaticVoidMethodA()