Home | History | Annotate | Download | only in base

Lines Matching defs:new_host

455   std::string new_host;
456 if (!DNSDomainFromDot(host, &new_host)) {
462 for (size_t i = 0; new_host[i]; i += new_host[i] + 1) {
463 const unsigned label_length = static_cast<unsigned>(new_host[i]);
469 if (!IsSTD3ASCIIValidCharacter(new_host[i + 1 + j]))
472 new_host[i + 1 + j] = tolower(new_host[i + 1 + j]);
476 if (new_host[i + 1] == '-' ||
477 new_host[i + label_length] == '-') {
482 return new_host;