Home
last modified time | relevance | path

Searched refs:context (Results 1 – 25 of 65) sorted by relevance

123

/art/test/636-arm64-veneer-pool/src/
DMain.java1274 public void configure(Context context, Class<?> cls, Binder binder) { in configure() argument
1282 C0.m(context, binder); in configure()
1285 C1.m(context, binder); in configure()
1288 C2.m(context, binder); in configure()
1291 C3.m(context, binder); in configure()
1294 C4.m(context, binder); in configure()
1297 C5.m(context, binder); in configure()
1300 C6.m(context, binder); in configure()
1301 C7.m(context, binder); in configure()
1302 C8.m(context, binder); in configure()
[all …]
/art/runtime/
Druntime_common.cc135 : context(reinterpret_cast<ucontext_t*>(raw_context)->uc_mcontext) {} in UContext()
147 mcontext_t& context; member
152 DumpRegister32(os, "eax", context->__ss.__eax); in Dump()
153 DumpRegister32(os, "ebx", context->__ss.__ebx); in Dump()
154 DumpRegister32(os, "ecx", context->__ss.__ecx); in Dump()
155 DumpRegister32(os, "edx", context->__ss.__edx); in Dump()
158 DumpRegister32(os, "edi", context->__ss.__edi); in Dump()
159 DumpRegister32(os, "esi", context->__ss.__esi); in Dump()
160 DumpRegister32(os, "ebp", context->__ss.__ebp); in Dump()
161 DumpRegister32(os, "esp", context->__ss.__esp); in Dump()
[all …]
Dclass_loader_context_test.cc45 void VerifyContextSize(ClassLoaderContext* context, size_t expected_size) { in VerifyContextSize() argument
46 ASSERT_TRUE(context != nullptr); in VerifyContextSize()
47 ASSERT_EQ(expected_size, context->GetParentChainSize()); in VerifyContextSize()
50 void VerifyClassLoaderPCL(ClassLoaderContext* context, in VerifyClassLoaderPCL() argument
54 context, index, ClassLoaderContext::kPathClassLoader, classpath); in VerifyClassLoaderPCL()
57 void VerifyClassLoaderDLC(ClassLoaderContext* context, in VerifyClassLoaderDLC() argument
61 context, index, ClassLoaderContext::kDelegateLastClassLoader, classpath); in VerifyClassLoaderDLC()
64 void VerifyClassLoaderIMC(ClassLoaderContext* context, in VerifyClassLoaderIMC() argument
68 context, index, ClassLoaderContext::kInMemoryDexClassLoader, classpath); in VerifyClassLoaderIMC()
71 void VerifyClassLoaderSharedLibraryPCL(ClassLoaderContext* context, in VerifyClassLoaderSharedLibraryPCL() argument
[all …]
Dfault_handler.h48 bool HandleFault(int sig, siginfo_t* info, void* context);
59 void* context,
65 bool IsInGeneratedCode(siginfo_t* siginfo, void *context, bool check_dex_pc)
70 bool HandleFaultByOtherHandlers(int sig, siginfo_t* info, void* context)
88 virtual bool Action(int sig, siginfo_t* siginfo, void* context) = 0;
101 bool Action(int sig, siginfo_t* siginfo, void* context) override;
119 bool Action(int sig, siginfo_t* siginfo, void* context) override;
129 bool Action(int sig, siginfo_t* siginfo, void* context) override;
139 bool Action(int sig, siginfo_t* siginfo, void* context) override NO_THREAD_SAFETY_ANALYSIS;
Dfault_handler.cc47 static bool art_fault_handler(int sig, siginfo_t* info, void* context) { in art_fault_handler() argument
48 return fault_manager.HandleFault(sig, info, context); in art_fault_handler()
170 bool FaultManager::HandleFaultByOtherHandlers(int sig, siginfo_t* info, void* context) { in HandleFaultByOtherHandlers() argument
181 if (handler->Action(sig, info, context)) { in HandleFaultByOtherHandlers()
209 bool FaultManager::HandleFault(int sig, siginfo_t* info, void* context) { in HandleFault() argument
219 if (IsInGeneratedCode(info, context, true)) { in HandleFault()
223 if (handler->Action(sig, info, context)) { in HandleFault()
234 if (HandleFaultByOtherHandlers(sig, info, context)) { in HandleFault()
268 bool FaultManager::IsInGeneratedCode(siginfo_t* siginfo, void* context, bool check_dex_pc) { in IsInGeneratedCode() argument
298 GetMethodAndReturnPcAndSp(siginfo, context, &method_obj, &return_pc, &sp, &is_stack_overflow); in IsInGeneratedCode()
[all …]
Dmonitor_objects_stack_visitor.h40 Context* context,
45 context, in REQUIRES_SHARED()
79 static void VisitLockedObject(ObjPtr<mirror::Object> o, void* context)
Doat_file.cc1146 } context; in PreLoad()
1148 dl_iterate_phdr(dl_iterate_context::callback, &context); in PreLoad()
1149 shared_objects_before_ = context.count; in PreLoad()
1264 auto* context = reinterpret_cast<dl_iterate_context*>(data); in Dlopen()
1269 uint8_t* reservation_begin = context->reservation->Begin(); in Dlopen()
1277 if (offset < context->reservation->Size()) { in Dlopen()
1279 DCHECK_LE(memsz, context->reservation->Size() - offset); in Dlopen()
1295 DCHECK_LT(offset, context->reservation->Size()); in Dlopen()
1296 DCHECK_LE(memsz, context->reservation->Size() - offset); in Dlopen()
1297 context->max_size = std::max(context->max_size, offset + memsz); in Dlopen()
[all …]
Dmonitor_objects_stack_visitor.cc90 void MonitorObjectsStackVisitor::VisitLockedObject(ObjPtr<mirror::Object> o, void* context) { in VisitLockedObject() argument
91 MonitorObjectsStackVisitor* self = reinterpret_cast<MonitorObjectsStackVisitor*>(context); in VisitLockedObject()
Dstack.h125 Context* context,
153 Context* context,
162 Context* context, in REQUIRES_SHARED()
165 : StackVisitor(thread, context, walk_kind, check_suspended), fn_(fn) {} in REQUIRES_SHARED()
174 LambdaStackVisitor visitor(fn, thread, context, walk_kind, check_suspended); in REQUIRES_SHARED()
301 Context* context,
/art/test/167-visit-locks/
Dvisit_locks.cc42 VisitLocks(Thread* thread, Context* context) in Java_Main_testVisitLocks() argument
43 : StackVisitor(thread, context, StackWalkKind::kIncludeInlinedFrames) { in Java_Main_testVisitLocks()
69 Context* context = Context::Create(); in Java_Main_testVisitLocks() local
70 VisitLocks vl(soa.Self(), context); in Java_Main_testVisitLocks()
72 delete context; in Java_Main_testVisitLocks()
/art/runtime/arch/arm64/
Dfault_handler_arm64.cc42 void* context, in GetMethodAndReturnPcAndSp() argument
47 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); in GetMethodAndReturnPcAndSp()
77 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() argument
85 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action()
107 void* context) { in Action() argument
114 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); in Action()
159 void* context) { in Action() argument
160 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); in Action()
/art/runtime/arch/arm/
Dfault_handler_arm.cc49 void* context, in GetMethodAndReturnPcAndSp() argument
54 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in GetMethodAndReturnPcAndSp()
96 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() argument
107 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action()
136 void* context) { in Action() argument
143 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in Action()
207 void* context) { in Action() argument
208 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in Action()
/art/test/004-SignalTest/
Dsignaltest.cc63 void* context) { in signalhandler() argument
80 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in signalhandler()
84 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in signalhandler()
88 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in signalhandler()
91 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in signalhandler()
94 UNUSED(context); in signalhandler()
/art/test/466-get-live-vreg/
Dget_live_vreg_jni.cc32 TestVisitor(Thread* thread, Context* context) REQUIRES_SHARED(Locks::mutator_lock_) in TestVisitor() argument
33 : StackVisitor(thread, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames) {} in TestVisitor()
82 std::unique_ptr<Context> context(Context::Create()); in Java_Main_doStaticNativeCallLiveVreg() local
83 TestVisitor visitor(soa.Self(), context.get()); in Java_Main_doStaticNativeCallLiveVreg()
/art/test/457-regs/
Dregs_jni.cc31 TestVisitor(Thread* thread, Context* context) in TestVisitor() argument
33 : StackVisitor(thread, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames) {} in TestVisitor()
132 std::unique_ptr<Context> context(Context::Create()); in Java_PhiLiveness_regsNativeCall() local
133 TestVisitor visitor(soa.Self(), context.get()); in Java_PhiLiveness_regsNativeCall()
141 std::unique_ptr<Context> context(Context::Create()); in Java_PhiLiveness_regsNativeCallWithParameters() local
146 TestVisitor visitor(soa.Self(), context.get()); in Java_PhiLiveness_regsNativeCallWithParameters()
/art/runtime/gc/space/
Dzygote_space.cc120 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); in SweepCallback() local
121 DCHECK(context->space->IsZygoteSpace()); in SweepCallback()
122 ZygoteSpace* zygote_space = context->space->AsZygoteSpace(); in SweepCallback()
123 Locks::heap_bitmap_lock_->AssertExclusiveHeld(context->self); in SweepCallback()
127 if (!context->swap_bitmaps) { in SweepCallback()
Dmalloc_space.cc260 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); in SweepCallback() local
261 space::MallocSpace* space = context->space->AsMallocSpace(); in SweepCallback()
262 Thread* self = context->self; in SweepCallback()
266 if (!context->swap_bitmaps) { in SweepCallback()
275 context->freed.objects += num_ptrs; in SweepCallback()
276 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs); in SweepCallback()
/art/runtime/arch/x86/
Dfault_handler_x86.cc280 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, in GetMethodAndReturnPcAndSp() argument
285 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in GetMethodAndReturnPcAndSp()
328 bool NullPointerHandler::Action(int, siginfo_t* sig, void* context) { in Action() argument
332 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action()
373 bool SuspensionHandler::Action(int, siginfo_t*, void* context) { in Action() argument
388 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action()
443 bool StackOverflowHandler::Action(int, siginfo_t* info, void* context) { in Action() argument
444 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action()
/art/compiler/optimizing/
Dinduction_var_range.h67 bool GetInductionRange(HInstruction* context,
80 bool CanGenerateRange(HInstruction* context,
100 void GenerateRange(HInstruction* context,
113 HInstruction* GenerateTakenTest(HInstruction* context, HGraph* graph, HBasicBlock* block);
180 bool IsUnitStride(HInstruction* context,
219 bool HasInductionInfo(HInstruction* context,
289 bool GenerateRangeOrLastValue(HInstruction* context,
/art/test/454-get-vreg/
Dget_vreg_jni.cc31 TestVisitor(Thread* thread, Context* context, mirror::Object* this_value) in TestVisitor() argument
33 : StackVisitor(thread, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames), in TestVisitor()
125 std::unique_ptr<Context> context(Context::Create()); in Java_Main_doNativeCall() local
126 TestVisitor visitor(soa.Self(), context.get(), soa.Decode<mirror::Object>(value).Ptr()); in Java_Main_doNativeCall()
/art/test/543-env-long-ref/
Denv_long_ref.cc28 std::unique_ptr<Context> context(Context::Create()); in Java_Main_lookForMyRegisters() local
50 context.get(), in Java_Main_lookForMyRegisters()
/art/runtime/native/
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc92 static void ThreadCountCallback(Thread*, void* context) { in ThreadCountCallback() argument
93 uint16_t& count = *reinterpret_cast<uint16_t*>(context); in ThreadCountCallback()
151 static void ThreadStatsGetterCallback(Thread* t, void* context) { in ThreadStatsGetterCallback() argument
179 std::vector<uint8_t>& bytes = *reinterpret_cast<std::vector<uint8_t>*>(context); in ThreadStatsGetterCallback()
Ddalvik_system_BaseDexClassLoader.cc53 const std::string& context = classpath_to_context.second; in BaseDexClassLoader_computeClassLoaderContextsNative() local
54 if (!append_string(env, result, i, classpath) || !append_string(env, result, i, context)) { in BaseDexClassLoader_computeClassLoaderContextsNative()
/art/test/597-app-images-same-classloader/
Drun18 exec ${RUN} --profile --secondary-class-loader-context "PCL[$DEX_LOCATION/$TEST_NAME.jar]" $@
/art/test/115-native-bridge/
Dnativebridge.cc190 void* context ATTRIBUTE_UNUSED) { in test_sigaction_handler()
557 void* context) { in StandardSignalHandler() argument
560 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in StandardSignalHandler()
564 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in StandardSignalHandler()
568 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in StandardSignalHandler()
571 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in StandardSignalHandler()
574 UNUSED(context); in StandardSignalHandler()
584 static bool nb_signalhandler(int sig, siginfo_t* info, void* context) { in nb_signalhandler() argument
588 return StandardSignalHandler(sig, info, context); in nb_signalhandler()

123