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

12

/art/runtime/
H A Dreflection_test.cc85 mirror::Object** receiver,
115 *receiver = nullptr;
122 *receiver = c->AllocObject(self);
134 mirror::Object* receiver; local
135 ReflectionTestMakeExecutable(&method, &receiver, is_static, "nop", "()V");
136 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver));
143 mirror::Object* receiver; local
144 ReflectionTestMakeExecutable(&method, &receiver, is_static, "identity", "(B)B");
145 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver));
169 mirror::Object* receiver; local
194 mirror::Object* receiver; local
219 mirror::Object* receiver; local
248 mirror::Object* receiver; local
287 mirror::Object* receiver; local
331 mirror::Object* receiver; local
380 mirror::Object* receiver; local
414 mirror::Object* receiver; local
441 mirror::Object* receiver; local
471 mirror::Object* receiver; local
[all...]
H A Dreflection.cc40 size_t num_slots = shorty_len + 1; // +1 in case of receiver.
97 mirror::Object* receiver, va_list ap)
99 // Set receiver if non-null (method is not static)
100 if (receiver != nullptr) {
101 Append(receiver);
133 mirror::Object* receiver, jvalue* args)
135 // Set receiver if non-null (method is not static)
136 if (receiver != nullptr) {
137 Append(receiver);
174 // Set receiver i
459 mirror::Object* receiver = method->IsStatic() ? nullptr : soa.Decode<mirror::Object*>(obj); local
489 mirror::Object* receiver = method->IsStatic() ? nullptr : soa.Decode<mirror::Object*>(obj); local
513 mirror::Object* receiver = soa.Decode<mirror::Object*>(obj); local
544 mirror::Object* receiver = soa.Decode<mirror::Object*>(obj); local
590 mirror::Object* receiver = nullptr; local
[all...]
H A Dreflection.h65 jobject InvokeMethod(const ScopedObjectAccessAlreadyRunnable& soa, jobject method, jobject receiver,
H A Dart_method.cc263 mirror::Object* receiver = local
266 self, this, receiver, args + 1, result, /*stay_in_interpreter*/ true);
H A Ddebugger.h59 : request_id(invoke_request_id), thread_id(invoke_thread_id), receiver(invoke_receiver),
71 GcRoot<mirror::Object> receiver; // not used for ClassType.InvokeMethod. member in struct:art::DebugInvokeReq
H A Ddebugger.cc317 receiver.VisitRootIfNonNull(visitor, root_info); // null for static method call.
1782 LOG(WARNING) << "Ignoring non-nullptr receiver for ObjectReference.GetValues"
1894 LOG(WARNING) << "Ignoring non-nullptr receiver for ObjectReference.SetValues"
3885 mirror::Object* receiver = gRegistry->Get<mirror::Object*>(object_id, &error); local
3901 if (m->IsStatic() != (receiver == nullptr)) {
3923 HandleWrapper<mirror::Object> h_obj(hs.NewHandleWrapper(&receiver));
3953 DebugInvokeReq* req = new (std::nothrow) DebugInvokeReq(request_id, thread_id, receiver, c, m,
4028 if ((pReq->options & JDWP::INVOKE_NONVIRTUAL) == 0 && pReq->receiver.Read() != nullptr) {
4038 << " receiver=" << pReq->receiver
[all...]
/art/runtime/interpreter/
H A Dunstarted_runtime.h59 mirror::Object* receiver,
82 mirror::Object* receiver, \
H A Dinterpreter.h39 mirror::Object* receiver, uint32_t* args, JValue* result,
H A Dunstarted_runtime.cc1418 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver ATTRIBUTE_UNUSED,
1433 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args ATTRIBUTE_UNUSED, JValue* result) {
1438 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver ATTRIBUTE_UNUSED,
1449 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) {
1457 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) {
1466 mirror::Object* receiver ATTRIBUTE_UNUSED,
1475 Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver,
1478 result->SetL(mirror::Class::ComputeName(hs.NewHandle(receiver->AsClass())));
1483 mirror::Object* receiver ATTRIBUTE_UNUSED, uint32_t* args, JValue* result) {
1490 mirror::Object* receiver ATTRIBUTE_UNUSE
1474 UnstartedJNIClassGetNameNative( Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver, uint32_t* args ATTRIBUTE_UNUSED, JValue* result) argument
1500 UnstartedJNIObjectInternalClone( Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver, uint32_t* args ATTRIBUTE_UNUSED, JValue* result) argument
1506 UnstartedJNIObjectNotifyAll( Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver, uint32_t* args ATTRIBUTE_UNUSED, JValue* result ATTRIBUTE_UNUSED) argument
1512 UnstartedJNIStringCompareTo( Thread* self, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver, uint32_t* args, JValue* result) argument
1522 UnstartedJNIStringIntern( Thread* self ATTRIBUTE_UNUSED, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver, uint32_t* args ATTRIBUTE_UNUSED, JValue* result) argument
1528 UnstartedJNIStringFastIndexOf( Thread* self ATTRIBUTE_UNUSED, ArtMethod* method ATTRIBUTE_UNUSED, mirror::Object* receiver, uint32_t* args, JValue* result) argument
1713 Jni(Thread* self, ArtMethod* method, mirror::Object* receiver, uint32_t* args, JValue* result) argument
[all...]
H A Dinterpreter.cc36 Object* receiver, uint32_t* args, JValue* result)
186 soa.AddLocalReference<jobject>(receiver));
197 soa.AddLocalReference<jobject>(receiver));
204 soa.AddLocalReference<jobject>(receiver));
219 soa.AddLocalReference<jobject>(receiver));
391 void EnterInterpreterFromInvoke(Thread* self, ArtMethod* method, Object* receiver, argument
429 CHECK(receiver != nullptr);
430 shadow_frame->SetVRegReference(cur_reg, receiver);
479 UnstartedRuntime::Jni(self, method, receiver, args, result);
481 InterpreterJni(self, method, shorty, receiver, arg
652 Object* receiver = is_static ? nullptr : shadow_frame->GetVRegReference(0); local
[all...]
H A Dinterpreter_common.h227 mirror::Object* receiver = nullptr; // Always static. (see 'kStatic') local
230 method_idx, &receiver, sf_method, self);
632 Object* receiver = (type == kStatic) ? nullptr : shadow_frame.GetVRegReference(vregC); local
635 method_idx, &receiver, sf_method, self);
650 self, receiver, sf_method, shadow_frame.GetDexPC(), called_method);
659 self, receiver, sf_method, shadow_frame.GetDexPC(), called_method);
674 Object* const receiver = shadow_frame.GetVRegReference(vregC); local
675 if (UNLIKELY(receiver == nullptr)) {
682 CHECK(receiver->GetClass()->ShouldHaveEmbeddedImtAndVTable());
683 ArtMethod* const called_method = receiver
[all...]
H A Dunstarted_runtime_test.cc64 mirror::Object* receiver, \
68 interpreter::UnstartedRuntime::UnstartedJNI ## Name(self, method, receiver, args, result); \
/art/compiler/optimizing/
H A Dinliner.h103 // if (receiver.getClass() != ic.GetMonomorphicType()) deopt
123 HInstruction* receiver,
133 // Add a type guard on the given `receiver`. This will add to the graph:
134 // i0 = HFieldGet(receiver, klass)
142 HInstruction* AddTypeGuard(HInstruction* receiver,
H A Dinliner.cc127 HInstruction* receiver = invoke->InputAt(0); local
128 if (receiver->IsNullCheck()) {
130 // null check does not have the reference type of the actual receiver.
131 receiver = receiver->InputAt(0);
133 ReferenceTypeInfo info = receiver->GetReferenceTypeInfo();
134 DCHECK(info.IsValid()) << "Invalid RTI for " << receiver->DebugName();
141 // Statically knowing that the receiver has an interface type cannot
145 // The method that we're trying to call is not in the receiver's class or super classes.
165 // The information we had on the receiver wa
345 BuildGetReceiverClass(ClassLinker* class_linker, HInstruction* receiver, uint32_t dex_pc) const argument
392 HInstruction* receiver = invoke_instruction->InputAt(0); local
423 AddTypeGuard(HInstruction* receiver, HInstruction* cursor, HBasicBlock* bb_cursor, uint32_t class_index, bool is_referrer, HInstruction* invoke_instruction, bool with_deoptimization) argument
493 HInstruction* receiver = invoke_instruction->InputAt(0); local
675 HInstruction* receiver = invoke_instruction->InputAt(0); local
[all...]
H A Dcode_generator_mips64.cc2938 Location receiver = invoke->GetLocations()->InAt(0); local
2947 if (receiver.IsStackSlot()) {
2948 __ LoadFromOffset(kLoadUnsignedWord, temp, SP, receiver.GetStackIndex());
2951 __ LoadFromOffset(kLoadUnsignedWord, temp, receiver.AsRegister<GpuRegister>(), class_offset);
3150 // Use the calling convention instead of the location of the receiver, as
3151 // intrinsics may have put the receiver in a different register. In the intrinsics
3153 // guaranteed that the receiver is the first register of the calling convention.
3155 GpuRegister receiver = calling_convention.GetRegisterAt(0); local
3164 __ LoadFromOffset(kLoadUnsignedWord, temp, receiver, class_offset);
H A Dinstruction_simplifier.cc1501 HInstruction* receiver = instruction->InputAt(0); local
1502 if (receiver == argument) {
1503 // Because String.equals is an instance call, the receiver is
H A Dcode_generator_arm64.cc3532 Location receiver = locations->InAt(0); local
3544 if (receiver.IsStackSlot()) {
3545 __ Ldr(temp.W(), StackOperandFrom(receiver));
3549 // /* HeapReference<Class> */ temp = receiver->klass_
3550 __ Ldr(temp.W(), HeapOperandFrom(receiver, class_offset));
3724 // Use the calling convention instead of the location of the receiver, as
3725 // intrinsics may have put the receiver in a different register. In the intrinsics
3727 // guaranteed that the receiver is the first register of the calling convention.
3729 Register receiver = calling_convention.GetRegisterAt(0); local
3738 DCHECK(receiver
[all...]
H A Dcode_generator_mips.cc3736 Location receiver = invoke->GetLocations()->InAt(0); local
3745 if (receiver.IsStackSlot()) {
3746 __ LoadFromOffset(kLoadWord, temp, SP, receiver.GetStackIndex());
3749 __ LoadFromOffset(kLoadWord, temp, receiver.AsRegister<Register>(), class_offset);
3936 Location receiver = locations->InAt(0); local
3944 DCHECK(receiver.IsRegister());
3945 __ LoadFromOffset(kLoadWord, temp, receiver.AsRegister<Register>(), class_offset);
H A Dcode_generator_arm.cc1876 Location receiver = locations->InAt(0); local
1884 if (receiver.IsStackSlot()) {
1885 __ LoadFromOffset(kLoadWord, temp, SP, receiver.GetStackIndex());
1889 // /* HeapReference<Class> */ temp = receiver->klass_
1890 __ LoadFromOffset(kLoadWord, temp, receiver.AsRegister<Register>(), class_offset);
6418 // Use the calling convention instead of the location of the receiver, as
6419 // intrinsics may have put the receiver in a different register. In the intrinsics
6421 // guaranteed that the receiver is the first register of the calling convention.
6423 Register receiver = calling_convention.GetRegisterAt(0); local
6425 // /* HeapReference<Class> */ temp = receiver
[all...]
H A Dcode_generator_x86.cc2015 Location receiver = locations->InAt(0); local
2024 if (receiver.IsStackSlot()) {
2025 __ movl(temp, Address(ESP, receiver.GetStackIndex()));
2029 // /* HeapReference<Class> */ temp = receiver->klass_
2030 __ movl(temp, Address(receiver.AsRegister<Register>(), class_offset));
4412 // Use the calling convention instead of the location of the receiver, as
4413 // intrinsics may have put the receiver in a different register. In the intrinsics
4415 // guaranteed that the receiver is the first register of the calling convention.
4417 Register receiver = calling_convention.GetRegisterAt(0); local
4419 // /* HeapReference<Class> */ temp = receiver
[all...]
/art/runtime/native/
H A Djava_lang_reflect_Constructor.cc162 mirror::Object* receiver = local
164 if (receiver == nullptr) {
167 jobject javaReceiver = soa.AddLocalReference<jobject>(receiver);
H A Djava_lang_Class.cc631 auto receiver = hs.NewHandle(klass->AllocObject(soa.Self())); local
632 if (UNLIKELY(receiver.Get() == nullptr)) {
643 soa.Self(), receiver.Get(), declaring_class, constructor->GetAccessFlags(),
661 uint32_t args[1] = { static_cast<uint32_t>(reinterpret_cast<uintptr_t>(receiver.Get())) };
667 return soa.AddLocalReference<jobject>(receiver.Get());
/art/runtime/entrypoints/quick/
H A Dquick_trampoline_entrypoints.cc840 ArtMethod* proxy_method, mirror::Object* receiver, Thread* self, ArtMethod** sp)
843 DCHECK(receiver->GetClass()->IsProxyClass()) << PrettyMethod(proxy_method);
854 // Create local ref. copies of proxy method and the receiver.
855 jobject rcvr_jobj = soa.AddLocalReference<jobject>(receiver);
857 // Placing arguments into args vector and remove the receiver.
926 ArtMethod* called, mirror::Object* receiver, Thread* self, ArtMethod** sp)
1018 hs.NewHandleWrapper(virtual_or_interface ? &receiver : &dummy));
1029 // Refine called method based on receiver for kVirtual/kInterface, and
1033 CHECK(receiver != nullptr) << invoke_type;
1034 called = receiver
[all...]
/art/runtime/arch/arm/
H A Dquick_entrypoints_arm.S1245 * r0 holds the proxy method and r1 holds the receiver; r2 and r3 may contain arguments. The
1253 blx artQuickProxyInvokeHandler @ (Method* proxy method, receiver, Thread*, SP)
1304 blx artQuickResolutionTrampoline @ (Method* called, receiver, Thread*, SP)
/art/runtime/arch/mips64/
H A Dquick_entrypoints_mips64.S1673 jal artQuickProxyInvokeHandler # (Method* proxy method, receiver, Thread*, SP)
1728 jal artQuickResolutionTrampoline # (Method* called, receiver, Thread*, SP)

Completed in 354 milliseconds

12