/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::__anon5373::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::__anon5338::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::__anon5338::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::__anon10936::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...] |
address_list_unittest.cc | 91 std::string ip_address; member in struct:net::__anon10908::TestData 126 ASSERT_TRUE(ParseIPLiteralToNumber(tests[i].ip_address, &ip_number));
|
/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 | 188 service_description_.ip_address.push_back(1); 189 service_description_.ip_address.push_back(2); 190 service_description_.ip_address.push_back(3); 191 service_description_.ip_address.push_back(4); 234 EXPECT_EQ(service_description_.ip_address, outgoing_description.ip_address);
|
privet_device_lister_impl.cc | 101 device_description->ip_address = service_description.ip_address;
|
service_discovery_host_client.cc | 291 const net::IPAddressNumber& ip_address) { 296 this, id, success, ip_address)); 322 const net::IPAddressNumber& ip_address) { 326 it->second.Run(success, ip_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/chrome/common/local_discovery/ |
local_discovery_messages.h | 16 IPC_STRUCT_TRAITS_MEMBER(ip_address) 83 net::IPAddressNumber /* ip_address */)
|
service_discovery_client.h | 41 net::IPAddressNumber ip_address; member in struct:local_discovery::ServiceDescription
|
/external/chromium_org/chromeos/dbus/ |
debug_daemon_client.h | 135 // Tests ICMP connectivity to a specified host. The |ip_address| contains the 137 virtual void TestICMP(const std::string& ip_address, 140 // Tests ICMP connectivity to a specified host. The |ip_address| contains the 143 const std::string& ip_address,
|
/external/chromium_org/chromeos/network/ |
network_change_notifier_chromeos_unittest.cc | 32 const char* ip_address; member in struct:chromeos::__anon9710::NotifierState 41 const char* ip_address; member in struct:chromeos::__anon9710::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 | 159 if (default_network->ip_address() != ip_address_) { 177 default_network->ip_address().c_str())); 191 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-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...] |
/external/chromium_org/chrome/browser/safe_browsing/ |
client_side_detection_service.h | 120 // ip_address should be a dotted IPv4 address, or an unbracketed IPv6 122 virtual bool IsPrivateIPAddress(const std::string& ip_address) const; 125 // ip_address should be a dotted IPv4 address, or an unbracketed IPv6 127 virtual bool IsBadIpAddress(const std::string& ip_address) const;
|
client_side_detection_service.cc | 184 const std::string& ip_address) const { 186 if (!net::ParseIPLiteralToNumber(ip_address, &ip_number)) { 187 VLOG(2) << "Unable to parse IP address: '" << ip_address << "'"; 203 const std::string& ip_address) const { 205 if (!net::ParseIPLiteralToNumber(ip_address, &ip_number)) { 206 VLOG(2) << "Unable to parse IP address: '" << ip_address << "'"; 213 VLOG(2) << "Unable to convert IPv4 address to IPv6: '" << ip_address << "'";
|
/external/chromium/net/socket/ |
ssl_server_socket_unittest.cc | 147 net::IPAddressNumber ip_address(4); 148 *address = net::AddressList(ip_address, 0, false); 153 net::IPAddressNumber ip_address(4); 154 *address = net::IPEndPoint(ip_address, 0);
|
/external/chromium/chrome/browser/safe_browsing/ |
client_side_detection_service.h | 98 // ip_address should be a dotted IPv4 address, or an unbracketed IPv6 100 virtual bool IsPrivateIPAddress(const std::string& ip_address) const;
|
client_side_detection_service.cc | 133 const std::string& ip_address) const { 135 if (!net::ParseIPLiteralToNumber(ip_address, &ip_number)) { 136 DLOG(WARNING) << "Unable to parse IP address: " << ip_address;
|
/external/chromium_org/net/proxy/ |
proxy_resolver_v8.cc | 303 // Handler for "isInNetEx(ip_address, ip_prefix)". |ip_address| is a string 310 bool IsInNetEx(const std::string& ip_address, const std::string& ip_prefix) { 312 if (!ParseIPLiteralToNumber(ip_address, &address)) 670 std::string ip_address = V8StringToUTF8(args[0]->ToString()); local 671 if (!IsStringASCII(ip_address)) { 680 args.GetReturnValue().Set(IsInNetEx(ip_address, ip_prefix));
|
/external/chromium/chrome/browser/chromeos/status/ |
network_menu.h | 42 std::string ip_address; member in struct:chromeos::NetworkMenuModel::NetworkInfo
|