Home
last modified time | relevance | path

Searched refs:map_ (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/io/
DData.h97 explicit MmappedData(android::FileMap&& map) : map_(std::forward<android::FileMap>(map)) {} in MmappedData()
100 const void* data() const override { return map_.getDataPtr(); } in data()
102 size_t size() const override { return map_.getDataLength(); } in size()
105 if (next_read_ == map_.getDataLength()) { in Next()
108 *data = reinterpret_cast<const uint8_t*>(map_.getDataPtr()) + next_read_; in Next()
109 *size = map_.getDataLength() - next_read_; in Next()
110 next_read_ = map_.getDataLength(); in Next()
136 android::FileMap map_; variable
/frameworks/base/tools/aapt2/xml/
DXmlActionExecutor.h58 return map_[name];
71 std::map<std::string, XmlNodeAction> map_; variable
83 return map_[name];
91 std::map<std::string, XmlNodeAction> map_;
DXmlActionExecutor.cpp60 std::map<std::string, XmlNodeAction>::const_iterator iter = map_.find(child_el->name); in Execute()
61 if (iter != map_.end()) { in Execute()
105 std::map<std::string, XmlNodeAction>::const_iterator iter = map_.find(el->name); in Execute()
106 if (iter != map_.end()) { in Execute()
/frameworks/base/cmds/idmap2/libidmap2/
DIdmap.cpp52 if (map_.find(target_typeid) == map_.end()) { in Add()
53 map_.emplace(target_typeid, std::set<std::pair<ResourceId, ResourceId>>()); in Add()
55 map_[target_typeid].insert(std::make_pair(target_resid, overlay_resid)); in Add()
60 return map_; in Map()
65 std::map<TypeId, std::set<std::pair<ResourceId, ResourceId>>> map_; member in android::idmap2::__anon510e79fa0111::MatchingResources