Home
last modified time | relevance | path

Searched refs:newVals (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/sm8150/gps/utils/
DLocUnorderedSetMap.h152 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()
[all …]
/hardware/qcom/sm8150p/gps/utils/
DLocUnorderedSetMap.h143 bool add(const KEY& key, const unordered_set<VAL>& newVals) { in add() argument
145 if (!newVals.empty()) { in add()
148 iter->second.insert(newVals.begin(), newVals.end()); in add()
150 mMap[key] = newVals; in add()
160 inline void add(const unordered_set<KEY>& keys, const unordered_set<VAL>&& newVals, in add() argument
162 add(keys, newVals, newKeys); in add()
164 inline void add(const unordered_set<KEY>& keys, const unordered_set<VAL>& newVals, in add() argument
167 if (add(key, newVals) && nullptr != newKeys) { in add()
176 inline unordered_set<VAL> update(const KEY& key, unordered_set<VAL>& newVals) { in update() argument
179 if (newVals.empty()) { in update()
[all …]
/hardware/qcom/sm7250/gps/utils/
DLocUnorderedSetMap.h152 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()
[all …]
/hardware/qcom/sm7150/gps/utils/
DLocUnorderedSetMap.h143 bool add(const KEY& key, const unordered_set<VAL>& newVals) { in add() argument
145 if (!newVals.empty()) { in add()
148 iter->second.insert(newVals.begin(), newVals.end()); in add()
150 mMap[key] = newVals; in add()
160 inline void add(const unordered_set<KEY>& keys, const unordered_set<VAL>&& newVals, in add() argument
162 add(keys, newVals, newKeys); in add()
164 inline void add(const unordered_set<KEY>& keys, const unordered_set<VAL>& newVals, in add() argument
167 if (add(key, newVals) && nullptr != newKeys) { in add()
176 inline unordered_set<VAL> update(const KEY& key, unordered_set<VAL>& newVals) { in update() argument
179 if (newVals.empty()) { in update()
[all …]