Home
last modified time | relevance | path

Searched refs:field_index (Results 1 – 19 of 19) sorted by relevance

/art/compiler/dex/
Dinline_method_analyser.cc204 ConstructorIPutData() : field_index(DexFile::kDexNoIndex16), arg(0u) { } in ConstructorIPutData()
206 uint16_t field_index; member
217 uint32_t field_index = new_iput->VRegC_22c(); in RecordConstructorIPut() local
219 ArtField* field = class_linker->LookupResolvedField(field_index, method, /* is_static= */ false); in RecordConstructorIPut()
226 if (iputs[old_pos].field_index == DexFile::kDexNoIndex16) { in RecordConstructorIPut()
229 ArtField* f = class_linker->LookupResolvedField(iputs[old_pos].field_index, in RecordConstructorIPut()
242 while (new_pos != arraysize(iputs) && iputs[new_pos].field_index != DexFile::kDexNoIndex16) { in RecordConstructorIPut()
248 iputs[new_pos].field_index = field_index; in RecordConstructorIPut()
263 return iput_data.field_index != DexFile::kDexNoIndex16; in DoAnalyseConstructor()
346 if (iputs[0].field_index != DexFile::kDexNoIndex16 && in DoAnalyseConstructor()
[all …]
/art/runtime/
Dart_field-inl.h277 uint32_t field_index = GetDexFieldIndex(); in GetName() local
280 DCHECK_LT(field_index, 2U); in GetName()
281 return field_index == 0 ? "interfaces" : "throws"; in GetName()
284 return dex_file->GetFieldName(dex_file->GetFieldId(field_index)); in GetName()
288 uint32_t field_index = GetDexFieldIndex(); in GetTypeDescriptor() local
291 DCHECK_LT(field_index, 2U); in GetTypeDescriptor()
293 return field_index == 0 ? "[Ljava/lang/Class;" : "[[Ljava/lang/Class;"; in GetTypeDescriptor()
296 const dex::FieldId& field_id = dex_file->GetFieldId(field_index); in GetTypeDescriptor()
/art/openjdkjvmti/
Dti_heap.cc187 size_t field_index ATTRIBUTE_UNUSED, in VisitorFalse()
287 size_t field_index; in ReportFieldsRecursive() local
290 field_index = interface_fields; in ReportFieldsRecursive()
292 *field_index_out = field_index; in ReportFieldsRecursive()
306 &field_index)) { in ReportFieldsRecursive()
319 &field_index); in ReportFieldsRecursive()
330 field_index, in ReportFieldsRecursive()
338 field_index, in ReportFieldsRecursive()
343 field_index++; in ReportFieldsRecursive()
351 field_index, in ReportFieldsRecursive()
[all …]
/art/tools/veridex/
Dhidden_api.cc88 std::string HiddenApi::GetApiFieldName(const DexFile& dex_file, uint32_t field_index) { in GetApiFieldName() argument
90 const dex::FieldId& field_id = dex_file.GetFieldId(field_index); in GetApiFieldName()
Dresolver.cc276 VeriField VeridexResolver::GetField(uint32_t field_index) { in GetField() argument
277 VeriField field_info = field_infos_[field_index]; in GetField()
280 const dex::FieldId& field_id = dex_file_.GetFieldId(field_index); in GetField()
289 field_infos_[field_index] = field_info; in GetField()
Dresolver.h57 VeriField GetField(uint32_t field_index);
Dhidden_api.h49 static std::string GetApiFieldName(const DexFile& dex_file, uint32_t field_index);
Dflow_analysis.cc140 RegisterValue VeriFlowAnalysis::GetFieldType(uint32_t field_index) { in GetFieldType() argument
142 const dex::FieldId& field_id = dex_file.GetFieldId(field_index); in GetFieldType()
144 return RegisterValue(RegisterSource::kField, DexFileReference(&dex_file, field_index), cls); in GetFieldType()
578 uint16_t field_index = instruction.VRegB_21c(); in ProcessDexInstruction() local
579 if (VeriClass::sdkInt_ != nullptr && resolver_->GetField(field_index) == VeriClass::sdkInt_) { in ProcessDexInstruction()
Dflow_analysis.h145 RegisterValue GetFieldType(uint32_t field_index);
/art/compiler/optimizing/
Dinliner.h112 HInstanceFieldGet* CreateInstanceFieldGet(uint32_t field_index,
116 HInstanceFieldSet* CreateInstanceFieldSet(uint32_t field_index,
Dinstruction_builder.cc1517 static DataType::Type GetFieldAccessType(const DexFile& dex_file, uint16_t field_index) { in GetFieldAccessType() argument
1518 const dex::FieldId& field_id = dex_file.GetFieldId(field_index); in GetFieldAccessType()
1529 uint16_t field_index; in BuildInstanceFieldAccess() local
1536 field_index = LookupQuickenedInfo(quicken_index); in BuildInstanceFieldAccess()
1538 field_index = instruction.VRegC_22c(); in BuildInstanceFieldAccess()
1542 ArtField* resolved_field = ResolveField(field_index, /* is_static= */ false, is_put); in BuildInstanceFieldAccess()
1551 DataType::Type field_type = GetFieldAccessType(*dex_file_, field_index); in BuildInstanceFieldAccess()
1561 field_index, in BuildInstanceFieldAccess()
1571 field_index, in BuildInstanceFieldAccess()
1584 field_index, in BuildInstanceFieldAccess()
[all …]
Dinliner.cc1641 uint16_t field_index = iput_field_indexes[i]; in TryPatternSubstitution() local
1644 CreateInstanceFieldSet(field_index, resolved_method, obj, value, &is_final); in TryPatternSubstitution()
1672 HInstanceFieldGet* HInliner::CreateInstanceFieldGet(uint32_t field_index, in CreateInstanceFieldGet() argument
1678 class_linker->LookupResolvedField(field_index, referrer, /* is_static= */ false); in CreateInstanceFieldGet()
1686 field_index, in CreateInstanceFieldGet()
1705 HInstanceFieldSet* HInliner::CreateInstanceFieldSet(uint32_t field_index, in CreateInstanceFieldSet() argument
1713 class_linker->LookupResolvedField(field_index, referrer, /* is_static= */ false); in CreateInstanceFieldSet()
1727 field_index, in CreateInstanceFieldSet()
Dcode_generator.h557 uint32_t field_index,
Dnodes.h6887 uint32_t field_index, in HUnresolvedInstanceFieldGet() argument
6893 field_index_(field_index) { in HUnresolvedInstanceFieldGet()
6918 uint32_t field_index, in HUnresolvedInstanceFieldSet() argument
6921 field_index_(field_index) { in HUnresolvedInstanceFieldSet()
6956 uint32_t field_index, in HUnresolvedStaticFieldGet() argument
6962 field_index_(field_index) { in HUnresolvedStaticFieldGet()
6985 uint32_t field_index, in HUnresolvedStaticFieldSet() argument
6988 field_index_(field_index) { in HUnresolvedStaticFieldSet()
Dcode_generator.cc655 uint32_t field_index, in GenerateUnresolvedFieldAccess() argument
660 MoveConstant(locations->GetTemp(0), field_index); in GenerateUnresolvedFieldAccess()
/art/runtime/dex/
Ddex_file_annotations.cc153 uint32_t field_index) in FindAnnotationSetForField() argument
165 if (field_annotations[i].field_idx_ == field_index) { in FindAnnotationSetForField()
1321 uint32_t field_index) in FieldIsReachabilitySensitive() argument
1324 FindAnnotationSetForField(dex_file, class_def, field_index); in FieldIsReachabilitySensitive()
1411 uint32_t field_index; in MethodContainsRSensitiveAccess() local
1413 field_index = quicken_info.GetData(quicken_index); in MethodContainsRSensitiveAccess()
1415 field_index = iter->VRegC_22c(); in MethodContainsRSensitiveAccess()
1417 DCHECK(field_index < dex_file.NumFieldIds()); in MethodContainsRSensitiveAccess()
1420 const dex::FieldId& field_id = dex_file.GetFieldId(field_index); in MethodContainsRSensitiveAccess()
1426 && FieldIsReachabilitySensitive(dex_file, *field_class_def, field_index)) { in MethodContainsRSensitiveAccess()
Ddex_file_annotations.h93 uint32_t field_index);
/art/libdexfile/dex/
Ddex_file_verifier_test.cc838 uint32_t field_index = field.GetIndex(); in FindFieldData() local
839 dex::StringIndex name_index = dex_file->GetFieldId(field_index).name_idx_; in FindFieldData()
/art/dexlayout/
Ddex_ir_builder.cc1176 const uint32_t field_index = static_cast<uint32_t>(ReadVarWidth(data, length, false)); in ReadEncodedValue() local
1177 item->SetFieldId(header_->FieldIds()[field_index]); in ReadEncodedValue()