Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 212) sorted by relevance

123456789

/art/libdexfile/external/
Ddex_file_supp_test.cc188 MethodInfo info = dex_file->GetMethodInfoForOffset(0x102, false); in TEST() local
189 EXPECT_EQ(info.offset, int32_t{0x100}); in TEST()
190 EXPECT_EQ(info.len, int32_t{8}); in TEST()
191 EXPECT_STREQ(info.name.data(), "Main.<init>"); in TEST()
193 info = dex_file->GetMethodInfoForOffset(0x118, false); in TEST()
194 EXPECT_EQ(info.offset, int32_t{0x118}); in TEST()
195 EXPECT_EQ(info.len, int32_t{2}); in TEST()
196 EXPECT_STREQ(info.name.data(), "Main.main"); in TEST()
199 info = dex_file->GetMethodInfoForOffset(0x104, false); in TEST()
200 EXPECT_EQ(info.offset, int32_t{0x100}); in TEST()
[all …]
/art/compiler/debug/
Delf_symtab_writer.h63 for (const MethodDebugInfo& info : debug_info.compiled_methods) { in WriteDebugSymbols() local
64 if (info.deduped) { in WriteDebugSymbols()
65 deduped_addresses.insert(info.code_address); in WriteDebugSymbols()
67 if (kGenerateArmMappingSymbol && info.isa == InstructionSet::kThumb2) { in WriteDebugSymbols()
68 uint64_t address = info.code_address; in WriteDebugSymbols()
69 address += info.is_code_address_text_relative ? text->GetAddress() : 0; in WriteDebugSymbols()
81 for (const MethodDebugInfo& info : debug_info.compiled_methods) { in WriteDebugSymbols() local
82 if (info.deduped) { in WriteDebugSymbols()
86 if (!info.custom_name.empty()) { in WriteDebugSymbols()
87 name_offset = strtab->Write(info.custom_name); in WriteDebugSymbols()
[all …]
/art/tools/jvmti-agents/list-extensions/
Dlist-extensions.cc106 const jvmtiExtensionFunctionInfo& info = infos[i]; in SetupJvmtiEnv() local
107 LOG(INFO) << info.id; in SetupJvmtiEnv()
108 LOG(INFO) << "\tdesc: " << info.short_description; in SetupJvmtiEnv()
109 LOG(INFO) << "\targuments: (count: " << info.param_count << ")"; in SetupJvmtiEnv()
110 for (jint j = 0; j < info.param_count; j++) { in SetupJvmtiEnv()
111 const jvmtiParamInfo& param = info.params[j]; in SetupJvmtiEnv()
114 LOG(INFO) << "\tErrors: (count: " << info.error_count << ")"; in SetupJvmtiEnv()
115 for (jint j = 0; j < info.error_count; j++) { in SetupJvmtiEnv()
117 CHECK_EQ(JVMTI_ERROR_NONE, env->GetErrorName(info.errors[j], &name)); in SetupJvmtiEnv()
121 DeallocParams(env, info.params, info.param_count); in SetupJvmtiEnv()
[all …]
/art/compiler/optimizing/
Dinduction_var_range.cc175 HInductionVarAnalysis::InductionInfo* info = nullptr; in GetInductionRange() local
177 if (!HasInductionInfo(context, instruction, &loop, &info, &trip)) { in GetInductionRange()
183 switch (info->type) { in GetInductionRange()
197 *min_val = SimplifyMin(GetVal(info, trip, in_body, /* is_min= */ true)); in GetInductionRange()
198 *max_val = SimplifyMax(GetVal(info, trip, in_body, /* is_min= */ false), chase_hint); in GetInductionRange()
199 *needs_finite_test = NeedsTripCount(info, &stride_value) && IsUnsafeTripCount(trip); in GetInductionRange()
202 if (!min_val->is_known && info->induction_class == HInductionVarAnalysis::kWrapAround) { in GetInductionRange()
203 *min_val = SimplifyMin(GetVal(info, trip, in_body, /* is_min= */ true)); in GetInductionRange()
349 HInductionVarAnalysis::InductionInfo* info = nullptr; in IsUnitStride() local
351 if (HasInductionInfo(context, instruction, &loop, &info, &trip)) { in IsUnitStride()
[all …]
Dinduction_var_range.h214 bool IsConstant(HInductionVarAnalysis::InductionInfo* info,
222 /*out*/ HInductionVarAnalysis::InductionInfo** info,
225 bool HasFetchInLoop(HInductionVarAnalysis::InductionInfo* info) const;
226 bool NeedsTripCount(HInductionVarAnalysis::InductionInfo* info,
232 Value GetLinear(HInductionVarAnalysis::InductionInfo* info,
236 Value GetPolynomial(HInductionVarAnalysis::InductionInfo* info,
240 Value GetGeometric(HInductionVarAnalysis::InductionInfo* info,
248 Value GetVal(HInductionVarAnalysis::InductionInfo* info,
268 HInductionVarAnalysis::InductionInfo* info,
273 HInductionVarAnalysis::InductionInfo* info,
[all …]
Dintrinsics.cc294 IntegerValueOfInfo info; in ComputeIntegerValueOfInfo() local
300 info.value_offset = value_field->GetOffset().Uint32Value(); in ComputeIntegerValueOfInfo()
303 info.low = GetIntegerCacheField(cache_class, kLowFieldName); in ComputeIntegerValueOfInfo()
305 info.length = dchecked_integral_cast<uint32_t>(high - info.low + 1); in ComputeIntegerValueOfInfo()
307 info.integer_boot_image_offset = IntegerValueOfInfo::kInvalidReference; in ComputeIntegerValueOfInfo()
310 uint32_t index = static_cast<uint32_t>(input_value) - static_cast<uint32_t>(info.low); in ComputeIntegerValueOfInfo()
311 if (index < static_cast<uint32_t>(info.length)) { in ComputeIntegerValueOfInfo()
312 info.value_boot_image_reference = IntrinsicObjects::EncodePatch( in ComputeIntegerValueOfInfo()
316 info.value_boot_image_reference = IntegerValueOfInfo::kInvalidReference; in ComputeIntegerValueOfInfo()
319 info.array_data_boot_image_reference = in ComputeIntegerValueOfInfo()
[all …]
/art/libprofile/profile/
Dprofile_compilation_info_test.cc72 bool AddMethod(ProfileCompilationInfo* info, in AddMethod() argument
77 return info->AddMethod(ProfileMethodInfo(MethodReference(dex, method_idx)), in AddMethod()
82 bool AddMethod(ProfileCompilationInfo* info, in AddMethod() argument
87 return info->AddMethod( in AddMethod()
93 bool AddClass(ProfileCompilationInfo* info, in AddClass() argument
98 return info->AddClassesForDex(dex, classes.begin(), classes.end(), annotation); in AddClass()
106 const ProfileCompilationInfo& info, in GetMethod() argument
110 return info.GetHotMethodInfo(MethodReference(dex, method_idx), annotation); in GetMethod()
218 bool IsEmpty(const ProfileCompilationInfo& info) { in IsEmpty() argument
219 return info.IsEmpty(); in IsEmpty()
[all …]
/art/runtime/
Dclass_loader_context.cc78 ClassLoaderContext::ClassLoaderInfo* info, in AddToWorkList() argument
80 if (info->parent != nullptr) { in AddToWorkList()
81 work_list.push_back(info->parent.get()); in AddToWorkList()
83 for (size_t i = 0; i < info->shared_libraries.size(); ++i) { in AddToWorkList()
84 work_list.push_back(info->shared_libraries[i].get()); in AddToWorkList()
95 ClassLoaderInfo* info = work_list.back(); in ~ClassLoaderContext() local
97 for (std::unique_ptr<OatFile>& oat_file : info->opened_oat_files) { in ~ClassLoaderContext()
100 for (std::unique_ptr<const DexFile>& dex_file : info->opened_dex_files) { in ~ClassLoaderContext()
103 AddToWorkList(info, work_list); in ~ClassLoaderContext()
205 std::unique_ptr<ClassLoaderInfo> info(new ClassLoaderInfo(class_loader_type)); in ParseClassLoaderSpec() local
[all …]
Druntime_common.h56 utsname info; in Dump() local
57 uname(&info); in Dump()
60 os << info.sysname << " " << info.release << " (" << info.machine << ")"; in Dump()
71 siginfo_t* info,
Dreflective_value_visitor.h51 virtual ArtMethod* VisitMethod(ArtMethod* in, const ReflectionSourceInfo& info)
53 virtual ArtField* VisitField(ArtField* in, const ReflectionSourceInfo& info)
60 T* operator()(T* t, const ReflectionSourceInfo& info) REQUIRES_SHARED(Locks::mutator_lock_) { in operator()
62 return VisitField(t, info); in operator()
65 return VisitMethod(t, info); in operator()
74 ArtField* VisitField(ArtField* in, const ReflectionSourceInfo& info) override in VisitField() argument
76 return fv_(in, info); in VisitField()
78 ArtMethod* VisitMethod(ArtMethod* in, const ReflectionSourceInfo& info) override in VisitMethod() argument
80 return mv_(in, info); in VisitMethod()
121 inline std::ostream& operator<<(std::ostream& os, const ReflectionSourceInfo& info) {
[all …]
Dfault_handler.cc47 static bool art_fault_handler(int sig, siginfo_t* info, void* context) { in art_fault_handler() argument
48 return fault_manager.HandleFault(sig, info, context); in art_fault_handler()
170 bool FaultManager::HandleFaultByOtherHandlers(int sig, siginfo_t* info, void* context) { in HandleFaultByOtherHandlers() argument
181 if (handler->Action(sig, info, context)) { in HandleFaultByOtherHandlers()
199 static std::ostream& PrintSignalInfo(std::ostream& os, siginfo_t* info) { in PrintSignalInfo() argument
200 os << " si_signo: " << info->si_signo << " (" << strsignal(info->si_signo) << ")\n" in PrintSignalInfo()
201 << " si_code: " << info->si_code in PrintSignalInfo()
202 << " (" << SignalCodeName(info->si_signo, info->si_code) << ")"; in PrintSignalInfo()
203 if (info->si_signo == SIGSEGV) { in PrintSignalInfo()
204 os << "\n" << " si_addr: " << info->si_addr; in PrintSignalInfo()
[all …]
Druntime_android.cc29 void HandleUnexpectedSignalAndroid(int signal_number, siginfo_t* info, void* raw_context) { in HandleUnexpectedSignalAndroid() argument
31 info, in HandleUnexpectedSignalAndroid()
37 old_action.sa_sigaction(signal_number, info, raw_context); in HandleUnexpectedSignalAndroid()
Dgc_root.h112 ALWAYS_INLINE void VisitRoot(mirror::Object** root, const RootInfo& info) in VisitRoot() argument
114 VisitRoots(&root, 1, info); in VisitRoot()
118 ALWAYS_INLINE void VisitRootIfNonNull(mirror::Object** root, const RootInfo& info) in VisitRootIfNonNull() argument
121 VisitRoot(root, info); in VisitRootIfNonNull()
125 virtual void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info)
129 const RootInfo& info)
137 void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info) override in VisitRoots() argument
140 VisitRoot(*roots[i], info); in VisitRoots()
145 const RootInfo& info) override in VisitRoots() argument
148 VisitRoot(roots[i]->AsMirrorPtr(), info); in VisitRoots()
[all …]
/art/test/ti-agent/
Djvmti_helper.cc248 const jvmtiExtensionEventInfo& info = infos[i]; in GetExtensionEventId() local
249 if (name == info.id) { in GetExtensionEventId()
250 res = info.extension_event_index; in GetExtensionEventId()
253 DeallocParams(jvmti, info.params, info.param_count); in GetExtensionEventId()
254 Dealloc(jvmti, info.short_description, info.id, info.params); in GetExtensionEventId()
269 const jvmtiExtensionFunctionInfo& info = infos[i]; in GetExtensionFunctionVoid() local
270 if (name == info.id) { in GetExtensionFunctionVoid()
271 res = reinterpret_cast<void*>(info.func); in GetExtensionFunctionVoid()
273 DeallocParams(jvmti, info.params, info.param_count); in GetExtensionFunctionVoid()
274 Dealloc(jvmti, info.short_description, info.errors, info.id, info.params); in GetExtensionFunctionVoid()
/art/test/924-threads/
Dthreads.cc93 jvmtiThreadInfo info; in Java_art_Test924_getThreadInfo() local
94 memset(&info, 0, sizeof(jvmtiThreadInfo)); in Java_art_Test924_getThreadInfo()
96 jvmtiError result = jvmti_env->GetThreadInfo(thread, &info); in Java_art_Test924_getThreadInfo()
105 return (info.name == nullptr) ? nullptr : env->NewStringUTF(info.name); in Java_art_Test924_getThreadInfo()
109 return env->NewStringUTF(android::base::StringPrintf("%d", info.priority).c_str()); in Java_art_Test924_getThreadInfo()
113 return env->NewStringUTF(info.is_daemon == JNI_TRUE ? "true" : "false"); in Java_art_Test924_getThreadInfo()
117 return env->NewLocalRef(info.thread_group); in Java_art_Test924_getThreadInfo()
121 return env->NewLocalRef(info.context_class_loader); in Java_art_Test924_getThreadInfo()
128 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(info.name)); in Java_art_Test924_getThreadInfo()
129 if (info.thread_group != nullptr) { in Java_art_Test924_getThreadInfo()
[all …]
/art/compiler/debug/dwarf/
Ddwarf_test.cc303 DebugInfoEntryWriter<> info(is64bit, &debug_abbrev); in TEST_F() local
305 info.StartTag(dwarf::DW_TAG_compile_unit); in TEST_F()
308 info.WriteStrp(dwarf::DW_AT_producer, "Compiler name", &debug_str_data_); in TEST_F()
310 info.WriteAddr(dwarf::DW_AT_low_pc, 0x01000000); in TEST_F()
312 info.WriteAddr(dwarf::DW_AT_high_pc, 0x02000000); in TEST_F()
314 info.StartTag(dwarf::DW_TAG_subprogram); in TEST_F()
316 info.WriteStrp(dwarf::DW_AT_name, "Foo", &debug_str_data_); in TEST_F()
318 info.WriteAddr(dwarf::DW_AT_low_pc, 0x01010000); in TEST_F()
320 info.WriteAddr(dwarf::DW_AT_high_pc, 0x01020000); in TEST_F()
322 info.EndTag(); // DW_TAG_subprogram in TEST_F()
[all …]
/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/
DFormat21c.java29 file.writeByte((byte) insn.info.value); in writeToFile()
66 public PoolIndexKind getPoolIndexKind(OpcodeInfo info) { in getPoolIndexKind() argument
67 if (info.opcode == Opcode.CONST_STRING) { in getPoolIndexKind()
70 if (info.opcode == Opcode.CONST_CLASS in getPoolIndexKind()
71 || info.opcode == Opcode.CHECK_CAST in getPoolIndexKind()
72 || info.opcode == Opcode.NEW_INSTANCE) { in getPoolIndexKind()
/art/tools/jvmti-agents/enable-vlog/
Denablevlog.cc68 const jvmtiExtensionFunctionInfo& info = infos[i]; in GetExtensionFunction() local
69 if (name == info.id) { in GetExtensionFunction()
70 res = reinterpret_cast<void*>(info.func); in GetExtensionFunction()
72 DeallocParams(jvmti, info.params, info.param_count); in GetExtensionFunction()
73 Dealloc(jvmti, info.short_description, info.errors, info.id, info.params); in GetExtensionFunction()
/art/test/927-timers/
Dtimers.cc56 jvmtiTimerInfo info; in Java_art_Test927_getTimerInfo() local
57 jvmtiError result = jvmti_env->GetTimerInfo(&info); in Java_art_Test927_getTimerInfo()
66 return env->NewStringUTF(android::base::StringPrintf("%" PRId64, info.max_value).c_str()); in Java_art_Test927_getTimerInfo()
70 return env->NewStringUTF(info.may_skip_forward == JNI_TRUE ? "true" : "false"); in Java_art_Test927_getTimerInfo()
73 return env->NewStringUTF(info.may_skip_forward == JNI_TRUE ? "true" : "false"); in Java_art_Test927_getTimerInfo()
78 android::base::StringPrintf("%d", static_cast<jint>(info.kind)).c_str()); in Java_art_Test927_getTimerInfo()
/art/test/925-threadgroups/
Dthreadgroups.cc59 jvmtiThreadGroupInfo info; in Java_art_Test925_getThreadGroupInfo() local
60 jvmtiError result = jvmti_env->GetThreadGroupInfo(group, &info); in Java_art_Test925_getThreadGroupInfo()
69 return info.parent; in Java_art_Test925_getThreadGroupInfo()
73 return (info.name == nullptr) ? nullptr : env->NewStringUTF(info.name); in Java_art_Test925_getThreadGroupInfo()
77 return env->NewStringUTF(android::base::StringPrintf("%d", info.max_priority).c_str()); in Java_art_Test925_getThreadGroupInfo()
81 return env->NewStringUTF(info.is_daemon == JNI_TRUE ? "true" : "false"); in Java_art_Test925_getThreadGroupInfo()
/art/tools/ahat/src/main/com/android/ahat/
DSiteHandler.java98 for (Site.ObjectsInfo info : selector.selected()) { in handle()
99 Site.ObjectsInfo baseinfo = info.getBaseline(); in handle()
100 String className = info.getClassName(); in handle()
101 SizeTable.row(doc, info.numBytes, baseinfo.numBytes, in handle()
104 site.getId(), info.heap.getName(), className), in handle()
105 DocString.format("%,14d", info.numInstances)), in handle()
106 DocString.delta(false, false, info.numInstances, baseinfo.numInstances), in handle()
107 DocString.text(info.heap.getName()), in handle()
108 Summarizer.summarize(info.classObj)); in handle()
/art/runtime/gc/space/
Dlarge_object_space.cc337 size_t FreeListSpace::GetSlotIndexForAllocationInfo(const AllocationInfo* info) const { in GetSlotIndexForAllocationInfo()
338 DCHECK_GE(info, allocation_info_); in GetSlotIndexForAllocationInfo()
339 DCHECK_LT(info, reinterpret_cast<AllocationInfo*>(allocation_info_map_.End())); in GetSlotIndexForAllocationInfo()
340 return info - allocation_info_; in GetSlotIndexForAllocationInfo()
419 void FreeListSpace::RemoveFreePrev(AllocationInfo* info) { in RemoveFreePrev() argument
420 CHECK_GT(info->GetPrevFree(), 0U); in RemoveFreePrev()
421 auto it = free_blocks_.lower_bound(info); in RemoveFreePrev()
423 CHECK_EQ(*it, info); in RemoveFreePrev()
431 AllocationInfo* info = GetAllocationInfoForAddress(reinterpret_cast<uintptr_t>(obj)); in Free() local
432 DCHECK(!info->IsFree()); in Free()
[all …]
/art/profman/
Dprofile_assistant.cc39 ProfileCompilationInfo info(options.IsBootImageMerge()); in ProcessProfilesInternal() local
42 if (!info.Load(reference_profile_file->Fd(), /*merge_classes=*/ true, filter_fn)) { in ProcessProfilesInternal()
47 if (options.IsBootImageMerge() && !info.IsForBootImage()) { in ProcessProfilesInternal()
53 uint32_t number_of_methods = info.GetNumberOfMethods(); in ProcessProfilesInternal()
54 uint32_t number_of_classes = info.GetNumberOfResolvedClasses(); in ProcessProfilesInternal()
74 if (!info.SameVersion(cur_info)) { in ProcessProfilesInternal()
85 if (!info.MergeWith(cur_info)) { in ProcessProfilesInternal()
100 if (((info.GetNumberOfMethods() - number_of_methods) < min_change_in_methods_for_compilation) && in ProcessProfilesInternal()
101 ((info.GetNumberOfResolvedClasses() - number_of_classes) in ProcessProfilesInternal()
112 if (!info.Save(reference_profile_file->Fd())) { in ProcessProfilesInternal()
/art/build/
DAndroid.common_build.mk37 $(info Disabling ART_BUILD_TARGET_NDEBUG)
40 $(info Disabling ART_BUILD_TARGET_DEBUG)
43 $(info Disabling ART_BUILD_HOST_NDEBUG)
46 $(info Disabling ART_BUILD_HOST_DEBUG)
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DSite.java222 ObjectsInfo info = getObjectsInfo(heap, inst.getClassObj()); in prepareForUse() local
223 info.numInstances++; in prepareForUse()
224 info.numBytes = info.numBytes.plus(size); in prepareForUse()
233 ObjectsInfo info = getObjectsInfo(childInfo.heap, childInfo.classObj); in prepareForUse() local
234 info.numInstances += childInfo.numInstances; in prepareForUse()
235 info.numBytes = info.numBytes.plus(childInfo.numBytes); in prepareForUse()
309 ObjectsInfo info = classToObjectsInfo.get(classObj); in getObjectsInfo() local
310 if (info == null) { in getObjectsInfo()
311 info = new ObjectsInfo(heap, classObj); in getObjectsInfo()
312 mObjectsInfos.add(info); in getObjectsInfo()
[all …]

123456789