Home
last modified time | relevance | path

Searched refs:entry_it (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/tools/aapt2/
H A DResourceTable.cpp487 auto entry_it = std::equal_range(type->entries.begin(), type->entries.end(), res.name.entry, in AddResource() local
489 const size_t entry_count = std::distance(entry_it.first, entry_it.second); in AddResource()
497 entry = entry_it.first->get(); in AddResource()
503 entry = entry_it.first->get(); in AddResource()
504 for (auto it = entry_it.first; it != entry_it.second; ++it) { in AddResource()
631 auto entry_it = std::equal_range(type->entries.begin(), type->entries.end(), name.entry, in FindResource() local
633 for (auto it = entry_it.first; it != entry_it.second; ++it) { in FindResource()
652 auto entry_it = std::equal_range(type->entries.begin(), type->entries.end(), name.entry, in RemoveResource() local
654 for (auto it = entry_it.first; it != entry_it.second; ++it) { in RemoveResource()
/aosp14/frameworks/base/libs/androidfw/
H A DAssetManager2.cpp1561 const auto entry_it = entries_.begin() + (key_it - keys_.begin()); in ApplyStyle() local
1567 entries_.erase(entry_it); in ApplyStyle()
1569 *entry_it = Entry{it->cookie, (*bag)->type_spec_flags, it->value}; in ApplyStyle()
1573 entries_.insert(entry_it, Entry{it->cookie, (*bag)->type_spec_flags, it->value}); in ApplyStyle()
1600 const auto entry_it = entries_.begin() + (key_it - keys_.begin()); in GetAttribute() local
1601 type_spec_flags |= entry_it->type_spec_flags; in GetAttribute()
1602 if (entry_it->value.dataType == Res_value::TYPE_ATTRIBUTE) { in GetAttribute()
1603 resid = entry_it->value.data; in GetAttribute()
1607 return AssetManager2::SelectedValue(entry_it->value.dataType, entry_it->value.data, in GetAttribute()
1766 const auto entry_it = entries_.begin() + (key_it - keys_.begin()); in SetTo() local
[all …]