/external/chromium/net/proxy/ |
proxy_resolver_js_bindings_unittest.cc | 120 std::string ip_address; local 125 EXPECT_FALSE(bindings->DnsResolve("", &ip_address)); 129 EXPECT_TRUE(bindings->DnsResolve("google.com", &ip_address)); 130 EXPECT_EQ("192.168.1.1", ip_address); 134 EXPECT_FALSE(bindings->DnsResolve("fail", &ip_address)); 199 std::string ip_address; local 201 EXPECT_TRUE(bindings->MyIpAddress(&ip_address)); 202 EXPECT_EQ("192.168.1.2", ip_address); // IPv4 restricted. 204 EXPECT_TRUE(bindings->DnsResolve("foo", &ip_address)); 205 EXPECT_EQ("192.168.1.1", ip_address); // IPv4 restricted 248 std::string ip_address; local 306 std::string ip_address; local [all...] |
proxy_resolver_v8.cc | 300 // Handler for "isInNetEx(ip_address, ip_prefix)". |ip_address| is a string 307 bool IsInNetEx(const std::string& ip_address, const std::string& ip_prefix) { 309 if (!ParseIPLiteralToNumber(ip_address, &address)) 605 std::string ip_address; 610 success = context->js_bindings_->DnsResolve(hostname, &ip_address); 613 return success ? ASCIIStringToV8String(ip_address) : v8::Null(); 664 std::string ip_address = V8StringToUTF8(args[0]->ToString()); 665 if (!IsStringASCII(ip_address)) 670 return IsInNetEx(ip_address, ip_prefix) ? v8::True() : v8::False() [all...] |
/external/chromium/net/base/ |
ip_endpoint_unittest.cc | 25 IPAddressNumber ip_address; member in struct:net::__anon2660::TestData 40 &tests[index].ip_address)); 50 IPEndPoint endpoint(tests[index].ip_address, 80); 52 EXPECT_EQ(tests[index].ip_address, endpoint.address()); 58 IPEndPoint src(tests[index].ip_address, index); 68 IPEndPoint src(tests[index].ip_address, index); 78 IPEndPoint ip_endpoint(tests[index].ip_address, index); 102 IPEndPoint ip_endpoint(tests[index].ip_address, index); 113 IPEndPoint src(tests[index].ip_address, index); 121 IPEndPoint ip_endpoint1(tests[0].ip_address, 100) [all...] |
address_list_unittest.cc | 179 std::string ip_address; member in struct:net::__anon2625::TestData 193 LOG(WARNING) << "Unable to resolve ip literal '" << tests[i].ip_address 201 ParseIPLiteralToNumber(tests[i].ip_address, &ip_number); 220 std::string ip_address; member in struct:net::__anon2625::TestData 234 LOG(WARNING) << "Unable to resolve ip literal '" << tests[i].ip_address
|
/external/chromium_org/net/base/ |
ip_endpoint_unittest.cc | 25 IPAddressNumber ip_address; member in struct:net::__anon8880::TestData 40 &tests[index].ip_address)); 50 IPEndPoint endpoint(tests[index].ip_address, 80); 52 EXPECT_EQ(tests[index].ip_address, endpoint.address()); 58 IPEndPoint src(tests[index].ip_address, index); 68 IPEndPoint src(tests[index].ip_address, index); 78 IPEndPoint ip_endpoint(tests[index].ip_address, index); 101 IPEndPoint ip_endpoint(tests[index].ip_address, index); 120 IPEndPoint src(tests[index].ip_address, index); 128 IPEndPoint ip_endpoint1(tests[0].ip_address, 100) [all...] |
/external/chromium_org/chrome/browser/extensions/api/mdns/ |
dns_sd_delegate.h | 16 std::string ip_address; member in struct:extensions::DnsSdService 25 ip_address == other.ip_address &&
|
dns_sd_device_lister.cc | 19 if (!service_description.ip_address.empty()) { 20 service->ip_address = net::IPAddressToString( 21 service_description.ip_address); 27 << service->ip_address;
|
dns_sd_registry_unittest.cc | 106 service.ip_address = ip_address1; 118 service.ip_address = ip_address2; 123 service.ip_address = ip_address1; 125 service.ip_address = ip_address2; 135 service.ip_address = "192.168.0.100"; 158 service.ip_address = "192.168.0.100"; 162 service.ip_address = "192.168.0.101"; 183 service.ip_address = "192.168.0.100"; 187 service.ip_address = "192.168.0.101"; 208 const std::string ip_address = "192.168.0.100" local [all...] |
mdns_api.cc | 138 mdns_service->ip_address = (*it).ip_address;
|
/external/chromium_org/media/cast/test/transport/ |
transport.h | 30 std::string ip_address, 35 void SetSendDestination(std::string ip_address, int port);
|
transport.cc | 194 std::string ip_address, 199 CreateUDPAddress(ip_address, port, &bind_address); 210 void Transport::SetSendDestination(std::string ip_address, int port) { 212 CreateUDPAddress(ip_address, port, &send_address);
|
/external/chromium/chrome/browser/chromeos/net/ |
network_change_notifier_chromeos.cc | 47 network->ip_address() != ip_address_))) { 58 ip_address_ = network->ip_address();
|
/external/chromium_org/chromeos/dbus/ |
fake_debug_daemon_client.h | 43 virtual void TestICMP(const std::string& ip_address, 46 const std::string& ip_address,
|
debug_daemon_client.h | 131 // Tests ICMP connectivity to a specified host. The |ip_address| contains the 133 virtual void TestICMP(const std::string& ip_address, 136 // Tests ICMP connectivity to a specified host. The |ip_address| contains the 139 const std::string& ip_address,
|
/external/chromium_org/media/cast/test/ |
receiver.cc | 68 std::string ip_address = input.GetStringInput(); local 70 while (std::count(ip_address.begin(), ip_address.end(), '.') != 3) { 71 ip_address = input.GetStringInput(); 73 return ip_address; 252 std::string ip_address = media::cast::GetIpAddress("Enter destination IP."); local 254 transport->SetLocalReceiver(packet_receiver, ip_address, local_ip_address, 256 transport->SetSendDestination(ip_address, send_to_port);
|
sender.cc | 79 std::string ip_address = input.GetStringInput(); local 81 while (std::count(ip_address.begin(), ip_address.end(), '.') != 3) { 82 ip_address = input.GetStringInput(); 84 return ip_address; 345 std::string ip_address = media::cast::GetIpAddress("Enter destination IP."); local 349 transport->SetLocalReceiver(packet_receiver, ip_address, local_ip_address, 351 transport->SetSendDestination(ip_address, send_to_port);
|
/external/chromium_org/chrome/browser/local_discovery/ |
privet_device_lister.h | 41 net::IPAddressNumber ip_address; member in struct:local_discovery::DeviceDescription
|
privet_device_lister_unittest.cc | 190 service_description_.ip_address.push_back(1); 191 service_description_.ip_address.push_back(2); 192 service_description_.ip_address.push_back(3); 193 service_description_.ip_address.push_back(4); 236 EXPECT_EQ(service_description_.ip_address, outgoing_description.ip_address);
|
privet_device_lister_impl.cc | 37 device_description->ip_address = service_description.ip_address;
|
/external/chromium_org/chromeos/network/ |
network_change_notifier_chromeos_unittest.cc | 32 const char* ip_address; member in struct:chromeos::__anon7238::NotifierState 41 const char* ip_address; member in struct:chromeos::__anon7238::DefaultNetworkState 112 notifier_.ip_address_ = notifier_state.ip_address; 121 EXPECT_EQ(notifier_state.ip_address, notifier_.ip_address_); 138 default_network_.ip_address_ = default_network_state.ip_address;
|
network_change_notifier_chromeos.cc | 160 if (default_network->ip_address() != ip_address_) { 178 default_network->ip_address().c_str())); 192 ip_address_ = default_network->ip_address();
|
/external/chromium_org/chrome/tools/service_discovery_sniffer/ |
service_discovery_sniffer.cc | 60 if (service.ip_address != net::IPAddressNumber()) { 62 service.ip_address).c_str());
|
/external/chromium_org/chrome/common/local_discovery/ |
local_discovery_messages.h | 37 IPC_STRUCT_TRAITS_MEMBER(ip_address)
|
service_discovery_client.h | 41 net::IPAddressNumber ip_address; member in struct:local_discovery::ServiceDescription
|
/external/chromium-libpac/src/ |
proxy_resolver_v8.cc | 319 // Handler for "isInNetEx(ip_address, ip_prefix)". |ip_address| is a string 326 bool IsInNetEx(const std::string& ip_address, const std::string& ip_prefix) { 329 if (RemoveChars(ip_address, " \t", &cleaned_ip_address)) 331 if (!ParseIPLiteralToNumber(ip_address, &address)) 616 std::string ip_address; 621 success = context->js_bindings_->DnsResolve(hostname, &ip_address); 624 return success ? ASCIIStringToV8String(ip_address) : v8::Null(); 673 std::string ip_address = V8StringToUTF8(args[0]->ToString()); 675 return IsInNetEx(ip_address, ip_prefix) ? v8::True() : v8::False() [all...] |