Home
last modified time | relevance | path

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

/external/openscreen/discovery/dnssd/impl/
Dinstance_key.h24 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 …]
Dinstance_key.cc20 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 …]
Dinstance_key_unittest.cc18 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 …]
Dpublisher_impl.cc28 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 …]
Dconversion_layer.h21 class InstanceKey; variable
40 DomainName GetDomainName(const InstanceKey& key);
49 DnsQueryInfo GetInstanceQueryInfo(const InstanceKey& key);
Dconversion_layer.cc50 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()
Dconversion_layer_unittest.cc68 InstanceKey key{"instance.Id", "_service-id._udp", "192.168.0.0"}; in TEST()
Ddns_data_graph.cc29 InstanceKey instance_id(domain); in CreateEndpoint()
/external/llvm-project/clang-tools-extra/modularize/
DPreprocessorTracker.cpp1045 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/
DSemaPseudoObject.cpp308 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/
DSemaPseudoObject.cpp307 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()