Searched refs:kh (Results 1 – 9 of 9) sorted by relevance
/art/runtime/mirror/ |
D | class.cc | 194 ClassHelper kh(this); in DumpClass() local 196 << "'" << kh.GetDescriptor() << "' cl=" << GetClassLoader() << " -----\n", in DumpClass() 207 if (kh.NumDirectInterfaces() > 0) { in DumpClass() 208 os << " interfaces (" << kh.NumDirectInterfaces() << "):\n"; in DumpClass() 209 for (size_t i = 0; i < kh.NumDirectInterfaces(); ++i) { in DumpClass() 210 Class* interface = kh.GetDirectInterface(i); in DumpClass() 541 ClassHelper kh; in FindStaticField() local 549 kh.ChangeClass(k); in FindStaticField() 550 for (uint32_t i = 0; i < kh.NumDirectInterfaces(); ++i) { in FindStaticField() 551 Class* interface = kh.GetDirectInterface(i); in FindStaticField() [all …]
|
/art/runtime/ |
D | class_linker_test.cc | 108 ClassHelper kh(array); in AssertArrayClass() local 113 ASSERT_STREQ(array_descriptor.c_str(), kh.GetDescriptor()); in AssertArrayClass() 118 kh.ChangeClass(array->GetComponentType()); in AssertArrayClass() 119 ASSERT_TRUE(kh.GetDescriptor() != NULL); in AssertArrayClass() 137 kh.ChangeClass(array); in AssertArrayClass() 138 EXPECT_EQ(2U, kh.NumDirectInterfaces()); in AssertArrayClass() 143 kh.ChangeClass(kh.GetDirectInterface(0)); in AssertArrayClass() 144 EXPECT_STREQ(kh.GetDescriptor(), "Ljava/lang/Cloneable;"); in AssertArrayClass() 145 kh.ChangeClass(array); in AssertArrayClass() 146 kh.ChangeClass(kh.GetDirectInterface(1)); in AssertArrayClass() [all …]
|
D | common_throws.cc | 39 ClassHelper kh(referrer); in AddReferrerLocation() local 40 std::string location(kh.GetLocation()); in AddReferrerLocation() 258 ClassHelper kh(c); in ThrowNoSuchFieldError() local 261 << " in class " << kh.GetDescriptor() << " or its superclasses"; in ThrowNoSuchFieldError() 270 ClassHelper kh(c); in ThrowNoSuchMethodError() local 272 << " in class " << kh.GetDescriptor() << " or its super classes"; in ThrowNoSuchMethodError()
|
D | class_linker.cc | 396 ClassHelper kh(class_array_class.get(), this); in InitFromCompiler() local 397 CHECK_EQ(java_lang_Cloneable, kh.GetDirectInterface(0)); in InitFromCompiler() 398 CHECK_EQ(java_io_Serializable, kh.GetDirectInterface(1)); in InitFromCompiler() 399 kh.ChangeClass(object_array_class.get()); in InitFromCompiler() 400 CHECK_EQ(java_lang_Cloneable, kh.GetDirectInterface(0)); in InitFromCompiler() 401 CHECK_EQ(java_io_Serializable, kh.GetDirectInterface(1)); in InitFromCompiler() 1633 ClassHelper kh(klass); in FixupStaticTrampolines() local 1634 const DexFile::ClassDef* dex_class_def = kh.GetClassDef(); in FixupStaticTrampolines() 1636 const DexFile& dex_file = kh.GetDexFile(); in FixupStaticTrampolines() 1880 ClassHelper kh(klass.get()); in LoadMethod() local [all …]
|
D | utils.cc | 404 ClassHelper kh(obj->GetClass()); in PrettyTypeOf() local 405 std::string result(PrettyDescriptor(kh.GetDescriptor())); in PrettyTypeOf() 407 kh.ChangeClass(obj->AsClass()); in PrettyTypeOf() 408 result += "<" + PrettyDescriptor(kh.GetDescriptor()) + ">"; in PrettyTypeOf()
|
D | object_utils.h | 335 ClassHelper kh(field_->GetDeclaringClass()); in GetDeclaringClassDescriptor() 336 declaring_class_descriptor_ = kh.GetDescriptor(); in GetDeclaringClassDescriptor()
|
D | debugger.cc | 1307 ClassHelper kh(c); in OutputDeclaredInterfaces() local 1308 size_t interface_count = kh.NumDirectInterfaces(); in OutputDeclaredInterfaces() 1311 expandBufAddRefTypeId(pReply, gRegistry->AddRefType(kh.GetDirectInterface(i))); in OutputDeclaredInterfaces() 3750 ClassHelper kh; in GetRecentAllocations() local 3759 kh.ChangeClass(record->type); in GetRecentAllocations() 3760 size_t allocated_object_class_name_index = class_names.IndexOf(kh.GetDescriptor()); in GetRecentAllocations()
|
/art/compiler/driver/ |
D | compiler_driver.cc | 735 ClassHelper kh(klass); in MaybeAddToImageClasses() local 736 const char* descriptor = kh.GetDescriptor(); in MaybeAddToImageClasses() 744 for (size_t i = 0; i < kh.NumDirectInterfaces(); ++i) { in MaybeAddToImageClasses() 745 MaybeAddToImageClasses(kh.GetDirectInterface(i), image_classes); in MaybeAddToImageClasses()
|
/art/runtime/verifier/ |
D | method_verifier.cc | 96 ClassHelper kh(klass); in VerifyClass() local 97 const DexFile& dex_file = kh.GetDexFile(); in VerifyClass() 98 const DexFile::ClassDef* class_def = kh.GetClassDef(); in VerifyClass() 107 kh.GetDexCache(), in VerifyClass()
|