/external/chromium/net/proxy/ |
D | proxy_resolver_js_bindings_unittest.cc | 120 std::string ip_address; in TEST() local 125 EXPECT_FALSE(bindings->DnsResolve("", &ip_address)); in TEST() 129 EXPECT_TRUE(bindings->DnsResolve("google.com", &ip_address)); in TEST() 130 EXPECT_EQ("192.168.1.1", ip_address); in TEST() 134 EXPECT_FALSE(bindings->DnsResolve("fail", &ip_address)); in TEST() 199 std::string ip_address; in TEST() local 201 EXPECT_TRUE(bindings->MyIpAddress(&ip_address)); in TEST() 202 EXPECT_EQ("192.168.1.2", ip_address); // IPv4 restricted. in TEST() 204 EXPECT_TRUE(bindings->DnsResolve("foo", &ip_address)); in TEST() 205 EXPECT_EQ("192.168.1.1", ip_address); // IPv4 restricted. in TEST() [all …]
|
D | proxy_resolver_v8.cc | 307 bool IsInNetEx(const std::string& ip_address, const std::string& ip_prefix) { in IsInNetEx() argument 309 if (!ParseIPLiteralToNumber(ip_address, &address)) in IsInNetEx() 605 std::string ip_address; in DnsResolveCallback() local 610 success = context->js_bindings_->DnsResolve(hostname, &ip_address); in DnsResolveCallback() 613 return success ? ASCIIStringToV8String(ip_address) : v8::Null(); in DnsResolveCallback() 664 std::string ip_address = V8StringToUTF8(args[0]->ToString()); in IsInNetExCallback() local 665 if (!IsStringASCII(ip_address)) in IsInNetExCallback() 670 return IsInNetEx(ip_address, ip_prefix) ? v8::True() : v8::False(); in IsInNetExCallback()
|
/external/chromium/net/base/ |
D | ip_endpoint_unittest.cc | 25 IPAddressNumber ip_address; member 40 &tests[index].ip_address)); in SetUp() 50 IPEndPoint endpoint(tests[index].ip_address, 80); in TEST_F() 52 EXPECT_EQ(tests[index].ip_address, endpoint.address()); in TEST_F() 58 IPEndPoint src(tests[index].ip_address, index); in TEST_F() 68 IPEndPoint src(tests[index].ip_address, index); in TEST_F() 78 IPEndPoint ip_endpoint(tests[index].ip_address, index); in TEST_F() 102 IPEndPoint ip_endpoint(tests[index].ip_address, index); in TEST_F() 113 IPEndPoint src(tests[index].ip_address, index); in TEST_F() 121 IPEndPoint ip_endpoint1(tests[0].ip_address, 100); in TEST_F() [all …]
|
D | address_list_unittest.cc | 179 std::string ip_address; in TEST() member 193 LOG(WARNING) << "Unable to resolve ip literal '" << tests[i].ip_address in TEST() 201 ParseIPLiteralToNumber(tests[i].ip_address, &ip_number); in TEST() 220 std::string ip_address; in TEST() member 234 LOG(WARNING) << "Unable to resolve ip literal '" << tests[i].ip_address in TEST()
|
/external/chromium_org/net/base/ |
D | ip_endpoint_unittest.cc | 25 IPAddressNumber ip_address; member 40 &tests[index].ip_address)); in SetUp() 50 IPEndPoint endpoint(tests[index].ip_address, 80); in TEST_F() 52 EXPECT_EQ(tests[index].ip_address, endpoint.address()); in TEST_F() 58 IPEndPoint src(tests[index].ip_address, index); in TEST_F() 68 IPEndPoint src(tests[index].ip_address, index); in TEST_F() 78 IPEndPoint ip_endpoint(tests[index].ip_address, index); in TEST_F() 101 IPEndPoint ip_endpoint(tests[index].ip_address, index); in TEST_F() 120 IPEndPoint src(tests[index].ip_address, index); in TEST_F() 128 IPEndPoint ip_endpoint1(tests[0].ip_address, 100); in TEST_F() [all …]
|
D | address_list_unittest.cc | 91 std::string ip_address; in TEST() member 126 ASSERT_TRUE(ParseIPLiteralToNumber(tests[i].ip_address, &ip_number)); in TEST()
|
/external/chromium_org/chrome/browser/extensions/api/mdns/ |
D | dns_sd_registry_unittest.cc | 106 service.ip_address = ip_address1; in TEST_F() 118 service.ip_address = ip_address2; in TEST_F() 123 service.ip_address = ip_address1; in TEST_F() 125 service.ip_address = ip_address2; in TEST_F() 135 service.ip_address = "192.168.0.100"; in TEST_F() 158 service.ip_address = "192.168.0.100"; in TEST_F() 162 service.ip_address = "192.168.0.101"; in TEST_F() 183 service.ip_address = "192.168.0.100"; in TEST_F() 187 service.ip_address = "192.168.0.101"; in TEST_F() 208 const std::string ip_address = "192.168.0.100"; in TEST_F() local [all …]
|
D | dns_sd_device_lister.cc | 19 if (!service_description.ip_address.empty()) { in FillServiceInfo() 20 service->ip_address = net::IPAddressToString( in FillServiceInfo() 21 service_description.ip_address); in FillServiceInfo() 27 << service->ip_address; in FillServiceInfo()
|
D | dns_sd_delegate.h | 16 std::string ip_address; member 25 ip_address == other.ip_address &&
|
D | mdns_api.cc | 138 mdns_service->ip_address = (*it).ip_address; in OnDnsSdEvent()
|
/external/chromium_org/media/cast/test/ |
D | receiver.cc | 68 std::string ip_address = input.GetStringInput(); in GetIpAddress() local 70 while (std::count(ip_address.begin(), ip_address.end(), '.') != 3) { in GetIpAddress() 71 ip_address = input.GetStringInput(); in GetIpAddress() 73 return ip_address; in GetIpAddress() 252 std::string ip_address = media::cast::GetIpAddress("Enter destination IP."); in main() local 254 transport->SetLocalReceiver(packet_receiver, ip_address, local_ip_address, in main() 256 transport->SetSendDestination(ip_address, send_to_port); in main()
|
D | sender.cc | 79 std::string ip_address = input.GetStringInput(); in GetIpAddress() local 81 while (std::count(ip_address.begin(), ip_address.end(), '.') != 3) { in GetIpAddress() 82 ip_address = input.GetStringInput(); in GetIpAddress() 84 return ip_address; in GetIpAddress() 345 std::string ip_address = media::cast::GetIpAddress("Enter destination IP."); in main() local 349 transport->SetLocalReceiver(packet_receiver, ip_address, local_ip_address, in main() 351 transport->SetSendDestination(ip_address, send_to_port); in main()
|
/external/chromium_org/chrome/browser/local_discovery/ |
D | privet_device_lister_unittest.cc | 190 service_description_.ip_address.push_back(1); in SetUp() 191 service_description_.ip_address.push_back(2); in SetUp() 192 service_description_.ip_address.push_back(3); in SetUp() 193 service_description_.ip_address.push_back(4); in SetUp() 236 EXPECT_EQ(service_description_.ip_address, outgoing_description.ip_address); in TEST_F()
|
D | privet_device_lister_impl.cc | 37 device_description->ip_address = service_description.ip_address; in FillDeviceDescription()
|
/external/chromium_org/chromeos/network/ |
D | network_change_notifier_chromeos_unittest.cc | 32 const char* ip_address; member 41 const char* ip_address; member 112 notifier_.ip_address_ = notifier_state.ip_address; in SetNotifierState() 121 EXPECT_EQ(notifier_state.ip_address, notifier_.ip_address_); in VerifyNotifierState() 138 default_network_.ip_address_ = default_network_state.ip_address; in SetDefaultNetworkState()
|
D | network_change_notifier_chromeos.cc | 160 if (default_network->ip_address() != ip_address_) { in UpdateState() 178 default_network->ip_address().c_str())); in UpdateState() 192 ip_address_ = default_network->ip_address(); in UpdateState()
|
/external/chromium_org/media/cast/test/transport/ |
D | transport.h | 30 std::string ip_address, 35 void SetSendDestination(std::string ip_address, int port);
|
D | transport.cc | 194 std::string ip_address, in SetLocalReceiver() argument 199 CreateUDPAddress(ip_address, port, &bind_address); in SetLocalReceiver() 210 void Transport::SetSendDestination(std::string ip_address, int port) { in SetSendDestination() argument 212 CreateUDPAddress(ip_address, port, &send_address); in SetSendDestination()
|
/external/chromium-libpac/src/ |
D | proxy_resolver_v8.cc | 326 bool IsInNetEx(const std::string& ip_address, const std::string& ip_prefix) { in IsInNetEx() argument 329 if (RemoveChars(ip_address, " \t", &cleaned_ip_address)) in IsInNetEx() 331 if (!ParseIPLiteralToNumber(ip_address, &address)) in IsInNetEx() 616 std::string ip_address; in DnsResolveCallback() local 621 success = context->js_bindings_->DnsResolve(hostname, &ip_address); in DnsResolveCallback() 624 return success ? ASCIIStringToV8String(ip_address) : v8::Null(); in DnsResolveCallback() 673 std::string ip_address = V8StringToUTF8(args[0]->ToString()); in IsInNetExCallback() local 675 return IsInNetEx(ip_address, ip_prefix) ? v8::True() : v8::False(); in IsInNetExCallback()
|
/external/chromium_org/chromeos/dbus/ |
D | fake_debug_daemon_client.h | 43 virtual void TestICMP(const std::string& ip_address, 46 const std::string& ip_address,
|
D | debug_daemon_client.h | 133 virtual void TestICMP(const std::string& ip_address, 139 const std::string& ip_address,
|
D | fake_debug_daemon_client.cc | 102 void FakeDebugDaemonClient::TestICMP(const std::string& ip_address, in TestICMP() argument 109 const std::string& ip_address, in TestICMPWithOptions() argument
|
/external/chromium/chrome/browser/chromeos/net/ |
D | network_change_notifier_chromeos.cc | 47 network->ip_address() != ip_address_))) { in UpdateNetworkState() 58 ip_address_ = network->ip_address(); in UpdateNetworkState()
|
/external/chromium/net/socket/ |
D | ssl_server_socket_unittest.cc | 147 net::IPAddressNumber ip_address(4); in GetPeerAddress() local 148 *address = net::AddressList(ip_address, 0, false); in GetPeerAddress() 153 net::IPAddressNumber ip_address(4); in GetLocalAddress() local 154 *address = net::IPEndPoint(ip_address, 0); in GetLocalAddress()
|
/external/chromium_org/chrome/tools/service_discovery_sniffer/ |
D | service_discovery_sniffer.cc | 60 if (service.ip_address != net::IPAddressNumber()) { in OnServiceResolved() 62 service.ip_address).c_str()); in OnServiceResolved()
|