Searched refs:field_type (Results 1 - 25 of 29) sorted by relevance

12

/art/tools/cpp-define-generator/
H A Dcommon.def20 #define DEFINE_OFFSET_EXPR(holder_type, field_name, field_type, expr) \
21 DEFINE_EXPR(holder_type ## _ ## field_name ## _OFFSET, field_type, expr)
H A Doffsets_all.def26 // #define DEFINE_EXPR(define_name, field_type, expr) ...
30 #define DEFINE_EXPR(define_name, field_type, expr)
H A Dmain.cc106 #define DEFINE_EXPR(macro_name, field_type, expr) \
107 cpp_define(to_upper(#macro_name), static_cast<field_type>(expr)); \
108 emit_check_eq(z + "static_cast<" #field_type ">(" + to_upper(#macro_name) + ")", \
109 "static_cast<" #field_type ">(" #expr ")");
/art/runtime/
H A Dcommon_dex_operations.h66 template<Primitive::Type field_type>
92 switch (field_type) {
115 LOG(FATAL) << "Unreachable " << field_type;
120 template<Primitive::Type field_type, bool do_assignability_check, bool transaction_active>
144 switch (field_type) {
190 LOG(FATAL) << "Unreachable " << field_type;
H A Dmethod_handles.cc771 Primitive::Type field_type,
774 switch (field_type) {
803 LOG(FATAL) << "Unreachable: " << field_type;
813 Primitive::Type field_type,
819 switch (field_type) {
845 LOG(FATAL) << "Unreachable: " << field_type;
851 Primitive::Type field_type,
855 switch (field_type) {
880 LOG(FATAL) << "Unreachable: " << field_type;
899 Primitive::Type field_type local
[all...]
H A Ddex_file_verifier.cc1010 Primitive::Type field_type = Primitive::GetType(field_type_name[0]); local
1015 if (field_type != Primitive::kPrimBoolean) {
1022 if (field_type != Primitive::kPrimByte) {
1029 if (field_type != Primitive::kPrimShort) {
1036 if (field_type != Primitive::kPrimChar) {
1043 if (field_type != Primitive::kPrimInt) {
1050 if (field_type != Primitive::kPrimLong) {
1057 if (field_type != Primitive::kPrimFloat) {
1064 if (field_type != Primitive::kPrimDouble) {
1073 if (field_type !
[all...]
H A Djni_internal.cc203 mirror::Class* field_type; local
207 field_type = class_linker->FindClass(soa.Self(), sig, class_loader);
209 field_type = class_linker->FindPrimitiveClass(*sig);
211 if (field_type == nullptr) {
228 soa.Self(), c.Get(), name, field_type->GetDescriptor(&temp));
230 field = c->FindInstanceField(name, field_type->GetDescriptor(&temp));
H A Dclass_linker_test.cc369 ObjPtr<mirror::Class> field_type = field->GetType<true>(); local
370 ASSERT_TRUE(field_type != nullptr);
372 ASSERT_TRUE(!field_type->IsPrimitive());
/art/runtime/native/
H A Djava_lang_reflect_Field.cc75 Primitive::Type field_type,
81 switch (field_type) {
164 Primitive::Type field_type = f->GetTypeAsPrimitiveType(); local
166 if (!GetFieldValue<true>(o, f, field_type, &value)) {
170 return soa.AddLocalReference<jobject>(BoxPrimitive(field_type, value));
193 Primitive::Type field_type = f->GetTypeAsPrimitiveType(); local
195 if (field_type == kPrimitiveType) {
203 if (!GetFieldValue<false>(o, f, field_type, &field_value)) {
209 if (!ConvertPrimitiveValue(false, field_type, kPrimitiveType, field_value,
251 Primitive::Type field_type,
332 ObjPtr<mirror::Class> field_type; local
371 Primitive::Type field_type = f->GetTypeAsPrimitiveType(); local
[all...]
/art/runtime/mirror/
H A Dobject.cc242 ObjPtr<mirror::Class> field_type = field.GetType<!kMovingCollector>(); local
243 if (field_type != nullptr) {
244 CHECK(field_type->IsAssignableFrom(new_value->GetClass()));
259 ObjPtr<mirror::Class> field_type = field.GetType<!kMovingCollector>(); local
260 if (field_type != nullptr) {
261 CHECK(field_type->IsAssignableFrom(new_value->GetClass()));
/art/runtime/interpreter/
H A Dinterpreter_common.cc44 template<FindFieldType find_type, Primitive::Type field_type, bool do_access_check>
51 Primitive::ComponentSize(field_type));
68 DoFieldGetCommon<field_type>(self, shadow_frame, obj, f, &result);
70 switch (field_type) {
93 LOG(FATAL) << "Unreachable: " << field_type;
133 template<Primitive::Type field_type>
162 switch (field_type) {
185 LOG(FATAL) << "Unreachable: " << field_type;
205 template<Primitive::Type field_type>
209 switch (field_type) {
[all...]
H A Dinterpreter_common.h273 template<FindFieldType find_type, Primitive::Type field_type, bool do_access_check>
279 template<Primitive::Type field_type>
285 template<FindFieldType find_type, Primitive::Type field_type, bool do_access_check,
292 template<Primitive::Type field_type, bool transaction_active>
/art/compiler/optimizing/
H A Dcode_generator.cc386 Primitive::Type field_type,
408 if (Primitive::IsFloatingPointType(field_type)) {
415 locations->SetOut(calling_convention.GetFpuLocation(field_type));
417 locations->SetOut(calling_convention.GetReturnLocation(field_type));
421 if (Primitive::IsFloatingPointType(field_type)) {
425 AddLocationAsTemp(calling_convention.GetSetValueLocation(field_type, is_instance), locations);
426 locations->SetInAt(set_index, calling_convention.GetFpuLocation(field_type));
429 calling_convention.GetSetValueLocation(field_type, is_instance));
436 Primitive::Type field_type,
449 if (!is_get && Primitive::IsFloatingPointType(field_type)) {
384 CreateUnresolvedFieldLocationSummary( HInstruction* field_access, Primitive::Type field_type, const FieldAccessCallingConvention& calling_convention) argument
434 GenerateUnresolvedFieldAccess( HInstruction* field_access, Primitive::Type field_type, uint32_t field_index, uint32_t dex_pc, const FieldAccessCallingConvention& calling_convention) argument
[all...]
H A Dinstruction_builder.cc1215 Primitive::Type field_type = (resolved_field == nullptr) local
1219 HInstruction* value = LoadLocal(source_or_dest_reg, field_type);
1225 field_type,
1233 field_type,
1247 field_type,
1254 field_type,
1307 Primitive::Type field_type) {
1312 HInstruction* value = LoadLocal(source_or_dest_reg, field_type);
1314 new (arena_) HUnresolvedStaticFieldSet(value, field_type, field_index, dex_pc));
1316 AppendInstruction(new (arena_) HUnresolvedStaticFieldGet(field_type, field_inde
1304 BuildUnresolvedStaticFieldAccess(const Instruction& instruction, uint32_t dex_pc, bool is_put, Primitive::Type field_type) argument
1381 Primitive::Type field_type = GetFieldAccessType(*dex_file_, field_index); local
1386 Primitive::Type field_type = resolved_field->GetTypeAsPrimitiveType(); local
[all...]
H A Dnodes.h5224 Primitive::Type field_type,
5231 field_type_(field_type),
5259 Primitive::Type field_type,
5266 : HExpression(field_type, SideEffects::FieldReadOfType(field_type, is_volatile), dex_pc),
5269 field_type,
5310 Primitive::Type field_type,
5317 : HTemplateInstruction(SideEffects::FieldWriteOfType(field_type, is_volatile), dex_pc),
5320 field_type,
6028 Primitive::Type field_type,
5222 FieldInfo(ArtField* field, MemberOffset field_offset, Primitive::Type field_type, bool is_volatile, uint32_t index, uint16_t declaring_class_def_index, const DexFile& dex_file) argument
5257 HInstanceFieldGet(HInstruction* value, ArtField* field, Primitive::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
5307 HInstanceFieldSet(HInstruction* object, HInstruction* value, ArtField* field, Primitive::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...]
H A Dinstruction_builder.h166 Primitive::Type field_type);
H A Dcode_generator.h504 Primitive::Type field_type,
509 Primitive::Type field_type,
H A Dcode_generator_arm.cc5097 Primitive::Type field_type = field_info.GetFieldType(); local
5098 if (Primitive::IsFloatingPointType(field_type)) {
5104 bool is_wide = field_type == Primitive::kPrimLong || field_type == Primitive::kPrimDouble;
5109 CodeGenerator::StoreNeedsWriteBarrier(field_type, instruction->InputAt(1));
5125 if (field_type == Primitive::kPrimDouble) {
5144 Primitive::Type field_type = field_info.GetFieldType(); local
5147 CodeGenerator::StoreNeedsWriteBarrier(field_type, instruction->InputAt(1));
5153 switch (field_type) {
5172 DCHECK_EQ(field_type, Primitiv
5388 Primitive::Type field_type = field_info.GetFieldType(); local
[all...]
H A Dcode_generator_arm_vixl.cc5099 Primitive::Type field_type = field_info.GetFieldType(); local
5100 if (Primitive::IsFloatingPointType(field_type)) {
5106 bool is_wide = field_type == Primitive::kPrimLong || field_type == Primitive::kPrimDouble;
5111 CodeGenerator::StoreNeedsWriteBarrier(field_type, instruction->InputAt(1));
5127 if (field_type == Primitive::kPrimDouble) {
5146 Primitive::Type field_type = field_info.GetFieldType(); local
5149 CodeGenerator::StoreNeedsWriteBarrier(field_type, instruction->InputAt(1));
5155 switch (field_type) {
5174 DCHECK_EQ(field_type, Primitiv
5391 Primitive::Type field_type = field_info.GetFieldType(); local
[all...]
H A Dcode_generator_x86.cc4794 Primitive::Type field_type = field_info.GetFieldType(); local
4797 switch (field_type) {
4874 LOG(FATAL) << "Unreachable type " << field_type;
4878 if (field_type == Primitive::kPrimNot || field_type == Primitive::kPrimLong) {
4886 if (field_type == Primitive::kPrimNot) {
4902 Primitive::Type field_type = field_info.GetFieldType(); local
4903 bool is_byte_type = (field_type == Primitive::kPrimBoolean)
4904 || (field_type == Primitive::kPrimByte);
4911 } else if (Primitive::IsFloatingPointType(field_type)) {
4950 Primitive::Type field_type = field_info.GetFieldType(); local
[all...]
H A Dcode_generator_x86_64.cc4278 Primitive::Type field_type = field_info.GetFieldType(); local
4281 switch (field_type) {
4347 LOG(FATAL) << "Unreachable type " << field_type;
4351 if (field_type == Primitive::kPrimNot) {
4359 if (field_type == Primitive::kPrimNot) {
4374 Primitive::Type field_type = field_info.GetFieldType(); local
4377 CodeGenerator::StoreNeedsWriteBarrier(field_type, instruction->InputAt(1));
4399 } else if (kPoisonHeapReferences && field_type == Primitive::kPrimNot) {
4414 Primitive::Type field_type = field_info.GetFieldType(); local
4423 switch (field_type) {
[all...]
H A Dcode_generator_arm64.cc2314 Primitive::Type field_type = field_info.GetFieldType(); local
2317 if (field_type == Primitive::kPrimNot && kEmitCompilerReadBarrier && kUseBakerReadBarrier) {
2344 codegen_->Load(field_type, OutputCPURegister(instruction), field);
2347 if (field_type == Primitive::kPrimNot) {
2378 Primitive::Type field_type = field_info.GetFieldType(); local
2385 if (kPoisonHeapReferences && field_type == Primitive::kPrimNot) {
2395 instruction, field_type, source, HeapOperand(obj, offset), /* needs_null_check */ true);
2399 codegen_->Store(field_type, source, HeapOperand(obj, offset));
2404 if (CodeGenerator::StoreNeedsWriteBarrier(field_type, instruction->InputAt(1))) {
/art/runtime/verifier/
H A Dmethod_verifier.cc4968 const RegType* field_type = nullptr; local
4981 field_type = &FromClass(field->GetTypeDescriptor(),
4989 if (field_type == nullptr) {
4992 field_type = &reg_types_.FromDescriptor(GetClassLoader(), descriptor, false);
4994 DCHECK(field_type != nullptr);
5001 VerifyPrimitivePut(*field_type, insn_type, vregA);
5003 if (!insn_type.IsAssignableFrom(*field_type, this)) {
5007 VerifyError error = field_type->IsReferenceTypes() ? VERIFY_ERROR_BAD_CLASS_SOFT
5011 << "' but found type '" << *field_type local
5015 work_line_->VerifyRegisterType(this, vregA, *field_type);
5031 << "' but found type '" << *field_type << "' in get"; local
5043 << "' but found type '" << *field_type local
5100 const RegType* field_type; local
5154 << "' but found type '" << *field_type local
5169 << "' but found type '" << *field_type local
5188 << "' but found type '" << *field_type << "' in Get"; local
5195 << "' but found type '" << *field_type local
[all...]
/art/test/testrunner/
H A Dtestrunner.py603 field_type = type(entry[field])
604 if field_type not in supported_field[field]:
606 str(field_type),
/art/runtime/interpreter/mterp/
H A Dmterp.cc778 template <typename field_type, Primitive::Type primitive_type>
780 field_type new_value,
783 void (ArtField::*func)(ObjPtr<mirror::Object>, field_type val))

Completed in 3766 milliseconds

12