/art/runtime/native/ |
D | java_lang_reflect_Field.cc | 62 Primitive::Type field_type, JValue* value) in GetFieldValue() argument 67 switch (field_type) { in GetFieldValue() 148 Primitive::Type field_type = f->GetTypeAsPrimitiveType(); in Field_get() local 150 if (!GetFieldValue<true>(o, f, field_type, &value)) { in Field_get() 154 return soa.AddLocalReference<jobject>(BoxPrimitive(field_type, value)); in Field_get() 176 Primitive::Type field_type = f->GetTypeAsPrimitiveType(); in GetPrimitiveField() local 178 if (field_type == kPrimitiveType) { in GetPrimitiveField() 186 if (!GetFieldValue<false>(o, f, field_type, &field_value)) { in GetPrimitiveField() 192 if (!ConvertPrimitiveValue(false, field_type, kPrimitiveType, field_value, in GetPrimitiveField() 233 Primitive::Type field_type, bool allow_references, in SetFieldValue() argument [all …]
|
/art/runtime/mirror/ |
D | object.cc | 214 mirror::Class* field_type = field->GetType<!kMovingCollector>(); in CheckFieldAssignmentImpl() local 215 if (field_type != nullptr) { in CheckFieldAssignmentImpl() 216 CHECK(field_type->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl() 233 mirror::Class* field_type = field->GetType<!kMovingCollector>(); in CheckFieldAssignmentImpl() local 234 if (field_type != nullptr) { in CheckFieldAssignmentImpl() 235 CHECK(field_type->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl()
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 33 template<FindFieldType find_type, Primitive::Type field_type, bool do_access_check> 39 Primitive::ComponentSize(field_type)); in DoFieldGet() 63 switch (field_type) { in DoFieldGet() 86 LOG(FATAL) << "Unreachable: " << field_type; in DoFieldGet() 126 template<Primitive::Type field_type> in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 149 switch (field_type) { in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 172 LOG(FATAL) << "Unreachable: " << field_type; in EXPLICIT_DO_FIELD_GET_ALL_TEMPLATE_DECL() 192 template<Primitive::Type field_type> 196 switch (field_type) { in GetFieldValue() 219 LOG(FATAL) << "Unreachable: " << field_type; in GetFieldValue() [all …]
|
D | interpreter_common.h | 160 template<FindFieldType find_type, Primitive::Type field_type, bool do_access_check> 166 template<Primitive::Type field_type> 172 template<FindFieldType find_type, Primitive::Type field_type, bool do_access_check, 179 template<Primitive::Type field_type, bool transaction_active>
|
/art/runtime/verifier/ |
D | method_verifier.cc | 3987 const RegType* field_type = nullptr; in VerifyISFieldAccess() local 4000 field_type = &FromClass(field->GetTypeDescriptor(), field_type_class, in VerifyISFieldAccess() 4007 if (field_type == nullptr) { in VerifyISFieldAccess() 4010 field_type = ®_types_.FromDescriptor(GetClassLoader(), descriptor, false); in VerifyISFieldAccess() 4012 DCHECK(field_type != nullptr); in VerifyISFieldAccess() 4019 VerifyPrimitivePut(*field_type, insn_type, vregA); in VerifyISFieldAccess() 4021 if (!insn_type.IsAssignableFrom(*field_type)) { in VerifyISFieldAccess() 4025 VerifyError error = field_type->IsReferenceTypes() ? VERIFY_ERROR_BAD_CLASS_SOFT in VerifyISFieldAccess() 4029 << "' but found type '" << *field_type in VerifyISFieldAccess() 4033 work_line_->VerifyRegisterType(this, vregA, *field_type); in VerifyISFieldAccess() [all …]
|
/art/compiler/optimizing/ |
D | builder.cc | 842 Primitive::Type field_type = resolved_field->GetTypeAsPrimitiveType(); in BuildInstanceFieldAccess() local 851 HInstruction* value = LoadLocal(source_or_dest_reg, field_type); in BuildInstanceFieldAccess() 855 field_type, in BuildInstanceFieldAccess() 861 field_type, in BuildInstanceFieldAccess() 965 Primitive::Type field_type = resolved_field->GetTypeAsPrimitiveType(); in BuildStaticFieldAccess() local 970 HInstruction* value = LoadLocal(source_or_dest_reg, field_type); in BuildStaticFieldAccess() 971 DCHECK_EQ(value->GetType(), field_type); in BuildStaticFieldAccess() 973 new (arena_) HStaticFieldSet(cls, value, field_type, resolved_field->GetOffset(), in BuildStaticFieldAccess() 977 new (arena_) HStaticFieldGet(cls, field_type, resolved_field->GetOffset(), in BuildStaticFieldAccess()
|
D | nodes.h | 3131 FieldInfo(MemberOffset field_offset, Primitive::Type field_type, bool is_volatile) in FieldInfo() argument 3132 : field_offset_(field_offset), field_type_(field_type), is_volatile_(is_volatile) {} in FieldInfo() 3147 Primitive::Type field_type, in HInstanceFieldGet() argument 3150 : HExpression(field_type, SideEffects::DependsOnSomething()), in HInstanceFieldGet() 3151 field_info_(field_offset, field_type, is_volatile) { in HInstanceFieldGet() 3187 Primitive::Type field_type, in HInstanceFieldSet() argument 3191 field_info_(field_offset, field_type, is_volatile) { in HInstanceFieldSet() 3565 Primitive::Type field_type, in HStaticFieldGet() argument 3568 : HExpression(field_type, SideEffects::DependsOnSomething()), in HStaticFieldGet() 3569 field_info_(field_offset, field_type, is_volatile) { in HStaticFieldGet() [all …]
|
D | code_generator_arm.cc | 2845 Primitive::Type field_type = field_info.GetFieldType(); in HandleFieldSet() local 2846 if (Primitive::IsFloatingPointType(field_type)) { in HandleFieldSet() 2852 bool is_wide = field_type == Primitive::kPrimLong || field_type == Primitive::kPrimDouble; in HandleFieldSet() 2858 if (CodeGenerator::StoreNeedsWriteBarrier(field_type, instruction->InputAt(1))) { in HandleFieldSet() 2871 if (field_type == Primitive::kPrimDouble) { in HandleFieldSet() 2889 Primitive::Type field_type = field_info.GetFieldType(); in HandleFieldSet() local 2896 switch (field_type) { in HandleFieldSet() 2957 LOG(FATAL) << "Unreachable type " << field_type; in HandleFieldSet() 2962 if (field_type != Primitive::kPrimLong && field_type != Primitive::kPrimDouble) { in HandleFieldSet() 2966 if (CodeGenerator::StoreNeedsWriteBarrier(field_type, instruction->InputAt(1))) { in HandleFieldSet() [all …]
|
D | code_generator_x86.cc | 3275 Primitive::Type field_type = field_info.GetFieldType(); in HandleFieldGet() local 3278 switch (field_type) { in HandleFieldGet() 3333 LOG(FATAL) << "Unreachable type " << field_type; in HandleFieldGet() 3338 if (field_type != Primitive::kPrimLong) { in HandleFieldGet() 3354 Primitive::Type field_type = field_info.GetFieldType(); in HandleFieldSet() local 3355 bool is_byte_type = (field_type == Primitive::kPrimBoolean) in HandleFieldSet() 3356 || (field_type == Primitive::kPrimByte); in HandleFieldSet() 3363 } else if (Primitive::IsFloatingPointType(field_type)) { in HandleFieldSet() 3369 if (CodeGenerator::StoreNeedsWriteBarrier(field_type, instruction->InputAt(1))) { in HandleFieldSet() 3373 } else if (is_volatile && (field_type == Primitive::kPrimLong)) { in HandleFieldSet() [all …]
|
D | code_generator_arm64.cc | 1179 Primitive::Type field_type = field_info.GetFieldType(); in HandleFieldSet() local 1184 codegen_->StoreRelease(field_type, value, HeapOperand(obj, offset)); in HandleFieldSet() 1188 codegen_->Store(field_type, value, HeapOperand(obj, offset)); in HandleFieldSet() 1193 codegen_->Store(field_type, value, HeapOperand(obj, offset)); in HandleFieldSet() 1197 if (CodeGenerator::StoreNeedsWriteBarrier(field_type, instruction->InputAt(1))) { in HandleFieldSet() 2552 Primitive::Type field_type = store->InputAt(1)->GetType(); in VisitStoreLocal() local 2553 switch (field_type) { in VisitStoreLocal() 2570 LOG(FATAL) << "Unimplemented local type " << field_type; in VisitStoreLocal()
|
D | code_generator_x86_64.cc | 3173 Primitive::Type field_type = field_info.GetFieldType(); in HandleFieldGet() local 3176 switch (field_type) { in HandleFieldGet() 3219 LOG(FATAL) << "Unreachable type " << field_type; in HandleFieldGet() 3260 Primitive::Type field_type = field_info.GetFieldType(); in HandleFieldSet() local 3267 switch (field_type) { in HandleFieldSet() 3324 LOG(FATAL) << "Unreachable type " << field_type; in HandleFieldSet() 3330 if (CodeGenerator::StoreNeedsWriteBarrier(field_type, instruction->InputAt(1))) { in HandleFieldSet()
|
D | code_generator_mips64.cc | 2955 Primitive::Type field_type = store->InputAt(1)->GetType(); in VisitStoreLocal() local 2956 switch (field_type) { in VisitStoreLocal() 2973 LOG(FATAL) << "Unimplemented local type " << field_type; in VisitStoreLocal()
|
/art/runtime/ |
D | class_linker_test.cc | 282 mirror::Class* field_type = field->GetType<true>(); in AssertClass() local 283 ASSERT_TRUE(field_type != nullptr); in AssertClass() 285 ASSERT_TRUE(!field_type->IsPrimitive()); in AssertClass()
|
D | jni_internal.cc | 190 mirror::Class* field_type; in FindFieldID() local 194 field_type = class_linker->FindClass(soa.Self(), sig, class_loader); in FindFieldID() 196 field_type = class_linker->FindPrimitiveClass(*sig); in FindFieldID() 198 if (field_type == nullptr) { in FindFieldID() 215 field_type->GetDescriptor(&temp)); in FindFieldID() 217 field = c->FindInstanceField(name, field_type->GetDescriptor(&temp)); in FindFieldID()
|
D | debugger.cc | 1915 mirror::Class* field_type; in SetArtFieldValue() local 1920 field_type = f->GetType<true>(); in SetArtFieldValue() 1922 if (!field_type->IsAssignableFrom(v->GetClass())) { in SetArtFieldValue()
|
/art/oatdump/ |
D | oatdump.cc | 1633 mirror::Class* field_type = field->GetType<false>(); in PrintField() local 1634 if (field_type != nullptr) { in PrintField() 1635 PrettyObjectValue(os, field_type, value); in PrintField()
|