Home
last modified time | relevance | path

Searched refs:jvalue (Results 1 – 25 of 36) sorted by relevance

12

/art/test/ti-agent/
Dcommon_helper.h30 jobject GetJavaValueByType(JNIEnv* env, char type, jvalue value);
31 jobject GetJavaValue(jvmtiEnv* jvmtienv, JNIEnv* env, jmethodID m, jvalue value);
Dcommon_helper.cc57 jobject GetJavaValueByType(JNIEnv* env, char type, jvalue value) { in GetJavaValueByType()
105 jobject GetJavaValue(jvmtiEnv* jvmtienv, JNIEnv* env, jmethodID m, jvalue value) { in GetJavaValue()
Dtrace_helper.cc202 jvalue new_value) { in fieldModificationCB()
243 jvalue return_value) { in methodExitCB()
Dsuspend_event_helper.cc168 jvalue return_value ATTRIBUTE_UNUSED) { in cbMethodExit()
190 jvalue new_value ATTRIBUTE_UNUSED) { in cbFieldModification()
/art/test/674-hiddenapi/
Dhiddenapi.cc278 size_t initargs_size = sizeof(jvalue) * kNumConstructorArgs; in Java_JNI_canInvokeConstructorA()
279 jvalue *initargs = reinterpret_cast<jvalue*>(alloca(initargs_size)); in Java_JNI_canInvokeConstructorA()
303 size_t initargs_size = sizeof(jvalue) * kNumConstructorArgs; in Java_JNI_canInvokeConstructorV()
304 jvalue *initargs = reinterpret_cast<jvalue*>(alloca(initargs_size)); in Java_JNI_canInvokeConstructorV()
/art/runtime/
Dreflection_test.cc152 jvalue args[1]; in InvokeIdentityByteMethod()
178 jvalue args[1]; in InvokeIdentityIntMethod()
203 jvalue args[1]; in InvokeIdentityDoubleMethod()
228 jvalue args[2]; in InvokeSumIntIntMethod()
257 jvalue args[3]; in InvokeSumIntIntIntMethod()
296 jvalue args[4]; in InvokeSumIntIntIntIntMethod()
340 jvalue args[5]; in InvokeSumIntIntIntIntIntMethod()
389 jvalue args[2]; in InvokeSumDoubleDoubleMethod()
423 jvalue args[3]; in InvokeSumDoubleDoubleDoubleMethod()
450 jvalue args[4]; in InvokeSumDoubleDoubleDoubleDoubleMethod()
[all …]
Dreflection.h76 const jvalue* args)
86 const jvalue* args)
Dreflection.cc93 jvalue jv; in AppendFloat()
99 jvalue jv; in AppendDouble()
142 ObjPtr<mirror::Object> receiver, const jvalue* args) in BuildArgArrayFromJValues()
562 const jvalue* args) { in InvokeWithJValues()
594 const jvalue* args) { in InvokeWithJValues()
603 const jvalue* args) { in InvokeVirtualOrInterfaceWithJValues()
637 const jvalue* args) { in InvokeVirtualOrInterfaceWithJValues()
/art/openjdkjvmti/
Dti_method.h103 jvalue value);
109 jvalue* value);
Dti_method.cc801 jvalue* val) in GetLocalVariableClosure()
931 jvalue* val_;
942 jvalue* val) { in GetLocalVariableGeneric()
971 jvalue val) in SetLocalVariableClosure()
1109 jvalue val_;
1118 jvalue val) { in SetLocalVariableGeneric()
1217 template<typename T> void WriteJvalue(T, jvalue*);
1218 template<typename T> void ReadJvalue(jvalue, T*);
1231 template<> void ReadJvalue<srctype>(jvalue in, std::add_pointer<srctype>::type out) { \
1234 template<> void WriteJvalue<srctype>(srctype in, jvalue* out) { \
[all …]
Devents.cc602 void AddDelayedNonStandardExitEvent(const art::ShadowFrame* frame, bool is_object, jvalue val) in AddDelayedNonStandardExitEvent()
684 jvalue val; in MethodExited()
733 jvalue val; in MethodExited()
757 jvalue val; in MethodUnwind()
851 jvalue val; in FieldWritten()
886 jvalue val; in FieldWritten()
1061 jvalue return_val_;
1620 jvalue val) { in AddDelayedNonStandardExitEvent()
Devents.h305 void AddDelayedNonStandardExitEvent(const art::ShadowFrame* frame, bool is_object, jvalue val)
/art/test/1962-multi-thread-events/
Dmulti_thread_events.cc42 jvalue val ATTRIBUTE_UNUSED) { in cbMethodEntry()
/art/runtime/jni/
Djni_internal.cc406 jvalue args[2]; in ThrowNewException()
791 static jobject NewObjectA(JNIEnv* env, jclass java_class, jmethodID mid, const jvalue* args) { in NewObjectA()
854 static jobject CallObjectMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* args) { in CallObjectMethodA()
880 static jboolean CallBooleanMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* args) { in CallBooleanMethodA()
905 static jbyte CallByteMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* args) { in CallByteMethodA()
930 static jchar CallCharMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* args) { in CallCharMethodA()
955 static jdouble CallDoubleMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* args) { in CallDoubleMethodA()
980 static jfloat CallFloatMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* args) { in CallFloatMethodA()
1005 static jint CallIntMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* args) { in CallIntMethodA()
1030 static jlong CallLongMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* args) { in CallLongMethodA()
[all …]
Dcheck_jni.cc176 VarArgs(jmethodID m, const jvalue* vals) : m_(m), type_(kTypePtr), cnt_(0), ptr_(vals) {} in VarArgs()
234 jvalue v = ptr_[cnt_]; in GetValue()
263 …VarArgs(jmethodID m, uint32_t cnt, const jvalue* vals) : m_(m), type_(kTypePtr), cnt_(cnt), ptr_(v… in VarArgs()
275 const jvalue* ptr_;
2176 static jobject NewObjectA(JNIEnv* env, jclass c, jmethodID mid, const jvalue* vargs) { in NewObjectA()
2271 static void CallVoidMethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* vargs) { in FIELD_ACCESSORS()
2276 const jvalue* vargs) { in CallNonvirtualVoidMethodA()
2280 static void CallStaticVoidMethodA(JNIEnv* env, jclass c, jmethodID mid, const jvalue* vargs) { in CallStaticVoidMethodA()
2319 static rtype Call##name##MethodA(JNIEnv* env, jobject obj, jmethodID mid, const jvalue* vargs) { \
2324 const jvalue* vargs) { \
[all …]
/art/runtime/entrypoints/
Dentrypoint_utils.cc66 std::vector<jvalue>& args) { in InvokeProxyInvocationHandler()
99 jvalue invocation_args[3]; in InvokeProxyInvocationHandler()
Dentrypoint_utils.h186 std::vector<jvalue>& args)
/art/test/906-iterate-heap/
Diterate_heap.cc364 jvalue value, in Java_art_Test906_iterateThroughHeapPrimitiveFields()
380 static_assert(sizeof(jvalue) == sizeof(uint64_t), "Unexpected jvalue size"); in Java_art_Test906_iterateThroughHeapPrimitiveFields()
/art/test/ti-stress/
Dstress.cc399 static std::string GetValOf(jvmtiEnv* env, JNIEnv* jnienv, std::string type, jvalue val) { in GetValOf()
459 static std::string PrintJValue(jvmtiEnv* jvmtienv, JNIEnv* env, char type, jvalue new_value) { in PrintJValue()
512 jvalue new_value) { in FieldModificationHook()
534 jvalue val) { in MethodExitHook()
/art/runtime/native/
Ddalvik_system_VMDebug.cc503 ScopedLocalRef<jstring> jvalue(env, env->NewStringUTF(value.c_str())); in SetRuntimeStatValue() local
504 if (jvalue.get() == nullptr) { in SetRuntimeStatValue()
507 env->SetObjectArrayElement(result, static_cast<jint>(id), jvalue.get()); in SetRuntimeStatValue()
/art/runtime/entrypoints/quick/
Dquick_jni_entrypoints.cc217 jvalue result, in GenericJniMethodEnd()
Dquick_trampoline_entrypoints.cc758 ScopedObjectAccessUnchecked* soa, std::vector<jvalue>* args) : in BuildQuickArgumentVisitor()
765 std::vector<jvalue>* const args_;
771 jvalue val; in Visit()
829 std::vector<jvalue> args; in artQuickProxyInvokeHandler()
2229 jvalue result,
2238 jvalue result, in artQuickGenericJniEndTrampoline()
/art/runtime/gc/
Dreference_processor.cc283 jvalue args[1]; in Run()
/art/tools/jvmti-agents/ti-fast/
Dtifast.cc87 …mtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth, jboolean jb, jvalue jv), (jvmti, jni, …
391 jvalue v,
463 void LogPrinter::PrintRest(jvmtiEnv* jvmti, JNIEnv* jni, jvalue v, Args... args) { in PrintRest()
/art/libdexfile/dex/
Ddex_file.h950 const jvalue& GetJavaValue() const { return jval_; } in GetJavaValue()
961 jvalue jval_; // Value of current encoded value.

12