Home
last modified time | relevance | path

Searched refs:receiver (Results 1 – 16 of 16) sorted by relevance

/art/runtime/
Dreflection_test.cc85 mirror::Object** receiver, in ReflectionTestMakeExecutable() argument
115 *receiver = nullptr; in ReflectionTestMakeExecutable()
122 *receiver = c->AllocObject(self); in ReflectionTestMakeExecutable()
134 mirror::Object* receiver; in InvokeNopMethod() local
135 ReflectionTestMakeExecutable(&method, &receiver, is_static, "nop", "()V"); in InvokeNopMethod()
136 InvokeWithJValues(soa, receiver, soa.EncodeMethod(method), nullptr); in InvokeNopMethod()
142 mirror::Object* receiver; in InvokeIdentityByteMethod() local
143 ReflectionTestMakeExecutable(&method, &receiver, is_static, "identity", "(B)B"); in InvokeIdentityByteMethod()
147 JValue result = InvokeWithJValues(soa, receiver, soa.EncodeMethod(method), args); in InvokeIdentityByteMethod()
151 result = InvokeWithJValues(soa, receiver, soa.EncodeMethod(method), args); in InvokeIdentityByteMethod()
[all …]
Dreflection.cc104 mirror::Object* receiver, va_list ap) in BuildArgArrayFromVarArgs() argument
107 if (receiver != nullptr) { in BuildArgArrayFromVarArgs()
108 Append(receiver); in BuildArgArrayFromVarArgs()
140 mirror::Object* receiver, jvalue* args) in BuildArgArrayFromJValues() argument
143 if (receiver != nullptr) { in BuildArgArrayFromJValues()
144 Append(receiver); in BuildArgArrayFromJValues()
222 mirror::Object* receiver, in BuildArgArrayFromObjectArray() argument
227 if (receiver != nullptr) { in BuildArgArrayFromObjectArray()
228 Append(receiver); in BuildArgArrayFromObjectArray()
402 static mirror::ArtMethod* FindVirtualMethod(mirror::Object* receiver, in FindVirtualMethod() argument
[all …]
Dreflection.h54 JValue InvokeWithJValues(const ScopedObjectAccessAlreadyRunnable& soa, mirror::Object* receiver,
59 mirror::Object* receiver, jmethodID mid, jvalue* args)
70 jobject InvokeMethod(const ScopedObjectAccessAlreadyRunnable& soa, jobject method, jobject receiver,
Ddebugger.cc345 if (receiver != nullptr) { in VisitRoots()
346 callback(&receiver, arg, root_info); in VisitRoots()
361 receiver = nullptr; in Clear()
3631 mirror::Object* receiver = gRegistry->Get<mirror::Object*>(object_id); in InvokeMethod() local
3632 if (receiver == ObjectRegistry::kInvalidObject) { in InvokeMethod()
3648 if (m->IsStatic() != (receiver == NULL)) { in InvokeMethod()
3671 HandleWrapper<mirror::Object> h_obj(hs.NewHandleWrapper(&receiver)); in InvokeMethod()
3699 req->receiver = receiver; in InvokeMethod()
3797 if ((pReq->options & JDWP::INVOKE_NONVIRTUAL) == 0 && pReq->receiver != NULL) { in ExecuteMethod()
3805 << " receiver=" << pReq->receiver in ExecuteMethod()
[all …]
Ddebugger.h59 receiver(NULL), thread(NULL), klass(NULL), method(NULL), in DebugInvokeReq()
73 mirror::Object* receiver; /* not used for ClassType.InvokeMethod */ member
Dthread.cc177 mirror::Object* receiver = self->tlsPtr_.opeer; in CreateCallback() local
179 InvokeVirtualOrInterfaceWithJValues(soa, receiver, mid, nullptr); in CreateCallback()
/art/runtime/native/
Djava_lang_reflect_Constructor.cc64 mirror::Object* receiver = in Constructor_newInstance() local
66 if (receiver == nullptr) { in Constructor_newInstance()
70 jobject javaReceiver = soa.AddLocalReference<jobject>(receiver); in Constructor_newInstance()
/art/runtime/interpreter/
Dinterpreter.cc28 Object* receiver, uint32_t* args, JValue* result) in UnstartedRuntimeJni() argument
53 result->SetL(mirror::Class::ComputeName(hs.NewHandle(receiver->AsClass()))); in UnstartedRuntimeJni()
63 result->SetL(receiver->Clone(self)); in UnstartedRuntimeJni()
65 receiver->NotifyAll(self); in UnstartedRuntimeJni()
69 result->SetI(receiver->AsString()->CompareTo(rhs)); in UnstartedRuntimeJni()
71 result->SetL(receiver->AsString()->Intern()); in UnstartedRuntimeJni()
73 result->SetI(receiver->AsString()->FastIndexOf(args[0], args[1])); in UnstartedRuntimeJni()
133 Object* receiver, uint32_t* args, JValue* result) in InterpreterJni() argument
273 soa.AddLocalReference<jobject>(receiver)); in InterpreterJni()
284 soa.AddLocalReference<jobject>(receiver)); in InterpreterJni()
[all …]
Dinterpreter_common.h110 Object* receiver = (type == kStatic) ? nullptr : shadow_frame.GetVRegReference(vregC); in DoInvoke() local
113 method_idx, &receiver, &sf_method, self); in DoInvoke()
135 Object* const receiver = shadow_frame.GetVRegReference(vregC); in DoInvokeVirtualQuick() local
136 if (UNLIKELY(receiver == nullptr)) { in DoInvokeVirtualQuick()
143 CHECK(receiver->GetClass()->ShouldHaveEmbeddedImtAndVTable()); in DoInvokeVirtualQuick()
144 ArtMethod* const method = receiver->GetClass()->GetEmbeddedVTableEntry(vtable_idx); in DoInvokeVirtualQuick()
Dinterpreter.h38 mirror::Object* receiver, uint32_t* args, JValue* result)
/art/runtime/entrypoints/portable/
Dportable_trampoline_entrypoints.cc281 mirror::Object* receiver, in artPortableProxyInvokeHandler() argument
293 jobject rcvr_jobj = soa.AddLocalReference<jobject>(receiver); in artPortableProxyInvokeHandler()
319 mirror::Object* receiver, in artPortableResolutionTrampoline() argument
387 called = receiver->GetClass()->FindVirtualMethodForVirtual(called); in artPortableResolutionTrampoline()
389 called = receiver->GetClass()->FindVirtualMethodForInterface(called); in artPortableResolutionTrampoline()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc609 mirror::Object* receiver, in artQuickProxyInvokeHandler() argument
613 DCHECK(receiver->GetClass()->IsProxyClass()) << PrettyMethod(proxy_method); in artQuickProxyInvokeHandler()
629 jobject rcvr_jobj = soa.AddLocalReference<jobject>(receiver); in artQuickProxyInvokeHandler()
700 mirror::Object* receiver, in artQuickResolutionTrampoline() argument
791 hs.NewHandleWrapper(virtual_or_interface ? &receiver : &dummy)); in artQuickResolutionTrampoline()
801 CHECK(receiver != nullptr) << invoke_type; in artQuickResolutionTrampoline()
805 called = receiver->GetClass()->FindVirtualMethodForVirtual(called); in artQuickResolutionTrampoline()
807 called = receiver->GetClass()->FindVirtualMethodForInterface(called); in artQuickResolutionTrampoline()
811 << PrettyTypeOf(receiver) << " " in artQuickResolutionTrampoline()
/art/runtime/mirror/
Dart_method.cc286 Object* receiver = reinterpret_cast<StackReference<Object>*>(&args[0])->AsMirrorPtr(); in Invoke() local
287 art::interpreter::EnterInterpreterFromInvoke(self, this, receiver, args + 1, result); in Invoke()
/art/runtime/arch/arm/
Dportable_entrypoints_arm.S120 blx artPortableResolutionTrampoline @ (Method* called, receiver, Thread*, SP)
Dquick_entrypoints_arm.S951 blx artQuickProxyInvokeHandler @ (Method* proxy method, receiver, Thread*, SP)
980 blx artQuickResolutionTrampoline @ (Method* called, receiver, Thread*, SP)
/art/runtime/arch/mips/
Dquick_entrypoints_mips.S1017 jal artQuickResolutionTrampoline # (Method* called, receiver, Thread*, SP)