Home
last modified time | relevance | path

Searched refs:fields_ (Results 1 – 9 of 9) sorted by relevance

/art/libdexfile/dex/
Dcompact_dex_file.h94 return OFFSETOF_MEMBER(CodeItem, fields_); in FieldsOffset()
146 fields_ = (registers_size & 0xF) << kRegistersSizeShift; in Create()
147 fields_ |= (ins_size & 0xF) << kInsSizeShift; in Create()
148 fields_ |= (outs_size & 0xF) << kOutsSizeShift; in Create()
149 fields_ |= (tries_size & 0xF) << kTriesSizeSizeShift; in Create()
209 const uint16_t fields = fields_; in DecodeFields()
248 uint16_t fields_; member
Dtest_dex_file_builder.h39 : strings_(), types_(), fields_(), protos_() { in TestDexFileBuilder()
59 fields_.emplace(key, 0u); in AddField()
140 for (auto& entry : fields_) {
144 header->field_ids_size_ = fields_.size();
145 header->field_ids_off_ = fields_.empty() ? 0u : field_ids_offset;
147 uint32_t method_ids_offset = field_ids_offset + fields_.size() * sizeof(dex::FieldId);
203 for (const auto& entry : fields_) {
267 auto it = fields_.find(key); in GetFieldIdx()
268 CHECK(it != fields_.end()); in GetFieldIdx()
394 std::map<FieldKey, uint32_t, FieldKeyComparator> fields_; variable
/art/runtime/
Dreflective_handle_scope-inl.h47 std::for_each(fields_.begin(), fields_.begin() + field_pos_, visit_one); in VisitTargets()
Dreflective_handle_scope.h190 return &fields_[i]; in GetFieldReference()
195 std::array<ReflectiveReference<ArtField>, kNumFields> fields_; variable
/art/tools/dexanalyze/
Ddexanalyze_bytecode.cc128 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()
Ddexanalyze_bytecode.h49 SafeMap<size_t, size_t> fields_; member
/art/tools/jvmti-agents/field-null-percent/
Dfieldnull.cc89 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/
Djni_id_manager.cc567 : BaseReflectiveHandleScope(), methods_(), fields_() { in REQUIRES_SHARED()
574 fields_ = fields; in Initialize()
589 for (auto it = fields_.begin(); it != fields_.end(); ++it) { in VisitTargets()
598 return &fields_[idx]; in GetFieldPtr()
606 return fields_.size(); in NumFields()
614 std::vector<ArtField*> fields_; member in art::jni::JniIdDeferStackReflectiveScope
/art/tools/jvmti-agents/field-counts/
Dfieldcount.cc91 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()