Home
last modified time | relevance | path

Searched refs:ip_address (Results 1 – 25 of 67) sorted by relevance

123

/external/chromium_org/net/base/
Dip_endpoint_unittest.cc25 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 …]
/external/chromium_org/chrome/browser/extensions/api/mdns/
Ddns_sd_registry_unittest.cc105 service.ip_address = ip_address1; in TEST_F()
117 service.ip_address = ip_address2; in TEST_F()
122 service.ip_address = ip_address1; in TEST_F()
124 service.ip_address = ip_address2; in TEST_F()
134 service.ip_address = "192.168.0.100"; in TEST_F()
157 service.ip_address = "192.168.0.100"; in TEST_F()
161 service.ip_address = "192.168.0.101"; in TEST_F()
182 service.ip_address = "192.168.0.100"; in TEST_F()
186 service.ip_address = "192.168.0.101"; in TEST_F()
207 const std::string ip_address = "192.168.0.100"; in TEST_F() local
[all …]
Ddns_sd_device_lister.cc19 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()
Ddns_sd_delegate.h16 std::string ip_address; member
25 ip_address == other.ip_address &&
/external/chromium_org/content/renderer/p2p/
Dipc_network_manager_unittest.cc55 rtc::IPAddress ip_address; in TEST_F() local
104 EXPECT_TRUE(rtc::IPFromString(kIPv6PublicAddrString1, &ip_address)); in TEST_F()
105 EXPECT_EQ(networks[1]->GetIPs()[0], ip_address); in TEST_F()
106 EXPECT_TRUE(rtc::IPFromString(kIPv6PublicAddrString2, &ip_address)); in TEST_F()
107 EXPECT_EQ(networks[1]->GetIPs()[1], ip_address); in TEST_F()
111 EXPECT_TRUE(rtc::IPFromString(kIPv6PublicAddrString2, &ip_address)); in TEST_F()
112 EXPECT_EQ(networks[0]->GetIPs()[0], ip_address); in TEST_F()
/external/chromium_org/content/browser/renderer_host/p2p/
Dsocket_host_tcp_unittest.cc45 dest_.ip_address = ParseAddress(kTestIpAddress1, kTestPort1); in SetUp()
95 socket_host_->Send(dest_.ip_address, packet1, options, 0); in TEST_F()
99 socket_host_->Send(dest_.ip_address, packet2, options, 0); in TEST_F()
103 socket_host_->Send(dest_.ip_address, packet3, options, 0); in TEST_F()
127 socket_host_->Send(dest_.ip_address, packet1, options, 0); in TEST_F()
131 socket_host_->Send(dest_.ip_address, packet2, options, 0); in TEST_F()
135 socket_host_->Send(dest_.ip_address, packet3, options, 0); in TEST_F()
174 socket_host_->Send(dest_.ip_address, packet, options, 0); in TEST_F()
201 socket_host_->Send(dest_.ip_address, packet, options, 0); in TEST_F()
225 socket_host_->Send(dest_.ip_address, packet1, options, 0); in TEST_F()
[all …]
Dsocket_host_tcp.cc71 remote_address_.ip_address = remote_address; in InitAccepted()
89 if (remote_address.ip_address.address().empty()) { in Init()
95 remote_address.ip_address); in Init()
192 if (!remote_address_.ip_address.address().empty()) { in StartTls()
193 net::HostPortPair::FromIPEndPoint(remote_address_.ip_address); in StartTls()
195 dest_host_port_pair.set_port(remote_address_.ip_address.port()); in StartTls()
264 if (remote_address_.ip_address.address().empty()) { in DoSendSocketCreateMsg()
266 remote_address_.ip_address = remote_address; in DoSendSocketCreateMsg()
314 << remote_address_.ip_address.ToString() in OnPacket()
323 id_, remote_address_.ip_address, data, base::TimeTicks::Now())); in OnPacket()
[all …]
/external/chromium_org/content/common/
Dp2p_socket_type.h43 const net::IPEndPoint& ip_address) in P2PHostAndIPEndPoint()
44 : hostname(hostname), ip_address(ip_address) { in P2PHostAndIPEndPoint()
48 net::IPEndPoint ip_address; member
/external/chromium_org/third_party/webrtc/test/channel_transport/
Dchannel_transport.cc78 int VoiceChannelTransport::SetSendDestination(const char* ip_address, in SetSendDestination() argument
80 return socket_transport_->InitializeSendSockets(ip_address, rtp_port); in SetSendDestination()
131 int VideoChannelTransport::SetSendDestination(const char* ip_address, in SetSendDestination() argument
133 return socket_transport_->InitializeSendSockets(ip_address, rtp_port); in SetSendDestination()
/external/chromium_org/extensions/browser/api/cast_channel/
Dcast_channel_api.cc66 channel_info->connect_info.ip_address = ip_endpoint.ToStringWithoutPort(); in FillChannelInfo()
102 net::IPAddressNumber ip_address; in IsValidConnectInfoIpAddress() local
103 return net::ParseIPLiteralToNumber(connect_info.ip_address, &ip_address); in IsValidConnectInfoIpAddress()
229 channel_info.connect_info.ip_address = ""; in SetResultFromError()
291 connect_info->ip_address = ip_address_str; in ParseChannelUrl()
301 net::IPAddressNumber ip_address; in ParseConnectInfo() local
302 CHECK(net::ParseIPLiteralToNumber(connect_info.ip_address, &ip_address)); in ParseConnectInfo()
303 return new net::IPEndPoint(ip_address, connect_info.port); in ParseConnectInfo()
Dcast_channel_api_unittest.cc23 EXPECT_EQ(connect_info.ip_address, "192.0.0.1"); in TEST()
29 EXPECT_EQ(connect_info.ip_address, "192.0.0.1"); in TEST()
56 connect_info.ip_address = "192.0.0.1"; in TEST()
/external/chromium_org/chrome/browser/local_discovery/
Dprivet_device_lister_unittest.cc193 service_description_.ip_address.push_back(1); in SetUp()
194 service_description_.ip_address.push_back(2); in SetUp()
195 service_description_.ip_address.push_back(3); in SetUp()
196 service_description_.ip_address.push_back(4); in SetUp()
239 EXPECT_EQ(service_description_.ip_address, outgoing_description.ip_address); in TEST_F()
Ddevice_description.cc46 ip_address = service_description.ip_address; in FillFromServiceDescription()
/external/chromium_org/chromeos/network/
Dnetwork_change_notifier_chromeos_unittest.cc32 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()
139 default_network_.ip_address_ = default_network_state.ip_address; in SetDefaultNetworkState()
Dnetwork_change_notifier_chromeos.cc159 if (default_network->ip_address() != ip_address_) { in UpdateState()
177 default_network->ip_address().c_str())); in UpdateState()
191 ip_address_ = default_network->ip_address(); in UpdateState()
/external/chromium_org/third_party/webrtc/test/channel_transport/include/
Dchannel_transport.h46 int SetSendDestination(const char* ip_address, uint16_t rtp_port);
77 int SetSendDestination(const char* ip_address, uint16_t rtp_port);
/external/chromium_org/tools/usb_gadget/
D__main__.py47 ip_address = addrs[netifaces.AF_INET][0]['addr']
48 server.address = '{}:{}'.format(ip_address, server.port)
/external/chromium_org/chromeos/dbus/
Dfake_debug_daemon_client.h46 virtual void TestICMP(const std::string& ip_address,
49 const std::string& ip_address,
Ddebug_daemon_client.h138 virtual void TestICMP(const std::string& ip_address,
144 const std::string& ip_address,
/external/chromium-libpac/src/
Dproxy_resolver_v8.cc327 bool IsInNetEx(const std::string& ip_address, const std::string& ip_prefix) { in IsInNetEx() argument
330 if (RemoveChars(ip_address, " \t", &cleaned_ip_address)) in IsInNetEx()
332 if (!ParseIPLiteralToNumber(ip_address, &address)) in IsInNetEx()
623 std::string ip_address; in DnsResolveCallback() local
628 success = context->js_bindings_->DnsResolve(hostname, &ip_address); in DnsResolveCallback()
632 args.GetReturnValue().Set(ASCIIStringToV8String(args.GetIsolate(), ip_address)); in DnsResolveCallback()
693 std::string ip_address = V8StringToUTF8(args[0]->ToString()); in IsInNetExCallback() local
695 args.GetReturnValue().Set(IsInNetEx(ip_address, ip_prefix)); in IsInNetExCallback()
/external/chromium_org/media/cast/test/
Dreceiver.cc80 std::string ip_address = input.GetStringInput(); in GetIpAddress() local
82 while (ip_address != DEFAULT_SEND_IP && in GetIpAddress()
83 std::count(ip_address.begin(), ip_address.end(), '.') != 3) { in GetIpAddress()
84 ip_address = input.GetStringInput(); in GetIpAddress()
86 return ip_address; in GetIpAddress()
/external/chromium_org/chrome/browser/extensions/api/gcd_private/
Dgcd_private_api.cc121 void EstablishSession(const std::string& ip_address,
224 GcdPrivateSessionHolder(const std::string& ip_address,
363 void GcdPrivateAPIImpl::EstablishSession(const std::string& ip_address, in EstablishSession() argument
369 ip_address, port, browser_context_->GetRequestContext())); in EstablishSession()
525 const std::string& ip_address, in GcdPrivateSessionHolder() argument
531 if (net::ParseIPLiteralToNumber(ip_address, &address_number) && in GcdPrivateSessionHolder()
533 host_string = base::StringPrintf("[%s]", ip_address.c_str()); in GcdPrivateSessionHolder()
535 host_string = ip_address; in GcdPrivateSessionHolder()
759 params->ip_address, in RunAsync()
/external/chromium_org/third_party/webrtc/video_engine/
Dvie_channel.h253 const char* ip_address);
256 char* ip_address) const;
257 int32_t SetSendDestination(const char* ip_address,
262 int32_t GetSendDestination(char* ip_address,
269 char* ip_address,
/external/chromium_org/third_party/webrtc/video_engine/test/libvietest/testbed/
Dtb_video_channel.cc56 const char* ip_address) { in StartSend() argument
57 EXPECT_EQ(0, channel_transport_->SetSendDestination(ip_address, rtp_port)); in StartSend()
/external/chromium_org/chrome/tools/service_discovery_sniffer/
Dservice_discovery_sniffer.cc60 if (service.ip_address != net::IPAddressNumber()) { in OnServiceResolved()
62 service.ip_address).c_str()); in OnServiceResolved()

123