Lines Matching refs:v
98 iterator Put(const K& k, const V& v) { in Put() argument
99 std::pair<iterator, bool> result = map_.emplace(k, v); in Put()
103 iterator Put(const K& k, V&& v) { in Put() argument
104 std::pair<iterator, bool> result = map_.emplace(k, std::move(v)); in Put()
110 iterator PutBefore(const_iterator pos, const K& k, const V& v) { in PutBefore() argument
114 return map_.emplace_hint(pos, k, v); in PutBefore()
116 iterator PutBefore(const_iterator pos, const K& k, V&& v) { in PutBefore() argument
120 return map_.emplace_hint(pos, k, std::move(v)); in PutBefore()
126 iterator Overwrite(const K& k, const V& v) { in Overwrite() argument
127 std::pair<iterator, bool> result = map_.insert(std::make_pair(k, v)); in Overwrite()
130 result.first->second = v; in Overwrite()
147 iterator FindOrAdd(const K& k, const V& v) { in FindOrAdd() argument
149 return it == end() ? Put(k, v) : it; in FindOrAdd()