Home
last modified time | relevance | path

Searched refs:field_type (Results 1 – 15 of 15) sorted by relevance

/art/runtime/native/
Djava_lang_reflect_Field.cc51 Primitive::Type field_type, JValue* value) in GetFieldValue() argument
54 switch (field_type) { in GetFieldValue()
138 Primitive::Type field_type = f->GetTypeAsPrimitiveType(); in Field_get() local
140 if (!GetFieldValue<true>(soa, o, f, field_type, &value)) { in Field_get()
144 return soa.AddLocalReference<jobject>(BoxPrimitive(field_type, value)); in Field_get()
166 Primitive::Type field_type = f->GetTypeAsPrimitiveType(); in GetPrimitiveField() local
168 if (field_type == kPrimitiveType) { in GetPrimitiveField()
176 if (!GetFieldValue<false>(soa, o, f, field_type, &field_value)) { in GetPrimitiveField()
182 if (!ConvertPrimitiveValue(nullptr, false, field_type, kPrimitiveType, field_value, in GetPrimitiveField()
225 mirror::ArtField* f, Primitive::Type field_type, bool allow_references, in SetFieldValue() argument
[all …]
/art/runtime/interpreter/
Dinterpreter_common.cc29 template<FindFieldType find_type, Primitive::Type field_type, bool do_access_check>
35 Primitive::FieldSize(field_type)); in DoFieldGet()
59 switch (field_type) { in DoFieldGet()
82 LOG(FATAL) << "Unreachable: " << field_type; in DoFieldGet()
121 template<Primitive::Type field_type>
144 switch (field_type) { in DoIGetQuick()
155 LOG(FATAL) << "Unreachable: " << field_type; in DoIGetQuick()
170 template<Primitive::Type field_type>
174 switch (field_type) { in GetFieldValue()
197 LOG(FATAL) << "Unreachable: " << field_type; in GetFieldValue()
[all …]
Dinterpreter_common.h161 template<FindFieldType find_type, Primitive::Type field_type, bool do_access_check>
167 template<Primitive::Type field_type>
173 template<FindFieldType find_type, Primitive::Type field_type, bool do_access_check,
180 template<Primitive::Type field_type, bool transaction_active>
/art/runtime/verifier/
Dmethod_verifier.cc3774 RegType* field_type = nullptr; in VerifyISFieldAccess() local
3792 field_type = &reg_types_.FromClass(field->GetTypeDescriptor(), field_type_class, in VerifyISFieldAccess()
3799 if (field_type == nullptr) { in VerifyISFieldAccess()
3802 field_type = &reg_types_.FromDescriptor(class_loader_->Get(), descriptor, false); in VerifyISFieldAccess()
3804 DCHECK(field_type != nullptr); in VerifyISFieldAccess()
3811 VerifyPrimitivePut(*field_type, insn_type, vregA); in VerifyISFieldAccess()
3813 if (!insn_type.IsAssignableFrom(*field_type)) { in VerifyISFieldAccess()
3816 << "' but found type '" << *field_type in VerifyISFieldAccess()
3820 work_line_->VerifyRegisterType(vregA, *field_type); in VerifyISFieldAccess()
3825 if (field_type->Equals(insn_type) || in VerifyISFieldAccess()
[all …]
/art/compiler/llvm/
Dgbc_expander.cc1070 llvm::PointerType* field_type; in Expand_FilledNewArray() local
1078 field_type = irb_.getJIntTy()->getPointerTo(); in Expand_FilledNewArray()
1082 field_type = irb_.getJObjectTy()->getPointerTo(); in Expand_FilledNewArray()
1089 irb_.CreatePtrDisp(array, data_field_offset, field_type); in Expand_FilledNewArray()
1098 irb_.CreatePtrDisp(data_field_addr, elem_size, field_type); in Expand_FilledNewArray()
1113 llvm::PointerType* field_type = in Expand_IGetFast() local
1119 irb_.CreatePtrDisp(object_addr, field_offset_value, field_type); in Expand_IGetFast()
1136 llvm::PointerType* field_type = in Expand_IPutFast() local
1142 irb_.CreatePtrDisp(object_addr, field_offset_value, field_type); in Expand_IPutFast()
1639 llvm::PointerType* field_type = in Expand_HLIGet() local
[all …]
/art/compiler/optimizing/
Dbuilder.cc400 Primitive::Type field_type = resolved_field->GetTypeAsPrimitiveType(); in BuildFieldAccess() local
401 if (!IsTypeSupported(field_type)) { in BuildFieldAccess()
412 HInstruction* value = LoadLocal(source_or_dest_reg, field_type); in BuildFieldAccess()
420 field_type, in BuildFieldAccess()
Dcode_generator_x86.cc1069 Primitive::Type field_type = instruction->InputAt(1)->GetType(); in VisitInstanceFieldSet() local
1070 if (field_type == Primitive::kPrimBoolean || field_type == Primitive::kPrimByte) { in VisitInstanceFieldSet()
1077 if (field_type == Primitive::kPrimNot) { in VisitInstanceFieldSet()
1089 Primitive::Type field_type = instruction->InputAt(1)->GetType(); in VisitInstanceFieldSet() local
1091 switch (field_type) { in VisitInstanceFieldSet()
1111 if (field_type == Primitive::kPrimNot) { in VisitInstanceFieldSet()
1128 LOG(FATAL) << "Unimplemented register type " << field_type; in VisitInstanceFieldSet()
1131 LOG(FATAL) << "Unreachable type " << field_type; in VisitInstanceFieldSet()
Dcode_generator_x86_64.cc959 Primitive::Type field_type = instruction->InputAt(1)->GetType(); in VisitInstanceFieldSet() local
961 switch (field_type) { in VisitInstanceFieldSet()
977 if (field_type == Primitive::kPrimNot) { in VisitInstanceFieldSet()
992 LOG(FATAL) << "Unimplemented register type " << field_type; in VisitInstanceFieldSet()
995 LOG(FATAL) << "Unreachable type " << field_type; in VisitInstanceFieldSet()
Dcode_generator_arm.cc1112 Primitive::Type field_type = instruction->InputAt(1)->GetType(); in VisitInstanceFieldSet() local
1114 switch (field_type) { in VisitInstanceFieldSet()
1133 if (field_type == Primitive::kPrimNot) { in VisitInstanceFieldSet()
1149 LOG(FATAL) << "Unimplemented register type " << field_type; in VisitInstanceFieldSet()
1152 LOG(FATAL) << "Unreachable type " << field_type; in VisitInstanceFieldSet()
Dnodes.h1338 Primitive::Type field_type, in HInstanceFieldGet() argument
1340 : HExpression(field_type), field_info_(field_offset) { in HInstanceFieldGet()
/art/runtime/
Dcheck_jni.cc203 mirror::Class* field_type = FieldHelper(f).GetType(); in CheckFieldType() local
204 if (!field_type->IsPrimitive()) { in CheckFieldType()
217 if (!obj->InstanceOf(field_type)) { in CheckFieldType()
224 } else if (field_type != Runtime::Current()->GetClassLinker()->FindPrimitiveClass(prim)) { in CheckFieldType()
Dclass_linker_test.cc289 mirror::Class* field_type = fh.GetType(); in AssertClass() local
290 ASSERT_TRUE(field_type != nullptr); in AssertClass()
292 ASSERT_TRUE(!field_type->IsPrimitive()); in AssertClass()
Djni_internal.cc205 mirror::Class* field_type; in FindFieldID() local
209 field_type = class_linker->FindClass(soa.Self(), sig, class_loader); in FindFieldID()
211 field_type = class_linker->FindPrimitiveClass(*sig); in FindFieldID()
213 if (field_type == nullptr) { in FindFieldID()
231 field_type->GetDescriptor(&temp)); in FindFieldID()
233 field = c->FindInstanceField(name, field_type->GetDescriptor(&temp)); in FindFieldID()
Ddebugger.cc1905 mirror::Class* field_type; in SetFieldValueImpl() local
1911 field_type = FieldHelper(h_f).GetType(); in SetFieldValueImpl()
1913 if (!field_type->IsAssignableFrom(v->GetClass())) { in SetFieldValueImpl()
/art/oatdump/
Doatdump.cc1179 mirror::Class* field_type = fh.GetType(false); in PrintField() local
1180 if (field_type != nullptr) { in PrintField()
1181 PrettyObjectValue(os, field_type, value); in PrintField()