/art/build/ |
D | art.go | 34 func globalFlags(ctx android.LoadHookContext) ([]string, []string) { 38 opt := ctx.Config().GetenvWithDefault("ART_NDEBUG_OPT_FLAG", "-O3") 43 gcType := ctx.Config().GetenvWithDefault("ART_DEFAULT_GC_TYPE", "CMS") 45 if ctx.Config().IsEnvTrue("ART_TEST_DEBUG_GC") { 55 if ctx.Config().IsEnvTrue("ART_HEAP_POISONING") { 59 if ctx.Config().IsEnvTrue("ART_USE_CXX_INTERPRETER") { 63 if !ctx.Config().IsEnvFalse("ART_USE_READ_BARRIER") && ctx.Config().ArtUseReadBarrier() { 66 barrierType := ctx.Config().GetenvWithDefault("ART_READ_BARRIER_TYPE", "BAKER") 75 if !ctx.Config().IsEnvFalse("ART_USE_GENERATIONAL_CC") { 79 cdexLevel := ctx.Config().GetenvWithDefault("ART_DEFAULT_COMPACT_DEX_LEVEL", "fast") [all …]
|
D | makevars.go | 46 func makeVarsProvider(ctx android.MakeVarsContext) { 47 ctx.Strict("LIBART_IMG_HOST_BASE_ADDRESS", ctx.Config().LibartImgHostBaseAddress()) 48 ctx.Strict("LIBART_IMG_TARGET_BASE_ADDRESS", ctx.Config().LibartImgDeviceBaseAddress()) 50 testMap := testMap(ctx.Config()) 59 ctx.Strict("ART_TEST_LIST_"+name, strings.Join(testMap[name], " ")) 63 testcasesContent := testcasesContent(ctx.Config()) 68 ctx.Strict("ART_TESTCASES_CONTENT", strings.Join(copy_cmds, " ")) 71 …clang_path := filepath.Join(config.ClangDefaultBase, ctx.Config().PrebuiltOS(), config.ClangDefaul… 77 ctx.Strict("ART_TESTCASES_PREBUILT_CONTENT", strings.Join(copy_cmds, " "))
|
D | codegen.go | 41 func codegen(ctx android.LoadHookContext, c *codegenProperties, t moduleType) { 44 e := ctx.Config().Getenv("ART_HOST_CODEGEN_ARCHS") 51 e = ctx.Config().Getenv("ART_TARGET_CODEGEN_ARCHS") 53 deviceArches = defaultDeviceCodegenArches(ctx) 70 ctx.ModuleErrorf("Unknown codegen architecture %q", archName) 94 ctx.AppendProperties(sp) 144 ctx.AppendProperties(cp) 146 ctx.AppendProperties(lp) 148 ctx.AppendProperties(staticLP) 151 ctx.AppendProperties(sharedLP) [all …]
|
/art/runtime/ |
D | monitor_android.cc | 40 android_log_event_list ctx(EVENT_LOG_TAG_dvm_lock_sample); in LogContentionEvent() local 52 ctx << proc_name; in LogContentionEvent() 59 ctx << (Thread::IsSensitiveThread() ? kIsSensitive : kIsNotSensitive); in LogContentionEvent() 64 ctx << thread_name; in LogContentionEvent() 67 ctx << wait_ms; in LogContentionEvent() 78 ctx << filename; in LogContentionEvent() 81 ctx << line_number; in LogContentionEvent() 85 ctx << method_name; in LogContentionEvent() 95 ctx << owner_filename; in LogContentionEvent() 98 ctx << owner_line_number; in LogContentionEvent() [all …]
|
D | thread_list.h | 145 ForEach([](Thread* t, void* ctx) REQUIRES(Locks::thread_list_lock_) { in ForEach() 146 (*reinterpret_cast<CallBack*>(ctx))(t); in ForEach()
|
/art/runtime/interpreter/ |
D | interpreter_switch_impl.h | 49 void ExecuteSwitchImplCpp(SwitchImplContext* ctx) 54 extern "C" void ExecuteSwitchImplAsm(SwitchImplContext* ctx, void* impl, const uint16_t* dexpc) 63 SwitchImplContext ctx { in ExecuteSwitchImpl() 72 const uint16_t* dex_pc = ctx.accessor.Insns(); in ExecuteSwitchImpl() 73 ExecuteSwitchImplAsm(&ctx, impl, dex_pc); in ExecuteSwitchImpl() 74 return ctx.result; in ExecuteSwitchImpl()
|
D | interpreter_switch_impl1.cc | 27 void ExecuteSwitchImplCpp<false, true>(SwitchImplContext* ctx);
|
D | interpreter_switch_impl3.cc | 27 void ExecuteSwitchImplCpp<true, true>(SwitchImplContext* ctx);
|
D | interpreter_switch_impl0.cc | 27 void ExecuteSwitchImplCpp<false, false>(SwitchImplContext* ctx);
|
D | interpreter_switch_impl2.cc | 27 void ExecuteSwitchImplCpp<true, false>(SwitchImplContext* ctx);
|
D | interpreter_switch_impl-inl.h | 1732 ALWAYS_INLINE InstructionHandler(SwitchImplContext* ctx, in InstructionHandler() argument 1741 : ctx_(ctx), in InstructionHandler() 1829 SwitchImplContext* ctx, \ 1839 ctx, instrumentation, self, shadow_frame, dex_pc, inst, inst_data, next, exit); \ 1846 void ExecuteSwitchImplCpp(SwitchImplContext* ctx) { in DEX_INSTRUCTION_LIST() 1847 Thread* self = ctx->self; in DEX_INSTRUCTION_LIST() 1848 const CodeItemDataAccessor& accessor = ctx->accessor; in DEX_INSTRUCTION_LIST() 1849 ShadowFrame& shadow_frame = ctx->shadow_frame; in DEX_INSTRUCTION_LIST() 1860 bool const interpret_one_instruction = ctx->interpret_one_instruction; in DEX_INSTRUCTION_LIST() 1870 ctx, instrumentation, self, shadow_frame, dex_pc, inst, inst_data, next, exit). in DEX_INSTRUCTION_LIST() [all …]
|
/art/libelffile/elf/ |
D | xz_utils.cc | 61 auto* ctx = static_cast<XzCallbacks*>(const_cast<ISeqInStream*>(p)); in XzCompress() local 62 *size = std::min(*size, ctx->src_.size() - ctx->src_pos_); in XzCompress() 63 memcpy(buf, ctx->src_.data() + ctx->src_pos_, *size); in XzCompress() 64 ctx->src_pos_ += *size; in XzCompress() 68 auto* ctx = static_cast<const XzCallbacks*>(p); in XzCompress() local 70 ctx->dst_->insert(ctx->dst_->end(), buffer, buffer + size); in XzCompress()
|
/art/libdexfile/external/ |
D | dex_file_ext_test.cc | 83 auto check_init = [](void* ctx, const ADexFile_Method* method) { in TEST_F() argument 92 *reinterpret_cast<bool*>(ctx) = true; in TEST_F() 98 auto check_main = [](void* ctx, const ADexFile_Method* method) { in TEST_F() argument 107 *reinterpret_cast<bool*>(ctx) = true; in TEST_F() 130 auto add = [](void* ctx, const ADexFile_Method* method) { in TEST_F() argument 131 reinterpret_cast<decltype(names)*>(ctx)-> in TEST_F()
|
/art/libdexfile/external/include/art_api/ |
D | dex_file_support.h | 116 auto cb = [](void* ctx, const ADexFile_Method* m) { (*reinterpret_cast<T*>(ctx))(Method{m}); }; in FindMethodAtOffset() 122 auto cb = [](void* ctx, const ADexFile_Method* m) { (*reinterpret_cast<T*>(ctx))(Method{m}); }; in ForEachMethod()
|
/art/test/1945-proxy-method-arguments/ |
D | get_args.cc | 32 GetProxyQuickFrameVisitor(art::Thread* target, art::Context* ctx, size_t frame_depth) in GetProxyQuickFrameVisitor() argument 34 : art::StackVisitor(target, ctx, art::StackVisitor::StackWalkKind::kIncludeInlinedFrames), in GetProxyQuickFrameVisitor()
|
/art/openjdkjvmti/ |
D | ti_stack.h | 95 FindFrameAtDepthVisitor(art::Thread* target, art::Context* ctx, jint depth) in FindFrameAtDepthVisitor() 97 : art::StackVisitor(target, ctx, art::StackVisitor::StackWalkKind::kIncludeInlinedFrames), in FindFrameAtDepthVisitor()
|
D | deopt_manager.cc | 158 auto func = [](art::Thread* thread, void* ctx) { in DumpDeoptInfo() argument 159 reinterpret_cast<DumpThreadDeoptCount*>(ctx)->Run(thread); in DumpDeoptInfo()
|
D | ti_thread.cc | 678 static void RemoveTLSData(art::Thread* target, void* ctx) REQUIRES(art::Locks::thread_list_lock_) { in RemoveTLSData() argument 679 jvmtiEnv* env = reinterpret_cast<jvmtiEnv*>(ctx); in RemoveTLSData()
|
D | ti_redefine.cc | 835 CallbackCtx ctx(&map, linker->GetAllocatorForClassLoader(art_klass->GetClassLoader())); in FindAndAllocateObsoleteMethods() local 850 ctx.obsolete_methods.insert(&m); in FindAndAllocateObsoleteMethods() 855 list->ForEach(DoAllocateObsoleteMethodsCallback, static_cast<void*>(&ctx)); in FindAndAllocateObsoleteMethods() 860 for (const ObsoleteMap::ObsoleteMethodPair& it : *ctx.obsolete_map) { in FindAndAllocateObsoleteMethods()
|
/art/dex2oat/linker/ |
D | elf_writer_quick.cc | 307 SHA_CTX ctx; in ComputeFileBuildId() local 308 SHA1_Init(&ctx); in ComputeFileBuildId() 316 SHA1_Update(&ctx, buffer.data(), bytes_read); in ComputeFileBuildId() 319 SHA1_Final(*build_id, &ctx); in ComputeFileBuildId()
|
/art/perfetto_hprof/ |
D | perfetto_hprof.cc | 269 Writer(pid_t parent_pid, JavaHprofDataSource::TraceContext* ctx, uint64_t timestamp) in Writer() argument 270 : parent_pid_(parent_pid), ctx_(ctx), timestamp_(timestamp), in Writer() 460 void DumpSmaps(JavaHprofDataSource::TraceContext* ctx) { in DumpSmaps() argument 463 auto trace_packet = ctx->NewTracePacket(); in DumpSmaps() 603 [parent_pid, timestamp](JavaHprofDataSource::TraceContext ctx) in DumpPerfetto() 608 auto ds = ctx.GetDataSourceLocked(); in DumpPerfetto() 619 DumpSmaps(&ctx); in DumpPerfetto() 621 Writer writer(parent_pid, &ctx, timestamp); in DumpPerfetto() 824 ctx.Flush([] { in DumpPerfetto() 839 auto ds = ctx.GetDataSourceLocked(); in DumpPerfetto()
|
/art/dex2oat/ |
D | Android.bp | 309 // Soong for setting ctx.Config().BuildOSTarget (used in 354 // Soong for setting ctx.Config().BuildOSTarget (used in
|