Home
last modified time | relevance | path

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

/art/compiler/utils/
Dtest_dex_file_builder.h50 void AddField(const std::string& class_descriptor, const std::string& type, in AddField() argument
53 AddType(class_descriptor); in AddField()
56 FieldKey key = { class_descriptor, type, name }; in AddField()
60 void AddMethod(const std::string& class_descriptor, const std::string& signature, in AddMethod() argument
63 AddType(class_descriptor); in AddMethod()
76 class_descriptor, name, proto in AddMethod()
200 Write16(raw_offset + 0u, GetTypeIdx(entry.first.class_descriptor)); in Build()
207 Write16(raw_offset + 0u, GetTypeIdx(entry.first.class_descriptor)); in Build()
249 uint32_t GetFieldIdx(const std::string& class_descriptor, const std::string& type, in GetFieldIdx() argument
251 FieldKey key = { class_descriptor, type, name }; in GetFieldIdx()
[all …]
/art/compiler/
Dcommon_compiler_test.cc112 std::string class_descriptor(DotToDescriptor(class_name)); in MakeExecutable() local
116 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), loader); in MakeExecutable()
233 std::string class_descriptor(DotToDescriptor(class_name)); in CompileClass() local
237 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), loader); in CompileClass()
257 std::string class_descriptor(DotToDescriptor(class_name)); in CompileDirectMethod() local
259 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), class_loader); in CompileDirectMethod()
271 std::string class_descriptor(DotToDescriptor(class_name)); in CompileVirtualMethod() local
273 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), class_loader); in CompileVirtualMethod()
Doat_writer.cc885 const char* class_descriptor = dex_file_->GetTypeDescriptor(type_id); in VisitMethod() local
887 if (!writer_->GetCompilerDriver()->IsImageClass(class_descriptor)) { in VisitMethod()
/art/runtime/
Ddex_file_verifier.cc1829 LOAD_STRING_BY_TYPE(class_descriptor, item->class_idx_, "inter_field_id_item class_idx") in CheckInterFieldIdItem()
1830 if (UNLIKELY(!IsValidDescriptor(class_descriptor) || class_descriptor[0] != 'L')) { in CheckInterFieldIdItem()
1831 ErrorStringPrintf("Invalid descriptor for class_idx: '%s'", class_descriptor); in CheckInterFieldIdItem()
1876 LOAD_STRING_BY_TYPE(class_descriptor, item->class_idx_, "inter_method_id_item class_idx") in CheckInterMethodIdItem()
1877 if (UNLIKELY(!IsValidDescriptor(class_descriptor) || (class_descriptor[0] != 'L' && in CheckInterMethodIdItem()
1878 class_descriptor[0] != '['))) { in CheckInterMethodIdItem()
1879 ErrorStringPrintf("Invalid descriptor for class_idx: '%s'", class_descriptor); in CheckInterMethodIdItem()
1929 LOAD_STRING_BY_TYPE(class_descriptor, item->class_idx_, "inter_class_def_item class_idx") in CheckInterClassDefItem()
1930 if (UNLIKELY(!IsValidDescriptor(class_descriptor) || class_descriptor[0] != 'L')) { in CheckInterClassDefItem()
1931 ErrorStringPrintf("Invalid class descriptor: '%s'", class_descriptor); in CheckInterClassDefItem()
Dclass_linker_test.cc396 : is_static(is_static_in), class_descriptor(class_descriptor_in) {} in CheckOffsets()
398 std::string class_descriptor; member
404 Runtime::Current()->GetClassLinker()->FindSystemClass(self, class_descriptor.c_str()); in Check()
405 CHECK(klass != nullptr) << class_descriptor; in Check()
419 << " class=" << class_descriptor in Check()
429 << " class=" << class_descriptor in Check()
451 << " i=" << i << " class=" << class_descriptor in Check()
471 LOG(ERROR) << "Offset: class=" << class_descriptor << " field=" << offset.java_name in Check()