Lines Matching refs:mMap
35 mMap[std::forward<K>(k)] = std::forward<V>(v); in set()
41 const_iterator iter = mMap.find(k); in get()
42 if (iter == mMap.end()) { in get()
50 return mMap.erase(k); in erase()
55 const_iterator iter = mMap.find(k); in eraseIfEqual()
56 if (iter == mMap.end()) { in eraseIfEqual()
60 mMap.erase(iter); in eraseIfEqual()
69 void setLocked(const K& k, V&& v) { mMap[k] = std::forward<V>(v); } in setLocked()
70 void setLocked(const K& k, const V& v) { mMap[k] = v; } in setLocked()
73 const_iterator iter = mMap.find(k); in getLocked()
74 if (iter == mMap.end()) { in getLocked()
80 size_type eraseLocked(const K& k) { return mMap.erase(k); } in eraseLocked()
83 iterator begin() { return mMap.begin(); } in begin()
84 iterator end() { return mMap.end(); } in end()
85 const_iterator begin() const { return mMap.begin(); } in begin()
86 const_iterator end() const { return mMap.end(); } in end()
90 std::map<K, V> mMap; variable