Home
last modified time | relevance | path

Searched refs:PrettyField (Results 1 – 17 of 17) sorted by relevance

/art/runtime/mirror/
Dart_field-inl.h66 DCHECK(object != nullptr) << PrettyField(this); in Get32()
76 DCHECK(object != nullptr) << PrettyField(this); in Set32()
86 DCHECK(object != NULL) << PrettyField(this); in Get64()
96 DCHECK(object != NULL) << PrettyField(this); in Set64()
106 DCHECK(object != NULL) << PrettyField(this); in GetObj()
116 DCHECK(object != NULL) << PrettyField(this); in SetObj()
126 DCHECK_EQ(Primitive::kPrimBoolean, GetTypeAsPrimitiveType()) << PrettyField(this); in GetBoolean()
132 DCHECK_EQ(Primitive::kPrimBoolean, GetTypeAsPrimitiveType()) << PrettyField(this); in SetBoolean()
137 DCHECK_EQ(Primitive::kPrimByte, GetTypeAsPrimitiveType()) << PrettyField(this); in GetByte()
143 DCHECK_EQ(Primitive::kPrimByte, GetTypeAsPrimitiveType()) << PrettyField(this); in SetByte()
[all …]
Dclass.cc260 os << StringPrintf(" %2zd: %s\n", i, PrettyField(h_this->GetStaticField(i)).c_str()); in DumpClass()
270 os << StringPrintf(" %2zd: %s\n", i, PrettyField(h_this->GetInstanceField(i)).c_str()); in DumpClass()
/art/runtime/
Dutils_test.cc142 TEST_F(UtilsTest, PrettyField) { in TEST_F() argument
144 EXPECT_EQ("null", PrettyField(NULL)); in TEST_F()
151 EXPECT_EQ("int java.lang.String.count", PrettyField(f)); in TEST_F()
152 EXPECT_EQ("java.lang.String.count", PrettyField(f, false)); in TEST_F()
154 EXPECT_EQ("char[] java.lang.String.value", PrettyField(f)); in TEST_F()
155 EXPECT_EQ("java.lang.String.value", PrettyField(f, false)); in TEST_F()
Ddex_instruction.cc188 …os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " << PrettyField(field_idx, *file, tr… in DumpString()
201 …os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " << PrettyField(field_idx, *file, tru… in DumpString()
227 << PrettyField(field_idx, *file, true) << " // field@" << field_idx; in DumpString()
248 << PrettyField(field_idx, *file, true) << " // field@" << field_idx; in DumpString()
Dcommon_throws.cc176 msg << "Field '" << PrettyField(accessed, false) << "' is inaccessible to class '" in ThrowIllegalAccessErrorField()
184 msg << "Final field '" << PrettyField(accessed, false) << "' cannot be written to by method '" in ThrowIllegalAccessErrorFinalField()
243 msg << "Expected '" << PrettyField(resolved_field) << "' to be a " in ThrowIncompatibleClassChangeErrorField()
333 << " field '" << PrettyField(field, true) << "' on a null object reference"; in ThrowNullPointerExceptionForFieldAccess()
Dutils.h329 std::string PrettyField(mirror::ArtField* f, bool with_type = true)
331 std::string PrettyField(uint32_t field_idx, const DexFile& dex_file, bool with_type = true);
Dcheck_jni.cc219 PrettyField(f.Get()).c_str(), PrettyTypeOf(obj).c_str()); in CheckFieldType()
226 PrettyField(f.Get()).c_str(), prim); in CheckFieldType()
233 PrettyField(f.Get()).c_str()); in CheckFieldType()
236 PrettyField(f.Get()).c_str()); in CheckFieldType()
264 PrettyField(f).c_str(), PrettyTypeOf(o).c_str()); in CheckInstanceFieldID()
479 msg += PrettyField(f); in Check()
Dutils.cc292 std::string PrettyField(mirror::ArtField* f, bool with_type) { in PrettyField() function
308 std::string PrettyField(uint32_t field_idx, const DexFile& dex_file, bool with_type) { in PrettyField() function
Dreflection.cc688 return "field " + PrettyField(f, false); in UnboxingFailureKind()
Dclass_linker.cc3921 CHECK_EQ(PrettyField(klass->GetStaticField(0)), interfaces_field_name); in CreateProxyClass()
3925 CHECK_EQ(PrettyField(klass->GetStaticField(1)), throws_field_name); in CreateProxyClass()
5449 CHECK(type != Primitive::kPrimNot) << PrettyField(field); // should be primitive types in LinkFields()
5472 CHECK(type != Primitive::kPrimNot) << PrettyField(field); // should be primitive types in LinkFields()
5528 << " field=" << PrettyField(field) in LinkFields()
Ddebugger.cc1819 LOG(INFO) << "ERR_INVALID_FIELDID: " << PrettyField(f) << " " << PrettyClass(receiver_class); in GetFieldValueImpl()
1831 …) << "Ignoring non-NULL receiver for ObjectReference.SetValues on static field " << PrettyField(f); in GetFieldValueImpl()
1880 …) << "Ignoring non-NULL receiver for ObjectReference.SetValues on static field " << PrettyField(f); in SetFieldValueImpl()
Dclass_linker_test.cc297 EXPECT_EQ(PrettyField(fh.GetField()), in AssertClass()
/art/runtime/native/
Djava_lang_reflect_Field.cc37 PrettyField(field).c_str()).c_str()); in VerifyFieldAccess()
42 PrettyField(field).c_str()).c_str()); in VerifyFieldAccess()
91 PrettyField(f).c_str()).c_str()); in GetFieldValue()
263 PrettyField(f).c_str()).c_str()); in SetFieldValue()
323 PrettyField(f).c_str()).c_str()); in SetPrimitiveField()
/art/runtime/verifier/
Dmethod_verifier.cc3683 Fail(VERIFY_ERROR_ACCESS_FIELD) << "cannot access static field " << PrettyField(field) in GetStaticField()
3687 Fail(VERIFY_ERROR_CLASS_CHANGE) << "expected field " << PrettyField(field) << " to be static"; in GetStaticField()
3718 Fail(VERIFY_ERROR_ACCESS_FIELD) << "cannot access instance field " << PrettyField(field) in GetInstanceField()
3722 Fail(VERIFY_ERROR_CLASS_CHANGE) << "expected field " << PrettyField(field) in GetInstanceField()
3743 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "cannot access instance field " << PrettyField(field) in GetInstanceField()
3751 Fail(VERIFY_ERROR_NO_FIELD) << "cannot access instance field " << PrettyField(field) in GetInstanceField()
3778 Fail(VERIFY_ERROR_ACCESS_FIELD) << "cannot modify final field " << PrettyField(field) in VerifyISFieldAccess()
3814 Fail(VERIFY_ERROR_BAD_CLASS_SOFT) << "expected field " << PrettyField(field) in VerifyISFieldAccess()
3834 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "expected field " << PrettyField(field) in VerifyISFieldAccess()
3841 Fail(VERIFY_ERROR_BAD_CLASS_SOFT) << "expected field " << PrettyField(field) in VerifyISFieldAccess()
[all …]
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h304 PrettyField(resolved_field, true).c_str()); in FindFieldFromCode()
/art/oatdump/
Doatdump.cc1142 os << StringPrintf("%p Field: %s\n", field, PrettyField(field).c_str()); in PrettyObjectValue()
1264 PrettyField(obj->AsArtField()).c_str()); in Callback()
/art/runtime/gc/
Dheap.cc2586 << PrettyField(cur); in operator ()()