Home
last modified time | relevance | path

Searched refs:InstanceKey (Results 1 – 9 of 9) 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/clang/lib/Sema/
DSemaPseudoObject.cpp308 OpaqueValueExpr *InstanceKey; member in __anon065c08c30111::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()