Home
last modified time | relevance | path

Searched refs:field_index (Results 1 – 20 of 20) 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.h288 uint32_t field_index = GetDexFieldIndex(); in GetName() local
291 DCHECK_LT(field_index, 2U); in GetName()
292 return field_index == 0 ? "interfaces" : "throws"; in GetName()
295 return dex_file->GetFieldName(dex_file->GetFieldId(field_index)); in GetName()
299 uint32_t field_index = GetDexFieldIndex(); in GetTypeDescriptor() local
302 DCHECK_LT(field_index, 2U); in GetTypeDescriptor()
304 return field_index == 0 ? "[Ljava/lang/Class;" : "[[Ljava/lang/Class;"; in GetTypeDescriptor()
307 const dex::FieldId& field_id = dex_file->GetFieldId(field_index); in GetTypeDescriptor()
/art/tools/veridex/
Dhidden_api.cc83 std::string HiddenApi::GetApiFieldName(const DexFile& dex_file, uint32_t field_index) { in GetApiFieldName() argument
85 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.h82 static std::string GetApiFieldName(const DexFile& dex_file, uint32_t field_index);
Dflow_analysis.cc158 RegisterValue VeriFlowAnalysis::GetFieldType(uint32_t field_index) { in GetFieldType() argument
160 const dex::FieldId& field_id = dex_file.GetFieldId(field_index); in GetFieldType()
162 return RegisterValue(RegisterSource::kField, DexFileReference(&dex_file, field_index), cls); in GetFieldType()
601 uint16_t field_index = instruction.VRegB_21c(); in ProcessDexInstruction() local
602 if (VeriClass::sdkInt_ != nullptr && resolver_->GetField(field_index) == VeriClass::sdkInt_) { in ProcessDexInstruction()
Dflow_analysis.h145 RegisterValue GetFieldType(uint32_t field_index);
/art/runtime/interpreter/mterp/
Dnterp.cc280 uint16_t field_index, in ResolveFieldWithAccessChecks() argument
286 return class_linker->ResolveField(field_index, caller, is_static); in ResolveFieldWithAccessChecks()
295 ArtField* resolved_field = class_linker->ResolveFieldJLS(field_index, in ResolveFieldWithAccessChecks()
311 field_index))) { in ResolveFieldWithAccessChecks()
324 uint16_t field_index = inst->VRegB_21c(); in NterpGetStaticField() local
329 field_index, in NterpGetStaticField()
364 uint16_t field_index = inst->VRegC_22c(); in NterpGetInstanceFieldOffset() local
369 field_index, in NterpGetInstanceFieldOffset()
/art/openjdkjvmti/
Dti_heap.cc218 size_t field_index ATTRIBUTE_UNUSED, in VisitorFalse()
318 size_t field_index; in ReportFieldsRecursive() local
321 field_index = interface_fields; in ReportFieldsRecursive()
323 *field_index_out = field_index; in ReportFieldsRecursive()
337 &field_index)) { in ReportFieldsRecursive()
350 &field_index); in ReportFieldsRecursive()
361 field_index, in ReportFieldsRecursive()
369 field_index, in ReportFieldsRecursive()
374 field_index++; in ReportFieldsRecursive()
382 field_index, in ReportFieldsRecursive()
[all …]
/art/compiler/optimizing/
Dinliner.h160 HInstanceFieldGet* CreateInstanceFieldGet(uint32_t field_index,
164 HInstanceFieldSet* CreateInstanceFieldSet(uint32_t field_index,
Dinstruction_builder.cc1539 static DataType::Type GetFieldAccessType(const DexFile& dex_file, uint16_t field_index) { in GetFieldAccessType() argument
1540 const dex::FieldId& field_id = dex_file.GetFieldId(field_index); in GetFieldAccessType()
1551 uint16_t field_index; in BuildInstanceFieldAccess() local
1558 field_index = LookupQuickenedInfo(quicken_index); in BuildInstanceFieldAccess()
1560 field_index = instruction.VRegC_22c(); in BuildInstanceFieldAccess()
1564 ArtField* resolved_field = ResolveField(field_index, /* is_static= */ false, is_put); in BuildInstanceFieldAccess()
1573 DataType::Type field_type = GetFieldAccessType(*dex_file_, field_index); in BuildInstanceFieldAccess()
1583 field_index, in BuildInstanceFieldAccess()
1593 field_index, in BuildInstanceFieldAccess()
1606 field_index, in BuildInstanceFieldAccess()
[all …]
Dinliner.cc1680 uint16_t field_index = iput_field_indexes[i]; in TryPatternSubstitution() local
1683 CreateInstanceFieldSet(field_index, resolved_method, obj, value, &is_final); in TryPatternSubstitution()
1711 HInstanceFieldGet* HInliner::CreateInstanceFieldGet(uint32_t field_index, in CreateInstanceFieldGet() argument
1717 class_linker->LookupResolvedField(field_index, referrer, /* is_static= */ false); in CreateInstanceFieldGet()
1725 field_index, in CreateInstanceFieldGet()
1744 HInstanceFieldSet* HInliner::CreateInstanceFieldSet(uint32_t field_index, in CreateInstanceFieldSet() argument
1752 class_linker->LookupResolvedField(field_index, referrer, /* is_static= */ false); in CreateInstanceFieldSet()
1766 field_index, in CreateInstanceFieldSet()
Dcode_generator.h587 uint32_t field_index,
Dnodes.h6963 uint32_t field_index, in HUnresolvedInstanceFieldGet() argument
6969 field_index_(field_index) { in HUnresolvedInstanceFieldGet()
6994 uint32_t field_index, in HUnresolvedInstanceFieldSet() argument
6997 field_index_(field_index) { in HUnresolvedInstanceFieldSet()
7032 uint32_t field_index, in HUnresolvedStaticFieldGet() argument
7038 field_index_(field_index) { in HUnresolvedStaticFieldGet()
7061 uint32_t field_index, in HUnresolvedStaticFieldSet() argument
7064 field_index_(field_index) { in HUnresolvedStaticFieldSet()
Dcode_generator.cc700 uint32_t field_index, in GenerateUnresolvedFieldAccess() argument
705 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.cc840 uint32_t field_index = field.GetIndex(); in FindFieldData() local
841 dex::StringIndex name_index = dex_file->GetFieldId(field_index).name_idx_; in FindFieldData()
/art/dexlayout/
Ddex_ir_builder.cc1177 const uint32_t field_index = static_cast<uint32_t>(ReadVarWidth(data, length, false)); in ReadEncodedValue() local
1178 item->SetFieldId(header_->FieldIds()[field_index]); in ReadEncodedValue()