/art/test/167-visit-locks/ |
H A D | visit_locks.cc | 23 #include "arch/context.h" 41 VisitLocks(Thread* thread, Context* context) argument 42 : StackVisitor(thread, context, StackWalkKind::kIncludeInlinedFrames) { 68 Context* context = Context::Create(); local 69 VisitLocks vl(soa.Self(), context); 71 delete context;
|
/art/runtime/arch/mips/ |
H A D | fault_handler_mips.cc | 39 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, argument 42 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); 71 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { argument 79 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 96 void* context ATTRIBUTE_UNUSED) { 113 bool StackOverflowHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { argument 114 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context);
|
/art/runtime/arch/mips64/ |
H A D | fault_handler_mips64.cc | 40 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, argument 43 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); 72 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { argument 81 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 98 void* context ATTRIBUTE_UNUSED) { 115 bool StackOverflowHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { argument 116 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context);
|
/art/tools/amm/AmmTest/src/com/android/amm/test/ |
H A D | ThreadedRendererUse.java | 31 public ThreadedRendererUse(Context context, int width, int height) { argument 32 mTextView = new TextView(context); 40 WindowManager wm = context.getSystemService(WindowManager.class);
|
H A D | SurfaceViewUse.java | 34 public SurfaceViewUse(Context context, ViewGroup vg, int width, int height) { argument 35 mSurfaceView = new SurfaceView(context);
|
H A D | TextureViewUse.java | 33 public TextureViewUse(Context context, ViewGroup vg, int width, int height) { argument 34 mTextureView = new TextureView(context);
|
/art/runtime/arch/arm64/ |
H A D | fault_handler_arm64.cc | 40 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo ATTRIBUTE_UNUSED, void* context, argument 43 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); 71 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { argument 79 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 101 void* context) { 108 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); 153 void* context) { 154 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); 100 Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, void* context) argument 152 Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, void* context) argument
|
/art/runtime/ |
H A D | backtrace_helper.h | 40 static _Unwind_Reason_Code Callback(_Unwind_Context* context, void* arg) { argument 42 const uintptr_t ip = _Unwind_GetIP(context);
|
H A D | runtime_common.cc | 135 : context(reinterpret_cast<ucontext_t*>(raw_context)->uc_mcontext) {} 147 mcontext_t& context; member in struct:art::UContext 152 DumpRegister32(os, "eax", context->__ss.__eax); 153 DumpRegister32(os, "ebx", context->__ss.__ebx); 154 DumpRegister32(os, "ecx", context->__ss.__ecx); 155 DumpRegister32(os, "edx", context->__ss.__edx); 158 DumpRegister32(os, "edi", context->__ss.__edi); 159 DumpRegister32(os, "esi", context->__ss.__esi); 160 DumpRegister32(os, "ebp", context->__ss.__ebp); 161 DumpRegister32(os, "esp", context [all...] |
H A D | fault_handler.cc | 48 static bool art_fault_handler(int sig, siginfo_t* info, void* context) { argument 49 return fault_manager.HandleFault(sig, info, context); 171 bool FaultManager::HandleFaultByOtherHandlers(int sig, siginfo_t* info, void* context) { argument 182 if (handler->Action(sig, info, context)) { 210 bool FaultManager::HandleFault(int sig, siginfo_t* info, void* context) { argument 220 if (IsInGeneratedCode(info, context, true)) { 224 if (handler->Action(sig, info, context)) { 235 if (HandleFaultByOtherHandlers(sig, info, context)) { 269 bool FaultManager::IsInGeneratedCode(siginfo_t* siginfo, void* context, bool check_dex_pc) { argument 298 GetMethodAndReturnPcAndSp(siginfo, context, 376 Action(int sig ATTRIBUTE_UNUSED, siginfo_t* siginfo, void* context) argument [all...] |
H A D | cha.cc | 188 Context* context, 190 : StackVisitor(thread_in, context, StackVisitor::StackWalkKind::kSkipInlinedFrames), 187 CHAStackVisitor(Thread* thread_in, Context* context, const std::unordered_set<OatQuickMethodHeader*>& method_headers) argument
|
H A D | oat_file_assistant_test.cc | 1404 std::unique_ptr<ClassLoaderContext> context = ClassLoaderContext::Create(context_str); local 1405 ASSERT_TRUE(context != nullptr); 1406 ASSERT_TRUE(context->OpenDexFiles(kRuntimeISA, "")); 1408 int status = oat_file_assistant.MakeUpToDate(false, context.get(), &error_msg); 1411 oat_file_assistant.GetDexOptNeeded(default_filter, false, false, context.get())); 1415 EXPECT_EQ(context->EncodeContextForOatFile(""), 1471 std::unique_ptr<ClassLoaderContext> context = ClassLoaderContext::Create(context_str); local 1472 ASSERT_TRUE(context != nullptr); 1473 ASSERT_TRUE(context->OpenDexFiles(kRuntimeISA, "")); 1475 int status = oat_file_assistant.MakeUpToDate(false, context 1502 std::unique_ptr<ClassLoaderContext> context = ClassLoaderContext::Create(context_str); local [all...] |
H A D | class_loader_context_test.cc | 41 void VerifyContextSize(ClassLoaderContext* context, size_t expected_size) { argument 42 ASSERT_TRUE(context != nullptr); 43 ASSERT_EQ(expected_size, context->class_loader_chain_.size()); 46 void VerifyClassLoaderPCL(ClassLoaderContext* context, argument 50 context, index, ClassLoaderContext::kPathClassLoader, classpath); 53 void VerifyClassLoaderDLC(ClassLoaderContext* context, argument 57 context, index, ClassLoaderContext::kDelegateLastClassLoader, classpath); 60 void VerifyClassLoaderPCLFromTestDex(ClassLoaderContext* context, argument 64 context, index, ClassLoaderContext::kPathClassLoader, test_name); 67 void VerifyClassLoaderDLCFromTestDex(ClassLoaderContext* context, argument 87 VerifyOpenDexFiles( ClassLoaderContext* context, size_t index, std::vector<std::unique_ptr<const DexFile>>* all_dex_files) argument 134 VerifyContextForClassLoader(ClassLoaderContext* context) argument 160 PretendContextOpenedDexFiles(ClassLoaderContext* context) argument 166 VerifyClassLoaderInfo(ClassLoaderContext* context, size_t index, ClassLoaderContext::ClassLoaderType type, const std::string& classpath) argument 179 VerifyClassLoaderFromTestDex(ClassLoaderContext* context, size_t index, ClassLoaderContext::ClassLoaderType type, const std::string& test_name) argument 191 std::unique_ptr<ClassLoaderContext> context = ClassLoaderContext::Create(""); local 198 std::unique_ptr<ClassLoaderContext> context = ClassLoaderContext::Create("&"); local 204 std::unique_ptr<ClassLoaderContext> context = local 211 std::unique_ptr<ClassLoaderContext> context = local 218 std::unique_ptr<ClassLoaderContext> context = local 227 std::unique_ptr<ClassLoaderContext> context = local 234 std::unique_ptr<ClassLoaderContext> context = local 249 std::unique_ptr<ClassLoaderContext> context = local 261 std::unique_ptr<ClassLoaderContext> context = local 312 std::unique_ptr<ClassLoaderContext> context = local 346 std::unique_ptr<ClassLoaderContext> context = local 367 std::unique_ptr<ClassLoaderContext> context = local 374 std::unique_ptr<ClassLoaderContext> context = local 411 std::unique_ptr<ClassLoaderContext> context = local 438 std::unique_ptr<ClassLoaderContext> context = ClassLoaderContext::Create("&"); local 477 std::unique_ptr<ClassLoaderContext> context = ClassLoaderContext::Create(context_spec); local 537 std::unique_ptr<ClassLoaderContext> context = local 555 std::unique_ptr<ClassLoaderContext> context = local 570 std::unique_ptr<ClassLoaderContext> context = local 600 std::unique_ptr<ClassLoaderContext> context = CreateContextForClassLoader(class_loader_d); local 613 std::unique_ptr<ClassLoaderContext> context = ParseContextWithChecksums(context_spec); local 652 std::unique_ptr<ClassLoaderContext> context = CreateContextForClassLoader(class_loader_d); local 670 std::unique_ptr<ClassLoaderContext> context = CreateContextForClassLoader(class_loader); local [all...] |
H A D | oat_file_manager.cc | 344 // This first walks the class loader chain present in the given context, getting all the dex files 347 // If the context is null (which means the initial class loader was null or unsupported) 350 // This first checks whether all class loaders in the context have the same type and 359 const ClassLoaderContext* context, 364 // The context might be null if there are unrecognized class loaders in the chain or they 369 if (context == nullptr) { 374 // If the pat file loading context matches the context used during compilation then we accept 376 if (context->VerifyClassLoaderContextMatch(oat_file->GetClassLoaderContext())) { 380 // The class loader context doe 358 HasCollisions(const OatFile* oat_file, const ClassLoaderContext* context, std::string* error_msg ) const argument 410 std::unique_ptr<ClassLoaderContext> context; local [all...] |
/art/test/004-SignalTest/ |
H A D | signaltest.cc | 63 void* context) { 80 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 84 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 88 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 91 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 94 UNUSED(context); 62 signalhandler(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, void* context) argument
|
/art/runtime/arch/arm/ |
H A D | fault_handler_arm.cc | 47 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo ATTRIBUTE_UNUSED, void* context, argument 50 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); 90 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { argument 101 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 127 void* context) { 134 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); 198 void* context) { 199 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); 126 Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, void* context) argument 197 Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, void* context) argument
|
/art/runtime/gc/space/ |
H A D | zygote_space.cc | 107 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); local 108 DCHECK(context->space->IsZygoteSpace()); 109 ZygoteSpace* zygote_space = context->space->AsZygoteSpace(); 110 Locks::heap_bitmap_lock_->AssertExclusiveHeld(context->self); 114 if (!context->swap_bitmaps) {
|
H A D | malloc_space.cc | 237 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); local 238 space::MallocSpace* space = context->space->AsMallocSpace(); 239 Thread* self = context->self; 243 if (!context->swap_bitmaps) { 252 context->freed.objects += num_ptrs; 253 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs);
|
H A D | large_object_space.cc | 577 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); local 578 space::LargeObjectSpace* space = context->space->AsLargeObjectSpace(); 579 Thread* self = context->self; 583 if (!context->swap_bitmaps) { 589 context->freed.objects += num_ptrs; 590 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs);
|
/art/runtime/native/ |
H A D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 96 static void ThreadCountCallback(Thread*, void* context) { argument 97 uint16_t& count = *reinterpret_cast<uint16_t*>(context); 104 static void ThreadStatsGetterCallback(Thread* t, void* context) { argument 132 std::vector<uint8_t>& bytes = *reinterpret_cast<std::vector<uint8_t>*>(context);
|
H A D | dalvik_system_DexFile.cc | 497 std::unique_ptr<ClassLoaderContext> context = nullptr; local 499 context = ClassLoaderContext::Create(class_loader_context); 501 if (context == nullptr) { 503 std::string message(StringPrintf("Class loader context '%s' is invalid.", 523 context.get());
|
/art/dexlist/ |
H A D | dexlist.cc | 86 static bool positionsCb(void* context, const DexFile::PositionInfo& entry) { argument 87 int* pFirstLine = reinterpret_cast<int *>(context);
|
/art/runtime/arch/x86/ |
H A D | fault_handler_x86.cc | 279 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, argument 282 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); 323 bool NullPointerHandler::Action(int, siginfo_t* sig, void* context) { argument 327 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 368 bool SuspensionHandler::Action(int, siginfo_t*, void* context) { argument 383 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 438 bool StackOverflowHandler::Action(int, siginfo_t* info, void* context) { argument 439 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context);
|
/art/libdexfile/dex/ |
H A D | dex_file-inl.h | 237 void* context) { 297 new_local_callback(context, local_in_reg[reg]); 326 new_local_callback(context, local_in_reg[reg]); 348 new_local_callback(context, local_in_reg[reg]); 389 void* context) const { 416 context); member in namespace:art 423 void* context) { 476 if (position_functor(context, entry)) { 490 void* context) const { 496 context); 225 DecodeDebugLocalInfo(const uint8_t* stream, const std::string& location, const char* declaring_class_descriptor, const std::vector<const char*>& arg_descriptors, const std::string& method_name, bool is_static, uint16_t registers_size, uint16_t ins_size, uint16_t insns_size_in_code_units, IndexToStringData index_to_string_data, TypeIndexToStringData type_index_to_string_data, NewLocalCallback new_local_callback, void* context) argument 420 DecodeDebugPositionInfo(const uint8_t* stream, IndexToStringData index_to_string_data, DexDebugNewPosition position_functor, void* context) argument [all...] |
/art/compiler/optimizing/ |
H A D | induction_var_range.cc | 204 bool InductionVarRange::GetInductionRange(HInstruction* context, argument 213 if (!HasInductionInfo(context, instruction, &loop, &info, &trip)) { 231 bool in_body = context->GetBlock() != loop->GetHeader(); 244 bool InductionVarRange::CanGenerateRange(HInstruction* context, argument 250 return GenerateRangeOrLastValue(context, 266 void InductionVarRange::GenerateRange(HInstruction* context, argument 275 if (!GenerateRangeOrLastValue(context, 290 HInstruction* InductionVarRange::GenerateTakenTest(HInstruction* context, argument 297 if (!GenerateRangeOrLastValue(context, 298 context, 378 IsUnitStride(HInstruction* context, HInstruction* instruction, HGraph* graph, HInstruction** offset) const argument 464 HasInductionInfo( HInstruction* context, HInstruction* instruction, HLoopInformation** loop, HInductionVarAnalysis::InductionInfo** info, HInductionVarAnalysis::InductionInfo** trip) const argument 970 GenerateRangeOrLastValue(HInstruction* context, HInstruction* instruction, bool is_last_value, HGraph* graph, HBasicBlock* block, HInstruction** lower, HInstruction** upper, HInstruction** taken_test, int64_t* stride_value, bool* needs_finite_test, bool* needs_taken_test) const argument [all...] |