Home
last modified time | relevance | path

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

/art/runtime/
Dart_field-inl.h322 uint32_t field_index = GetDexFieldIndex(); in GetName() local
325 DCHECK_LT(field_index, 2U); in GetName()
326 return field_index == 0 ? "interfaces" : "throws"; in GetName()
328 return GetDexFile()->GetFieldName(field_index); in GetName()
332 uint32_t field_index = GetDexFieldIndex(); in GetNameView() local
335 DCHECK_LT(field_index, 2U); in GetNameView()
336 return field_index == 0 ? "interfaces" : "throws"; in GetNameView()
338 return GetDexFile()->GetFieldNameView(field_index); in GetNameView()
342 uint32_t field_index = GetDexFieldIndex(); in GetTypeDescriptor() local
345 DCHECK_LT(field_index, 2U); in GetTypeDescriptor()
[all …]
Dclass_linker.cc9083 uint16_t field_index; member
9318 uint16_t field_index = dchecked_integral_cast<uint16_t>(i); in LinkFields() local
9322 sorted_fields[num_reference_fields] = { field_type_order, field_index }; in LinkFields()
9326 sorted_fields[primitive_fields_start] = { field_type_order, field_index }; in LinkFields()
9336 ArtField* lhs_field = &fields->At(lhs.field_index); in LinkFields()
9337 ArtField* rhs_field = &fields->At(rhs.field_index); in LinkFields()
9341 lhs.field_index < rhs.field_index); in LinkFields()
9349 ArtField* lhs_field = &fields->At(lhs.field_index); in LinkFields()
9350 ArtField* rhs_field = &fields->At(rhs.field_index); in LinkFields()
9354 lhs.field_index > rhs.field_index); in LinkFields()
[all …]
/art/compiler/dex/
Dinline_method_analyser.cc203 ConstructorIPutData() : field_index(DexFile::kDexNoIndex16), arg(0u) { } in ConstructorIPutData()
205 uint16_t field_index; member
216 uint32_t field_index = new_iput->VRegC_22c(); in RecordConstructorIPut() local
218 ArtField* field = class_linker->LookupResolvedField(field_index, method, /* is_static= */ false); in RecordConstructorIPut()
225 if (iputs[old_pos].field_index == DexFile::kDexNoIndex16) { in RecordConstructorIPut()
228 ArtField* f = class_linker->LookupResolvedField(iputs[old_pos].field_index, in RecordConstructorIPut()
241 while (new_pos != arraysize(iputs) && iputs[new_pos].field_index != DexFile::kDexNoIndex16) { in RecordConstructorIPut()
247 iputs[new_pos].field_index = field_index; in RecordConstructorIPut()
262 return iput_data.field_index == DexFile::kDexNoIndex16; in DoAnalyseConstructor()
345 if (iputs[0].field_index != DexFile::kDexNoIndex16 && in DoAnalyseConstructor()
[all …]
/art/tools/veridex/
Dhidden_api.cc92 std::string HiddenApi::GetApiFieldName(const DexFile& dex_file, uint32_t field_index) { in GetApiFieldName() argument
94 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);
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()
605 UpdateRegister(dest_reg, GetFieldType(field_index)); in ProcessDexInstruction()
Dhidden_api.h82 static std::string GetApiFieldName(const DexFile& dex_file, uint32_t field_index);
Dflow_analysis.h145 RegisterValue GetFieldType(uint32_t field_index);
/art/openjdkjvmti/
Dti_heap.cc217 [[maybe_unused]] size_t field_index, in VisitorFalse() argument
317 size_t field_index; in ReportFieldsRecursive() local
320 field_index = interface_fields; in ReportFieldsRecursive()
322 *field_index_out = field_index; in ReportFieldsRecursive()
336 &field_index)) { in ReportFieldsRecursive()
349 &field_index); in ReportFieldsRecursive()
360 field_index, in ReportFieldsRecursive()
368 field_index, in ReportFieldsRecursive()
373 field_index++; in ReportFieldsRecursive()
381 field_index, in ReportFieldsRecursive()
[all …]
/art/compiler/optimizing/
Dinliner.h169 HInstanceFieldGet* CreateInstanceFieldGet(uint32_t field_index,
173 HInstanceFieldSet* CreateInstanceFieldSet(uint32_t field_index,
Dinstruction_builder.cc2109 static DataType::Type GetFieldAccessType(const DexFile& dex_file, uint16_t field_index) { in GetFieldAccessType() argument
2110 const dex::FieldId& field_id = dex_file.GetFieldId(field_index); in GetFieldAccessType()
2120 uint16_t field_index = instruction.VRegC_22c(); in BuildInstanceFieldAccess() local
2123 ArtField* resolved_field = ResolveField(field_index, /* is_static= */ false, is_put); in BuildInstanceFieldAccess()
2132 DataType::Type field_type = GetFieldAccessType(*dex_file_, field_index); in BuildInstanceFieldAccess()
2142 field_index, in BuildInstanceFieldAccess()
2152 field_index, in BuildInstanceFieldAccess()
2165 field_index, in BuildInstanceFieldAccess()
2174 field_index, in BuildInstanceFieldAccess()
2191 uint16_t field_index = instruction.VRegB_21c(); in BuildUnresolvedStaticFieldAccess() local
[all …]
Dinliner.cc1784 uint16_t field_index = iput_field_indexes[i]; in TryPatternSubstitution() local
1787 CreateInstanceFieldSet(field_index, method, obj, value, &is_final); in TryPatternSubstitution()
1817 HInstanceFieldGet* HInliner::CreateInstanceFieldGet(uint32_t field_index, in CreateInstanceFieldGet() argument
1823 class_linker->LookupResolvedField(field_index, referrer, /* is_static= */ false); in CreateInstanceFieldGet()
1831 field_index, in CreateInstanceFieldGet()
1849 HInstanceFieldSet* HInliner::CreateInstanceFieldSet(uint32_t field_index, in CreateInstanceFieldSet() argument
1857 class_linker->LookupResolvedField(field_index, referrer, /* is_static= */ false); in CreateInstanceFieldSet()
1871 field_index, in CreateInstanceFieldSet()
Dnodes.h7524 uint32_t field_index,
7530 field_index_(field_index) {
7555 uint32_t field_index,
7558 field_index_(field_index) {
7593 uint32_t field_index,
7599 field_index_(field_index) {
7622 uint32_t field_index,
7625 field_index_(field_index) {
Dcode_generator.cc682 uint32_t field_index, in GenerateUnresolvedFieldAccess() argument
687 MoveConstant(locations->GetTemp(0), field_index); in GenerateUnresolvedFieldAccess()
Dcode_generator.h640 uint32_t field_index,
/art/runtime/interpreter/mterp/
Dnterp.cc399 uint16_t field_index = inst->VRegB_21c(); in NterpGetStaticField() local
405 field_index, in NterpGetStaticField()
454 uint16_t field_index = inst->VRegC_22c(); in NterpGetInstanceFieldOffset() local
460 field_index, in NterpGetInstanceFieldOffset()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h379 uint16_t field_index, in ResolveFieldWithAccessChecks() argument
386 return class_linker->ResolveField(field_index, caller, is_static); in ResolveFieldWithAccessChecks()
395 ArtField* resolved_field = class_linker->ResolveFieldJLS(field_index, in ResolveFieldWithAccessChecks()
411 field_index))) { in ResolveFieldWithAccessChecks()
/art/runtime/jit/
Dsmall_pattern_matcher.cc352 uint16_t field_index = is_static ? instruction.VRegB_21c() : instruction.VRegC_22c(); in TryMatch() local
357 field_index, in TryMatch()
/art/runtime/dex/
Ddex_file_annotations.cc152 uint32_t field_index) in FindAnnotationSetForField() argument
164 if (field_annotations[i].field_idx_ == field_index) { in FindAnnotationSetForField()
1378 uint32_t field_index) in FieldIsReachabilitySensitive() argument
1381 FindAnnotationSetForField(dex_file, class_def, field_index); in FieldIsReachabilitySensitive()
1447 uint32_t field_index = iter->VRegC_22c(); in MethodContainsRSensitiveAccess() local
1448 DCHECK(field_index < dex_file.NumFieldIds()); in MethodContainsRSensitiveAccess()
1451 const dex::FieldId& field_id = dex_file.GetFieldId(field_index); in MethodContainsRSensitiveAccess()
1457 && FieldIsReachabilitySensitive(dex_file, *field_class_def, field_index)) { in MethodContainsRSensitiveAccess()
Ddex_file_annotations.h109 uint32_t field_index);
/art/libdexfile/dex/
Ddex_file_verifier_test.cc833 uint32_t field_index = field.GetIndex(); in FindFieldData() local
834 dex::StringIndex name_index = dex_file->GetFieldId(field_index).name_idx_; in FindFieldData()