Searched refs:method (Results 76 - 100 of 116) sorted by relevance

12345

/art/compiler/
H A Dcompilers.h44 uintptr_t GetEntryPointOf(mirror::ArtMethod* method) const OVERRIDE
H A Dimage_writer.h83 kBinArtMethodNative, // Art method that is actually native
84 kBinArtMethodNotInitialized, // Art method with a declaring class that wasn't initialized
225 // Get quick code for non-resolution/imt_conflict/abstract method.
226 const byte* GetQuickCode(mirror::ArtMethod* method, bool* quick_is_interpreted)
229 const byte* GetQuickEntryPoint(mirror::ArtMethod* method)
/art/test/031-class-attributes/src/
H A DClassAttrs.java125 System.out.println("method signature: "
219 Method method;
222 method = c.getDeclaredMethod("getSignature", java.lang.reflect.AnnotatedElement.class);
223 method.setAccessible(true);
230 return (String) method.invoke(null, obj);
/art/test/115-native-bridge/
H A Dnativebridge.cc256 NativeBridgeMethod* method = find_native_bridge_method(name); local
257 if (method == nullptr)
259 method->fnPtr = sym;
261 return method->trampoline;
/art/runtime/
H A Dcommon_throws.h36 void ThrowAbstractMethodError(mirror::ArtMethod* method)
108 mirror::ArtMethod* method, mirror::ArtMethod* referrer)
175 mirror::ArtMethod* method,
H A Ddex_file.cc528 const DexFile::MethodId& method = GetMethodId(mid); local
529 if (class_idx > method.class_idx_) {
531 } else if (class_idx < method.class_idx_) {
534 if (name_idx > method.name_idx_) {
536 } else if (name_idx < method.name_idx_) {
539 if (proto_idx > method.proto_idx_) {
541 } else if (proto_idx < method.proto_idx_) {
544 return &method;
711 int32_t DexFile::GetLineNumFromPC(mirror::ArtMethod* method, uint32_t rel_pc) const { argument
712 // For native method, linen
[all...]
H A Dclass_linker_test.cc161 void AssertMethod(mirror::ArtMethod* method) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
162 EXPECT_TRUE(method != nullptr);
163 EXPECT_TRUE(method->GetClass() != nullptr);
164 EXPECT_TRUE(method->GetName() != nullptr);
165 EXPECT_TRUE(method->GetSignature() != Signature::NoSignature());
167 EXPECT_TRUE(method->HasDexCacheResolvedMethods());
168 EXPECT_TRUE(method->HasDexCacheResolvedTypes());
169 EXPECT_TRUE(method->HasSameDexCacheResolvedMethods(
170 method->GetDeclaringClass()->GetDexCache()->GetResolvedMethods()));
171 EXPECT_TRUE(method
252 mirror::ArtMethod* method = klass->GetDirectMethod(i); local
259 mirror::ArtMethod* method = klass->GetVirtualMethod(i); local
[all...]
H A Dreflection.h70 jobject InvokeMethod(const ScopedObjectAccessAlreadyRunnable& soa, jobject method, jobject receiver,
H A Ddebugger.cc80 mirror::ArtMethod* method = Method(); local
81 DCHECK(method != nullptr);
82 return method->GetLineNumFromDexPC(DexPc());
181 AllocRecordStackTraceElement stack_[kMaxAllocRecordStackDepth]; // Unused entries have NULL method.
186 Breakpoint(mirror::ArtMethod* method, uint32_t dex_pc,
194 method_ = soa.EncodeMethod(method);
237 void MethodEntered(Thread* thread, mirror::Object* this_object, mirror::ArtMethod* method,
240 if (method->IsNative()) {
241 // TODO: post location events is a suspension point and native method entry stubs aren't.
244 Dbg::UpdateDebugger(thread, this_object, method,
1702 mirror::ArtMethod* method; member in struct:art::DebugCallbackContext
[all...]
H A Dfault_handler.cc230 // Get the architecture specific method address and return address. These
234 // If we don't have a potential method, we're outta here.
235 VLOG(signals) << "potential method: " << method_obj;
237 VLOG(signals) << "no method";
241 // Verify that the potential method is indeed a method.
263 VLOG(signals) << "not a method";
267 // We can be certain that this is a method now. Check if we have a GC map
322 mirror::ArtMethod* method = nullptr; local
371 manager_->GetMethodAndReturnPcAndSp(siginfo, context, &method,
[all...]
H A Doat_file.cc327 " method offsets", GetLocation().c_str(), i,
595 void OatFile::OatMethod::LinkMethod(mirror::ArtMethod* method) const {
596 CHECK(method != NULL);
598 method->SetEntryPointFromPortableCompiledCode(GetPortableCode());
600 method->SetEntryPointFromQuickCompiledCode(GetQuickCode());
H A Dproxy_test.cc50 // Builds the method array.
62 // Fill the method array
87 mirror::ArtMethod* method = virtual_methods->Get(mth_index); local
89 soa.AddLocalReference<jobject>(method));
H A Dclass_linker.h172 // Resolve a method with a given ID from the DexFile, storing the
174 // in ResolveType. What is unique is the method type argument which
175 // is used to determine if this method is a direct, static, or
176 // virtual method.
219 // Get shorty from method index without resolution. Used to do handlerization.
346 // Get the oat code for a method when its class isn't yet initialized
347 const void* GetQuickOatCodeFor(mirror::ArtMethod* method)
350 const void* GetPortableOatCodeFor(mirror::ArtMethod* method, bool* have_portable_code)
354 // Get the oat code for a method from a method inde
[all...]
H A Ddebugger.h59 receiver(NULL), thread(NULL), klass(NULL), method(NULL),
76 mirror::ArtMethod* method; member in struct:art::DebugInvokeReq
87 /* condition variable to wait on while the method executes */
104 method(nullptr), stack_depth(0) {
115 // A single-step is initiated in a suspended thread. We save here the current method and the
118 // causes the execution of an instruction in a different method or at a different line number.
119 mirror::ArtMethod* method; member in struct:art::SingleStepControl
146 kSelectiveDeoptimization, // deoptimize one method.
147 kSelectiveUndeoptimization // undeoptimize one method.
155 // Create a new JNI global reference for the method
[all...]
H A Ddex_file_verifier.cc113 // Helper macro to load method id. Return last parameter on error.
120 // Helper macro to load method id. Return last parameter on error.
280 CheckValidOffsetAndSize(header_->method_ids_off_, header_->method_ids_size_, "method-ids") &&
479 ErrorStringPrintf("Direct/virtual method not in expected list");
487 ErrorStringPrintf("Bad class_data_item method access_flags %x", access_flags);
492 ErrorStringPrintf("Unexpected zero value for class_data_item method code_off with access "
496 ErrorStringPrintf("Unexpected non-zero value %x for class_data_item method code_off"
594 ErrorStringPrintf("Bad encoded_value method size %x", value_arg);
598 if (!CheckIndex(idx, header_->method_ids_size_, "encoded_value method")) {
731 * short forms of method invocatio
[all...]
/art/runtime/verifier/
H A Dmethod_verifier.h49 * method determines which list we search, and whether we travel up into superclasses.
89 * (e.g. VERIFY_ERROR_ACCESS_CLASS could come from a method, field, or class reference).
156 mirror::ArtMethod* method,
184 // to the locks held at 'dex_pc' in method 'm'.
190 // offset at 'dex_pc' in method 'm'.
194 // Returns the invoked method corresponding to the quick instruction's vtable
195 // index at 'dex_pc' in method 'm'.
208 const DexFile::CodeItem* code_item, uint32_t method_idx, mirror::ArtMethod* method,
211 : MethodVerifier(dex_file, dex_cache, class_loader, class_def, code_item, method_idx, method,
217 // Run verification on the method
[all...]
/art/compiler/driver/
H A Dcompiler_driver.cc133 oss2 << static_cast<InvokeType>(i) << " method calls are direct into boot";
140 oss2 << static_cast<InvokeType>(i) << " method calls have methods in boot";
216 // Indicate that a method of the given type was resolved at compile time.
223 // Indicate that a method of the given type was unresolved at compile time as it was in an
231 // Indicate that a type of virtual method dispatch has been converted into a direct method
239 // Indicate that a method of the given type was able to call directly into boot.
246 // Indicate that a method of the given type was able to be resolved directly from boot.
352 compiled_methods_lock_("compiled method lock"),
549 void CompilerDriver::CompileOne(mirror::ArtMethod* method, TimingLogge argument
1156 GetCodeAndMethodForDirectCall(InvokeType* type, InvokeType sharp_type, bool no_guarantee_of_dex_cache_entry, const mirror::Class* referrer_class, mirror::ArtMethod* method, int* stats_flags, MethodReference* target_method, uintptr_t* direct_code, uintptr_t* direct_method) argument
1674 mirror::ArtMethod* method = class_linker->ResolveMethod(dex_file, it.GetMemberIndex(), local
1684 mirror::ArtMethod* method = class_linker->ResolveMethod(dex_file, it.GetMemberIndex(), local
[all...]
/art/runtime/arch/mips/
H A Dquick_entrypoints_mips.S154 * callee-save: $a1-$a3, $s2-$s8 + $gp + $ra, 12 total + 3 words padding + method*
428 * of the target Method* in $v0 and method->code_ in $v1.
474 * a0 = method pointer
498 addiu $t0, $a2, 16 # create space for method pointer in frame
502 addiu $a0, $sp, 4 # pass stack pointer + method ptr as dest for memcpy
506 lw $a0, 16($fp) # restore method*
511 jalr $t9 # call the method
512 sw $zero, 0($sp) # store NULL for method* at bottom of frame
912 * exception on error. On success the String is returned. R0 holds the referring method,
976 * Called by managed code that is attempting to call a method o
[all...]
/art/runtime/quick/
H A Dinline_method_analyser.h28 * only to allow the debugger to check whether a method has been inlined.
116 uint16_t return_arg_plus1 : 4; // iput only, method argument to return + 1, 0 = return void.
145 * Analyse method code to determine if the method is a candidate for inlining.
148 * @param verifier the method verifier holding data about the method to analyse.
149 * @param method placeholder for the inline method data.
150 * @return true if the method is a candidate for inlining, false otherwise.
152 static bool AnalyseMethodCode(verifier::MethodVerifier* verifier, InlineMethod* method)
[all...]
/art/runtime/jdwp/
H A Djdwp_event.cc645 * Determine if there is a method invocation in progress in the current
649 * state. If set, we're in the process of invoking a method.
810 Dbg::SetJdwpLocation(jdwp_location, event_location->method, event_location->dex_pc);
828 * - Put a breakpoint on a native method. Eclipse creates METHOD_ENTRY
829 * and METHOD_EXIT events with a ClassOnly mod on the method's class.
837 DCHECK(pLoc->method != nullptr);
838 DCHECK_EQ(pLoc->method->IsStatic(), thisPtr == nullptr);
842 basket.locationClass = pLoc->method->GetDeclaringClass();
860 * complex objects. We want to ignore breakpoints and method entry/exit
865 * method invocatio
[all...]
/art/runtime/arch/arm/
H A Dquick_entrypoints_arm.S246 * of the target Method* in r0 and method->code_ in r1.
287 * r0 = method pointer
311 add r5, r2, #4 @ create space for method pointer in frame
317 add r0, sp, #4 @ pass stack pointer + method ptr as dest for memcpy
319 ldr r0, [r11] @ restore method*
324 str ip, [sp] @ store NULL for method* at bottom of frame
326 blx ip @ call the method
860 * exception on error. On success the String is returned. R0 holds the referring method,
883 bl \entrypoint @ (uint32_t type_idx, Method* method, Thread*, SP)
900 @ (uint32_t type_idx, Method* method, int32_
[all...]
/art/test/046-reflect/src/
H A DMain.java92 System.err.println("succeeded on package-scope method");
104 System.err.println("inner-method invoke unexpectedly worked");
159 System.out.println("Calling no-arg void-return method");
163 /* try invoking a method that throws an exception */
474 Method method = niuClass.getMethod("staticMethod", (Class[]) null);
475 System.out.println("got method");
476 method.invoke(null);
477 System.out.println("invoked method");
502 Method method;
504 method
[all...]
/art/runtime/mirror/
H A Dart_method.cc56 mirror::ArtMethod* method = f->GetObject(soa.Decode<mirror::Object*>(jlr_method))->AsArtMethod(); local
57 DCHECK(method != nullptr);
58 return method;
112 // Did this method override a super class method? If so load the result from the super class'
117 // Method didn't override superclass method so search interfaces
H A Dclass.h87 // Interface method table size. Increasing this value reduces the chance of two interface methods
88 // colliding in the interface method table but increases the size of classes that implement
94 HeapReference<ArtMethod> method; member in struct:art::mirror::FINAL::ImTableEntry
99 HeapReference<ArtMethod> method; member in struct:art::mirror::FINAL::VTableEntry
544 // method has been exposed by a public sub-class
579 // Can this class access a resolved method?
718 void SetEmbeddedImTableEntry(uint32_t i, ArtMethod* method) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
730 void SetEmbeddedVTableEntry(uint32_t i, ArtMethod* method) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
735 // Given a method implemented by this class but potentially from a super class, return the
736 // specific implementation method fo
[all...]
/art/test/044-proxy/src/
H A DReturnsAndArgPassing.java56 public Object invoke(Object proxy, Method method, Object[] args) { argument
58 check(method.getDeclaringClass() == MyInterface.class);
59 String name = method.getName();

Completed in 515 milliseconds

12345