Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 18 of 18) sorted by relevance

/art/build/
Dart.go30 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 …]
Dmakevars.go32 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], " "))
Dcodegen.go27 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/
Dmonitor_android.cc38 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/
Dinterpreter_switch_impl.h49 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()
Dinterpreter_switch_impl3.cc27 void ExecuteSwitchImplCpp<true, true>(SwitchImplContext* ctx);
Dinterpreter_switch_impl1.cc27 void ExecuteSwitchImplCpp<false, true>(SwitchImplContext* ctx);
Dinterpreter_switch_impl2.cc27 void ExecuteSwitchImplCpp<true, false>(SwitchImplContext* ctx);
Dinterpreter_switch_impl0.cc27 void ExecuteSwitchImplCpp<false, false>(SwitchImplContext* ctx);
Dinterpreter_switch_impl-inl.h106 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/
Dxz_utils.cc60 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/
Ddex_file_supp.cc92 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/
Dget_args.cc32 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/
Dti_stack.h90 FindFrameAtDepthVisitor(art::Thread* target, art::Context* ctx, jint depth) in FindFrameAtDepthVisitor()
92 : art::StackVisitor(target, ctx, art::StackVisitor::StackWalkKind::kIncludeInlinedFrames), in FindFrameAtDepthVisitor()
Ddeopt_manager.cc158 auto func = [](art::Thread* thread, void* ctx) { in DumpDeoptInfo() argument
159 reinterpret_cast<DumpThreadDeoptCount*>(ctx)->Run(thread); in DumpDeoptInfo()
Dti_redefine.cc619 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()
Dti_thread.cc675 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/
Delf_writer_quick.cc305 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()