Lines Matching refs:DomainName
16 DomainName DomainName::GetLocalDomain() { in GetLocalDomain()
17 return DomainName{{5, 'l', 'o', 'c', 'a', 'l', 0}}; in GetLocalDomain()
21 ErrorOr<DomainName> DomainName::Append(const DomainName& first, in Append()
22 const DomainName& second) { in Append()
34 DomainName result; in Append()
45 DomainName::DomainName() : domain_name_{0u} {} in DomainName() function in openscreen::osp::DomainName
46 DomainName::DomainName(std::vector<uint8_t>&& domain_name) in DomainName() function in openscreen::osp::DomainName
50 DomainName::DomainName(const DomainName&) = default;
51 DomainName::DomainName(DomainName&&) noexcept = default;
52 DomainName::~DomainName() = default;
53 DomainName& DomainName::operator=(const DomainName&) = default;
54 DomainName& DomainName::operator=(DomainName&&) noexcept = default;
56 bool DomainName::operator==(const DomainName& other) const { in operator ==()
68 bool DomainName::operator!=(const DomainName& other) const { in operator !=()
72 bool DomainName::EndsWithLocalDomain() const { in EndsWithLocalDomain()
73 const DomainName local_domain = GetLocalDomain(); in EndsWithLocalDomain()
82 Error DomainName::Append(const DomainName& after) { in Append()
96 std::vector<absl::string_view> DomainName::GetLabels() const { in GetLabels()
113 bool DomainNameComparator::operator()(const DomainName& a, in operator ()()
114 const DomainName& b) const { in operator ()()
118 std::ostream& operator<<(std::ostream& os, const DomainName& domain_name) { in operator <<()