Lines Matching refs:mid
600 jmethodID mid = env->GetMethodID(exception_class, "<init>", signature); in ThrowNewException() local
601 if (mid == nullptr) { in ThrowNewException()
609 env, reinterpret_cast<jthrowable>(env->NewObjectA(exception_class, mid, args))); in ThrowNewException()
707 static jobject ToReflectedMethod(JNIEnv* env, jclass, jmethodID mid, jboolean) { in ToReflectedMethod() argument
708 CHECK_NON_NULL_ARGUMENT(mid); in ToReflectedMethod()
710 ArtMethod* m = jni::DecodeArtMethod(mid); in ToReflectedMethod()
806 jmethodID mid = env->GetMethodID(exception_class.get(), "printStackTrace", "()V"); in ExceptionDescribe() local
807 if (mid == nullptr) { in ExceptionDescribe()
811 env->CallVoidMethod(exception.get(), mid); in ExceptionDescribe()
935 static jobject NewObject(JNIEnv* env, jclass java_class, jmethodID mid, ...) { in NewObject() argument
937 va_start(args, mid); in NewObject()
940 CHECK_NON_NULL_ARGUMENT(mid); in NewObject()
941 jobject result = NewObjectV(env, java_class, mid, args); in NewObject()
945 static jobject NewObjectV(JNIEnv* env, jclass java_class, jmethodID mid, va_list args) { in NewObjectV() argument
947 CHECK_NON_NULL_ARGUMENT(mid); in NewObjectV()
957 WellKnownClasses::StringInitToStringFactory(jni::DecodeArtMethod(mid))); in NewObjectV()
964 CallNonvirtualVoidMethodV(env, result.get(), java_class, mid, args); in NewObjectV()
971 static jobject NewObjectA(JNIEnv* env, jclass java_class, jmethodID mid, const jvalue* args) { in NewObjectA() argument
973 CHECK_NON_NULL_ARGUMENT(mid); in NewObjectA()
983 WellKnownClasses::StringInitToStringFactory(jni::DecodeArtMethod(mid))); in NewObjectA()
990 CallNonvirtualVoidMethodA(env, result.get(), java_class, mid, args); in NewObjectA()
1014 static jobject CallObjectMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallObjectMethod() argument
1016 va_start(ap, mid); in CallObjectMethod()
1019 CHECK_NON_NULL_ARGUMENT(mid); in CallObjectMethod()
1021 JValue result(InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, ap)); in CallObjectMethod()
1025 static jobject CallObjectMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallObjectMethodV() argument
1027 CHECK_NON_NULL_ARGUMENT(mid); in CallObjectMethodV()
1029 JValue result(InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, args)); in CallObjectMethodV()
1033 static jobject CallObjectMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* args) { in CallObjectMethodA() argument
1035 CHECK_NON_NULL_ARGUMENT(mid); in CallObjectMethodA()
1037 JValue result(InvokeVirtualOrInterfaceWithJValues(soa, obj, mid, args)); in CallObjectMethodA()
1041 static jboolean CallBooleanMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallBooleanMethod() argument
1043 va_start(ap, mid); in CallBooleanMethod()
1046 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallBooleanMethod()
1048 JValue result(InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, ap)); in CallBooleanMethod()
1052 static jboolean CallBooleanMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallBooleanMethodV() argument
1054 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallBooleanMethodV()
1056 return InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, args).GetZ(); in CallBooleanMethodV()
1059 static jboolean CallBooleanMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* args) { in CallBooleanMethodA() argument
1061 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallBooleanMethodA()
1063 return InvokeVirtualOrInterfaceWithJValues(soa, obj, mid, args).GetZ(); in CallBooleanMethodA()
1066 static jbyte CallByteMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallByteMethod() argument
1068 va_start(ap, mid); in CallByteMethod()
1071 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallByteMethod()
1073 JValue result(InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, ap)); in CallByteMethod()
1077 static jbyte CallByteMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallByteMethodV() argument
1079 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallByteMethodV()
1081 return InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, args).GetB(); in CallByteMethodV()
1084 static jbyte CallByteMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* args) { in CallByteMethodA() argument
1086 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallByteMethodA()
1088 return InvokeVirtualOrInterfaceWithJValues(soa, obj, mid, args).GetB(); in CallByteMethodA()
1091 static jchar CallCharMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallCharMethod() argument
1093 va_start(ap, mid); in CallCharMethod()
1096 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallCharMethod()
1098 JValue result(InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, ap)); in CallCharMethod()
1102 static jchar CallCharMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallCharMethodV() argument
1104 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallCharMethodV()
1106 return InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, args).GetC(); in CallCharMethodV()
1109 static jchar CallCharMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* args) { in CallCharMethodA() argument
1111 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallCharMethodA()
1113 return InvokeVirtualOrInterfaceWithJValues(soa, obj, mid, args).GetC(); in CallCharMethodA()
1116 static jdouble CallDoubleMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallDoubleMethod() argument
1118 va_start(ap, mid); in CallDoubleMethod()
1121 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallDoubleMethod()
1123 JValue result(InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, ap)); in CallDoubleMethod()
1127 static jdouble CallDoubleMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallDoubleMethodV() argument
1129 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallDoubleMethodV()
1131 return InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, args).GetD(); in CallDoubleMethodV()
1134 static jdouble CallDoubleMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* args) { in CallDoubleMethodA() argument
1136 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallDoubleMethodA()
1138 return InvokeVirtualOrInterfaceWithJValues(soa, obj, mid, args).GetD(); in CallDoubleMethodA()
1141 static jfloat CallFloatMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallFloatMethod() argument
1143 va_start(ap, mid); in CallFloatMethod()
1146 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallFloatMethod()
1148 JValue result(InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, ap)); in CallFloatMethod()
1152 static jfloat CallFloatMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallFloatMethodV() argument
1154 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallFloatMethodV()
1156 return InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, args).GetF(); in CallFloatMethodV()
1159 static jfloat CallFloatMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* args) { in CallFloatMethodA() argument
1161 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallFloatMethodA()
1163 return InvokeVirtualOrInterfaceWithJValues(soa, obj, mid, args).GetF(); in CallFloatMethodA()
1166 static jint CallIntMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallIntMethod() argument
1168 va_start(ap, mid); in CallIntMethod()
1171 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallIntMethod()
1173 JValue result(InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, ap)); in CallIntMethod()
1177 static jint CallIntMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallIntMethodV() argument
1179 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallIntMethodV()
1181 return InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, args).GetI(); in CallIntMethodV()
1184 static jint CallIntMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* args) { in CallIntMethodA() argument
1186 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallIntMethodA()
1188 return InvokeVirtualOrInterfaceWithJValues(soa, obj, mid, args).GetI(); in CallIntMethodA()
1191 static jlong CallLongMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallLongMethod() argument
1193 va_start(ap, mid); in CallLongMethod()
1196 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallLongMethod()
1198 JValue result(InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, ap)); in CallLongMethod()
1202 static jlong CallLongMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallLongMethodV() argument
1204 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallLongMethodV()
1206 return InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, args).GetJ(); in CallLongMethodV()
1209 static jlong CallLongMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* args) { in CallLongMethodA() argument
1211 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallLongMethodA()
1213 return InvokeVirtualOrInterfaceWithJValues(soa, obj, mid, args).GetJ(); in CallLongMethodA()
1216 static jshort CallShortMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallShortMethod() argument
1218 va_start(ap, mid); in CallShortMethod()
1221 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallShortMethod()
1223 JValue result(InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, ap)); in CallShortMethod()
1227 static jshort CallShortMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallShortMethodV() argument
1229 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallShortMethodV()
1231 return InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, args).GetS(); in CallShortMethodV()
1234 static jshort CallShortMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* args) { in CallShortMethodA() argument
1236 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallShortMethodA()
1238 return InvokeVirtualOrInterfaceWithJValues(soa, obj, mid, args).GetS(); in CallShortMethodA()
1241 static void CallVoidMethod(JNIEnv* env, jobject obj, jmethodID mid, ...) { in CallVoidMethod() argument
1243 va_start(ap, mid); in CallVoidMethod()
1246 CHECK_NON_NULL_ARGUMENT_RETURN_VOID(mid); in CallVoidMethod()
1248 InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, ap); in CallVoidMethod()
1251 static void CallVoidMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallVoidMethodV() argument
1253 CHECK_NON_NULL_ARGUMENT_RETURN_VOID(mid); in CallVoidMethodV()
1255 InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, args); in CallVoidMethodV()
1258 static void CallVoidMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* args) { in CallVoidMethodA() argument
1260 CHECK_NON_NULL_ARGUMENT_RETURN_VOID(mid); in CallVoidMethodA()
1262 InvokeVirtualOrInterfaceWithJValues(soa, obj, mid, args); in CallVoidMethodA()
1265 static jobject CallNonvirtualObjectMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualObjectMethod() argument
1267 va_start(ap, mid); in CallNonvirtualObjectMethod()
1270 CHECK_NON_NULL_ARGUMENT(mid); in CallNonvirtualObjectMethod()
1272 JValue result(InvokeWithVarArgs(soa, obj, mid, ap)); in CallNonvirtualObjectMethod()
1276 static jobject CallNonvirtualObjectMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualObjectMethodV() argument
1279 CHECK_NON_NULL_ARGUMENT(mid); in CallNonvirtualObjectMethodV()
1281 JValue result(InvokeWithVarArgs(soa, obj, mid, args)); in CallNonvirtualObjectMethodV()
1285 static jobject CallNonvirtualObjectMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualObjectMethodA() argument
1288 CHECK_NON_NULL_ARGUMENT(mid); in CallNonvirtualObjectMethodA()
1290 JValue result(InvokeWithJValues(soa, obj, mid, args)); in CallNonvirtualObjectMethodA()
1294 static jboolean CallNonvirtualBooleanMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualBooleanMethod() argument
1297 va_start(ap, mid); in CallNonvirtualBooleanMethod()
1300 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualBooleanMethod()
1302 JValue result(InvokeWithVarArgs(soa, obj, mid, ap)); in CallNonvirtualBooleanMethod()
1306 static jboolean CallNonvirtualBooleanMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualBooleanMethodV() argument
1309 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualBooleanMethodV()
1311 return InvokeWithVarArgs(soa, obj, mid, args).GetZ(); in CallNonvirtualBooleanMethodV()
1314 static jboolean CallNonvirtualBooleanMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualBooleanMethodA() argument
1317 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualBooleanMethodA()
1319 return InvokeWithJValues(soa, obj, mid, args).GetZ(); in CallNonvirtualBooleanMethodA()
1322 static jbyte CallNonvirtualByteMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualByteMethod() argument
1324 va_start(ap, mid); in CallNonvirtualByteMethod()
1327 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualByteMethod()
1329 JValue result(InvokeWithVarArgs(soa, obj, mid, ap)); in CallNonvirtualByteMethod()
1333 static jbyte CallNonvirtualByteMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualByteMethodV() argument
1336 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualByteMethodV()
1338 return InvokeWithVarArgs(soa, obj, mid, args).GetB(); in CallNonvirtualByteMethodV()
1341 static jbyte CallNonvirtualByteMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualByteMethodA() argument
1344 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualByteMethodA()
1346 return InvokeWithJValues(soa, obj, mid, args).GetB(); in CallNonvirtualByteMethodA()
1349 static jchar CallNonvirtualCharMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualCharMethod() argument
1351 va_start(ap, mid); in CallNonvirtualCharMethod()
1354 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualCharMethod()
1356 JValue result(InvokeWithVarArgs(soa, obj, mid, ap)); in CallNonvirtualCharMethod()
1360 static jchar CallNonvirtualCharMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualCharMethodV() argument
1363 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualCharMethodV()
1365 return InvokeWithVarArgs(soa, obj, mid, args).GetC(); in CallNonvirtualCharMethodV()
1368 static jchar CallNonvirtualCharMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualCharMethodA() argument
1371 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualCharMethodA()
1373 return InvokeWithJValues(soa, obj, mid, args).GetC(); in CallNonvirtualCharMethodA()
1376 static jshort CallNonvirtualShortMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualShortMethod() argument
1378 va_start(ap, mid); in CallNonvirtualShortMethod()
1381 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualShortMethod()
1383 JValue result(InvokeWithVarArgs(soa, obj, mid, ap)); in CallNonvirtualShortMethod()
1387 static jshort CallNonvirtualShortMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualShortMethodV() argument
1390 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualShortMethodV()
1392 return InvokeWithVarArgs(soa, obj, mid, args).GetS(); in CallNonvirtualShortMethodV()
1395 static jshort CallNonvirtualShortMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualShortMethodA() argument
1398 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualShortMethodA()
1400 return InvokeWithJValues(soa, obj, mid, args).GetS(); in CallNonvirtualShortMethodA()
1403 static jint CallNonvirtualIntMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualIntMethod() argument
1405 va_start(ap, mid); in CallNonvirtualIntMethod()
1408 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualIntMethod()
1410 JValue result(InvokeWithVarArgs(soa, obj, mid, ap)); in CallNonvirtualIntMethod()
1414 static jint CallNonvirtualIntMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualIntMethodV() argument
1417 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualIntMethodV()
1419 return InvokeWithVarArgs(soa, obj, mid, args).GetI(); in CallNonvirtualIntMethodV()
1422 static jint CallNonvirtualIntMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualIntMethodA() argument
1425 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualIntMethodA()
1427 return InvokeWithJValues(soa, obj, mid, args).GetI(); in CallNonvirtualIntMethodA()
1430 static jlong CallNonvirtualLongMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualLongMethod() argument
1432 va_start(ap, mid); in CallNonvirtualLongMethod()
1435 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualLongMethod()
1437 JValue result(InvokeWithVarArgs(soa, obj, mid, ap)); in CallNonvirtualLongMethod()
1441 static jlong CallNonvirtualLongMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualLongMethodV() argument
1444 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualLongMethodV()
1446 return InvokeWithVarArgs(soa, obj, mid, args).GetJ(); in CallNonvirtualLongMethodV()
1449 static jlong CallNonvirtualLongMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualLongMethodA() argument
1452 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualLongMethodA()
1454 return InvokeWithJValues(soa, obj, mid, args).GetJ(); in CallNonvirtualLongMethodA()
1457 static jfloat CallNonvirtualFloatMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualFloatMethod() argument
1459 va_start(ap, mid); in CallNonvirtualFloatMethod()
1462 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualFloatMethod()
1464 JValue result(InvokeWithVarArgs(soa, obj, mid, ap)); in CallNonvirtualFloatMethod()
1468 static jfloat CallNonvirtualFloatMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualFloatMethodV() argument
1471 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualFloatMethodV()
1473 return InvokeWithVarArgs(soa, obj, mid, args).GetF(); in CallNonvirtualFloatMethodV()
1476 static jfloat CallNonvirtualFloatMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualFloatMethodA() argument
1479 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualFloatMethodA()
1481 return InvokeWithJValues(soa, obj, mid, args).GetF(); in CallNonvirtualFloatMethodA()
1484 static jdouble CallNonvirtualDoubleMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualDoubleMethod() argument
1486 va_start(ap, mid); in CallNonvirtualDoubleMethod()
1489 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualDoubleMethod()
1491 JValue result(InvokeWithVarArgs(soa, obj, mid, ap)); in CallNonvirtualDoubleMethod()
1495 static jdouble CallNonvirtualDoubleMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualDoubleMethodV() argument
1498 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualDoubleMethodV()
1500 return InvokeWithVarArgs(soa, obj, mid, args).GetD(); in CallNonvirtualDoubleMethodV()
1503 static jdouble CallNonvirtualDoubleMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualDoubleMethodA() argument
1506 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallNonvirtualDoubleMethodA()
1508 return InvokeWithJValues(soa, obj, mid, args).GetD(); in CallNonvirtualDoubleMethodA()
1511 static void CallNonvirtualVoidMethod(JNIEnv* env, jobject obj, jclass, jmethodID mid, ...) { in CallNonvirtualVoidMethod() argument
1513 va_start(ap, mid); in CallNonvirtualVoidMethod()
1516 CHECK_NON_NULL_ARGUMENT_RETURN_VOID(mid); in CallNonvirtualVoidMethod()
1518 InvokeWithVarArgs(soa, obj, mid, ap); in CallNonvirtualVoidMethod()
1521 static void CallNonvirtualVoidMethodV(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualVoidMethodV() argument
1524 CHECK_NON_NULL_ARGUMENT_RETURN_VOID(mid); in CallNonvirtualVoidMethodV()
1526 InvokeWithVarArgs(soa, obj, mid, args); in CallNonvirtualVoidMethodV()
1529 static void CallNonvirtualVoidMethodA(JNIEnv* env, jobject obj, jclass, jmethodID mid, in CallNonvirtualVoidMethodA() argument
1532 CHECK_NON_NULL_ARGUMENT_RETURN_VOID(mid); in CallNonvirtualVoidMethodA()
1534 InvokeWithJValues(soa, obj, mid, args); in CallNonvirtualVoidMethodA()
1752 static jobject CallStaticObjectMethod(JNIEnv* env, jclass, jmethodID mid, ...) { in CallStaticObjectMethod() argument
1754 va_start(ap, mid); in CallStaticObjectMethod()
1756 CHECK_NON_NULL_ARGUMENT(mid); in CallStaticObjectMethod()
1758 JValue result(InvokeWithVarArgs(soa, nullptr, mid, ap)); in CallStaticObjectMethod()
1762 static jobject CallStaticObjectMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticObjectMethodV() argument
1763 CHECK_NON_NULL_ARGUMENT(mid); in CallStaticObjectMethodV()
1765 JValue result(InvokeWithVarArgs(soa, nullptr, mid, args)); in CallStaticObjectMethodV()
1769 static jobject CallStaticObjectMethodA(JNIEnv* env, jclass, jmethodID mid, const jvalue* args) { in CallStaticObjectMethodA() argument
1770 CHECK_NON_NULL_ARGUMENT(mid); in CallStaticObjectMethodA()
1772 JValue result(InvokeWithJValues(soa, nullptr, mid, args)); in CallStaticObjectMethodA()
1776 static jboolean CallStaticBooleanMethod(JNIEnv* env, jclass, jmethodID mid, ...) { in CallStaticBooleanMethod() argument
1778 va_start(ap, mid); in CallStaticBooleanMethod()
1780 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticBooleanMethod()
1782 JValue result(InvokeWithVarArgs(soa, nullptr, mid, ap)); in CallStaticBooleanMethod()
1786 static jboolean CallStaticBooleanMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticBooleanMethodV() argument
1787 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticBooleanMethodV()
1789 return InvokeWithVarArgs(soa, nullptr, mid, args).GetZ(); in CallStaticBooleanMethodV()
1792 static jboolean CallStaticBooleanMethodA(JNIEnv* env, jclass, jmethodID mid, const jvalue* args) { in CallStaticBooleanMethodA() argument
1793 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticBooleanMethodA()
1795 return InvokeWithJValues(soa, nullptr, mid, args).GetZ(); in CallStaticBooleanMethodA()
1798 static jbyte CallStaticByteMethod(JNIEnv* env, jclass, jmethodID mid, ...) { in CallStaticByteMethod() argument
1800 va_start(ap, mid); in CallStaticByteMethod()
1802 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticByteMethod()
1804 JValue result(InvokeWithVarArgs(soa, nullptr, mid, ap)); in CallStaticByteMethod()
1808 static jbyte CallStaticByteMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticByteMethodV() argument
1809 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticByteMethodV()
1811 return InvokeWithVarArgs(soa, nullptr, mid, args).GetB(); in CallStaticByteMethodV()
1814 static jbyte CallStaticByteMethodA(JNIEnv* env, jclass, jmethodID mid, const jvalue* args) { in CallStaticByteMethodA() argument
1815 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticByteMethodA()
1817 return InvokeWithJValues(soa, nullptr, mid, args).GetB(); in CallStaticByteMethodA()
1820 static jchar CallStaticCharMethod(JNIEnv* env, jclass, jmethodID mid, ...) { in CallStaticCharMethod() argument
1822 va_start(ap, mid); in CallStaticCharMethod()
1824 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticCharMethod()
1826 JValue result(InvokeWithVarArgs(soa, nullptr, mid, ap)); in CallStaticCharMethod()
1830 static jchar CallStaticCharMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticCharMethodV() argument
1831 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticCharMethodV()
1833 return InvokeWithVarArgs(soa, nullptr, mid, args).GetC(); in CallStaticCharMethodV()
1836 static jchar CallStaticCharMethodA(JNIEnv* env, jclass, jmethodID mid, const jvalue* args) { in CallStaticCharMethodA() argument
1837 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticCharMethodA()
1839 return InvokeWithJValues(soa, nullptr, mid, args).GetC(); in CallStaticCharMethodA()
1842 static jshort CallStaticShortMethod(JNIEnv* env, jclass, jmethodID mid, ...) { in CallStaticShortMethod() argument
1844 va_start(ap, mid); in CallStaticShortMethod()
1846 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticShortMethod()
1848 JValue result(InvokeWithVarArgs(soa, nullptr, mid, ap)); in CallStaticShortMethod()
1852 static jshort CallStaticShortMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticShortMethodV() argument
1853 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticShortMethodV()
1855 return InvokeWithVarArgs(soa, nullptr, mid, args).GetS(); in CallStaticShortMethodV()
1858 static jshort CallStaticShortMethodA(JNIEnv* env, jclass, jmethodID mid, const jvalue* args) { in CallStaticShortMethodA() argument
1859 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticShortMethodA()
1861 return InvokeWithJValues(soa, nullptr, mid, args).GetS(); in CallStaticShortMethodA()
1864 static jint CallStaticIntMethod(JNIEnv* env, jclass, jmethodID mid, ...) { in CallStaticIntMethod() argument
1866 va_start(ap, mid); in CallStaticIntMethod()
1868 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticIntMethod()
1870 JValue result(InvokeWithVarArgs(soa, nullptr, mid, ap)); in CallStaticIntMethod()
1874 static jint CallStaticIntMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticIntMethodV() argument
1875 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticIntMethodV()
1877 return InvokeWithVarArgs(soa, nullptr, mid, args).GetI(); in CallStaticIntMethodV()
1880 static jint CallStaticIntMethodA(JNIEnv* env, jclass, jmethodID mid, const jvalue* args) { in CallStaticIntMethodA() argument
1881 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticIntMethodA()
1883 return InvokeWithJValues(soa, nullptr, mid, args).GetI(); in CallStaticIntMethodA()
1886 static jlong CallStaticLongMethod(JNIEnv* env, jclass, jmethodID mid, ...) { in CallStaticLongMethod() argument
1888 va_start(ap, mid); in CallStaticLongMethod()
1890 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticLongMethod()
1892 JValue result(InvokeWithVarArgs(soa, nullptr, mid, ap)); in CallStaticLongMethod()
1896 static jlong CallStaticLongMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticLongMethodV() argument
1897 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticLongMethodV()
1899 return InvokeWithVarArgs(soa, nullptr, mid, args).GetJ(); in CallStaticLongMethodV()
1902 static jlong CallStaticLongMethodA(JNIEnv* env, jclass, jmethodID mid, const jvalue* args) { in CallStaticLongMethodA() argument
1903 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticLongMethodA()
1905 return InvokeWithJValues(soa, nullptr, mid, args).GetJ(); in CallStaticLongMethodA()
1908 static jfloat CallStaticFloatMethod(JNIEnv* env, jclass, jmethodID mid, ...) { in CallStaticFloatMethod() argument
1910 va_start(ap, mid); in CallStaticFloatMethod()
1912 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticFloatMethod()
1914 JValue result(InvokeWithVarArgs(soa, nullptr, mid, ap)); in CallStaticFloatMethod()
1918 static jfloat CallStaticFloatMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticFloatMethodV() argument
1919 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticFloatMethodV()
1921 return InvokeWithVarArgs(soa, nullptr, mid, args).GetF(); in CallStaticFloatMethodV()
1924 static jfloat CallStaticFloatMethodA(JNIEnv* env, jclass, jmethodID mid, const jvalue* args) { in CallStaticFloatMethodA() argument
1925 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticFloatMethodA()
1927 return InvokeWithJValues(soa, nullptr, mid, args).GetF(); in CallStaticFloatMethodA()
1930 static jdouble CallStaticDoubleMethod(JNIEnv* env, jclass, jmethodID mid, ...) { in CallStaticDoubleMethod() argument
1932 va_start(ap, mid); in CallStaticDoubleMethod()
1934 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticDoubleMethod()
1936 JValue result(InvokeWithVarArgs(soa, nullptr, mid, ap)); in CallStaticDoubleMethod()
1940 static jdouble CallStaticDoubleMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticDoubleMethodV() argument
1941 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticDoubleMethodV()
1943 return InvokeWithVarArgs(soa, nullptr, mid, args).GetD(); in CallStaticDoubleMethodV()
1946 static jdouble CallStaticDoubleMethodA(JNIEnv* env, jclass, jmethodID mid, const jvalue* args) { in CallStaticDoubleMethodA() argument
1947 CHECK_NON_NULL_ARGUMENT_RETURN_ZERO(mid); in CallStaticDoubleMethodA()
1949 return InvokeWithJValues(soa, nullptr, mid, args).GetD(); in CallStaticDoubleMethodA()
1953 static void CallStaticVoidMethod(JNIEnv* env, jclass, jmethodID mid, ...) { in CallStaticVoidMethod() argument
1955 va_start(ap, mid); in CallStaticVoidMethod()
1957 CHECK_NON_NULL_ARGUMENT_RETURN_VOID(mid); in CallStaticVoidMethod()
1959 InvokeWithVarArgs(soa, nullptr, mid, ap); in CallStaticVoidMethod()
1963 static void CallStaticVoidMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticVoidMethodV() argument
1964 CHECK_NON_NULL_ARGUMENT_RETURN_VOID(mid); in CallStaticVoidMethodV()
1966 InvokeWithVarArgs(soa, nullptr, mid, args); in CallStaticVoidMethodV()
1969 static void CallStaticVoidMethodA(JNIEnv* env, jclass, jmethodID mid, const jvalue* args) { in CallStaticVoidMethodA() argument
1970 CHECK_NON_NULL_ARGUMENT_RETURN_VOID(mid); in CallStaticVoidMethodA()
1972 InvokeWithJValues(soa, nullptr, mid, args); in CallStaticVoidMethodA()