Home
last modified time | relevance | path

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

/hardware/interfaces/media/bufferpool/aidl/default/
DDataHelper.h29 bool insert(std::map<T, std::set<U>> *mapOfSet, T key, U value) { in insert() argument
30 auto iter = mapOfSet->find(key); in insert()
31 if (iter == mapOfSet->end()) { in insert()
33 mapOfSet->insert(std::make_pair(key, valueSet)); in insert()
44 bool erase(std::map<T, std::set<U>> *mapOfSet, T key, U value) { in erase() argument
46 auto iter = mapOfSet->find(key); in erase()
47 if (iter != mapOfSet->end()) { in erase()
52 mapOfSet->erase(iter); in erase()
60 bool contains(std::map<T, std::set<U>> *mapOfSet, T key, U value) { in contains() argument
61 auto iter = mapOfSet->find(key); in contains()
[all …]