Lines Matching refs:v
94 iterator Put(const K& k, const V& v) { in Put() argument
95 std::pair<iterator, bool> result = map_.emplace(k, v); in Put()
99 iterator Put(const K& k, V&& v) { in Put() argument
100 std::pair<iterator, bool> result = map_.emplace(k, std::move(v)); in Put()
106 iterator PutBefore(const_iterator pos, const K& k, const V& v) { in PutBefore() argument
110 return map_.emplace_hint(pos, k, v); in PutBefore()
112 iterator PutBefore(const_iterator pos, const K& k, V&& v) { in PutBefore() argument
116 return map_.emplace_hint(pos, k, std::move(v)); in PutBefore()
122 iterator Overwrite(const K& k, const V& v) { in Overwrite() argument
123 std::pair<iterator, bool> result = map_.insert(std::make_pair(k, v)); in Overwrite()
126 result.first->second = v; in Overwrite()
143 iterator FindOrAdd(const K& k, const V& v) { in FindOrAdd() argument
145 return it == end() ? Put(k, v) : it; in FindOrAdd()