Home
last modified time | relevance | path

Searched refs:class_descriptor (Results 1 – 13 of 13) sorted by relevance

/art/libdexfile/dex/
Dtest_dex_file_builder.h53 void AddField(const std::string& class_descriptor, const std::string& type, in AddField() argument
56 AddType(class_descriptor); in AddField()
59 FieldKey key = { class_descriptor, type, name }; in AddField()
63 void AddMethod(const std::string& class_descriptor, const std::string& signature, in AddMethod() argument
66 AddType(class_descriptor); in AddMethod()
79 class_descriptor, name, proto in AddMethod()
203 Write16(raw_offset + 0u, GetTypeIdx(entry.first.class_descriptor)); in Build()
210 Write16(raw_offset + 0u, GetTypeIdx(entry.first.class_descriptor)); in Build()
262 uint32_t GetFieldIdx(const std::string& class_descriptor, const std::string& type, in GetFieldIdx() argument
264 FieldKey key = { class_descriptor, type, name }; in GetFieldIdx()
[all …]
Ddescriptors_names.cc82 std::string GetJniShortName(const std::string& class_descriptor, const std::string& method) { in GetJniShortName() argument
84 std::string class_name(class_descriptor); in GetJniShortName()
Ddex_file_verifier.cc2306 LOAD_STRING_BY_TYPE(class_descriptor, item->class_idx_, "inter_field_id_item class_idx") in CheckInterFieldIdItem()
2307 if (UNLIKELY(!IsValidDescriptor(class_descriptor) || class_descriptor[0] != 'L')) { in CheckInterFieldIdItem()
2308 ErrorStringPrintf("Invalid descriptor for class_idx: '%s'", class_descriptor); in CheckInterFieldIdItem()
2353 LOAD_STRING_BY_TYPE(class_descriptor, item->class_idx_, "inter_method_id_item class_idx") in CheckInterMethodIdItem()
2354 if (UNLIKELY(!IsValidDescriptor(class_descriptor) || (class_descriptor[0] != 'L' && in CheckInterMethodIdItem()
2355 class_descriptor[0] != '['))) { in CheckInterMethodIdItem()
2356 ErrorStringPrintf("Invalid descriptor for class_idx: '%s'", class_descriptor); in CheckInterMethodIdItem()
2418 LOAD_STRING_BY_TYPE(class_descriptor, item->class_idx_, "inter_class_def_item class_idx") in CheckInterClassDefItem()
2419 if (UNLIKELY(!IsValidDescriptor(class_descriptor) || class_descriptor[0] != 'L')) { in CheckInterClassDefItem()
2420 ErrorStringPrintf("Invalid class descriptor: '%s'", class_descriptor); in CheckInterClassDefItem()
/art/runtime/
Ddebug_print.h29 std::string DescribeLoaders(ObjPtr<mirror::ClassLoader> loader, const char* class_descriptor)
Ddebug_print.cc63 std::string DescribeLoaders(ObjPtr<mirror::ClassLoader> loader, const char* class_descriptor) { in DescribeLoaders() argument
65 uint32_t hash = ComputeModifiedUtf8Hash(class_descriptor); in DescribeLoaders()
87 (table != nullptr) ? table->Lookup(class_descriptor, hash) : nullptr; in DescribeLoaders()
Dclass_linker_test.cc471 : is_static(is_static_in), class_descriptor(class_descriptor_in) {} in CheckOffsets()
473 std::string class_descriptor; member
479 Runtime::Current()->GetClassLinker()->FindSystemClass(self, class_descriptor.c_str()); in Check()
480 CHECK(klass != nullptr) << class_descriptor; in Check()
494 << " class=" << class_descriptor in Check()
504 << " class=" << class_descriptor in Check()
526 << " i=" << i << " class=" << class_descriptor in Check()
546 LOG(ERROR) << "Offset: class=" << class_descriptor << " field=" << offset.java_name in Check()
/art/compiler/
Dcommon_compiler_test.cc218 std::string class_descriptor(DotToDescriptor(class_name)); in CompileDirectMethod() local
221 class_linker_->FindClass(self, class_descriptor.c_str(), class_loader); in CompileDirectMethod()
233 std::string class_descriptor(DotToDescriptor(class_name)); in CompileVirtualMethod() local
236 class_linker_->FindClass(self, class_descriptor.c_str(), class_loader); in CompileVirtualMethod()
/art/tools/hiddenapi/
DREADME.md23 `class_descriptor->method_name(parameter_types)return_type`
26 `class_descriptor->field_name:field_type`
/art/test/ti-agent/
Djni_binder.cc62 static std::string GetJniShortName(const std::string& class_descriptor, const std::string& method) { in GetJniShortName() argument
64 std::string class_name(class_descriptor); in GetJniShortName()
/art/tools/jvmti-agents/breakpoint-logger/
DREADME.md17 > `:class_descriptor:->:methodName::method_sig:@:breakpoint_location:,[...]`
/art/dexlayout/
Ddexlayout.cc1370 const char* class_descriptor = header_->ClassDefs()[idx]->ClassType()->GetStringId()->Data(); in DumpClass() local
1371 if (!(class_descriptor[0] == 'L' && in DumpClass()
1372 class_descriptor[strlen(class_descriptor)-1] == ';')) { in DumpClass()
1374 LOG(ERROR) << "Malformed class name '" << class_descriptor << "'"; in DumpClass()
1376 char* mangle = strdup(class_descriptor + 1); in DumpClass()
1414 fprintf(out_file_, " Class descriptor : '%s'\n", class_descriptor); in DumpClass()
1422 std::string dot(DescriptorClassToName(class_descriptor)); in DumpClass()
/art/runtime/interpreter/
Dunstarted_runtime.cc1043 static ObjPtr<mirror::Object> CreateInstanceOf(Thread* self, const char* class_descriptor) in CreateInstanceOf() argument
1048 class_linker->FindClass(self, class_descriptor, ScopedNullHandle<mirror::ClassLoader>()); in CreateInstanceOf()
1050 AbortTransactionOrFail(self, "Could not load class %s", class_descriptor); in CreateInstanceOf()
1060 AbortTransactionOrFail(self, "Could not find <init> for %s", class_descriptor); in CreateInstanceOf()
1068 AbortTransactionOrFail(self, "Could not run <init> for %s", class_descriptor); in CreateInstanceOf()
1071 AbortTransactionOrFail(self, "Could not allocate instance of %s", class_descriptor); in CreateInstanceOf()
/art/dex2oat/linker/
Doat_writer.cc1593 const char* class_descriptor = dex_file_->GetTypeDescriptor(type_id); in IsImageClass() local
1594 return writer_->GetCompilerOptions().IsImageClass(class_descriptor); in IsImageClass()