Home
last modified time | relevance | path

Searched refs:max_wire_size (Results 1 – 2 of 2) sorted by relevance

/external/openscreen/discovery/mdns/
Dmdns_records.h39 size_t max_wire_size = 1; in TryCreate() local
47 max_wire_size += entry->size() + 1; in TryCreate()
50 if (max_wire_size > kMaxDomainNameLength) { in TryCreate()
53 return DomainName(std::move(labels), max_wire_size); in TryCreate()
98 DomainName(std::vector<std::string> labels, size_t max_wire_size);
294 TxtRecordRdata(std::vector<std::string> texts, size_t max_wire_size);
Dmdns_records.cc113 DomainName::DomainName(std::vector<std::string> labels, size_t max_wire_size) in DomainName() argument
114 : max_wire_size_(max_wire_size), labels_(std::move(labels)) {} in DomainName()
344 size_t max_wire_size = 3; in TryCreate() local
348 max_wire_size = sizeof(uint16_t); in TryCreate()
356 max_wire_size += text.size() + 1; in TryCreate()
359 return TxtRecordRdata(std::move(str_texts), max_wire_size); in TryCreate()
370 size_t max_wire_size) in TxtRecordRdata() argument
371 : max_wire_size_(max_wire_size), texts_(std::move(texts)) {} in TxtRecordRdata()