Home
last modified time | relevance | path

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

/system/core/libmemunreachable/
DProcessMappings.cpp32 ReadMapCallback(allocator::vector<Mapping>& mappings) : mappings_(mappings) {} in ReadMapCallback()
36 mappings_.emplace_back(start, end, flags & PROT_READ, flags & PROT_WRITE, flags & PROT_EXEC, in operator ()()
40 allocator::vector<Mapping>& mappings_; member
/system/netd/resolv/dns_responder/
Ddns_responder.cpp551 auto it = mappings_.find(QueryKey(name, type)); in addMapping()
552 if (it != mappings_.end()) { in addMapping()
559 mappings_.try_emplace({name, type}, addr); in addMapping()
564 auto it = mappings_.find(QueryKey(name, type)); in removeMapping()
565 if (it != mappings_.end()) { in removeMapping()
570 mappings_.erase(it); in removeMapping()
819 while ((it = mappings_.find(QueryKey(rname, rtype))) != mappings_.end()) { in addAnswerRecords()
Ddns_responder.h160 std::unordered_map<QueryKey, std::string, QueryKeyHash> mappings_