Lines Matching refs:newVals
152 bool add(const KEY& key, const unordered_set<VAL>& newVals) { in add() argument
154 if (!newVals.empty()) { in add()
157 iter->second.insert(newVals.begin(), newVals.end()); in add()
159 mMap[key] = newVals; in add()
169 inline void add(const unordered_set<KEY>& keys, const unordered_set<VAL>&& newVals, in add() argument
171 add(keys, newVals, newKeys); in add()
174 inline void add(const unordered_set<KEY>& keys, const unordered_set<VAL>& newVals, in add() argument
177 if (add(key, newVals) && nullptr != newKeys) { in add()
186 inline unordered_set<VAL> update(const KEY& key, unordered_set<VAL>& newVals) { in update() argument
188 if (newVals.empty()) { in update()
192 mMap[key] = newVals; in update()
193 goneVals = removeAndReturnInterset(curVals, newVals); in update()