/external/openscreen/discovery/dnssd/impl/ |
D | instance_key.h | 24 class InstanceKey : public ServiceKey { 28 explicit InstanceKey(const MdnsRecord& record); 29 explicit InstanceKey(const DomainName& domain); 30 explicit InstanceKey(const DnsSdInstance& instance); 34 InstanceKey(absl::string_view instance, 38 InstanceKey(const InstanceKey& other); 39 InstanceKey(InstanceKey&& other); 41 InstanceKey& operator=(const InstanceKey& rhs); 42 InstanceKey& operator=(InstanceKey&& rhs); 52 friend H AbslHashValue(H h, const InstanceKey& key); [all …]
|
D | instance_key.cc | 20 InstanceKey::InstanceKey(const MdnsRecord& record) in InstanceKey() function in openscreen::discovery::InstanceKey 21 : InstanceKey(GetDomainName(record)) {} in InstanceKey() 23 InstanceKey::InstanceKey(const DomainName& domain) in InstanceKey() function in openscreen::discovery::InstanceKey 28 InstanceKey::InstanceKey(const DnsSdInstance& instance) in InstanceKey() function in openscreen::discovery::InstanceKey 29 : InstanceKey(instance.instance_id(), in InstanceKey() 33 InstanceKey::InstanceKey(absl::string_view instance, in InstanceKey() function in openscreen::discovery::InstanceKey 41 InstanceKey::InstanceKey(const InstanceKey& other) = default; 42 InstanceKey::InstanceKey(InstanceKey&& other) = default; 44 InstanceKey& InstanceKey::operator=(const InstanceKey& rhs) = default; 45 InstanceKey& InstanceKey::operator=(InstanceKey&& rhs) = default; [all …]
|
D | instance_key_unittest.cc | 18 InstanceKey key1("instance", "_service._udp", "domain"); in TEST() 19 InstanceKey key2("instance", "_service._udp", "domain"); in TEST() 23 key1 = InstanceKey("instance", "_service2._udp", "domain"); in TEST() 26 key2 = InstanceKey("instance", "_service2._udp", "domain"); in TEST() 30 key1 = InstanceKey("instance", "_service2._udp", "domain2"); in TEST() 33 key2 = InstanceKey("instance", "_service2._udp", "domain2"); in TEST() 37 key1 = InstanceKey("instance2", "_service2._udp", "domain2"); in TEST() 40 key2 = InstanceKey("instance2", "_service2._udp", "domain2"); in TEST() 47 InstanceKey svc("instance", "_service._udp", "domain"); in TEST() 50 svc = InstanceKey("other id", "_service._udp", "domain"); in TEST() [all …]
|
D | publisher_impl.cc | 28 InstanceKey key, in CreateEndpoint() 46 return CreateEndpoint(std::move(instance), InstanceKey(name), network_config); in UpdateDomain() 52 InstanceKey key(instance); in CreateEndpoint() 59 const InstanceKey& key) { in FindKey() 62 return key == InstanceKey(pair.first); in FindKey() 109 InstanceKey key(instance); in Register() 124 auto it = FindKey(&pending_instances_, InstanceKey(instance)); in UpdateRegistration() 149 FindKey(&published_instances_, InstanceKey(instance)); in UpdatePublishedRegistration() 158 UpdateDomain(GetDomainName(InstanceKey(published_instance_it->second)), in UpdatePublishedRegistration() 275 auto it = FindKey(&pending_instances_, InstanceKey(requested_name)); in OnDomainFound() [all …]
|
D | conversion_layer.h | 21 class InstanceKey; variable 40 DomainName GetDomainName(const InstanceKey& key); 49 DnsQueryInfo GetInstanceQueryInfo(const InstanceKey& key);
|
D | conversion_layer.cc | 50 inline DomainName GetInstanceDomainName(const InstanceKey& key) { in GetInstanceDomainName() 146 DomainName GetDomainName(const InstanceKey& key) { in GetDomainName() 157 DnsQueryInfo GetInstanceQueryInfo(const InstanceKey& key) { in GetInstanceQueryInfo() 171 return InstanceKey::TryCreate(domain).is_value() && in HasValidDnsRecordAddress() 180 auto domain = GetInstanceDomainName(InstanceKey(instance)); in GetDnsRecords() 187 auto domain = GetInstanceDomainName(InstanceKey(endpoint)); in GetDnsRecords()
|
D | conversion_layer_unittest.cc | 68 InstanceKey key{"instance.Id", "_service-id._udp", "192.168.0.0"}; in TEST()
|
D | dns_data_graph.cc | 29 InstanceKey instance_id(domain); in CreateEndpoint()
|
/external/llvm-project/clang-tools-extra/modularize/ |
D | PreprocessorTracker.cpp | 1045 PPItemKey InstanceKey(PP, MacroName, H, InstanceLoc); in addMacroExpansionInstance() local 1047 auto I = MacroExpansions.find(InstanceKey); in addMacroExpansionInstance() 1056 MacroExpansions[InstanceKey] = MacroExpansionTracker( in addMacroExpansionInstance() 1094 PPItemKey InstanceKey(PP, ConditionUnexpandedHandle, H, InstanceLoc); in addConditionalExpansionInstance() local 1095 auto I = ConditionalExpansions.find(InstanceKey); in addConditionalExpansionInstance() 1101 ConditionalExpansions[InstanceKey] = in addConditionalExpansionInstance()
|
/external/clang/lib/Sema/ |
D | SemaPseudoObject.cpp | 308 OpaqueValueExpr *InstanceKey; member in __anon023896250111::ObjCSubscriptOpBuilder 319 InstanceBase(nullptr), InstanceKey(nullptr), in ObjCSubscriptOpBuilder() 1021 InstanceKey = capture(RefExpr->getKeyExpr()); in rebuildAndCaptureObject() 1029 return InstanceKey; in rebuildAndCaptureObject() 1383 Expr *Index = InstanceKey; in buildGet() 1409 Expr *Index = InstanceKey; in buildSet()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaPseudoObject.cpp | 307 OpaqueValueExpr *InstanceKey; member in __anon2c7334130111::ObjCSubscriptOpBuilder 317 RefExpr(refExpr), InstanceBase(nullptr), InstanceKey(nullptr), in ObjCSubscriptOpBuilder() 1025 InstanceKey = capture(RefExpr->getKeyExpr()); in rebuildAndCaptureObject() 1033 return InstanceKey; in rebuildAndCaptureObject() 1383 Expr *Index = InstanceKey; in buildGet() 1409 Expr *Index = InstanceKey; in buildSet()
|