Searched refs:index_ (Results 1 - 25 of 40) sorted by relevance

12

/art/libdexfile/dex/
H A Ddex_file_types.h30 uint32_t index_; member in class:art::dex::StringIndex
32 constexpr StringIndex() : index_(std::numeric_limits<decltype(index_)>::max()) {}
33 explicit constexpr StringIndex(uint32_t idx) : index_(idx) {}
36 return index_ != std::numeric_limits<decltype(index_)>::max();
39 return StringIndex(std::numeric_limits<decltype(index_)>::max());
43 return index_ == other.index_;
46 return index_ !
65 uint16_t index_; member in class:art::dex::TypeIndex
[all...]
H A Dbytecode_utils.h110 index_(0u) {}
112 bool Done() const { return index_ >= num_entries_; }
113 bool IsLast() const { return index_ == num_entries_ - 1; }
117 index_++;
121 return table_.IsSparse() ? table_.GetEntryAt(index_) : table_.GetEntryAt(0) + index_;
125 return table_.GetEntryAt(index_ + first_target_offset_);
128 uint32_t GetDexPcForCurrentIndex() const { return table_.GetDexPcForIndex(index_); }
135 size_t index_; member in class:art::DexSwitchTableIterator
H A Dstring_reference.h35 : DexFileReference(file, index.index_) {}
H A Dtype_reference.h35 : DexFileReference(file, index.index_) {}
H A Ddex_file_verifier.cc103 if (UNLIKELY(!CheckIndex(idx.index_, dex_file_->NumStringIds(), error_string))) {
124 method_index)->name_idx_.index_;
171 if (UNLIKELY(!CheckIndex(type_idx.index_, dex_file_->NumTypeIds(), error_string))) {
650 my_class_index.index_,
651 class_type_index.index_);
691 my_class_index.index_,
692 class_type_index.index_);
969 if (class_type_index->index_ >= header_->type_ids_size_) {
2066 prev_item->descriptor_idx_.index_,
2067 item->descriptor_idx_.index_);
[all...]
H A Ddex_file.cc396 int compare = return_type_idx.index_ - proto.return_type_idx_.index_;
401 compare = signature_type_idxs[i].index_ - it.GetTypeIdx().index_;
620 if (type_idx.index_ >= NumTypeIds()) {
621 return StringPrintf("<<invalid-type-idx-%d>>", type_idx.index_);
800 os << "StringIndex[" << index.index_ << "]";
805 os << "TypeIndex[" << index.index_ << "]";
H A Ddex_file.h478 DCHECK_LT(idx.index_, NumStringIds()) << GetLocation();
479 return string_ids_[idx.index_];
517 return idx.IsValid() && idx.index_ < NumTypeIds();
522 DCHECK_LT(idx.index_, NumTypeIds()) << GetLocation();
523 return type_ids_[idx.index_];
H A Ddex_instruction.cc321 << " // type@" << type_idx.index_;
330 << " // type@" << type_idx.index_;
/art/libartbase/base/
H A Dhash_set.h71 BaseIterator(HashSetType* hash_set, size_t index) : index_(index), hash_set_(hash_set) {
77 return hash_set_ == other.hash_set_ && this->index_ == other.index_;
85 this->index_ = this->NextNonEmptySlot(this->index_, hash_set_);
91 this->index_ = this->NextNonEmptySlot(this->index_, hash_set_);
96 DCHECK(!hash_set_->IsFreeSlot(this->index_));
97 return hash_set_->ElementForIndex(this->index_);
107 size_t index_; member in class:art::HashSet::BaseIterator
[all...]
/art/tools/veridex/
H A Dresolver.cc34 type_infos_[class_def.class_idx_.index_] = *existing->second;
37 type_infos_[class_def.class_idx_.index_] = VeriClass(Primitive::Type::kPrimNot, 0, &class_def);
38 type_map_[name] = &(type_infos_[class_def.class_idx_.index_]);
84 CHECK_LT(index.index_, dex_file_.NumTypeIds());
86 VeriClass* cls = &type_infos_[index.index_];
107 type_infos_[index.index_] = VeriClass(
109 cls = &(type_infos_[index.index_]);
116 type_infos_[index.index_] = *cls;
/art/runtime/mirror/
H A Ddex_cache-inl.h58 DCHECK_LT(string_idx.index_, GetDexFile()->NumStringIds());
59 const uint32_t slot_idx = string_idx.index_ % kDexCacheStringCacheSize;
66 std::memory_order_relaxed).GetObjectForIndex(string_idx.index_);
72 StringDexCachePair(resolved, string_idx.index_), std::memory_order_relaxed);
87 if (slot->load(std::memory_order_relaxed).index == string_idx.index_) {
94 DCHECK_LT(type_idx.index_, GetDexFile()->NumTypeIds());
95 const uint32_t slot_idx = type_idx.index_ % kDexCacheTypeCacheSize;
104 std::memory_order_relaxed).GetObjectForIndex(type_idx.index_);
114 TypeDexCachePair(resolved, type_idx.index_), std::memory_order_release);
124 if (slot->load(std::memory_order_relaxed).index == type_idx.index_) {
[all...]
/art/dexlayout/
H A Ddex_ir.cc330 TypeId* type_id = new TypeId(GetStringId(disk_type_id.descriptor_idx_.index_));
339 ProtoId* proto_id = new ProtoId(GetStringId(disk_proto_id.shorty_idx_.index_),
340 GetTypeId(disk_proto_id.return_type_idx_.index_),
347 FieldId* field_id = new FieldId(GetTypeId(disk_field_id.class_idx_.index_),
348 GetTypeId(disk_field_id.type_idx_.index_),
349 GetStringId(disk_field_id.name_idx_.index_));
355 MethodId* method_id = new MethodId(GetTypeId(disk_method_id.class_idx_.index_),
357 GetStringId(disk_method_id.name_idx_.index_));
363 const TypeId* class_type = GetTypeId(disk_class_def.class_idx_.index_);
365 const TypeId* superclass = GetTypeIdOrNullPtr(disk_class_def.superclass_idx_.index_);
[all...]
H A Ddex_ir.h516 uint32_t GetIndex() const { return index_; }
517 void SetIndex(uint32_t index) { index_ = index; }
521 : Item(offset, size), index_(index) { }
523 uint32_t index_ = 0; member in class:art::dex_ir::IndexedItem
/art/compiler/optimizing/
H A Dload_store_analysis.h103 index_(index),
120 HInstruction* GetIndex() const { return index_; }
130 return index_ != nullptr;
157 HInstruction* const index_; member in class:art::HeapLocation
H A Dnodes.h1550 size_t GetIndex() const { return index_; }
1552 void SetIndex(size_t index) { index_ = index; }
1556 : user_(user), index_(index) {}
1559 size_t index_; member in class:art::HUseListNode
3337 index_(index) {
3345 return other->AsClassTableGet()->GetIndex() == index_ &&
3350 size_t GetIndex() const { return index_; }
3367 const size_t index_; member in class:art::FINAL::FINAL::TableKind
5362 index_(index) {
5369 uint8_t GetIndex() const { return index_; }
5392 const uint8_t index_; member in class:art::FINAL::FINAL::ComparisonBias::FINAL::FINAL
5557 const uint32_t index_; member in class:art::FINAL::FINAL::ComparisonBias::FINAL::FieldInfo
[all...]
H A Dcode_generator_arm64.cc332 __ Mov(calling_convention.GetRegisterAt(0).W(), type_index.index_);
382 __ Mov(calling_convention.GetRegisterAt(0).W(), string_index.index_);
752 index_(index),
841 index_,
865 Location index_; member in class:art::arm64::LoadReferenceWithBakerReadBarrierSlowPathARM64
912 index_(index),
944 Location field_offset = index_;
993 index_,
1091 Location index_; member in class:art::arm64::LoadReferenceWithBakerReadBarrierAndUpdateFieldSlowPathARM64
1119 index_(inde
1287 const Location index_; member in class:art::arm64::ReadBarrierForHeapReferenceSlowPathARM64
[all...]
H A Dcode_generator_arm_vixl.cc542 __ Mov(calling_convention.GetRegisterAt(0), type_index.index_);
593 __ Mov(calling_convention.GetRegisterAt(0), string_index.index_);
878 index_(index),
960 instruction_, ref_, obj_, offset_, index_, scale_factor_, /* needs_null_check */ false);
984 Location index_; member in class:art::arm::LoadReferenceWithBakerReadBarrierSlowPathARMVIXL
1029 index_(index),
1057 Location field_offset = index_;
1102 instruction_, ref_, obj_, offset_, index_, scale_factor_, /* needs_null_check */ false);
1201 Location index_; member in class:art::arm::LoadReferenceWithBakerReadBarrierAndUpdateFieldSlowPathARMVIXL
1230 index_(inde
1398 const Location index_; member in class:art::arm::ReadBarrierForHeapReferenceSlowPathARMVIXL
[all...]
/art/runtime/entrypoints/quick/
H A Dquick_dexcache_entrypoints.cc86 type_idx.index_,
104 string_idx.index_,
/art/compiler/linker/
H A Drelative_patcher_test.h160 bss_begin_ + string_index_to_offset_map_.Get(patch.TargetStringIndex().index_);
167 string_index_to_offset_map_.Get(patch.TargetStringIndex().index_);
/art/runtime/verifier/
H A Dverifier_deps.cc234 CHECK_GE(new_id.index_, num_ids_in_dex); // check for overflows
243 if (string_id.index_ < num_ids_in_dex) {
248 string_id.index_ -= num_ids_in_dex;
249 CHECK_LT(string_id.index_, deps->strings_.size());
250 return deps->strings_[string_id.index_];
566 return in.index_;
569 return in.index_;
/art/runtime/jit/
H A Dprofile_compilation_info.cc435 DCHECK_GE(class_id.index_, last_class_index);
436 uint16_t diff_with_last_class_index = class_id.index_ - last_class_index;
437 last_class_index = class_id.index_;
524 AddUintToBuffer(buffer, dex_classes[i].index_);
1141 if (dex_classes[i].index_ >= dex_file_for_inline_cache_check->NumTypeIds()) {
1146 << dex_classes[i].index_
1157 if (class_id.index_ >= dex_file->NumTypeIds()) {
1159 << dex_location << " class_id=" << class_id.index_ << " NumClassIds="
1703 << "," << class_ref.type_index.index_ << ")";
1733 os << class_it.index_ << ",";
[all...]
/art/runtime/utils/
H A Ddex_cache_arrays_layout-inl.h80 type_idx.index_ % mirror::DexCache::kDexCacheTypeCacheSize);
/art/compiler/
H A Dverifier_deps_test.cc464 ASSERT_LT(id_Main1.index_, primary_dex_file_->NumStringIds());
468 ASSERT_LT(id_Main2.index_, primary_dex_file_->NumStringIds());
472 ASSERT_GE(id_Lorem1.index_, primary_dex_file_->NumStringIds());
476 ASSERT_GE(id_Lorem2.index_, primary_dex_file_->NumStringIds());
/art/dexdump/
H A Ddexdump.cc601 fprintf(gOutFile, "class_idx : %d\n", pClassDef.class_idx_.index_);
604 fprintf(gOutFile, "superclass_idx : %d\n", pClassDef.superclass_idx_.index_);
607 fprintf(gOutFile, "source_file_idx : %d\n", pClassDef.source_file_idx_.index_);
1593 pClassDef.source_file_idx_.index_, fileName);
/art/runtime/
H A Dtransaction.cc232 DCHECK_LT(string_idx.index_, dex_cache->GetDexFile()->NumStringIds());
597 DCHECK_LT(string_idx_.index_, dex_cache->GetDexFile()->NumStringIds());

Completed in 589 milliseconds

12