Home
last modified time | relevance | path

Searched refs:caller (Results 1 – 25 of 61) sorted by relevance

123

/art/runtime/entrypoints/quick/
Dquick_dexcache_entrypoints.cc83 static inline void StoreTypeInBss(ArtMethod* caller, in StoreTypeInBss() argument
87 const DexFile* dex_file = caller->GetDexFile(); in StoreTypeInBss()
130 if (resolved_type->IsPublic() || resolved_type->GetClassLoader() == caller->GetClassLoader()) { in StoreTypeInBss()
135 static inline void StoreStringInBss(ArtMethod* caller, in StoreStringInBss() argument
139 const DexFile* dex_file = caller->GetDexFile(); in StoreStringInBss()
172 static inline void StoreMethodTypeInBss(ArtMethod* caller, in StoreMethodTypeInBss() argument
177 const DexFile* dex_file = caller->GetDexFile(); in StoreMethodTypeInBss()
234 ArtMethod* caller = caller_and_outer.caller; in artResolveTypeFromCode() local
236 caller, in artResolveTypeFromCode()
242 StoreTypeInBss(caller, dex::TypeIndex(type_idx), result, outer_method); in artResolveTypeFromCode()
[all …]
Dquick_throw_entrypoints.cc122 DCHECK(visitor.caller != nullptr); in artThrowClassCastException()
124 CodeItemDataAccessor accessor(*visitor.caller->GetDexFile(), visitor.caller->GetCodeItem()); in artThrowClassCastException()
129 dest_type = linker->LookupResolvedType(type_index, visitor.caller).Ptr(); in artThrowClassCastException()
131 << visitor.caller->GetDexFile()->PrettyType(type_index); in artThrowClassCastException()
/art/test/526-checker-caller-callee-regs/
DAndroid.bp3 // Build rules for ART run-test `526-checker-caller-callee-regs`.
16 name: "art-run-test-526-checker-caller-callee-regs",
21 ":art-run-test-526-checker-caller-callee-regs-expected-stdout",
22 ":art-run-test-526-checker-caller-callee-regs-expected-stderr",
31 name: "art-run-test-526-checker-caller-callee-regs-expected-stdout",
32 out: ["art-run-test-526-checker-caller-callee-regs-expected-stdout.txt"],
39 name: "art-run-test-526-checker-caller-callee-regs-expected-stderr",
40 out: ["art-run-test-526-checker-caller-callee-regs-expected-stderr.txt"],
Dinfo.txt1 Test allocation of caller and callee saved registers.
/art/test/common/
Dstack_inspect.cc48 NthCallerVisitor caller(soa.Self(), level, false); in IsInterpreted() local
49 caller.WalkStack(); in IsInterpreted()
50 CHECK(caller.caller != nullptr); in IsInterpreted()
51 bool is_shadow_frame = (caller.GetCurrentShadowFrame() != nullptr); in IsInterpreted()
52 bool is_nterp_frame = (caller.GetCurrentQuickFrame() != nullptr) && in IsInterpreted()
53 (caller.GetCurrentOatQuickMethodHeader()->IsNterpMethodHeader()); in IsInterpreted()
141 NthCallerVisitor caller(soa.Self(), level, false); in IsManaged() local
142 caller.WalkStack(); in IsManaged()
143 CHECK(caller.caller != nullptr); in IsManaged()
144 return caller.GetCurrentShadowFrame() != nullptr ? JNI_FALSE : JNI_TRUE; in IsManaged()
/art/runtime/interpreter/mterp/
Dnterp.cc255 extern "C" const char* NterpGetShortyFromMethodId(ArtMethod* caller, uint32_t method_index) in NterpGetShortyFromMethodId() argument
258 return caller->GetDexFile()->GetMethodShorty(method_index); in NterpGetShortyFromMethodId()
261 extern "C" const char* NterpGetShortyFromInvokePolymorphic(ArtMethod* caller, uint16_t* dex_pc_ptr) in NterpGetShortyFromInvokePolymorphic() argument
268 return caller->GetDexFile()->GetShorty(proto_idx); in NterpGetShortyFromInvokePolymorphic()
271 extern "C" const char* NterpGetShortyFromInvokeCustom(ArtMethod* caller, uint16_t* dex_pc_ptr) in NterpGetShortyFromInvokeCustom() argument
278 const DexFile* dex_file = caller->GetDexFile(); in NterpGetShortyFromInvokeCustom()
320 extern "C" size_t NterpGetMethod(Thread* self, ArtMethod* caller, const uint16_t* dex_pc_ptr) in NterpGetMethod() argument
322 UpdateHotness(caller); in NterpGetMethod()
336 ArtMethod* resolved_method = caller->SkipAccessChecks() in NterpGetMethod()
338 self, method_index, caller, invoke_type) in NterpGetMethod()
[all …]
/art/test/179-nonvirtual-jni/
Dexpected-stdout.txt2 Call lookup: Base, caller: Base, Obj: Base
4 Call lookup: Base, caller: Base, Obj: Ext
6 Call lookup: Base, caller: Ext, Obj: Ext
8 Call lookup: Ext, caller: Ext, Obj: Ext
Dnonvirtual-call.cc26 JNIEnv* env, jclass, jclass lookup, jclass caller, jobject recv) { in Java_Main_callSayHiMethodNonvirtualWith() argument
28 env->CallNonvirtualVoidMethod(recv, caller, meth); in Java_Main_callSayHiMethodNonvirtualWith()
/art/runtime/
Dnth_caller_visitor.h35 caller(nullptr), in StackVisitor()
48 DCHECK(caller == nullptr); in VisitFrame()
50 caller = m; in VisitFrame()
62 ArtMethod* caller; member
Dhidden_api.cc176 caller(nullptr) {} in GetReflectionCallerAccessContext()
182 caller = nullptr; in GetReflectionCallerAccessContext()
224 caller = m; in GetReflectionCallerAccessContext()
228 ArtMethod* caller; in GetReflectionCallerAccessContext() member
237 ObjPtr<mirror::Class> caller = in GetReflectionCallerAccessContext() local
238 (visitor.caller == nullptr) ? nullptr : visitor.caller->GetDeclaringClass(); in GetReflectionCallerAccessContext()
239 return caller.IsNull() ? AccessContext(/* is_trusted= */ true) : AccessContext(caller); in GetReflectionCallerAccessContext()
/art/test/1964-add-to-dex-classloader-file/src-ex/foobar/
DNewClass.java28 StackTrace.StackFrameData caller = null; in sayHi() local
35 caller = sfd; in sayHi()
40 if (NewClass.class.getClassLoader() != caller.method.getDeclaringClass().getClassLoader()) { in sayHi()
/art/libartbase/base/
Dflags.h97 static void ReloadAllFlags(const std::string& caller) { in ReloadAllFlags() argument
101 DCHECK(caller == "Init" in ReloadAllFlags()
102 || caller == "ZygoteHooks_nativePostForkChild" in ReloadAllFlags()
103 || caller == "ZygoteHooks_nativePostForkSystemServer" in ReloadAllFlags()
104 || caller == "test") << caller; in ReloadAllFlags()
110 VLOG_STREAM(startup) << "Dumping flags for " << caller; in ReloadAllFlags()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h380 ArtMethod* caller, in ResolveFieldWithAccessChecks() argument
385 if (caller->SkipAccessChecks()) { in ResolveFieldWithAccessChecks()
386 return class_linker->ResolveField(field_index, caller, is_static); in ResolveFieldWithAccessChecks()
389 caller = caller->GetInterfaceMethodIfProxy(class_linker->GetImagePointerSize()); in ResolveFieldWithAccessChecks()
392 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(caller->GetDexCache())); in ResolveFieldWithAccessChecks()
393 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(caller->GetClassLoader())); in ResolveFieldWithAccessChecks()
404 ThrowIncompatibleClassChangeErrorField(resolved_field, is_static, caller); in ResolveFieldWithAccessChecks()
407 ObjPtr<mirror::Class> referring_class = caller->GetDeclaringClass(); in ResolveFieldWithAccessChecks()
410 caller->GetDexCache(), in ResolveFieldWithAccessChecks()
415 if (UNLIKELY(is_put && !resolved_field->CanBeChangedBy(caller))) { in ResolveFieldWithAccessChecks()
[all …]
Dentrypoint_utils.cc217 ArtMethod* caller = outer_method; in DoGetCalleeSaveMethodCallerAndDexPc() local
229 caller = GetResolvedMethod(outer_method, code_info, inline_infos); in DoGetCalleeSaveMethodCallerAndDexPc()
246 CHECK_EQ(caller, visitor.caller); in DoGetCalleeSaveMethodCallerAndDexPc()
248 return caller; in DoGetCalleeSaveMethodCallerAndDexPc()
260 ArtMethod* caller = DoGetCalleeSaveMethodCallerAndDexPc(sp, in GetCalleeSaveMethodCallerAndDexPc() local
266 return caller; in GetCalleeSaveMethodCallerAndDexPc()
277 result.caller = DoGetCalleeSaveMethodCallerAndDexPc(sp, in GetCalleeSaveMethodCallerAndOuterMethod()
/art/runtime/native/
Djava_lang_reflect_Constructor.cc78 ObjPtr<mirror::Class> caller = GetCallingClass(soa.Self(), 2); in Constructor_newInstance0() local
81 if (caller != nullptr && !caller->CanAccess(c.Get())) { in Constructor_newInstance0()
91 caller->PrettyClass().c_str()); in Constructor_newInstance0()
Ddalvik_system_VMStack.cc95 if (UNLIKELY(visitor.caller == nullptr)) { in VMStack_getCallingClassLoader()
99 return soa.AddLocalReference<jobject>(visitor.caller->GetDeclaringClass()->GetClassLoader()); in VMStack_getCallingClassLoader()
135 if (UNLIKELY(visitor.caller == nullptr)) { in VMStack_getStackClass2()
139 return soa.AddLocalReference<jclass>(visitor.caller->GetDeclaringClass()); in VMStack_getStackClass2()
/art/runtime/entrypoints/jni/
Djni_entrypoints.cc38 static inline uint32_t GetInvokeStaticMethodIndex(ArtMethod* caller, uint32_t dex_pc) in GetInvokeStaticMethodIndex() argument
41 const Instruction& instruction = caller->DexInstructions().InstructionAt(dex_pc); in GetInvokeStaticMethodIndex()
171 ArtMethod* caller = in artCriticalNativeFrameSize() local
176 const DexFile* dex_file = caller->GetDexFile(); in artCriticalNativeFrameSize()
177 uint32_t method_idx = GetInvokeStaticMethodIndex(caller, dex_pc); in artCriticalNativeFrameSize()
/art/test/952-invoke-custom/src/
DTestLinkerMethodWithRange.java78 MethodHandles.Lookup caller, in primLinkerMethod() argument
104 caller.findStatic(TestLinkerMethodWithRange.class, name, methodType); in primLinkerMethod()
150 MethodHandles.Lookup caller, String name, MethodType methodType) throws Throwable { in refLinkerMethod() argument
153 caller.findStatic(TestLinkerMethodWithRange.class, name, methodType); in refLinkerMethod()
DTestLinkerMethodMinimalArguments.java60 MethodHandles.Lookup caller, String name, MethodType methodType) throws Throwable { in linkerMethod() argument
63 caller.findStatic(TestLinkerMethodMinimalArguments.class, name, methodType); in linkerMethod()
DTestLinkerMethodMultipleArgumentTypes.java79 MethodHandles.Lookup caller, in linkerMethod() argument
105 caller.findStatic(TestLinkerMethodMultipleArgumentTypes.class, name, methodType); in linkerMethod()
/art/test/844-exception/
Dinfo.txt2 frame to be the caller.
/art/test/475-regression-inliner-ids/
Dinfo.txt2 instruction IDs in the caller graph.
/art/test/2251-checker-irreducible-loop-do-not-inline/
Dinfo.txt3 chain if the caller has irreducible loops.
/art/test/642-fp-callees/src/
DMain.java24 public static void caller(int a, int b, long c) { in caller() method in Main
/art/test/
Drun-test83 caller = getframeinfo(currentframe().f_back) # type: ignore
84 source = "{}:{}".format(Path(caller.filename).name, caller.lineno)
125 def fail(message: str, caller:Optional[FrameInfo]=None):
126 caller = caller or getframeinfo(currentframe().f_back) # type: ignore
127 assert caller
128 source = "{}:{}".format(Path(caller.filename).name, caller.lineno)

123