Home
last modified time | relevance | path

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

/system/bt/gd/common/
Dlist_map.h107 auto map_iterator = key_map_.find(key); in find() local
108 if (map_iterator == key_map_.end()) { in find()
111 return map_iterator->second; in find()
124 auto map_iterator = key_map_.find(key); in try_emplace() local
125 if (map_iterator != key_map_.end()) { in try_emplace()
144 auto map_iterator = key_map_.find(key); in insert_or_assign() local
145 if (map_iterator != key_map_.end()) { in insert_or_assign()
146 map_iterator->second->second = std::move(value); in insert_or_assign()
173 auto map_iterator = key_map_.find(key); in extract() local
174 if (map_iterator == key_map_.end()) { in extract()
[all …]
/system/bt/common/
Dlru.h79 auto map_iterator = lru_map_.find(key); in Find() local
80 if (map_iterator == lru_map_.end()) { in Find()
83 node_list_.splice(node_list_.begin(), node_list_, map_iterator->second); in Find()
84 return &(map_iterator->second->second); in Find()
156 auto map_iterator = lru_map_.find(key); in Remove() local
157 if (map_iterator == lru_map_.end()) { in Remove()
162 node_list_.erase(map_iterator->second); in Remove()
165 lru_map_.erase(map_iterator); in Remove()