Home
last modified time | relevance | path

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

12

/art/runtime/native/
Djava_lang_reflect_Field.cc81 Primitive::Type field_type, in GetFieldValue() argument
87 switch (field_type) { in GetFieldValue()
184 Primitive::Type field_type = f->GetTypeAsPrimitiveType(); in Field_get() local
186 if (!GetFieldValue<true>(soa, o, f, field_type, &value)) { in Field_get()
190 return soa.AddLocalReference<jobject>(BoxPrimitive(field_type, value)); in Field_get()
213 Primitive::Type field_type = f->GetTypeAsPrimitiveType(); in GetPrimitiveField() local
215 if (field_type == kPrimitiveType) { in GetPrimitiveField()
223 if (!GetFieldValue<false>(soa, o, f, field_type, &field_value)) { in GetPrimitiveField()
229 if (!ConvertPrimitiveValue(false, field_type, kPrimitiveType, field_value, in GetPrimitiveField()
271 Primitive::Type field_type, in SetFieldValue() argument
[all …]
/art/runtime/
Dcommon_dex_operations.h118 template<Primitive::Type field_type>
149 switch (field_type) { in DoFieldGetCommon()
172 LOG(FATAL) << "Unreachable " << field_type; in DoFieldGetCommon()
178 template<Primitive::Type field_type, bool transaction_active>
199 field_type == Primitive::kPrimNot ? value.GetGCRoot() : &fake_root)); in DoFieldPutCommon()
218 switch (field_type) { in DoFieldPutCommon()
271 LOG(FATAL) << "Unreachable " << field_type; in DoFieldPutCommon()
Dmethod_handles.cc508 Primitive::Type field_type, in MethodHandleFieldGet() argument
510 switch (field_type) { in MethodHandleFieldGet()
539 LOG(FATAL) << "Unreachable: " << field_type; in MethodHandleFieldGet()
549 Primitive::Type field_type, in MethodHandleFieldPut() argument
553 switch (field_type) { in MethodHandleFieldPut()
579 LOG(FATAL) << "Unreachable: " << field_type; in MethodHandleFieldPut()
585 Primitive::Type field_type, in GetValueFromShadowFrame() argument
588 switch (field_type) { in GetValueFromShadowFrame()
613 LOG(FATAL) << "Unreachable: " << field_type; in GetValueFromShadowFrame()
628 Primitive::Type field_type = field->GetTypeAsPrimitiveType(); in MethodHandleFieldAccess() local
[all …]
/art/runtime/mirror/
Dobject.cc255 ObjPtr<mirror::Class> field_type = in CheckFieldAssignmentImpl() local
257 if (field_type != nullptr) { in CheckFieldAssignmentImpl()
258 CHECK(field_type->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl()
273 ObjPtr<mirror::Class> field_type = in CheckFieldAssignmentImpl() local
275 if (field_type != nullptr) { in CheckFieldAssignmentImpl()
276 CHECK(field_type->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl()
/art/tools/veridex/
Dresolver.cc68 const char* field_type) { in HasSameNameAndType() argument
70 strcmp(field_type, dex_file.GetFieldTypeDescriptor(field_id)) == 0; in HasSameNameAndType()
182 const char* field_type) { in LookupFieldIn() argument
202 field_type)) { in LookupFieldIn()
214 VeriField itf_field = resolver->LookupFieldIn(*itf, field_name, field_type); in LookupFieldIn()
226 VeriField super_field = resolver->LookupFieldIn(*super, field_name, field_type); in LookupFieldIn()
Dresolver.h67 const char* field_type);
/art/runtime/jit/
Dsmall_pattern_matcher.cc309 Primitive::Type field_type; in TryMatch() local
384 field_type = field->GetTypeAsPrimitiveType(); in TryMatch()
396 DO_SWITCH(offset, ReturnStaticFieldObjectAt, ReturnStaticFieldAt, field_type); in TryMatch()
398 DO_SWITCH(offset, ReturnFieldObjectAt, ReturnFieldAt, field_type); in TryMatch()
407 DO_SWITCH(offset, ConstructorSetFieldObjectAt, ConstructorSetFieldAt, field_type); in TryMatch()
409 DO_SWITCH(offset, SetFieldObjectAt, SetFieldAt, field_type); in TryMatch()
/art/tools/jvmti-agents/field-null-percent/
Dfieldnull.cc47 std::string field_type; in SplitField() local
51 std::getline(is, field_type, '\0'); in SplitField()
55 jfieldID field = env->GetFieldID(klass, field_name.c_str(), field_type.c_str()); in SplitField()
/art/compiler/optimizing/
Dcode_generator.cc631 DataType::Type field_type, in CreateUnresolvedFieldLocationSummary() argument
653 if (DataType::IsFloatingPointType(field_type)) { in CreateUnresolvedFieldLocationSummary()
660 locations->SetOut(calling_convention.GetFpuLocation(field_type)); in CreateUnresolvedFieldLocationSummary()
662 locations->SetOut(calling_convention.GetReturnLocation(field_type)); in CreateUnresolvedFieldLocationSummary()
666 if (DataType::IsFloatingPointType(field_type)) { in CreateUnresolvedFieldLocationSummary()
670 AddLocationAsTemp(calling_convention.GetSetValueLocation(field_type, is_instance), locations); in CreateUnresolvedFieldLocationSummary()
671 locations->SetInAt(set_index, calling_convention.GetFpuLocation(field_type)); in CreateUnresolvedFieldLocationSummary()
674 calling_convention.GetSetValueLocation(field_type, is_instance)); in CreateUnresolvedFieldLocationSummary()
681 DataType::Type field_type, in GenerateUnresolvedFieldAccess() argument
694 if (!is_get && DataType::IsFloatingPointType(field_type)) { in GenerateUnresolvedFieldAccess()
[all …]
Dinstruction_builder.cc2132 DataType::Type field_type = GetFieldAccessType(*dex_file_, field_index); in BuildInstanceFieldAccess() local
2134 HInstruction* value = LoadLocal(source_or_dest_reg, field_type); in BuildInstanceFieldAccess()
2141 field_type, in BuildInstanceFieldAccess()
2149 field_type, in BuildInstanceFieldAccess()
2164 field_type, in BuildInstanceFieldAccess()
2171 field_type, in BuildInstanceFieldAccess()
2189 DataType::Type field_type) { in BuildUnresolvedStaticFieldAccess() argument
2194 HInstruction* value = LoadLocal(source_or_dest_reg, field_type); in BuildUnresolvedStaticFieldAccess()
2196 new (allocator_) HUnresolvedStaticFieldSet(value, field_type, field_index, dex_pc)); in BuildUnresolvedStaticFieldAccess()
2198 AppendInstruction(new (allocator_) HUnresolvedStaticFieldGet(field_type, field_index, dex_pc)); in BuildUnresolvedStaticFieldAccess()
[all …]
Dscheduler_arm.cc1030 DataType::Type field_type = field_info.GetFieldType(); in HandleFieldGetLatencies() local
1033 switch (field_type) { in HandleFieldGetLatencies()
1090 DataType::Type field_type = field_info.GetFieldType(); in HandleFieldSetLatencies() local
1093 switch (field_type) { in HandleFieldSetLatencies()
1109 if (kPoisonHeapReferences && field_type == DataType::Type::kReference) { in HandleFieldSetLatencies()
Dnodes.h6146 DataType::Type field_type,
6153 field_type_(field_type),
6206 DataType::Type field_type,
6214 field_type,
6215 SideEffects::FieldReadOfType(field_type, is_volatile),
6219 field_type,
6285 DataType::Type field_type,
6293 SideEffects::FieldWriteOfType(field_type, is_volatile),
6297 field_type,
7341 DataType::Type field_type,
[all …]
Dinstruction_builder.h145 DataType::Type field_type);
Dcode_generator.h634 DataType::Type field_type,
639 DataType::Type field_type,
Dcode_generator_x86_64.cc5341 DataType::Type field_type = field_info.GetFieldType(); in HandleFieldSet() local
5344 codegen_->StoreNeedsWriteBarrier(field_type, instruction->InputAt(1), write_barrier_kind); in HandleFieldSet()
5346 codegen_->ShouldCheckGCCard(field_type, instruction->InputAt(1), write_barrier_kind); in HandleFieldSet()
5369 (kPoisonHeapReferences && field_type == DataType::Type::kReference)) { in HandleFieldSet()
5421 DataType::Type field_type, in HandleFieldSet() argument
5439 switch (field_type) { in HandleFieldSet()
5462 DCHECK_IMPLIES(field_type == DataType::Type::kReference, v == 0); in HandleFieldSet()
5488 LOG(FATAL) << "Unreachable type " << field_type; in HandleFieldSet()
5495 Bswap(value, field_type, &temp); in HandleFieldSet()
5498 switch (field_type) { in HandleFieldSet()
[all …]
Dcode_generator_x86.cc6053 DataType::Type field_type = field_info.GetFieldType(); in HandleFieldSet() local
6054 bool is_byte_type = DataType::Size(field_type) == 1u; in HandleFieldSet()
6061 } else if (DataType::IsFloatingPointType(field_type)) { in HandleFieldSet()
6062 if (is_volatile && field_type == DataType::Type::kFloat64) { in HandleFieldSet()
6068 } else if (is_volatile && field_type == DataType::Type::kInt64) { in HandleFieldSet()
6083 codegen_->StoreNeedsWriteBarrier(field_type, instruction->InputAt(1), write_barrier_kind); in HandleFieldSet()
6085 codegen_->ShouldCheckGCCard(field_type, instruction->InputAt(1), write_barrier_kind); in HandleFieldSet()
6091 } else if (kPoisonHeapReferences && field_type == DataType::Type::kReference) { in HandleFieldSet()
6099 DataType::Type field_type, in HandleFieldSet() argument
6108 codegen_->StoreNeedsWriteBarrier(field_type, instruction->InputAt(1), write_barrier_kind); in HandleFieldSet()
[all …]
Dcode_generator_x86_64.h288 DataType::Type field_type,
Dcode_generator_arm_vixl.cc5932 DataType::Type field_type = field_info.GetFieldType(); in HandleFieldSet() local
5933 if (DataType::IsFloatingPointType(field_type)) { in HandleFieldSet()
5939 bool is_wide = field_type == DataType::Type::kInt64 || field_type == DataType::Type::kFloat64; in HandleFieldSet()
5944 codegen_->StoreNeedsWriteBarrier(field_type, instruction->InputAt(1), write_barrier_kind); in HandleFieldSet()
5946 codegen_->ShouldCheckGCCard(field_type, instruction->InputAt(1), write_barrier_kind); in HandleFieldSet()
5963 if (field_type == DataType::Type::kFloat64) { in HandleFieldSet()
5968 } else if (kPoisonHeapReferences && field_type == DataType::Type::kReference) { in HandleFieldSet()
5985 DataType::Type field_type = field_info.GetFieldType(); in HandleFieldSet() local
5988 codegen_->StoreNeedsWriteBarrier(field_type, instruction->InputAt(1), write_barrier_kind); in HandleFieldSet()
5994 switch (field_type) { in HandleFieldSet()
[all …]
/art/tools/jvmti-agents/field-counts/
Dfieldcount.cc49 std::string field_type; in SplitField() local
53 std::getline(is, field_type, '\0'); in SplitField()
58 jfieldID field = env->GetFieldID(klass, field_name.c_str(), field_type.c_str()); in SplitField()
/art/runtime/interpreter/
Dinterpreter_switch_impl-inl.h60 Primitive::Type field_type,
119 if (UNLIKELY(!DoFieldGetCommon<field_type>(self, shadow_frame, obj, field, &result))) { in DoFieldGet()
134 switch (field_type) { in DoFieldGet()
150 LOG(FATAL) << "Unreachable: " << field_type; in DoFieldGet()
158 template<FindFieldType find_type, Primitive::Type field_type, bool transaction_active>
214 JValue value = GetFieldValue<field_type>(shadow_frame, vregA); in DoFieldPut()
216 if (field_type == Primitive::kPrimNot && in DoFieldPut()
221 return DoFieldPutCommon<field_type, transaction_active>(self, in DoFieldPut()
236 switch (field_type) { in DoFieldPut()
245 LOG(FATAL) << "Unreachable " << field_type; in DoFieldPut()
[all …]
Dinterpreter_common.h248 template<Primitive::Type field_type>
252 switch (field_type) { in GetFieldValue()
275 LOG(FATAL) << "Unreachable: " << field_type; in GetFieldValue()
/art/runtime/verifier/
Dmethod_verifier.cc4695 const RegType* field_type = nullptr; in VerifyISFieldAccess() local
4708 field_type = &FromClass(field->GetTypeDescriptor(), in VerifyISFieldAccess()
4740 if (field_type == nullptr) { in VerifyISFieldAccess()
4743 field_type = &reg_types_.FromDescriptor(class_loader_, descriptor); in VerifyISFieldAccess()
4745 DCHECK(field_type != nullptr); in VerifyISFieldAccess()
4752 VerifyPrimitivePut(*field_type, insn_type, vregA); in VerifyISFieldAccess()
4755 if (!insn_type.IsAssignableFrom(*field_type, this)) { in VerifyISFieldAccess()
4756 DCHECK(!field_type->IsReferenceTypes()); in VerifyISFieldAccess()
4759 << "' but found type '" << *field_type in VerifyISFieldAccess()
4763 work_line_->VerifyRegisterType(this, vregA, *field_type); in VerifyISFieldAccess()
[all …]
/art/tools/hiddenapi/
DREADME.md26 `class_descriptor->field_name:field_type`
/art/libdexfile/dex/
Ddex_file_verifier.cc1278 Primitive::Type field_type = Primitive::GetType(field_type_name[0]); in CheckStaticFieldTypes() local
1283 if (field_type != Primitive::kPrimBoolean) { in CheckStaticFieldTypes()
1290 if (field_type != Primitive::kPrimByte) { in CheckStaticFieldTypes()
1297 if (field_type != Primitive::kPrimShort) { in CheckStaticFieldTypes()
1304 if (field_type != Primitive::kPrimChar) { in CheckStaticFieldTypes()
1311 if (field_type != Primitive::kPrimInt) { in CheckStaticFieldTypes()
1318 if (field_type != Primitive::kPrimLong) { in CheckStaticFieldTypes()
1325 if (field_type != Primitive::kPrimFloat) { in CheckStaticFieldTypes()
1332 if (field_type != Primitive::kPrimDouble) { in CheckStaticFieldTypes()
1341 if (field_type != Primitive::kPrimNot) { in CheckStaticFieldTypes()
/art/test/testrunner/
Dtestrunner.py805 field_type = type(entry[field])
806 if field_type not in supported_field[field]:
808 str(field_type),

12