/external/chromium_org/net/base/ |
dns_util_unittest.cc | 19 TEST_F(DNSUtilTest, DNSDomainFromDot) { 22 EXPECT_FALSE(DNSDomainFromDot("", &out)); 23 EXPECT_FALSE(DNSDomainFromDot(".", &out)); 24 EXPECT_FALSE(DNSDomainFromDot("..", &out)); 26 EXPECT_TRUE(DNSDomainFromDot("com", &out)); 28 EXPECT_TRUE(DNSDomainFromDot("google.com", &out)); 30 EXPECT_TRUE(DNSDomainFromDot("www.google.com", &out)); 34 EXPECT_TRUE(DNSDomainFromDot("123456789a123456789a123456789a123456789a123456789a123456789a123", &out)); 38 EXPECT_FALSE(DNSDomainFromDot("123456789a123456789a123456789a123456789a123456789a123456789a1234", &out)); 41 EXPECT_TRUE(DNSDomainFromDot("123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.1234567 (…) [all...] |
dns_util.h | 16 // DNSDomainFromDot - convert a domain string to DNS format. From DJB's 21 NET_EXPORT_PRIVATE bool DNSDomainFromDot(const base::StringPiece& dotted,
|
dns_util.cc | 12 bool DNSDomainFromDot(const base::StringPiece& dotted, std::string* out) {
|
/external/chromium/net/base/ |
dns_util_unittest.cc | 19 TEST_F(DNSUtilTest, DNSDomainFromDot) { 22 EXPECT_TRUE(DNSDomainFromDot("", &out)); 24 EXPECT_TRUE(DNSDomainFromDot("com", &out)); 26 EXPECT_TRUE(DNSDomainFromDot("google.com", &out)); 28 EXPECT_TRUE(DNSDomainFromDot("www.google.com", &out)); 32 EXPECT_TRUE(DNSDomainFromDot("123456789a123456789a123456789a123456789a123456789a123456789a123", &out)); 36 EXPECT_FALSE(DNSDomainFromDot("123456789a123456789a123456789a123456789a123456789a123456789a1234", &out)); 39 EXPECT_TRUE(DNSDomainFromDot("123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123", &out)); 43 EXPECT_FALSE(DNSDomainFromDot("123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.1234", &out)); 46 EXPECT_TRUE(DNSDomainFromDot("www.google.com.", &out)) [all...] |
dns_util.h | 15 // DNSDomainFromDot - convert a domain string to DNS format. From DJB's 20 bool DNSDomainFromDot(const std::string& dotted, std::string* out);
|
dns_util.cc | 12 bool DNSDomainFromDot(const std::string& dotted, std::string* out) {
|
transport_security_state.cc | 456 if (!DNSDomainFromDot(host, &new_host)) { 457 // DNSDomainFromDot can fail if any label is > 63 bytes or if the whole
|
dnssec_unittest.cc | 135 bool ok = DNSDomainFromDot(name, &result); [all...] |
/external/chromium/net/tools/dnssec_chain_verify/ |
dnssec_chain_verify.cc | 61 if (!net::DNSDomainFromDot(target, &target_dns)) {
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
dns_response_builder.cc | 43 bool success = net::DNSDomainFromDot(service_name, &rdata); 54 bool success = net::DNSDomainFromDot(service_domain_name, &domain_name); 127 success = net::DNSDomainFromDot(iter->name, &name_in_dns_format);
|
/external/chromium_org/net/tools/dns_fuzz_stub/ |
dns_fuzz_stub.cc | 190 if (!net::DNSDomainFromDot(qname, &qname_dns)) { 191 LOG(ERROR) << filename << ": DNSDomainFromDot(" << qname << ") failed.";
|
/external/chromium_org/net/dns/ |
dns_test_util.cc | 95 DNSDomainFromDot(hostname_, &qname);
|
dns_transaction.cc | 593 if (!DNSDomainFromDot(hostname_, &labeled_hostname)) 620 if (!DNSDomainFromDot(hostname_ + "." + config.search[i], &qname))
|
mdns_client_impl.cc | 180 if (!DNSDomainFromDot(name, &name_dns))
|
dns_transaction_unittest.cc | 30 EXPECT_TRUE(DNSDomainFromDot(dotted, &out)); [all...] |
host_resolver_impl.cc | [all...] |
/external/chromium_org/net/http/ |
transport_security_state.cc | 235 if (!DNSDomainFromDot(host, &new_host)) { 236 // DNSDomainFromDot can fail if any label is > 63 bytes or if the whole
|
/external/chromium/net/socket/ |
ssl_client_socket_nss.cc | 437 if (!DNSDomainFromDot(hostname, &dns_hostname)) [all...] |