/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()
|
D | proxy_resolver_v8_unittest.cc | 33 virtual bool MyIpAddress(std::string* ip_address) { in MyIpAddress() argument 35 *ip_address = my_ip_address_result; in MyIpAddress() 45 virtual bool DnsResolve(const std::string& host, std::string* ip_address) { in DnsResolve() argument 47 *ip_address = dns_resolve_result; in DnsResolve()
|
/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/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/chrome/browser/safe_browsing/ |
D | client_side_detection_service.cc | 133 const std::string& ip_address) const { in IsPrivateIPAddress() 135 if (!net::ParseIPLiteralToNumber(ip_address, &ip_number)) { in IsPrivateIPAddress() 136 DLOG(WARNING) << "Unable to parse IP address: " << ip_address; in IsPrivateIPAddress()
|
D | client_side_detection_service.h | 100 virtual bool IsPrivateIPAddress(const std::string& ip_address) const;
|
/external/chromium/chrome/browser/chromeos/status/ |
D | network_menu.h | 42 std::string ip_address; member
|
D | network_menu.cc | 781 std::string ip_address = cros->IPAddress(); in InitMenuItems() local 782 if (!ip_address.empty()) { in InitMenuItems()
|
/external/chromium/chrome/browser/resources/ |
D | network_menu.js | 272 this.setStatus_(attrs.ip_address);
|
/external/chromium/chrome/browser/automation/ |
D | testing_automation_provider_chromeos.cc | 40 item->SetString("ip_address", network->ip_address()); in GetNetworkInfoDict()
|
/external/chromium/chrome/browser/chromeos/cros/ |
D | network_library.h | 281 const std::string& ip_address() const { return ip_address_; } in ip_address() function
|
D | network_library.cc | 2337 return result->ip_address(); in IPAddress()
|
/external/chromium/chrome/browser/ |
D | browser_about_handler.cc | 457 str += WrapWithTD(network->ip_address()); in ToHtmlTableRow()
|
/external/libmtp/src/ |
D | ptp.h | 1047 uint32_t ip_address; member
|
D | ptp.c | 2280 test.ip_address = 10 + 11 << 16 + 11 << 24; in ptp_nikon_getwifiprofilelist() 2352 *((unsigned int*)&buffer[0x3A]) = profile->ip_address; /* Do not reverse bytes */ in ptp_nikon_writewifiprofile()
|