Lines Matching refs:args
273 jvalue args[2]; in ThrowNewException() local
279 args[0].l = s.get(); in ThrowNewException()
282 args[0].l = cause; in ThrowNewException()
285 args[0].l = s.get(); in ThrowNewException()
286 args[1].l = cause; in ThrowNewException()
297 env, reinterpret_cast<jthrowable>(env->NewObjectA(exception_class, mid, args))); in ThrowNewException()
327 JavaVMAttachArgs* args = static_cast<JavaVMAttachArgs*>(raw_args); in JII_AttachCurrentThread() local
330 if (args != nullptr) { in JII_AttachCurrentThread()
331 if (IsBadJniVersion(args->version)) { in JII_AttachCurrentThread()
334 << args->version; in JII_AttachCurrentThread()
337 thread_name = args->name; in JII_AttachCurrentThread()
338 thread_group = args->group; in JII_AttachCurrentThread()
886 va_list args; in NewObject() local
887 va_start(args, mid); in NewObject()
890 jobject result = NewObjectV(env, java_class, mid, args); in NewObject()
891 va_end(args); in NewObject()
895 static jobject NewObjectV(JNIEnv* env, jclass java_class, jmethodID mid, va_list args) { in NewObjectV() argument
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
928 CallNonvirtualVoidMethodA(env, local_result, java_class, mid, args); in NewObjectA()
963 static jobject CallObjectMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallObjectMethodV() argument
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
976 args)); in CallObjectMethodA()
991 static jboolean CallBooleanMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallBooleanMethodV() argument
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
1003 args).GetZ(); in CallBooleanMethodA()
1017 static jbyte CallByteMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallByteMethodV() argument
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
1029 args).GetB(); in CallByteMethodA()
1043 static jchar CallCharMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallCharMethodV() argument
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
1055 args).GetC(); in CallCharMethodA()
1069 static jdouble CallDoubleMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallDoubleMethodV() argument
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
1081 args).GetD(); in CallDoubleMethodA()
1095 static jfloat CallFloatMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallFloatMethodV() argument
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
1107 args).GetF(); in CallFloatMethodA()
1121 static jint CallIntMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallIntMethodV() argument
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
1133 args).GetI(); in CallIntMethodA()
1147 static jlong CallLongMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallLongMethodV() argument
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
1159 args).GetJ(); in CallLongMethodA()
1173 static jshort CallShortMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallShortMethodV() argument
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
1185 args).GetS(); in CallShortMethodA()
1198 static void CallVoidMethodV(JNIEnv* env, jobject obj, jmethodID mid, va_list args) { in CallVoidMethodV() argument
1202 InvokeVirtualOrInterfaceWithVarArgs(soa, obj, mid, args); in CallVoidMethodV()
1205 static void CallVoidMethodA(JNIEnv* env, jobject obj, jmethodID mid, jvalue* args) { in CallVoidMethodA() argument
1209 InvokeVirtualOrInterfaceWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args); in CallVoidMethodA()
1225 va_list args) { in CallNonvirtualObjectMethodV() argument
1229 JValue result(InvokeWithVarArgs(soa, obj, mid, args)); in CallNonvirtualObjectMethodV()
1234 jvalue* args) { in CallNonvirtualObjectMethodA() argument
1238 JValue result(InvokeWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args)); in CallNonvirtualObjectMethodA()
1255 va_list args) { in CallNonvirtualBooleanMethodV() argument
1259 return InvokeWithVarArgs(soa, obj, mid, args).GetZ(); in CallNonvirtualBooleanMethodV()
1263 jvalue* args) { in CallNonvirtualBooleanMethodA() argument
1267 return InvokeWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args).GetZ(); in CallNonvirtualBooleanMethodA()
1282 va_list args) { in CallNonvirtualByteMethodV() argument
1286 return InvokeWithVarArgs(soa, obj, mid, args).GetB(); in CallNonvirtualByteMethodV()
1290 jvalue* args) { in CallNonvirtualByteMethodA() argument
1294 return InvokeWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args).GetB(); in CallNonvirtualByteMethodA()
1309 va_list args) { in CallNonvirtualCharMethodV() argument
1313 return InvokeWithVarArgs(soa, obj, mid, args).GetC(); in CallNonvirtualCharMethodV()
1317 jvalue* args) { in CallNonvirtualCharMethodA() argument
1321 return InvokeWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args).GetC(); in CallNonvirtualCharMethodA()
1336 va_list args) { in CallNonvirtualShortMethodV() argument
1340 return InvokeWithVarArgs(soa, obj, mid, args).GetS(); in CallNonvirtualShortMethodV()
1344 jvalue* args) { in CallNonvirtualShortMethodA() argument
1348 return InvokeWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args).GetS(); in CallNonvirtualShortMethodA()
1363 va_list args) { in CallNonvirtualIntMethodV() argument
1367 return InvokeWithVarArgs(soa, obj, mid, args).GetI(); in CallNonvirtualIntMethodV()
1371 jvalue* args) { in CallNonvirtualIntMethodA() argument
1375 return InvokeWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args).GetI(); in CallNonvirtualIntMethodA()
1390 va_list args) { in CallNonvirtualLongMethodV() argument
1394 return InvokeWithVarArgs(soa, obj, mid, args).GetJ(); in CallNonvirtualLongMethodV()
1398 jvalue* args) { in CallNonvirtualLongMethodA() argument
1402 return InvokeWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args).GetJ(); in CallNonvirtualLongMethodA()
1417 va_list args) { in CallNonvirtualFloatMethodV() argument
1421 return InvokeWithVarArgs(soa, obj, mid, args).GetF(); in CallNonvirtualFloatMethodV()
1425 jvalue* args) { in CallNonvirtualFloatMethodA() argument
1429 return InvokeWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args).GetF(); in CallNonvirtualFloatMethodA()
1444 va_list args) { in CallNonvirtualDoubleMethodV() argument
1448 return InvokeWithVarArgs(soa, obj, mid, args).GetD(); in CallNonvirtualDoubleMethodV()
1452 jvalue* args) { in CallNonvirtualDoubleMethodA() argument
1456 return InvokeWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args).GetD(); in CallNonvirtualDoubleMethodA()
1470 va_list args) { in CallNonvirtualVoidMethodV() argument
1474 InvokeWithVarArgs(soa, obj, mid, args); in CallNonvirtualVoidMethodV()
1478 jvalue* args) { in CallNonvirtualVoidMethodA() argument
1482 InvokeWithJValues(soa, soa.Decode<mirror::Object*>(obj), mid, args); in CallNonvirtualVoidMethodA()
1703 static jobject CallStaticObjectMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticObjectMethodV() argument
1706 JValue result(InvokeWithVarArgs(soa, nullptr, mid, args)); in CallStaticObjectMethodV()
1710 static jobject CallStaticObjectMethodA(JNIEnv* env, jclass, jmethodID mid, jvalue* args) { in CallStaticObjectMethodA() argument
1713 JValue result(InvokeWithJValues(soa, nullptr, mid, args)); in CallStaticObjectMethodA()
1727 static jboolean CallStaticBooleanMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticBooleanMethodV() argument
1730 return InvokeWithVarArgs(soa, nullptr, mid, args).GetZ(); in CallStaticBooleanMethodV()
1733 static jboolean CallStaticBooleanMethodA(JNIEnv* env, jclass, jmethodID mid, jvalue* args) { in CallStaticBooleanMethodA() argument
1736 return InvokeWithJValues(soa, nullptr, mid, args).GetZ(); in CallStaticBooleanMethodA()
1749 static jbyte CallStaticByteMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticByteMethodV() argument
1752 return InvokeWithVarArgs(soa, nullptr, mid, args).GetB(); in CallStaticByteMethodV()
1755 static jbyte CallStaticByteMethodA(JNIEnv* env, jclass, jmethodID mid, jvalue* args) { in CallStaticByteMethodA() argument
1758 return InvokeWithJValues(soa, nullptr, mid, args).GetB(); in CallStaticByteMethodA()
1771 static jchar CallStaticCharMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticCharMethodV() argument
1774 return InvokeWithVarArgs(soa, nullptr, mid, args).GetC(); in CallStaticCharMethodV()
1777 static jchar CallStaticCharMethodA(JNIEnv* env, jclass, jmethodID mid, jvalue* args) { in CallStaticCharMethodA() argument
1780 return InvokeWithJValues(soa, nullptr, mid, args).GetC(); in CallStaticCharMethodA()
1793 static jshort CallStaticShortMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticShortMethodV() argument
1796 return InvokeWithVarArgs(soa, nullptr, mid, args).GetS(); in CallStaticShortMethodV()
1799 static jshort CallStaticShortMethodA(JNIEnv* env, jclass, jmethodID mid, jvalue* args) { in CallStaticShortMethodA() argument
1802 return InvokeWithJValues(soa, nullptr, mid, args).GetS(); in CallStaticShortMethodA()
1815 static jint CallStaticIntMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticIntMethodV() argument
1818 return InvokeWithVarArgs(soa, nullptr, mid, args).GetI(); in CallStaticIntMethodV()
1821 static jint CallStaticIntMethodA(JNIEnv* env, jclass, jmethodID mid, jvalue* args) { in CallStaticIntMethodA() argument
1824 return InvokeWithJValues(soa, nullptr, mid, args).GetI(); in CallStaticIntMethodA()
1837 static jlong CallStaticLongMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticLongMethodV() argument
1840 return InvokeWithVarArgs(soa, nullptr, mid, args).GetJ(); in CallStaticLongMethodV()
1843 static jlong CallStaticLongMethodA(JNIEnv* env, jclass, jmethodID mid, jvalue* args) { in CallStaticLongMethodA() argument
1846 return InvokeWithJValues(soa, nullptr, mid, args).GetJ(); in CallStaticLongMethodA()
1859 static jfloat CallStaticFloatMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticFloatMethodV() argument
1862 return InvokeWithVarArgs(soa, nullptr, mid, args).GetF(); in CallStaticFloatMethodV()
1865 static jfloat CallStaticFloatMethodA(JNIEnv* env, jclass, jmethodID mid, jvalue* args) { in CallStaticFloatMethodA() argument
1868 return InvokeWithJValues(soa, nullptr, mid, args).GetF(); in CallStaticFloatMethodA()
1881 static jdouble CallStaticDoubleMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticDoubleMethodV() argument
1884 return InvokeWithVarArgs(soa, nullptr, mid, args).GetD(); in CallStaticDoubleMethodV()
1887 static jdouble CallStaticDoubleMethodA(JNIEnv* env, jclass, jmethodID mid, jvalue* args) { in CallStaticDoubleMethodA() argument
1890 return InvokeWithJValues(soa, nullptr, mid, args).GetD(); in CallStaticDoubleMethodA()
1902 static void CallStaticVoidMethodV(JNIEnv* env, jclass, jmethodID mid, va_list args) { in CallStaticVoidMethodV() argument
1905 InvokeWithVarArgs(soa, nullptr, mid, args); in CallStaticVoidMethodV()
1908 static void CallStaticVoidMethodA(JNIEnv* env, jclass, jmethodID mid, jvalue* args) { in CallStaticVoidMethodA() argument
1911 InvokeWithJValues(soa, nullptr, mid, args); in CallStaticVoidMethodA()
3015 const JavaVMInitArgs* args = static_cast<JavaVMInitArgs*>(vm_args); in JNI_CreateJavaVM() local
3016 if (IsBadJniVersion(args->version)) { in JNI_CreateJavaVM()
3017 LOG(ERROR) << "Bad JNI version passed to CreateJavaVM: " << args->version; in JNI_CreateJavaVM()
3021 for (int i = 0; i < args->nOptions; ++i) { in JNI_CreateJavaVM()
3022 JavaVMOption* option = &args->options[i]; in JNI_CreateJavaVM()
3025 bool ignore_unrecognized = args->ignoreUnrecognized; in JNI_CreateJavaVM()