Home
last modified time | relevance | path

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

1234

/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.cc69 void VerifyContextSize(ClassLoaderContext* context, size_t expected_size) { in VerifyContextSize() argument
70 ASSERT_TRUE(context != nullptr); in VerifyContextSize()
71 ASSERT_EQ(expected_size, context->GetParentChainSize()); in VerifyContextSize()
74 void VerifyClassLoaderPCL(ClassLoaderContext* context, in VerifyClassLoaderPCL() argument
78 context, index, ClassLoaderContext::kPathClassLoader, classpath); in VerifyClassLoaderPCL()
81 void VerifyClassLoaderDLC(ClassLoaderContext* context, in VerifyClassLoaderDLC() argument
85 context, index, ClassLoaderContext::kDelegateLastClassLoader, classpath); in VerifyClassLoaderDLC()
88 void VerifyClassLoaderIMC(ClassLoaderContext* context, in VerifyClassLoaderIMC() argument
92 context, index, ClassLoaderContext::kInMemoryDexClassLoader, classpath); in VerifyClassLoaderIMC()
95 void VerifyClassLoaderSharedLibraryPCL(ClassLoaderContext* context, in VerifyClassLoaderSharedLibraryPCL() argument
[all …]
Dfault_handler.h53 bool HandleSigsegvFault(int sig, siginfo_t* info, void* context);
56 bool HandleSigbusFault(int sig, siginfo_t* info, void* context);
68 static uintptr_t GetFaultPc(siginfo_t* siginfo, void* context);
72 static uintptr_t GetFaultSp(void* context);
76 bool IsInGeneratedCode(siginfo_t* siginfo, void *context) NO_THREAD_SAFETY_ANALYSIS;
90 bool HandleFaultByOtherHandlers(int sig, siginfo_t* info, void* context)
97 void CheckForUnrecognizedImplicitSuspendCheckInBootImage(siginfo_t* siginfo, void* context)
130 virtual bool Action(int sig, siginfo_t* siginfo, void* context) = 0;
146 bool Action(int sig, siginfo_t* siginfo, void* context) override
173 bool Action(int sig, siginfo_t* siginfo, void* context) override;
[all …]
Dfault_handler.cc57 static bool art_sigsegv_handler(int sig, siginfo_t* info, void* context) { in art_sigsegv_handler() argument
58 return fault_manager.HandleSigsegvFault(sig, info, context); in art_sigsegv_handler()
62 static bool art_sigbus_handler(int sig, siginfo_t* info, void* context) { in art_sigbus_handler() argument
63 return fault_manager.HandleSigbusFault(sig, info, context); in art_sigbus_handler()
158 act.sa_sigaction = [](int sig, siginfo_t* info, void* context) { in Init() argument
159 if (!art_sigbus_handler(sig, info, context)) { in Init()
211 bool FaultManager::HandleFaultByOtherHandlers(int sig, siginfo_t* info, void* context) { in HandleFaultByOtherHandlers() argument
222 if (handler->Action(sig, info, context)) { in HandleFaultByOtherHandlers()
229 bool FaultManager::HandleSigbusFault(int sig, siginfo_t* info, [[maybe_unused]] void* context) { in HandleSigbusFault() argument
249 siginfo_t* siginfo, void* context) { in CheckForUnrecognizedImplicitSuspendCheckInBootImage() argument
[all …]
Dmonitor_objects_stack_visitor.h41 Context* context,
46 context, in REQUIRES_SHARED()
80 static void VisitLockedObject(ObjPtr<mirror::Object> o, void* context)
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()
/art/compiler/optimizing/
Dinduction_var_range.cc160 static bool IsContextInBody(const HBasicBlock* context, const HLoopInformation* loop) { in IsContextInBody() argument
164 return context != loop->GetHeader() && loop->Contains(*context); in IsContextInBody()
168 bool UseFullTripCount(const HBasicBlock* context, const HLoopInformation* loop, bool is_min) { in UseFullTripCount() argument
176 if (loop->Contains(*context)) { in UseFullTripCount()
178 DCHECK_NE(context == loop->GetHeader(), IsContextInBody(context, loop)); in UseFullTripCount()
179 return !is_min && context == loop->GetHeader(); in UseFullTripCount()
188 return loop_exit_block->Dominates(context); in UseFullTripCount()
202 bool InductionVarRange::GetInductionRange(const HBasicBlock* context, in GetInductionRange() argument
211 if (!HasInductionInfo(context, instruction, &loop, &info, &trip)) { in GetInductionRange()
230 *min_val = SimplifyMin(GetVal(context, loop, info, trip, /*is_min=*/ true)); in GetInductionRange()
[all …]
Dinduction_var_range.h68 bool GetInductionRange(const HBasicBlock* context,
81 bool CanGenerateRange(const HBasicBlock* context,
101 void GenerateRange(const HBasicBlock* context,
181 bool IsUnitStride(const HBasicBlock* context,
215 bool IsConstant(const HBasicBlock* context,
222 bool HasInductionInfo(const HBasicBlock* context,
229 bool NeedsTripCount(const HBasicBlock* context,
235 bool IsWellBehavedTripCount(const HBasicBlock* context,
239 Value GetLinear(const HBasicBlock* context,
244 Value GetPolynomial(const HBasicBlock* context,
[all …]
Dinduction_var_analysis.cc399 const HBasicBlock* context = instruction->GetBlock(); in ClassifyTrivial() local
405 info = TransferAddSub(context, in ClassifyTrivial()
412 info = TransferAddSub(context, in ClassifyTrivial()
419 info = TransferNeg(context, loop, LookupInfo(loop, instruction->InputAt(0)), type); in ClassifyTrivial()
421 info = TransferMul(context, in ClassifyTrivial()
429 info = TransferMul(context, in ClassifyTrivial()
637 const HBasicBlock* context, in TransferAddSub() argument
650 return CreateInvariantOp(context, loop, op, a, b); // direct invariant in TransferAddSub()
654 InductionInfo* new_a = TransferAddSub(context, loop, a->op_a, b->op_a, op, type); in TransferAddSub()
655 InductionInfo* new_b = TransferAddSub(context, loop, a->op_b, b->op_b, op, type); in TransferAddSub()
[all …]
Dinduction_var_analysis.h125 InductionInfo* CreateInvariantOp(const HBasicBlock* context, in CreateInvariantOp() argument
131 return CreateSimplifiedInvariant(context, loop, op, a, b); in CreateInvariantOp()
176 InductionInfo* TransferAddSub(const HBasicBlock* context,
182 InductionInfo* TransferNeg(const HBasicBlock* context,
186 InductionInfo* TransferMul(const HBasicBlock* context,
235 void VisitCondition(const HBasicBlock* context,
242 void VisitTripCount(const HBasicBlock* context,
250 bool IsTaken(const HBasicBlock* context,
255 bool IsFinite(const HBasicBlock* context,
261 bool FitsNarrowerControl(const HBasicBlock* context,
[all …]
/art/runtime/arch/arm64/
Dfault_handler_arm64.cc41 uintptr_t FaultManager::GetFaultPc(siginfo_t* siginfo, void* context) { in GetFaultPc() argument
50 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in GetFaultPc()
59 uintptr_t FaultManager::GetFaultSp(void* context) { in GetFaultSp() argument
60 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in GetFaultSp()
65 bool NullPointerHandler::Action([[maybe_unused]] int sig, siginfo_t* info, void* context) { in Action() argument
77 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in Action()
101 void* context) { in Action() argument
106 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in Action()
134 void* context) { in Action() argument
135 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in Action()
/art/runtime/arch/riscv64/
Dfault_handler_riscv64.cc32 uintptr_t FaultManager::GetFaultPc(siginfo_t*, void* context) { in GetFaultPc() argument
33 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in GetFaultPc()
42 uintptr_t FaultManager::GetFaultSp(void* context) { in GetFaultSp() argument
43 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in GetFaultSp()
48 bool NullPointerHandler::Action([[maybe_unused]] int sig, siginfo_t* info, void* context) { in Action() argument
54 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in Action()
94 void* context) { in Action() argument
95 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in Action()
/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/arm/
Dfault_handler_arm.cc48 uintptr_t FaultManager::GetFaultPc([[maybe_unused]] siginfo_t* siginfo, void* context) { in GetFaultPc() argument
49 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in GetFaultPc()
58 uintptr_t FaultManager::GetFaultSp(void* context) { in GetFaultSp() argument
59 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in GetFaultSp()
64 bool NullPointerHandler::Action([[maybe_unused]] int sig, siginfo_t* info, void* context) { in Action() argument
70 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in Action()
120 void* context) { in Action() argument
127 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in Action()
192 void* context) { in Action() argument
193 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in Action()
/art/test/004-SignalTest/
Dsignaltest.cc65 void* context) { in signalhandler() argument
82 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in signalhandler()
86 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in signalhandler()
90 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in signalhandler()
94 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in signalhandler()
97 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in signalhandler()
100 UNUSED(context); in signalhandler()
/art/runtime/arch/x86/
Dfault_handler_x86.cc261 uintptr_t FaultManager::GetFaultPc([[maybe_unused]] siginfo_t* siginfo, void* context) { in GetFaultPc() argument
262 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in GetFaultPc()
270 uintptr_t FaultManager::GetFaultSp(void* context) { in GetFaultSp() argument
271 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in GetFaultSp()
275 bool NullPointerHandler::Action(int, siginfo_t* sig, void* context) { in Action() argument
281 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in Action()
346 bool SuspensionHandler::Action(int, siginfo_t*, void* context) { in Action() argument
361 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in Action()
416 bool StackOverflowHandler::Action(int, siginfo_t* info, void* context) { in Action() argument
417 ucontext_t* uc = reinterpret_cast<ucontext_t*>(context); in Action()
/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.cc118 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); in SweepCallback() local
119 DCHECK(context->space->IsZygoteSpace()); in SweepCallback()
120 ZygoteSpace* zygote_space = context->space->AsZygoteSpace(); in SweepCallback()
121 Locks::heap_bitmap_lock_->AssertExclusiveHeld(context->self); in SweepCallback()
125 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/oat/
Doat_file.cc1220 } context; in PreLoad()
1222 dl_iterate_phdr(dl_iterate_context::callback, &context); in PreLoad()
1223 shared_objects_before_ = context.count; in PreLoad()
1338 auto* context = reinterpret_cast<dl_iterate_context*>(data); in Dlopen()
1343 uint8_t* reservation_begin = context->reservation->Begin(); in Dlopen()
1351 if (offset < context->reservation->Size()) { in Dlopen()
1353 DCHECK_LE(memsz, context->reservation->Size() - offset); in Dlopen()
1369 DCHECK_LT(offset, context->reservation->Size()); in Dlopen()
1370 DCHECK_LE(memsz, context->reservation->Size() - offset); in Dlopen()
1371 context->max_size = std::max(context->max_size, offset + memsz); in Dlopen()
[all …]
/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
51 context.get(), in Java_Main_lookForMyRegisters()
/art/runtime/native/
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc84 static void ThreadCountCallback(Thread*, void* context) { in ThreadCountCallback() argument
85 uint16_t& count = *reinterpret_cast<uint16_t*>(context); in ThreadCountCallback()
146 static void ThreadStatsGetterCallback(Thread* t, void* context) { in ThreadStatsGetterCallback() argument
174 std::vector<uint8_t>& bytes = *reinterpret_cast<std::vector<uint8_t>*>(context); in ThreadStatsGetterCallback()

1234