Searched refs:method (Results 51 - 75 of 116) sorted by relevance

12345

/art/runtime/entrypoints/
H A Dentrypoint_utils-inl.h41 mirror::ArtMethod* method,
43 mirror::Class* klass = method->GetDexCacheResolvedType<false>(type_idx);
45 klass = Runtime::Current()->GetClassLinker()->ResolveType(type_idx, method);
62 mirror::Class* referrer = method->GetDeclaringClass();
124 mirror::ArtMethod* method,
128 mirror::Class* klass = CheckObjectAlloc<kAccessCheck>(type_idx, method, self, &slow_path);
143 mirror::ArtMethod* method,
165 mirror::ArtMethod* method,
177 mirror::ArtMethod* method,
185 mirror::Class* klass = method
40 CheckObjectAlloc(uint32_t type_idx, mirror::ArtMethod* method, Thread* self, bool* slow_path) argument
123 AllocObjectFromCode(uint32_t type_idx, mirror::ArtMethod* method, Thread* self, gc::AllocatorType allocator_type) argument
142 AllocObjectFromCodeResolved(mirror::Class* klass, mirror::ArtMethod* method, Thread* self, gc::AllocatorType allocator_type) argument
164 AllocObjectFromCodeInitialized(mirror::Class* klass, mirror::ArtMethod* method, Thread* self, gc::AllocatorType allocator_type) argument
176 CheckArrayAlloc(uint32_t type_idx, mirror::ArtMethod* method, int32_t component_count, bool* slow_path) argument
212 AllocArrayFromCode(uint32_t type_idx, mirror::ArtMethod* method, int32_t component_count, Thread* self, gc::AllocatorType allocator_type) argument
234 AllocArrayFromCodeResolved(mirror::Class* klass, mirror::ArtMethod* method, int32_t component_count, Thread* self, gc::AllocatorType allocator_type) argument
435 mirror::ArtMethod* method = klass->FindVirtualMethodForInterface(resolved_method); local
[all...]
/art/compiler/
H A Dimage_writer.cc678 ArtMethod* method = dex_cache->GetResolvedMethod(i); local
679 if (method != NULL && !IsImageClass(method->GetDeclaringClass())) {
983 // Size without pointer fields since we don't want to overrun the buffer if target art method
1076 const byte* ImageWriter::GetQuickCode(mirror::ArtMethod* method, bool* quick_is_interpreted) { argument
1077 DCHECK(!method->IsResolutionMethod() && !method->IsImtConflictMethod() &&
1078 !method->IsImtUnimplementedMethod() && !method->IsAbstract()) << PrettyMethod(method);
1106 GetQuickEntryPoint(mirror::ArtMethod* method) argument
[all...]
H A Delf_writer_mclinker.cc359 mirror::ArtMethod* method = NULL; local
366 method = linker->ResolveMethod(dex_file, method_idx, dex_cache,
369 CHECK(method != NULL);
375 // Don't overwrite static method trampoline
376 if (method != NULL &&
377 (!method->IsStatic() ||
378 method->IsConstructor() ||
379 method->GetDeclaringClass()->IsInitialized())) {
380 method->SetPortableOatCodeOffset(offset);
H A Delf_patcher.cc82 mirror::ArtMethod* method = class_linker->ResolveMethod(*patch->GetTargetDexFile(), local
88 CHECK(method != NULL)
90 CHECK(!method->IsRuntimeMethod())
92 CHECK(dex_cache->GetResolvedMethods()->Get(patch->GetTargetMethodIdx()) == method)
95 << PrettyMethod(method);
96 return method;
H A Dcompiler.h70 virtual uintptr_t GetEntryPointOf(mirror::ArtMethod* method) const
/art/runtime/
H A Druntime.cc1209 Handle<mirror::ArtMethod> method(hs.NewHandle(class_linker->AllocArtMethod(self)));
1210 method->SetDeclaringClass(mirror::ArtMethod::GetJavaLangReflectArtMethod());
1211 // TODO: use a special method for imt conflict method saves.
1212 method->SetDexMethodIndex(DexFile::kDexNoIndex);
1216 method->SetEntryPointFromPortableCompiledCode(nullptr);
1218 method->SetEntryPointFromQuickCompiledCode(nullptr);
1221 method->SetEntryPointFromPortableCompiledCode(class_linker->GetPortableImtConflictTrampoline());
1223 method->SetEntryPointFromQuickCompiledCode(class_linker->GetQuickImtConflictTrampoline());
1225 return method
1313 SetCalleeSaveMethod(mirror::ArtMethod* method, CalleeSaveType type) argument
[all...]
H A Dmethod_helper.h62 // Counts the number of references in the parameter list of the corresponding method.
123 // other_dexfile, such as the method index used to resolve this method in the other_dexfile.
129 // Set the method_ field, for proxy methods looking up the interface method via the resolved
131 void SetMethod(mirror::ArtMethod* method) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
132 method_.Assign(method);
H A Dreflection.cc106 // Set receiver if non-null (method is not static)
142 // Set receiver if non-null (method is not static)
181 // Set receiver if non-null (method is not static)
226 // Set receiver if non-null (method is not static)
237 StringPrintf("method %s argument %zd has type %s, got %s",
265 StringPrintf("method %s argument %zd has type %s, got %s", \
403 mirror::ArtMethod* method)
405 return receiver->GetClass()->FindVirtualMethodForVirtualOrInterface(method);
410 mirror::ArtMethod* method, ArgArray* arg_array, JValue* result,
415 CheckMethodArguments(method, arg
431 mirror::ArtMethod* method = soa.DecodeMethod(mid); local
452 mirror::ArtMethod* method = soa.DecodeMethod(mid); local
472 mirror::ArtMethod* method = FindVirtualMethod(receiver, soa.DecodeMethod(mid)); local
493 mirror::ArtMethod* method = FindVirtualMethod(receiver, soa.DecodeMethod(mid)); local
[all...]
H A Djni_internal_test.cc279 jmethodID method = env_->GetMethodID(jlobject, "foo", "()V"); local
280 EXPECT_EQ(nullptr, method);
284 method = env_->GetMethodID(jlobject, "equals", "(Ljava/lang/Object;)Z");
285 EXPECT_NE(nullptr, method);
289 // method is static.
290 method = env_->GetMethodID(jlstring, "valueOf", "(I)Ljava/lang/String;");
291 EXPECT_EQ(nullptr, method);
295 method = env_->GetMethodID(jlnsme, "<init>", "(Ljava/lang/String;)V");
296 EXPECT_NE(nullptr, method);
299 // Check that GetMethodID can find a interface method inherite
319 jmethodID method; local
342 jmethodID method = env_->GetStaticMethodID(jlobject, "foo", "()V"); local
414 jobject method = env_->ToReflectedMethod(c, mid, JNI_FALSE); local
[all...]
H A Dclass_linker.cc328 // Set up array classes for string, field, method
855 // around the dex method reference limit and that have a background
1585 mirror::ArtMethod* method = obj->AsArtMethod(); local
1586 if (!method->IsNative()) {
1587 method->SetEntryPointFromInterpreter(interpreter::artInterpreterToInterpreterBridge);
1588 if (method != Runtime::Current()->GetResolutionMethod()) {
1589 method->SetEntryPointFromQuickCompiledCode(GetQuickToInterpreterBridge());
1591 method->SetEntryPointFromPortableCompiledCode(GetPortableToInterpreterBridge());
2388 LOG(FATAL) << "Failed to find method index " << method_idx << " in " << dex_file.GetLocation();
2392 bool ClassLinker::FindOatMethodFor(mirror::ArtMethod* method, OatFil argument
2434 GetQuickOatCodeFor(mirror::ArtMethod* method) argument
2463 GetPortableOatCodeFor(mirror::ArtMethod* method, bool* have_portable_code) argument
2493 GetOatMethodQuickCodeFor(mirror::ArtMethod* method) argument
2577 mirror::ArtMethod* method = klass->GetDirectMethod(method_index); local
2627 LinkCode(Handle<mirror::ArtMethod> method, const OatFile::OatClass* oat_class, const DexFile& dex_file, uint32_t dex_method_index, uint32_t method_index) argument
3742 ResolveMethodExceptionHandlerTypes(const DexFile& dex_file, mirror::ArtMethod* method) argument
4012 mirror::ArtMethod* method = down_cast<mirror::ArtMethod*>(prototype->Clone(self)); local
5181 mirror::ArtMethod* method = method_array->GetWithoutChecks(j); local
5327 mirror::ArtMethod* method = miranda_list[i]; variable
[all...]
H A Dscoped_thread_state_change.h167 mirror::ArtMethod* method = reinterpret_cast<mirror::ArtMethod*>(mid); local
168 return ReadBarrier::BarrierForRoot<mirror::ArtMethod, kWithReadBarrier>(&method);
171 jmethodID EncodeMethod(mirror::ArtMethod* method) const
176 return reinterpret_cast<jmethodID>(method);
H A Dcommon_throws.cc91 void ThrowAbstractMethodError(mirror::ArtMethod* method) { argument
93 StringPrintf("abstract method \"%s\"",
94 PrettyMethod(method).c_str()).c_str());
163 << " method " << PrettyMethod(called).c_str();
184 msg << "Final field '" << PrettyField(accessed, false) << "' cannot be written to by method '"
214 mirror::ArtMethod* method,
217 msg << "The method '" << PrettyMethod(method) << "' was expected to be of type "
311 msg << "No " << type << " method " << name << signature
322 msg << "No method '" << PrettyMetho
213 ThrowIncompatibleClassChangeError(InvokeType expected_type, InvokeType found_type, mirror::ArtMethod* method, mirror::ArtMethod* referrer) argument
357 ThrowNullPointerExceptionForMethodAccess(const ThrowLocation& throw_location, mirror::ArtMethod* method, InvokeType type) argument
394 mirror::ArtMethod* method = local
[all...]
H A Dstack.h88 * @brief Base register of temporary that holds the method pointer.
133 mirror::ArtMethod* method, uint32_t dex_pc) {
135 return Create(num_vregs, link, method, dex_pc, memory);
140 mirror::ArtMethod* method, uint32_t dex_pc, void* memory) {
141 ShadowFrame* sf = new (memory) ShadowFrame(num_vregs, link, method, dex_pc, true);
317 void SetMethod(mirror::ArtMethod* method) { argument
319 DCHECK(method != nullptr);
320 method_ = method;
322 UNUSED(method);
359 ShadowFrame(uint32_t num_vregs, ShadowFrame* link, mirror::ArtMethod* method, argument
132 Create(uint32_t num_vregs, ShadowFrame* link, mirror::ArtMethod* method, uint32_t dex_pc) argument
139 Create(uint32_t num_vregs, ShadowFrame* link, mirror::ArtMethod* method, uint32_t dex_pc, void* memory) argument
[all...]
H A Dstack.cc139 UNIMPLEMENTED(ERROR) << "Failed to determine this object of abstract or proxy method: "
439 mirror::ArtMethod* method = GetMethod(); local
440 if (method != nullptr && !method->IsRuntimeMethod()) {
442 next_method_ = method;
444 return false; // End stack walk once next method is found.
480 std::string result("Visiting method '");
501 mirror::ArtMethod* method = GetMethod(); local
502 CHECK_EQ(method->GetClass(), mirror::ArtMethod::GetJavaLangReflectArtMethod());
504 method
538 mirror::ArtMethod* method = cur_quick_frame_->AsMirrorPtr(); local
[all...]
H A Druntime.h302 // Returns a special method that calls into a trampoline for runtime method resolution
309 void SetResolutionMethod(mirror::ArtMethod* method) { argument
310 resolution_method_ = GcRoot<mirror::ArtMethod>(method);
315 // Returns a special method that calls into a trampoline for runtime imt conflicts.
323 void SetImtConflictMethod(mirror::ArtMethod* method) { argument
324 imt_conflict_method_ = GcRoot<mirror::ArtMethod>(method);
326 void SetImtUnimplementedMethod(mirror::ArtMethod* method) { argument
327 imt_unimplemented_method_ = GcRoot<mirror::ArtMethod>(method);
347 // Returns a special method tha
[all...]
/art/runtime/arch/arm/
H A Dcontext_arm.cc45 mirror::ArtMethod* method = fr.GetMethod(); local
46 const QuickMethodFrameInfo frame_info = method->GetQuickFrameInfo();
/art/runtime/arch/mips/
H A Dcontext_mips.cc44 mirror::ArtMethod* method = fr.GetMethod(); local
45 const QuickMethodFrameInfo frame_info = method->GetQuickFrameInfo();
/art/compiler/dex/quick/
H A Ddex_file_method_inliner.cc408 InlineMethod method; local
409 bool success = InlineMethodAnalyser::AnalyseMethodCode(verifier, &method);
410 return success && AddInlineMethod(verifier->GetMethodReference().dex_method_index, method);
531 InlineMethod method; local
538 method = it->second;
543 switch (method.opcode) {
548 result = GenInlineConst(mir_graph, bb, invoke, move_result, method);
552 result = GenInlineReturnArg(mir_graph, bb, invoke, move_result, method);
556 result = GenInlineIGet(mir_graph, bb, invoke, move_result, method, method_idx);
560 result = GenInlineIPut(mir_graph, bb, invoke, move_result, method, method_id
696 AddInlineMethod(int32_t method_idx, const InlineMethod& method) argument
711 GenInlineConst(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke, MIR* move_result, const InlineMethod& method) argument
732 GenInlineReturnArg(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke, MIR* move_result, const InlineMethod& method) argument
770 GenInlineIGet(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke, MIR* move_result, const InlineMethod& method, uint32_t method_idx) argument
822 GenInlineIPut(MIRGraph* mir_graph, BasicBlock* bb, MIR* invoke, MIR* move_result, const InlineMethod& method, uint32_t method_idx) argument
[all...]
/art/compiler/llvm/
H A Druntime_support_builder.cc86 ::llvm::Value* method,
95 // Store the method pointer
98 method,
118 ::llvm::Value* method,
125 method,
85 EmitPushShadowFrame(::llvm::Value* new_shadow_frame, ::llvm::Value* method, uint32_t num_vregs) argument
117 EmitPushShadowFrameNoInline(::llvm::Value* new_shadow_frame, ::llvm::Value* method, uint32_t num_vregs) argument
/art/runtime/interpreter/
H A Dinterpreter.h37 extern void EnterInterpreterFromInvoke(Thread* self, mirror::ArtMethod* method,
/art/test/044-proxy/src/
H A DClash4.java72 public Object invoke(Object proxy, Method method, Object[] args) argument
/art/runtime/native/
H A Ddalvik_system_VMRuntime.cc304 mirror::ArtMethod* method = dex_cache->GetResolvedMethod(method_idx); local
305 if (method != NULL) {
317 method = klass->FindDirectMethod(dex_cache.Get(), method_idx);
320 method = klass->FindInterfaceMethod(dex_cache.Get(), method_idx);
324 method = klass->FindVirtualMethod(dex_cache.Get(), method_idx);
329 if (method == NULL) {
332 // LOG(INFO) << "VMRuntime.preloadDexCaches resolved method " << PrettyMethod(method);
333 dex_cache->SetResolvedMethod(method_idx, method);
405 mirror::ArtMethod* method local
[all...]
/art/oatdump/
H A Doatdump.cc303 // We don't know the length of the code for each method, but we need to know where to stop
340 // If the last thing in the file is code for a method, there won't be an offset for the "next"
444 // When this was picked, the largest arm method was 55,256 bytes and arm64 was 50,412 bytes.
483 "WARNING: oat method offsets offset 0x%08x is past end of file 0x%08zx.\n",
529 "WARNING: oat quick method header offset 0x%08x is past end of file 0x%08zx.\n",
1144 mirror::ArtMethod* method = value->AsArtMethod(); local
1145 os << StringPrintf("%p Method: %s\n", method, PrettyMethod(method).c_str());
1314 mirror::ArtMethod* method = obj->AsArtMethod(); local
1315 if (method
1485 ComputeOutliers(size_t total_size, double expansion, mirror::ArtMethod* method) argument
[all...]
/art/runtime/arch/arm64/
H A Dcontext_arm64.cc48 mirror::ArtMethod* method = fr.GetMethod(); local
49 const QuickMethodFrameInfo frame_info = method->GetQuickFrameInfo();
/art/runtime/arch/x86_64/
H A Dcontext_x86_64.cc43 mirror::ArtMethod* method = fr.GetMethod(); local
44 const QuickMethodFrameInfo frame_info = method->GetQuickFrameInfo();

Completed in 2828 milliseconds

12345