Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/guest_os_primitives/
Dguest_thread_map.cc29 map_.clear(); in ResetThreadTable()
30 map_[tid] = thread; in ResetThreadTable()
35 auto result = map_.insert({tid, thread}); in InsertThread()
41 auto it = map_.find(tid); in RemoveThread()
42 CHECK(it != map_.end()); in RemoveThread()
44 map_.erase(it); in RemoveThread()
50 auto it = map_.find(tid); in FindThread()
51 if (it == map_.end()) { in FindThread()
Dguest_thread_map.h39 for (const auto& v : map_) { in ForEachThread()
45 ForeverMap<pid_t, GuestThread*> map_;
/frameworks/native/include/ftl/
Dsmall_map.h102 : map_(std::move(list)) { in SmallMap()
108 SmallMap(SmallMap<Q, W, M, E> other) : map_(std::move(other.map_)) {} in SmallMap()
112 size_type max_size() const { return map_.max_size(); } in max_size()
113 size_type size() const { return map_.size(); } in size()
114 bool empty() const { return map_.empty(); } in empty()
119 return map_.dynamic(); in dynamic()
125 iterator begin() { return map_.begin(); } in begin()
127 const_iterator cbegin() const { return map_.cbegin(); } in cbegin()
129 iterator end() { return map_.end(); } in end()
131 const_iterator cend() const { return map_.cend(); } in cend()
[all …]
/frameworks/base/tools/aapt2/io/
DData.h96 explicit MmappedData(android::FileMap&& map) : map_(std::forward<android::FileMap>(map)) {} in MmappedData()
99 const void* data() const override { return map_.getDataPtr(); } in data()
101 size_t size() const override { return map_.getDataLength(); } in size()
104 if (next_read_ == map_.getDataLength()) { in Next()
107 *data = reinterpret_cast<const uint8_t*>(map_.getDataPtr()) + next_read_; in Next()
108 *size = map_.getDataLength() - next_read_; in Next()
109 next_read_ = map_.getDataLength(); in Next()
135 android::FileMap map_; variable
/frameworks/base/tools/aapt2/xml/
DXmlActionExecutor.h59 return map_[name];
73 std::map<std::string, XmlNodeAction> map_; variable
85 return map_[name];
93 std::map<std::string, XmlNodeAction> map_;
DXmlActionExecutor.cpp73 std::map<std::string, XmlNodeAction>::const_iterator iter = map_.find(child_el->name); in Execute()
74 if (iter != map_.end()) { in Execute()
118 std::map<std::string, XmlNodeAction>::const_iterator iter = map_.find(el->name); in Execute()
119 if (iter != map_.end()) { in Execute()
/frameworks/libs/binary_translation/runtime_primitives/
Dguest_function_wrapper_impl.cc65 auto it = map_.find(std::make_tuple(pc, signature, guest_runner)); in Find()
66 if (it != map_.end()) { in Find()
76 std::pair<WrapperMap::iterator, bool> res = map_.insert( in Insert()
86 for (auto& entry : map_) { in SlowFindGuestAddrByWrapperAddr()
101 WrapperMap map_; member in berberis::__anon5559b05a0111::WrapperCache
/frameworks/libs/binary_translation/backend/include/berberis/backend/x86_64/
Drename_copy_uses.h32 : map_(machine_ir->NumVReg(), {kInvalidMachineReg, 0, 0}, machine_ir->arena()) {} in RenameCopyUsesMap()
48 RenameData& RenameDataForReg(MachineReg reg) { return map_.at(reg.GetVRegIndex()); } in RenameDataForReg()
50 ArenaVector<RenameData> map_; variable
Drename_vregs.h31 map_( in VRegMap()
46 ArenaVector<ArenaVector<MachineReg>> map_; variable
/frameworks/libs/binary_translation/backend/x86_64/
Drename_copy_uses.cc83 for (auto& data : map_) { in StartBasicBlock()
Drename_vregs.cc43 MachineReg& mapped_reg = map_.at(bb->id()).at(reg.GetVRegIndex()); in Get()