Home
last modified time | relevance | path

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

12

/aosp12/art/runtime/native/
H A Djava_lang_reflect_Field.cc87 switch (field_type) { in GetFieldValue()
184 Primitive::Type field_type = f->GetTypeAsPrimitiveType(); in Field_get() local
215 if (field_type == kPrimitiveType) { in GetPrimitiveField()
278 switch (field_type) { in SetFieldValue()
352 ObjPtr<mirror::Class> field_type; in Field_set() local
356 field_type = f->GetType(); in Field_set()
358 field_type = in Field_set()
361 DCHECK(field_type != nullptr) << field_type_descriptor; in Field_set()
367 field_type, in Field_set()
393 if (UNLIKELY(field_type == Primitive::kPrimNot)) { in SetPrimitiveField()
[all …]
/aosp12/art/runtime/
H A Dcommon_dex_operations.h92 template<Primitive::Type field_type>
123 switch (field_type) { in DoFieldGetCommon()
146 LOG(FATAL) << "Unreachable " << field_type; in DoFieldGetCommon()
152 template<Primitive::Type field_type, bool do_assignability_check, bool transaction_active>
173 field_type == Primitive::kPrimNot ? value.GetGCRoot() : &fake_root)); in DoFieldPutCommon()
192 switch (field_type) { in DoFieldPutCommon()
245 LOG(FATAL) << "Unreachable " << field_type; in DoFieldPutCommon()
H A Dmethod_handles.cc784 Primitive::Type field_type, in MethodHandleFieldGet() argument
787 switch (field_type) { in MethodHandleFieldGet()
816 LOG(FATAL) << "Unreachable: " << field_type; in MethodHandleFieldGet()
826 Primitive::Type field_type, in MethodHandleFieldPut() argument
832 switch (field_type) { in MethodHandleFieldPut()
858 LOG(FATAL) << "Unreachable: " << field_type; in MethodHandleFieldPut()
864 Primitive::Type field_type, in GetValueFromShadowFrame() argument
868 switch (field_type) { in GetValueFromShadowFrame()
893 LOG(FATAL) << "Unreachable: " << field_type; in GetValueFromShadowFrame()
910 Primitive::Type field_type = field->GetTypeAsPrimitiveType(); in MethodHandleFieldAccess() local
[all …]
/aosp12/art/runtime/mirror/
H A Dobject.cc241 ObjPtr<mirror::Class> field_type = in CheckFieldAssignmentImpl() local
243 if (field_type != nullptr) { in CheckFieldAssignmentImpl()
244 CHECK(field_type->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl()
259 ObjPtr<mirror::Class> field_type = in CheckFieldAssignmentImpl() local
261 if (field_type != nullptr) { in CheckFieldAssignmentImpl()
262 CHECK(field_type->IsAssignableFrom(new_value->GetClass())); in CheckFieldAssignmentImpl()
/aosp12/art/tools/veridex/
H A 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()
H A Dresolver.h67 const char* field_type);
/aosp12/art/runtime/interpreter/
H A Dinterpreter_common.h450 template<Primitive::Type field_type>
454 switch (field_type) { in GetFieldValue()
477 LOG(FATAL) << "Unreachable: " << field_type; in GetFieldValue()
485 template<FindFieldType find_type, Primitive::Type field_type, bool do_access_check,
517 if (UNLIKELY(!DoFieldGetCommon<field_type>(self, shadow_frame, obj, f, &result))) { in DoFieldGet()
523 switch (field_type) { in DoFieldGet()
546 LOG(FATAL) << "Unreachable: " << field_type; in DoFieldGet()
582 template<FindFieldType find_type, Primitive::Type field_type, bool do_access_check,
612 JValue value = GetFieldValue<field_type>(shadow_frame, vregA); in DoFieldPut()
615 field_type == Primitive::kPrimNot && in DoFieldPut()
[all …]
H A Dinterpreter_switch_impl-inl.h349 template<FindFieldType find_type, Primitive::Type field_type>
351 return DoFieldGet<find_type, field_type, do_access_check, transaction_active>( in HandleGet()
355 template<FindFieldType find_type, Primitive::Type field_type>
357 return DoFieldPut<find_type, field_type, do_access_check, transaction_active>( in HandlePut()
/aosp12/art/compiler/optimizing/
H A Dcode_generator.cc704 DataType::Type field_type, in CreateUnresolvedFieldLocationSummary() argument
726 if (DataType::IsFloatingPointType(field_type)) { in CreateUnresolvedFieldLocationSummary()
733 locations->SetOut(calling_convention.GetFpuLocation(field_type)); in CreateUnresolvedFieldLocationSummary()
735 locations->SetOut(calling_convention.GetReturnLocation(field_type)); in CreateUnresolvedFieldLocationSummary()
739 if (DataType::IsFloatingPointType(field_type)) { in CreateUnresolvedFieldLocationSummary()
754 DataType::Type field_type, in GenerateUnresolvedFieldAccess() argument
767 if (!is_get && DataType::IsFloatingPointType(field_type)) { in GenerateUnresolvedFieldAccess()
779 switch (field_type) { in GenerateUnresolvedFieldAccess()
818 LOG(FATAL) << "Invalid type " << field_type; in GenerateUnresolvedFieldAccess()
822 if (is_get && DataType::IsFloatingPointType(field_type)) { in GenerateUnresolvedFieldAccess()
[all …]
H A Dscheduler_arm.cc926 DataType::Type field_type = field_info.GetFieldType(); in HandleFieldGetLatencies() local
929 switch (field_type) { in HandleFieldGetLatencies()
986 DataType::Type field_type = field_info.GetFieldType(); in HandleFieldSetLatencies() local
988 CodeGenerator::StoreNeedsWriteBarrier(field_type, instruction->InputAt(1)); in HandleFieldSetLatencies()
991 switch (field_type) { in HandleFieldSetLatencies()
H A Dinstruction_builder.cc1950 DataType::Type field_type = GetFieldAccessType(*dex_file_, field_index); in BuildInstanceFieldAccess() local
1952 HInstruction* value = LoadLocal(source_or_dest_reg, field_type); in BuildInstanceFieldAccess()
1959 field_type, in BuildInstanceFieldAccess()
1967 field_type, in BuildInstanceFieldAccess()
1982 field_type, in BuildInstanceFieldAccess()
1989 field_type, in BuildInstanceFieldAccess()
2012 HInstruction* value = LoadLocal(source_or_dest_reg, field_type); in BuildUnresolvedStaticFieldAccess()
2115 DataType::Type field_type = GetFieldAccessType(*dex_file_, field_index); in BuildStaticFieldAccess() local
2143 HInstruction* value = LoadLocal(source_or_dest_reg, field_type); in BuildStaticFieldAccess()
2148 field_type, in BuildStaticFieldAccess()
[all …]
H A Dnodes.h6100 field_type_(field_type),
6161 field_type,
6166 field_type,
6238 field_type,
6243 field_type,
6319 field_type,
7260 field_type,
7265 field_type,
7325 field_type,
7418 field_type,
[all …]
H A Dinstruction_builder.h144 DataType::Type field_type);
H A Dcode_generator.h609 DataType::Type field_type,
614 DataType::Type field_type,
/aosp12/art/tools/jvmti-agents/field-null-percent/
H A 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()
/aosp12/system/tools/aidl/
H A Dgenerate_rust.cpp512 auto field_type = RustNameOf(variable->GetType(), typenames, StorageMode::PARCELABLE_FIELD); in GenerateParcelBody() local
513 out << "pub " << variable->GetName() << ": " << field_type << ",\n"; in GenerateParcelBody()
601 auto field_type = RustNameOf(variable->GetType(), typenames, StorageMode::PARCELABLE_FIELD); in GenerateParcelBody() local
602 out << variable->GetCapitalizedName() << "(" << field_type << "),\n"; in GenerateParcelBody()
661 auto field_type = RustNameOf(variable->GetType(), typenames, StorageMode::PARCELABLE_FIELD); in GenerateParcelDeserializeBody() local
665 out << "let value: " << field_type << " = "; in GenerateParcelDeserializeBody()
/aosp12/system/iorap/include/binder/
H A Dauto_parcelable.h78 ::iorap::introspect::for_each_member_field_set_value(tmp, [&](auto field_type) { in readFromParcel()
81 using ValueT = typename decltype(field_type)::type; in readFromParcel()
/aosp12/art/tools/jvmti-agents/field-counts/
H A 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()
/aosp12/system/bt/gd/packet/parser/fields/
H A Dfixed_enum_field.h36 static const std::string field_type; variable
H A Dfixed_scalar_field.h40 static const std::string field_type; variable
/aosp12/art/runtime/verifier/
H A Dmethod_verifier.cc4764 const RegType* field_type = nullptr; in VerifyISFieldAccess() local
4777 field_type = &FromClass(field->GetTypeDescriptor(), in VerifyISFieldAccess()
4810 if (field_type == nullptr) { in VerifyISFieldAccess()
4815 DCHECK(field_type != nullptr); in VerifyISFieldAccess()
4822 VerifyPrimitivePut(*field_type, insn_type, vregA); in VerifyISFieldAccess()
4824 if (!insn_type.IsAssignableFrom(*field_type, this)) { in VerifyISFieldAccess()
4832 << "' but found type '" << *field_type in VerifyISFieldAccess()
4841 if (field_type->Equals(insn_type) || in VerifyISFieldAccess()
4864 << "' but found type '" << *field_type in VerifyISFieldAccess()
4872 if (!field_type->IsLowHalf()) { in VerifyISFieldAccess()
[all …]
/aosp12/art/libdexfile/dex/
H A Ddex_file_verifier.cc1144 Primitive::Type field_type = Primitive::GetType(field_type_name[0]); in CheckStaticFieldTypes() local
1149 if (field_type != Primitive::kPrimBoolean) { in CheckStaticFieldTypes()
1156 if (field_type != Primitive::kPrimByte) { in CheckStaticFieldTypes()
1163 if (field_type != Primitive::kPrimShort) { in CheckStaticFieldTypes()
1170 if (field_type != Primitive::kPrimChar) { in CheckStaticFieldTypes()
1177 if (field_type != Primitive::kPrimInt) { in CheckStaticFieldTypes()
1184 if (field_type != Primitive::kPrimLong) { in CheckStaticFieldTypes()
1191 if (field_type != Primitive::kPrimFloat) { in CheckStaticFieldTypes()
1198 if (field_type != Primitive::kPrimDouble) { in CheckStaticFieldTypes()
1207 if (field_type != Primitive::kPrimNot) { in CheckStaticFieldTypes()
/aosp12/art/tools/hiddenapi/
H A DREADME.md26 `class_descriptor->field_name:field_type`
/aosp12/art/test/testrunner/
H A Dtestrunner.py814 field_type = type(entry[field])
815 if field_type not in supported_field[field]:
817 str(field_type),
/aosp12/packages/modules/DnsResolver/tests/dns_responder/
H A Ddns_responder.cpp233 unsigned field_type = *buffer >> 6; in parseField() local
236 if (field_type == 0) { in parseField()
249 } else if (field_type == 3) { in parseField()

12