Searched refs:receiver (Results 1 - 15 of 15) sorted by relevance

/art/runtime/native/
H A Djava_lang_reflect_Constructor.cc58 mirror::Object* receiver = c->AllocObject(soa.Self()); local
59 if (receiver == NULL) {
63 jobject javaReceiver = soa.AddLocalReference<jobject>(receiver);
/art/runtime/
H A Dinvoke_arg_array_builder.h47 size_t num_slots = shorty_len + 1; // +1 in case of receiver.
93 void BuildArgArray(const ScopedObjectAccess& soa, mirror::Object* receiver, va_list ap)
95 // Set receiver if non-null (method is not static)
96 if (receiver != NULL) {
97 Append(reinterpret_cast<int32_t>(receiver));
131 void BuildArgArray(const ScopedObjectAccess& soa, mirror::Object* receiver, jvalue* args)
133 // Set receiver if non-null (method is not static)
134 if (receiver != NULL) {
135 Append(reinterpret_cast<int32_t>(receiver));
169 // Set receiver i
[all...]
H A Dreflection.h51 jobject InvokeMethod(const ScopedObjectAccess& soa, jobject method, jobject receiver, jobject args)
H A Djni_internal_test.cc82 mirror::Object*& receiver,
108 receiver = (is_static ? NULL : c->AllocObject(self));
118 mirror::Object* receiver; local
119 DoCompile(method, receiver, is_static, "nop", "()V");
125 arg_array.Append(reinterpret_cast<uint32_t>(receiver));
134 mirror::Object* receiver; local
135 DoCompile(method, receiver, is_static, "identity", "(I)I");
142 arg_array.Append(reinterpret_cast<uint32_t>(receiver));
170 mirror::Object* receiver; local
171 DoCompile(method, receiver, is_stati
206 mirror::Object* receiver; local
250 mirror::Object* receiver; local
296 mirror::Object* receiver; local
347 mirror::Object* receiver; local
403 mirror::Object* receiver; local
464 mirror::Object* receiver; local
530 mirror::Object* receiver; local
585 mirror::Object* receiver; local
649 mirror::Object* receiver; local
[all...]
H A Dreflection.cc46 mirror::Object* receiver = NULL; local
48 // Check that the receiver is non-null and an instance of the field's declaring class.
49 receiver = soa.Decode<mirror::Object*>(javaReceiver);
50 if (!VerifyObjectInClass(receiver, declaring_class)) {
55 m = receiver->GetClass()->FindVirtualMethodForVirtualOrInterface(m);
107 ThrowNullPointerException(NULL, "null receiver");
113 StringPrintf("Expected receiver of type %s, but got %s",
H A Djni_internal.cc154 Object* receiver = method->IsStatic() ? NULL : soa.Decode<Object*>(obj); local
158 arg_array.BuildArgArray(soa, receiver, args);
163 static ArtMethod* FindVirtualMethod(Object* receiver, ArtMethod* method)
165 return receiver->GetClass()->FindVirtualMethodForVirtualOrInterface(method);
171 Object* receiver = soa.Decode<Object*>(obj); local
172 ArtMethod* method = FindVirtualMethod(receiver, soa.DecodeMethod(mid));
176 arg_array.BuildArgArray(soa, receiver, args);
184 Object* receiver = soa.Decode<Object*>(obj); local
185 ArtMethod* method = FindVirtualMethod(receiver, soa.DecodeMethod(mid));
189 arg_array.BuildArgArray(soa, receiver, arg
610 Object* receiver = method->IsStatic() ? NULL : soa.Decode<Object*>(obj); local
[all...]
H A Dthread.cc169 mirror::Object* receiver = self->opeer_; local
172 receiver->GetClass()->FindVirtualMethodForVirtualOrInterface(soa.DecodeMethod(mid));
175 arg_array.Append(reinterpret_cast<uint32_t>(receiver));
H A Ddebugger.cc1468 LOG(WARNING) << "Ignoring non-NULL receiver for ObjectReference.SetValues on static field " << PrettyField(f);
1524 LOG(WARNING) << "Ignoring non-NULL receiver for ObjectReference.SetValues on static field " << PrettyField(f);
2673 mirror::Object* receiver = gRegistry->Get<mirror::Object*>(object_id); local
2674 if (receiver == ObjectRegistry::kInvalidObject) {
2690 if (m->IsStatic() != (receiver == NULL)) {
2732 req->receiver_ = receiver;
2835 << " receiver=" << pReq->receiver_
/art/runtime/interpreter/
H A Dinterpreter.h38 mirror::Object* receiver, uint32_t* args, JValue* result)
H A Dinterpreter.cc166 Object* receiver, uint32_t* args, JValue* result)
180 result->SetL(receiver->AsClass()->ComputeName());
190 result->SetL(receiver->Clone(self));
192 receiver->NotifyAll(self);
196 result->SetI(receiver->AsString()->CompareTo(rhs));
198 result->SetL(receiver->AsString()->Intern());
200 result->SetI(receiver->AsString()->FastIndexOf(args[0], args[1]));
228 Object* receiver, uint32_t* args, JValue* result)
367 soa.AddLocalReference<jobject>(receiver));
378 soa.AddLocalReference<jobject>(receiver));
429 Object* receiver = (type == kStatic) ? NULL : shadow_frame.GetVRegReference(vregC); local
535 Object* receiver = shadow_frame.GetVRegReference(vregC); local
3126 EnterInterpreterFromInvoke(Thread* self, ArtMethod* method, Object* receiver, uint32_t* args, JValue* result) argument
3264 Object* receiver = method->IsStatic() ? NULL : shadow_frame->GetVRegReference(0); local
[all...]
/art/runtime/entrypoints/portable/
H A Dportable_trampoline_entrypoints.cc275 mirror::Object* receiver,
286 // Create local ref. copies of proxy method and the receiver.
287 jobject rcvr_jobj = soa.AddLocalReference<jobject>(receiver);
289 // Placing arguments into args vector and remove the receiver.
312 mirror::Object* receiver,
378 // Refine called method based on receiver.
380 called = receiver->GetClass()->FindVirtualMethodForVirtual(called);
382 called = receiver->GetClass()->FindVirtualMethodForInterface(called);
/art/runtime/entrypoints/quick/
H A Dquick_trampoline_entrypoints.cc369 mirror::Object* receiver,
373 DCHECK(receiver->GetClass()->IsProxyClass()) << PrettyMethod(proxy_method);
388 // Create local ref. copies of proxy method and the receiver.
389 jobject rcvr_jobj = soa.AddLocalReference<jobject>(receiver);
391 // Placing arguments into args vector and remove the receiver.
438 mirror::Object* receiver,
534 // Refine called method based on receiver.
536 called = receiver->GetClass()->FindVirtualMethodForVirtual(called);
538 called = receiver->GetClass()->FindVirtualMethodForInterface(called);
/art/runtime/arch/arm/
H A Dportable_entrypoints_arm.S90 blx artPortableProxyInvokeHandler @ (Method* proxy method, receiver, Thread*, SP)
120 blx artPortableResolutionTrampoline @ (Method* called, receiver, Thread*, SP)
H A Dquick_entrypoints_arm.S824 * r0 holds the proxy method and r1 holds the receiver; r2 and r3 may contain arguments. The
833 blx artQuickProxyInvokeHandler @ (Method* proxy method, receiver, Thread*, SP)
849 blx artQuickResolutionTrampoline @ (Method* called, receiver, Thread*, SP)
/art/runtime/arch/mips/
H A Dquick_entrypoints_mips.S873 jal artQuickProxyInvokeHandler # (Method* proxy method, receiver, Thread*, SP)
892 jal artQuickResolutionTrampoline # (Method* called, receiver, Thread*, SP)

Completed in 322 milliseconds