Searched defs:field_type (Results 1 - 19 of 19) sorted by relevance

/art/runtime/mirror/
H A Dobject.cc243 ObjPtr<mirror::Class> field_type = local
245 if (field_type != nullptr) {
246 CHECK(field_type->IsAssignableFrom(new_value->GetClass()));
261 ObjPtr<mirror::Class> field_type = local
263 if (field_type != nullptr) {
264 CHECK(field_type->IsAssignableFrom(new_value->GetClass()));
/art/runtime/native/
H A Djava_lang_reflect_Field.cc77 Primitive::Type field_type,
83 switch (field_type) {
166 Primitive::Type field_type = f->GetTypeAsPrimitiveType(); local
168 if (!GetFieldValue<true>(o, f, field_type, &value)) {
172 return soa.AddLocalReference<jobject>(BoxPrimitive(field_type, value));
195 Primitive::Type field_type = f->GetTypeAsPrimitiveType(); local
197 if (field_type == kPrimitiveType) {
205 if (!GetFieldValue<false>(o, f, field_type, &field_value)) {
211 if (!ConvertPrimitiveValue(false, field_type, kPrimitiveType, field_value,
253 Primitive::Type field_type,
334 ObjPtr<mirror::Class> field_type; local
373 Primitive::Type field_type = f->GetTypeAsPrimitiveType(); local
[all...]
/art/tools/veridex/
H A Dresolver.cc78 const char* field_type) {
80 strcmp(field_type, dex_file.GetFieldTypeDescriptor(field_id)) == 0;
196 const char* field_type) {
218 field_type)) {
231 VeriField itf_field = resolver->LookupFieldIn(*itf, field_name, field_type);
243 VeriField super_field = resolver->LookupFieldIn(*super, field_name, field_type);
75 HasSameNameAndType(const DexFile& dex_file, const DexFile::FieldId& field_id, const char* field_name, const char* field_type) argument
194 LookupFieldIn(const VeriClass& kls, const char* field_name, const char* field_type) argument
/art/runtime/
H A Dmethod_handles.cc766 Primitive::Type field_type,
769 switch (field_type) {
798 LOG(FATAL) << "Unreachable: " << field_type;
808 Primitive::Type field_type,
814 switch (field_type) {
840 LOG(FATAL) << "Unreachable: " << field_type;
846 Primitive::Type field_type,
850 switch (field_type) {
875 LOG(FATAL) << "Unreachable: " << field_type;
892 Primitive::Type field_type local
[all...]
H A Dclass_linker_test.cc365 ObjPtr<mirror::Class> field_type = field->ResolveType(); local
366 ASSERT_TRUE(field_type != nullptr);
368 ASSERT_TRUE(!field_type->IsPrimitive());
H A Djni_internal.cc308 mirror::Class* field_type; local
312 field_type = class_linker->FindClass(soa.Self(), sig, class_loader);
314 field_type = class_linker->FindPrimitiveClass(*sig);
316 if (field_type == nullptr) {
333 soa.Self(), c.Get(), name, field_type->GetDescriptor(&temp));
335 field = c->FindInstanceField(name, field_type->GetDescriptor(&temp));
H A Ddebugger.cc1980 ObjPtr<mirror::Class> field_type; local
1985 field_type = f->ResolveType();
1987 if (!field_type->IsAssignableFrom(v->GetClass())) {
/art/compiler/optimizing/
H A Dscheduler_arm.cc919 DataType::Type field_type = field_info.GetFieldType(); local
922 switch (field_type) {
979 DataType::Type field_type = field_info.GetFieldType(); local
981 CodeGenerator::StoreNeedsWriteBarrier(field_type, instruction->InputAt(1));
984 switch (field_type) {
H A Dcode_generator.cc574 DataType::Type field_type,
596 if (DataType::IsFloatingPointType(field_type)) {
603 locations->SetOut(calling_convention.GetFpuLocation(field_type));
605 locations->SetOut(calling_convention.GetReturnLocation(field_type));
609 if (DataType::IsFloatingPointType(field_type)) {
613 AddLocationAsTemp(calling_convention.GetSetValueLocation(field_type, is_instance), locations);
614 locations->SetInAt(set_index, calling_convention.GetFpuLocation(field_type));
617 calling_convention.GetSetValueLocation(field_type, is_instance));
624 DataType::Type field_type,
637 if (!is_get && DataType::IsFloatingPointType(field_type)) {
572 CreateUnresolvedFieldLocationSummary( HInstruction* field_access, DataType::Type field_type, const FieldAccessCallingConvention& calling_convention) argument
622 GenerateUnresolvedFieldAccess( HInstruction* field_access, DataType::Type field_type, uint32_t field_index, uint32_t dex_pc, const FieldAccessCallingConvention& calling_convention) argument
[all...]
H A Dinstruction_builder.cc1412 DataType::Type field_type = GetFieldAccessType(*dex_file_, field_index); local
1414 HInstruction* value = LoadLocal(source_or_dest_reg, field_type);
1421 field_type,
1429 field_type,
1444 field_type,
1451 field_type,
1504 DataType::Type field_type) {
1509 HInstruction* value = LoadLocal(source_or_dest_reg, field_type);
1511 new (allocator_) HUnresolvedStaticFieldSet(value, field_type, field_index, dex_pc));
1513 AppendInstruction(new (allocator_) HUnresolvedStaticFieldGet(field_type, field_inde
1501 BuildUnresolvedStaticFieldAccess(const Instruction& instruction, uint32_t dex_pc, bool is_put, DataType::Type field_type) argument
1577 DataType::Type field_type = GetFieldAccessType(*dex_file_, field_index); local
1582 DataType::Type field_type = GetFieldAccessType(*dex_file_, field_index); local
[all...]
H A Dcode_generator_arm64.cc2327 DataType::Type field_type = field_info.GetFieldType(); local
2334 if (kPoisonHeapReferences && field_type == DataType::Type::kReference) {
2344 instruction, field_type, source, HeapOperand(obj, offset), /* needs_null_check */ true);
2348 codegen_->Store(field_type, source, HeapOperand(obj, offset));
2353 if (CodeGenerator::StoreNeedsWriteBarrier(field_type, instruction->InputAt(1))) {
H A Dcode_generator_arm_vixl.cc5407 DataType::Type field_type = field_info.GetFieldType(); local
5408 if (DataType::IsFloatingPointType(field_type)) {
5414 bool is_wide = field_type == DataType::Type::kInt64 || field_type == DataType::Type::kFloat64;
5419 CodeGenerator::StoreNeedsWriteBarrier(field_type, instruction->InputAt(1));
5435 if (field_type == DataType::Type::kFloat64) {
5454 DataType::Type field_type = field_info.GetFieldType(); local
5457 CodeGenerator::StoreNeedsWriteBarrier(field_type, instruction->InputAt(1));
5463 switch (field_type) {
5470 StoreOperandType operand_type = GetStoreOperandType(field_type);
[all...]
H A Dcode_generator_mips.cc6418 DataType::Type field_type = field_info.GetFieldType(); local
6419 bool is_wide = (field_type == DataType::Type::kInt64) || (field_type == DataType::Type::kFloat64);
6422 kEmitCompilerReadBarrier && (field_type == DataType::Type::kReference);
6439 if (field_type == DataType::Type::kInt64) {
6600 DataType::Type field_type = field_info.GetFieldType(); local
6601 bool is_wide = (field_type == DataType::Type::kInt64) || (field_type == DataType::Type::kFloat64);
6611 if (field_type == DataType::Type::kInt64) {
6622 if (DataType::IsFloatingPointType(field_type)) {
[all...]
H A Dcode_generator_x86.cc4880 DataType::Type field_type = field_info.GetFieldType(); local
4881 bool is_byte_type = DataType::Size(field_type) == 1u;
4888 } else if (DataType::IsFloatingPointType(field_type)) {
4889 if (is_volatile && field_type == DataType::Type::kFloat64) {
4895 } else if (is_volatile && field_type == DataType::Type::kInt64) {
4909 if (CodeGenerator::StoreNeedsWriteBarrier(field_type, instruction->InputAt(1))) {
4927 DataType::Type field_type = field_info.GetFieldType(); local
4930 CodeGenerator::StoreNeedsWriteBarrier(field_type, instruction->InputAt(1));
4938 switch (field_type) {
4963 DCHECK_EQ(field_type, DataTyp
[all...]
H A Dcode_generator_x86_64.cc4343 DataType::Type field_type = field_info.GetFieldType(); local
4346 CodeGenerator::StoreNeedsWriteBarrier(field_type, instruction->InputAt(1));
4368 } else if (kPoisonHeapReferences && field_type == DataType::Type::kReference) {
4383 DataType::Type field_type = field_info.GetFieldType(); local
4392 switch (field_type) {
4420 // `field_type == DataType::Type::kReference` implies `v == 0`.
4421 DCHECK((field_type != DataType::Type::kReference) || (v == 0));
4426 if (kPoisonHeapReferences && field_type == DataType::Type::kReference) {
4481 LOG(FATAL) << "Unreachable type " << field_type;
4489 if (CodeGenerator::StoreNeedsWriteBarrier(field_type, instructio
[all...]
H A Dnodes.h5531 DataType::Type field_type,
5538 field_type_(field_type),
5566 DataType::Type field_type,
5574 field_type,
5575 SideEffects::FieldReadOfType(field_type, is_volatile),
5579 field_type,
5629 DataType::Type field_type,
5637 SideEffects::FieldWriteOfType(field_type, is_volatile),
5641 field_type,
6445 DataType::Type field_type,
5529 FieldInfo(ArtField* field, MemberOffset field_offset, DataType::Type field_type, bool is_volatile, uint32_t index, uint16_t declaring_class_def_index, const DexFile& dex_file) argument
5564 HInstanceFieldGet(HInstruction* value, ArtField* field, DataType::Type field_type, MemberOffset field_offset, bool is_volatile, uint32_t field_idx, uint16_t declaring_class_def_index, const DexFile& dex_file, uint32_t dex_pc) argument
5626 HInstanceFieldSet(HInstruction* object, HInstruction* value, ArtField* field, DataType::Type field_type, MemberOffset field_offset, bool is_volatile, uint32_t field_idx, uint16_t declaring_class_def_index, const DexFile& dex_file, uint32_t dex_pc) argument
[all...]
/art/libdexfile/dex/
H A Ddex_file_verifier.cc1030 Primitive::Type field_type = Primitive::GetType(field_type_name[0]); local
1035 if (field_type != Primitive::kPrimBoolean) {
1042 if (field_type != Primitive::kPrimByte) {
1049 if (field_type != Primitive::kPrimShort) {
1056 if (field_type != Primitive::kPrimChar) {
1063 if (field_type != Primitive::kPrimInt) {
1070 if (field_type != Primitive::kPrimLong) {
1077 if (field_type != Primitive::kPrimFloat) {
1084 if (field_type != Primitive::kPrimDouble) {
1093 if (field_type !
[all...]
/art/runtime/verifier/
H A Dmethod_verifier.cc4799 const RegType* field_type = nullptr; local
4812 field_type = &FromClass(field->GetTypeDescriptor(),
4845 if (field_type == nullptr) {
4848 field_type = &reg_types_.FromDescriptor(GetClassLoader(), descriptor, false);
4850 DCHECK(field_type != nullptr);
4857 VerifyPrimitivePut(*field_type, insn_type, vregA);
4859 if (!insn_type.IsAssignableFrom(*field_type, this)) {
4863 VerifyError error = field_type->IsReferenceTypes() ? VERIFY_ERROR_BAD_CLASS_SOFT
4867 << "' but found type '" << *field_type local
4871 work_line_->VerifyRegisterType(this, vregA, *field_type);
4887 << "' but found type '" << *field_type << "' in get"; local
4899 << "' but found type '" << *field_type local
[all...]
/art/oatdump/
H A Doatdump.cc2303 ObjPtr<mirror::Class> field_type = field->LookupResolvedType(); local
2304 if (field_type != nullptr) {
2305 PrettyObjectValue(os, field_type, value);

Completed in 393 milliseconds