Searched refs:max_wire_size (Results 1 – 2 of 2) sorted by relevance
39 size_t max_wire_size = 1; in TryCreate() local47 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);
113 DomainName::DomainName(std::vector<std::string> labels, size_t max_wire_size) in DomainName() argument114 : max_wire_size_(max_wire_size), labels_(std::move(labels)) {} in DomainName()344 size_t max_wire_size = 3; in TryCreate() local348 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() argument371 : max_wire_size_(max_wire_size), texts_(std::move(texts)) {} in TxtRecordRdata()