Home
last modified time | relevance | path

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

/art/build/
Dart.go26 func globalFlags(ctx android.BaseContext) ([]string, []string) {
30 opt := envDefault(ctx, "ART_NDEBUG_OPT_FLAG", "-O3")
35 gcType := envDefault(ctx, "ART_DEFAULT_GC_TYPE", "CMS")
37 if envTrue(ctx, "ART_TEST_DEBUG_GC") {
47 if !envFalse(ctx, "ART_ENABLE_VDEX") {
51 imtSize := envDefault(ctx, "ART_IMT_SIZE", "43")
54 if envTrue(ctx, "ART_HEAP_POISONING") {
59 if !envFalse(ctx, "ART_USE_READ_BARRIER") && ctx.AConfig().ArtUseReadBarrier() {
62 barrierType := envDefault(ctx, "ART_READ_BARRIER_TYPE", "BAKER")
76 if len(ctx.AConfig().SanitizeDevice()) > 0 || len(ctx.AConfig().SanitizeHost()) > 0 {
[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() {
139 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/compiler/debug/
Delf_gnu_debugdata_writer.h48 auto* ctx = static_cast<XzCallbacks*>(reinterpret_cast<ISeqInStream*>(p)); in XzCompress() local
49 *size = std::min(*size, ctx->src_->size() - ctx->src_pos_); in XzCompress()
50 memcpy(buf, ctx->src_->data() + ctx->src_pos_, *size); in XzCompress()
51 ctx->src_pos_ += *size; in XzCompress()
55 auto* ctx = static_cast<XzCallbacks*>(reinterpret_cast<ISeqOutStream*>(p)); in XzCompress() local
57 ctx->dst_->insert(ctx->dst_->end(), buffer, buffer + size); in XzCompress()
Delf_debug_line_writer.h36 static bool PositionInfoCallback(void* ctx, const DexFile::PositionInfo& entry) { in PositionInfoCallback() argument
37 static_cast<PositionInfos*>(ctx)->push_back(entry); in PositionInfoCallback()
Delf_debug_info_writer.h43 static void LocalInfoCallback(void* ctx, const DexFile::LocalInfo& entry) { in LocalInfoCallback() argument
44 static_cast<LocalInfos*>(ctx)->push_back(entry); in LocalInfoCallback()
/art/compiler/
Delf_writer_quick.cc289 SHA_CTX ctx; in ComputeFileBuildId() local
290 SHA1_Init(&ctx); in ComputeFileBuildId()
298 SHA1_Update(&ctx, buffer.data(), bytes_read); in ComputeFileBuildId()
301 SHA1_Final(*build_id, &ctx); in ComputeFileBuildId()
/art/runtime/openjdkjvmti/
Dti_thread.cc554 static void RemoveTLSData(art::Thread* target, void* ctx) REQUIRES(art::Locks::thread_list_lock_) { in RemoveTLSData() argument
555 jvmtiEnv* env = reinterpret_cast<jvmtiEnv*>(ctx); in RemoveTLSData()
Dti_redefine.cc549 CallbackCtx ctx(&map, linker->GetAllocatorForClassLoader(art_klass->GetClassLoader())); in FindAndAllocateObsoleteMethods() local
564 ctx.obsolete_methods.insert(&m); in FindAndAllocateObsoleteMethods()
569 list->ForEach(DoAllocateObsoleteMethodsCallback, static_cast<void*>(&ctx)); in FindAndAllocateObsoleteMethods()
/art/compiler/optimizing/
Dinstruction_builder.cc368 static bool Position(void* ctx, const DexFile::PositionInfo& entry) { in FindNativeDebugInfoLocations()
369 static_cast<ArenaBitVector*>(ctx)->SetBit(entry.address_); in FindNativeDebugInfoLocations()