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