/art/libdexfile/dex/ |
D | compact_dex_file.h | 128 fields_ = (registers_size & 0xF) << kRegistersSizeShift; in Create() 129 fields_ |= (ins_size & 0xF) << kInsSizeShift; in Create() 130 fields_ |= (outs_size & 0xF) << kOutsSizeShift; in Create() 131 fields_ |= (tries_size & 0xF) << kTriesSizeSizeShift; in Create() 191 const uint16_t fields = fields_; in DecodeFields() 230 uint16_t fields_; member
|
D | test_dex_file_builder.h | 38 : strings_(), types_(), fields_(), protos_(), dex_file_data_() { in TestDexFileBuilder() 60 fields_.emplace(key, 0u); in AddField() 142 for (auto& entry : fields_) { in Build() 146 header->field_ids_size_ = fields_.size(); in Build() 147 header->field_ids_off_ = fields_.empty() ? 0u : field_ids_offset; in Build() 149 uint32_t method_ids_offset = field_ids_offset + fields_.size() * sizeof(dex::FieldId); in Build() 201 for (const auto& entry : fields_) { in Build() 265 auto it = fields_.find(key); in GetFieldIdx() 266 CHECK(it != fields_.end()); in GetFieldIdx() 392 std::map<FieldKey, uint32_t, FieldKeyComparator> fields_; variable
|
/art/runtime/ |
D | reflective_handle_scope-inl.h | 47 std::for_each(fields_.begin(), fields_.begin() + field_pos_, visit_one); in VisitTargets()
|
D | reflective_handle_scope.h | 190 return &fields_[i]; in GetFieldReference() 195 std::array<ReflectiveReference<ArtField>, kNumFields> fields_; variable
|
/art/tools/dexanalyze/ |
D | dexanalyze_bytecode.cc | 128 pair.second.fields_ = SortByOrder(pair.second.fields_, Order::kMostUsed); in ProcessDexFiles() 271 ++current_type.fields_.FindOrAdd(dex_field_idx)->second; in ProcessCodeItem() 273 uint32_t field_idx = types[holder_type.index_].fields_.Get(dex_field_idx); in ProcessCodeItem() 281 ++types[holder_type.index_].fields_.FindOrAdd(dex_field_idx)->second; in ProcessCodeItem() 284 uint32_t field_idx = types[holder_type.index_].fields_.Get(dex_field_idx); in ProcessCodeItem() 331 ++types[holder_type.index_].fields_.FindOrAdd(dex_field_idx)->second; in ProcessCodeItem() 333 uint32_t field_idx = types[holder_type.index_].fields_.Get(dex_field_idx); in ProcessCodeItem() 342 ++types[holder_type.index_].fields_.FindOrAdd(dex_field_idx)->second; in ProcessCodeItem() 345 uint32_t field_idx = types[holder_type.index_].fields_.Get(dex_field_idx); in ProcessCodeItem()
|
D | dexanalyze_bytecode.h | 49 SafeMap<size_t, size_t> fields_; member
|
/art/tools/jvmti-agents/field-null-percent/ |
D | fieldnull.cc | 89 std::vector<std::pair<jclass, jfieldID>> fields_; member 101 for (std::pair<jclass, jfieldID>& p : list->fields_) { in DataDumpRequestCb() 153 new (list) RequestList { .fields_ = GetRequestedFields(env, args), }; in CreateFieldList()
|
/art/runtime/jni/ |
D | jni_id_manager.cc | 566 : BaseReflectiveHandleScope(), methods_(), fields_() { in REQUIRES_SHARED() 573 fields_ = fields; in Initialize() 588 for (auto it = fields_.begin(); it != fields_.end(); ++it) { in VisitTargets() 597 return &fields_[idx]; in GetFieldPtr() 605 return fields_.size(); in NumFields() 613 std::vector<ArtField*> fields_; member in art::jni::JniIdDeferStackReflectiveScope
|
/art/tools/jvmti-agents/field-counts/ |
D | fieldcount.cc | 91 std::vector<std::pair<jclass, jfieldID>> fields_; member 104 for (std::pair<jclass, jfieldID>& p : list->fields_) { in DataDumpRequestCb() 209 .fields_ = GetRequestedFields(env, args), in CreateFieldList()
|
/art/dex2oat/ |
D | verifier_deps_test.cc | 334 for (auto& entry : dex_dep.second->fields_) { in HasField() 453 has_fields |= !entry.second->fields_.empty(); in HasEachKindOfRecord() 1305 for (const auto& entry : deps.fields_) { in TEST_F() 1307 deps.fields_.insert(VerifierDeps::FieldResolution(entry.GetDexFieldIndex(), in TEST_F() 1317 for (const auto& entry : deps.fields_) { in TEST_F() 1320 … deps.fields_.insert(VerifierDeps::FieldResolution(0 /* we know there is a field there */, in TEST_F() 1330 for (const auto& entry : deps.fields_) { in TEST_F() 1332 deps.fields_.insert(VerifierDeps::FieldResolution(entry.GetDexFieldIndex(), in TEST_F() 1342 for (const auto& entry : deps.fields_) { in TEST_F() 1345 deps.fields_.insert(VerifierDeps::FieldResolution(entry.GetDexFieldIndex(), in TEST_F()
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 76 my_deps->fields_.merge(other_deps.fields_); in MergeWith() 328 dex_deps->fields_.emplace(FieldResolution(field_idx, in AddFieldResolution() 733 EncodeSet(buffer, deps.fields_); in Encode() 747 DecodeSet(data_start, data_end, &deps.fields_); in DecodeDexFileDeps() 827 (fields_ == rhs.fields_) && in Equals() 883 for (const FieldResolution& entry : dep.second->fields_) { in Dump() 1235 VerifyFields(class_loader, dex_file, deps.fields_, self, error_msg) && in VerifyDexFile()
|
D | verifier_deps.h | 226 std::set<FieldResolution> fields_; member
|