/art/build/ |
D | art.go | 30 func globalFlags(ctx android.BaseContext) ([]string, []string) { 34 opt := envDefault(ctx, "ART_NDEBUG_OPT_FLAG", "-O3") 39 gcType := envDefault(ctx, "ART_DEFAULT_GC_TYPE", "CMS") 41 if envTrue(ctx, "ART_TEST_DEBUG_GC") { 51 imtSize := envDefault(ctx, "ART_IMT_SIZE", "43") 54 if envTrue(ctx, "ART_HEAP_POISONING") { 58 if envTrue(ctx, "ART_USE_CXX_INTERPRETER") { 62 if !envFalse(ctx, "ART_USE_READ_BARRIER") && ctx.AConfig().ArtUseReadBarrier() { 65 barrierType := envDefault(ctx, "ART_READ_BARRIER_TYPE", "BAKER") 74 if !envFalse(ctx, "ART_USE_GENERATIONAL_CC") { [all …]
|
D | makevars.go | 32 func makeVarsProvider(ctx android.MakeVarsContext) { 33 ctx.Strict("LIBART_IMG_HOST_BASE_ADDRESS", ctx.Config().LibartImgHostBaseAddress()) 34 ctx.Strict("LIBART_IMG_TARGET_BASE_ADDRESS", ctx.Config().LibartImgDeviceBaseAddress()) 36 testMap := testMap(ctx.Config()) 45 ctx.Strict("ART_TEST_LIST_"+name, strings.Join(testMap[name], " "))
|
D | codegen.go | 27 func codegen(ctx android.LoadHookContext, c *codegenProperties, library bool) { 30 e := envDefault(ctx, "ART_HOST_CODEGEN_ARCHS", "") 37 e = envDefault(ctx, "ART_TARGET_CODEGEN_ARCHS", "") 39 deviceArches = defaultDeviceCodegenArches(ctx) 74 ctx.ModuleErrorf("Unknown codegen architecture %q", archName) 88 ctx.AppendProperties(p) 90 ctx.AppendProperties(l) 96 if ctx.Failed() { 103 if ctx.Failed() { 140 func defaultDeviceCodegenArches(ctx android.LoadHookContext) []string { [all …]
|
/art/runtime/ |
D | monitor_android.cc | 38 android_log_event_list ctx(EVENT_LOG_TAG_dvm_lock_sample); in LogContentionEvent() local 51 ctx << procName; in LogContentionEvent() 58 ctx << (Thread::IsSensitiveThread() ? kIsSensitive : kIsNotSensitive); in LogContentionEvent() 64 ctx << thread_name; in LogContentionEvent() 68 ctx << wait_ms; in LogContentionEvent() 78 ctx << filename; in LogContentionEvent() 81 ctx << line_number; in LogContentionEvent() 84 ctx << ArtMethod::PrettyMethod(m); in LogContentionEvent() 94 ctx << owner_filename; in LogContentionEvent() 97 ctx << owner_line_number; in LogContentionEvent() [all …]
|
/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_impl3.cc | 27 void ExecuteSwitchImplCpp<true, true>(SwitchImplContext* ctx);
|
D | interpreter_switch_impl1.cc | 27 void ExecuteSwitchImplCpp<false, true>(SwitchImplContext* ctx);
|
D | interpreter_switch_impl2.cc | 27 void ExecuteSwitchImplCpp<true, false>(SwitchImplContext* ctx);
|
D | interpreter_switch_impl0.cc | 27 void ExecuteSwitchImplCpp<false, false>(SwitchImplContext* ctx);
|
D | interpreter_switch_impl-inl.h | 106 ctx->result = JValue(); /* Handled in caller. */ in CheckForceReturn() 124 if (ctx->interpret_one_instruction) { in HandlePendingExceptionWithInstrumentationImpl() 128 ctx->result = JValue(); /* Handled in caller. */ in HandlePendingExceptionWithInstrumentationImpl() 153 ctx, instrumentation, self, shadow_frame, dex_pc, inst_copy, inst_data, exit_loop_copy); in HandlePendingExceptionWithInstrumentation() 231 JValue* save_ref = is_move_result_object ? &ctx->result_register : nullptr; in Preamble() 260 if (ctx->interpret_one_instruction) { in BranchInstrumentation() 264 ctx->result = result; in BranchInstrumentation() 493 if (ctx->interpret_one_instruction) { in RETURN_VOID_NO_BARRIER() 497 ctx->result = result; in RETURN_VOID_NO_BARRIER() 520 if (ctx->interpret_one_instruction) { in RETURN_VOID() [all …]
|
/art/libelffile/elf/ |
D | xz_utils.cc | 60 auto* ctx = static_cast<XzCallbacks*>(const_cast<ISeqInStream*>(p)); in XzCompress() local 61 *size = std::min(*size, ctx->src_.size() - ctx->src_pos_); in XzCompress() 62 memcpy(buf, ctx->src_.data() + ctx->src_pos_, *size); in XzCompress() 63 ctx->src_pos_ += *size; in XzCompress() 67 auto* ctx = static_cast<const XzCallbacks*>(p); in XzCompress() local 69 ctx->dst_->insert(ctx->dst_->end(), buffer, buffer + size); in XzCompress()
|
/art/libdexfile/external/ |
D | dex_file_supp.cc | 92 void DexFile::AddMethodInfoCallback(const ExtDexFileMethodInfo* ext_method_info, void* ctx) { in AddMethodInfoCallback() argument 93 auto vect = static_cast<MethodInfoVector*>(ctx); in AddMethodInfoCallback()
|
/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 | 90 FindFrameAtDepthVisitor(art::Thread* target, art::Context* ctx, jint depth) in FindFrameAtDepthVisitor() 92 : 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_redefine.cc | 619 CallbackCtx ctx(&map, linker->GetAllocatorForClassLoader(art_klass->GetClassLoader())); in FindAndAllocateObsoleteMethods() local 634 ctx.obsolete_methods.insert(&m); in FindAndAllocateObsoleteMethods() 639 list->ForEach(DoAllocateObsoleteMethodsCallback, static_cast<void*>(&ctx)); in FindAndAllocateObsoleteMethods() 643 for (const ObsoleteMap::ObsoleteMethodPair& it : *ctx.obsolete_map) { in FindAndAllocateObsoleteMethods()
|
D | ti_thread.cc | 675 static void RemoveTLSData(art::Thread* target, void* ctx) REQUIRES(art::Locks::thread_list_lock_) { in RemoveTLSData() argument 676 jvmtiEnv* env = reinterpret_cast<jvmtiEnv*>(ctx); in RemoveTLSData()
|
/art/dex2oat/linker/ |
D | elf_writer_quick.cc | 305 SHA_CTX ctx; in ComputeFileBuildId() local 306 SHA1_Init(&ctx); in ComputeFileBuildId() 314 SHA1_Update(&ctx, buffer.data(), bytes_read); in ComputeFileBuildId() 317 SHA1_Final(*build_id, &ctx); in ComputeFileBuildId()
|