port 10 base/mac/scoped_mach_port.cc ScopedMachPort::ScopedMachPort(mach_port_t port) : port_(port) { port 17 base/mac/scoped_mach_port.cc void ScopedMachPort::reset(mach_port_t port) { port 21 base/mac/scoped_mach_port.cc port_ = port; port 21 base/mac/scoped_mach_port.h explicit ScopedMachPort(mach_port_t port); port 25 base/mac/scoped_mach_port.h void reset(mach_port_t port = MACH_PORT_NULL); port 465 base/message_loop/message_pump_win.cc HANDLE port = CreateIoCompletionPort(file_handle, port_, key, 1); port 466 base/message_loop/message_pump_win.cc DPCHECK(port); port 30 chrome/android/java/src/org/chromium/chrome/browser/PKCS11AuthenticationManager.java public String getClientCertificateAlias(String hostName, int port); port 154 chrome/android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java CertAsyncTaskPKCS11(long nativePtr, String hostName, int port, port 158 chrome/android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java mPort = port; port 229 chrome/android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java final int port) { port 262 chrome/android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java hostName, port, null); port 275 chrome/android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java new CertAsyncTaskPKCS11(nativePtr, hostName, port, port 136 chrome/android/java/src/org/chromium/chrome/browser/UrlUtilities.java int port = uri.getPort(); port 148 chrome/android/java/src/org/chromium/chrome/browser/UrlUtilities.java if (port == -1 || (port == 80 && "http".equals(scheme)) port 149 chrome/android/java/src/org/chromium/chrome/browser/UrlUtilities.java || (port == 443 && "https".equals(scheme))) { port 152 chrome/android/java/src/org/chromium/chrome/browser/UrlUtilities.java displayUrl = scheme + host + ":" + port; port 24 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellPKCS11AuthenticationManager.java public String getClientCertificateAlias(String hostName, int port) { port 1047 chrome/browser/apps/web_view_browsertest.cc base::StringPrintf("loadGuest(%d);\n", host_and_port.port()))); port 240 chrome/browser/autocomplete/autocomplete_input.cc &http_parts.port, port 344 chrome/browser/autocomplete/autocomplete_input.cc if (url_parse::ParsePort(text.c_str(), parts->port) == port 402 chrome/browser/autocomplete/autocomplete_input.cc parts->port.is_nonempty()))) port 497 chrome/browser/autocomplete/autocomplete_input.cc if (parts.port.is_nonempty()) port 834 chrome/browser/autocomplete/history_url_provider.cc url.username().empty() && url.password().empty() && url.port().empty() && port 687 chrome/browser/autocomplete/search_provider.cc if (parts.username.is_nonempty() || parts.port.is_nonempty() || port 153 chrome/browser/browser_process.h int port) = 0; port 539 chrome/browser/browser_process_impl.cc int port) { port 546 chrome/browser/browser_process_impl.cc new RemoteDebuggingServer(host_desktop_type, ip, port)); port 96 chrome/browser/browser_process_impl.h int port) OVERRIDE; port 476 chrome/browser/chrome_browser_main.cc int port; port 477 chrome/browser/chrome_browser_main.cc if (base::StringToInt(port_str, &port) && port > 0 && port < 65535) { port 481 chrome/browser/chrome_browser_main.cc port); port 483 chrome/browser/chrome_browser_main.cc DLOG(WARNING) << "Invalid http debugger port number " << port; port 2530 chrome/browser/chrome_content_browser_client.cc params->type, params->host, params->port); port 446 chrome/browser/chromeos/attestation/platform_verification_flow.cc if (!url.port().empty()) port 447 chrome/browser/chromeos/attestation/platform_verification_flow.cc builder->WithPort(url.port()); port 118 chrome/browser/chromeos/first_run/drive_first_run_browsertest.cc std::string port(base::IntToString(embedded_test_server()->port())); port 119 chrome/browser/chromeos/first_run/drive_first_run_browsertest.cc replacements.SetPortStr(port); port 50 chrome/browser/chromeos/net/onc_utils.cc int port = 0; port 51 chrome/browser/chromeos/net/onc_utils.cc onc_proxy_location.GetIntegerWithoutPathExpansion(::onc::proxy::kPort, &port); port 57 chrome/browser/chromeos/net/onc_utils.cc static_cast<uint16>(port))); port 66 chrome/browser/chromeos/proxy_cros_settings_parser.cc base::Value::CreateIntegerValue(proxy.server.host_port_pair().port()) : port 71 chrome/browser/chromeos/proxy_cros_settings_parser.cc uint16 port, port 73 chrome/browser/chromeos/proxy_cros_settings_parser.cc if (host.empty() && port == 0) port 84 chrome/browser/chromeos/proxy_cros_settings_parser.cc host_port_pair = net::HostPortPair(host, port); port 85 chrome/browser/chromeos/proxy_cros_settings_parser.cc if (host_port_pair.port() == 0) // No port in host, use default. port 94 chrome/browser/chromeos/proxy_cros_settings_parser.cc uint16 port = 0; port 96 chrome/browser/chromeos/proxy_cros_settings_parser.cc port = proxy.server.host_port_pair().port(); port 97 chrome/browser/chromeos/proxy_cros_settings_parser.cc return CreateProxyServer(host, port, scheme); port 101 chrome/browser/chromeos/proxy_cros_settings_parser.cc uint16 port, port 107 chrome/browser/chromeos/proxy_cros_settings_parser.cc return CreateProxyServer(host, port, scheme); port 279 chrome/browser/content_settings/content_settings_browsertest.cc host_port.port())); port 44 chrome/browser/devtools/adb_client_socket.cc AdbTransportSocket(int port, port 48 chrome/browser/devtools/adb_client_socket.cc : AdbClientSocket(port), port 221 chrome/browser/devtools/adb_client_socket.cc AdbQuerySocket(int port, port 224 chrome/browser/devtools/adb_client_socket.cc : AdbClientSocket(port), port 277 chrome/browser/devtools/adb_client_socket.cc void AdbClientSocket::AdbQuery(int port, port 280 chrome/browser/devtools/adb_client_socket.cc new AdbQuerySocket(port, query, callback); port 284 chrome/browser/devtools/adb_client_socket.cc void AdbClientSocket::TransportQuery(int port, port 288 chrome/browser/devtools/adb_client_socket.cc new AdbTransportSocket(port, serial, socket_name, callback); port 305 chrome/browser/devtools/adb_client_socket.cc AdbClientSocket::AdbClientSocket(int port) port 306 chrome/browser/devtools/adb_client_socket.cc : host_(kLocalhost), port_(port) { port 18 chrome/browser/devtools/adb_client_socket.h static void AdbQuery(int port, port 31 chrome/browser/devtools/adb_client_socket.h static void TransportQuery(int port, port 36 chrome/browser/devtools/adb_client_socket.h explicit AdbClientSocket(int port); port 482 chrome/browser/devtools/android_device.cc int port = 0; port 484 chrome/browser/devtools/android_device.cc port = kLocalDebuggingPort; port 486 chrome/browser/devtools/android_device.cc base::StringToInt(socket_name, &port); port 489 chrome/browser/devtools/android_device.cc net::AddressList::CreateFromIPAddress(ip_number, port); port 127 chrome/browser/devtools/browser_list_tabcontents_provider.cc int port = ++g_last_tethering_port_; port 128 chrome/browser/devtools/browser_list_tabcontents_provider.cc *name = base::IntToString(port); port 129 chrome/browser/devtools/browser_list_tabcontents_provider.cc return net::TCPListenSocket::CreateAndListen("127.0.0.1", port, delegate) port 60 chrome/browser/devtools/port_forwarding_controller.cc int port, port 67 chrome/browser/devtools/port_forwarding_controller.cc tunnel->Start(socket, host, port); port 79 chrome/browser/devtools/port_forwarding_controller.cc void Start(net::StreamSocket* socket, const std::string& host, int port) { port 83 chrome/browser/devtools/port_forwarding_controller.cc net::HostResolver::RequestInfo request_info(net::HostPortPair(host, port)); port 285 chrome/browser/devtools/port_forwarding_controller.cc void SendCommand(const std::string& method, int port); port 288 chrome/browser/devtools/port_forwarding_controller.cc void ProcessBindResponse(int port, PortStatus status); port 289 chrome/browser/devtools/port_forwarding_controller.cc void ProcessUnbindResponse(int port, PortStatus status); port 291 chrome/browser/devtools/port_forwarding_controller.cc void UpdateSocketCountOnHandlerThread(int port, int increment); port 292 chrome/browser/devtools/port_forwarding_controller.cc void UpdateSocketCount(int port, int increment); port 375 chrome/browser/devtools/port_forwarding_controller.cc int port = new_it->first; port 377 chrome/browser/devtools/port_forwarding_controller.cc ForwardingMap::const_iterator old_it = old_map.find(port); port 381 chrome/browser/devtools/port_forwarding_controller.cc SendCommand(method, port); port 386 chrome/browser/devtools/port_forwarding_controller.cc const std::string& method, int port) { port 389 chrome/browser/devtools/port_forwarding_controller.cc params.SetInteger(kPortAttribute, port); port 395 chrome/browser/devtools/port_forwarding_controller.cc base::Unretained(this), port); port 397 chrome/browser/devtools/port_forwarding_controller.cc port_status_[port] = kStatusConnecting; port 402 chrome/browser/devtools/port_forwarding_controller.cc PortStatusMap::iterator it = port_status_.find(port); port 411 chrome/browser/devtools/port_forwarding_controller.cc base::Unretained(this), port); port 413 chrome/browser/devtools/port_forwarding_controller.cc port_status_[port] = kStatusDisconnecting; port 437 chrome/browser/devtools/port_forwarding_controller.cc int port, PortStatus status) { port 438 chrome/browser/devtools/port_forwarding_controller.cc port_status_[port] = status; port 442 chrome/browser/devtools/port_forwarding_controller.cc int port, PortStatus status) { port 443 chrome/browser/devtools/port_forwarding_controller.cc PortStatusMap::iterator it = port_status_.find(port); port 453 chrome/browser/devtools/port_forwarding_controller.cc int port, int increment) { port 456 chrome/browser/devtools/port_forwarding_controller.cc base::Bind(&Connection::UpdateSocketCount, this, port, increment)); port 460 chrome/browser/devtools/port_forwarding_controller.cc int port, int increment) { port 463 chrome/browser/devtools/port_forwarding_controller.cc PortStatusMap::iterator it = port_status_.find(port); port 515 chrome/browser/devtools/port_forwarding_controller.cc int port; port 517 chrome/browser/devtools/port_forwarding_controller.cc if (!params->GetInteger(kPortAttribute, &port) || port 521 chrome/browser/devtools/port_forwarding_controller.cc std::map<int, std::string>::iterator it = forwarding_map_.find(port); port 534 chrome/browser/devtools/port_forwarding_controller.cc base::Bind(&Connection::UpdateSocketCountOnHandlerThread, this, port); port 15 chrome/browser/devtools/remote_debugging_server.cc int port) { port 17 chrome/browser/devtools/remote_debugging_server.cc new net::TCPListenSocketFactory(ip, port), port 21 chrome/browser/devtools/remote_debugging_server.h int port); port 38 chrome/browser/extensions/activity_log/activity_log_browsertest.cc int port, port 52 chrome/browser/extensions/activity_log/activity_log_browsertest.cc base::StringPrintf("http://www.google.com.bo:%d/test.html", port), port 55 chrome/browser/extensions/activity_log/activity_log_browsertest.cc base::StringPrintf("www.google.com.bo:%d/test.html", port), port 67 chrome/browser/extensions/activity_log/activity_log_browsertest.cc int port = embedded_test_server()->port(); port 100 chrome/browser/extensions/activity_log/activity_log_browsertest.cc port)); port 119 chrome/browser/extensions/activity_log/activity_log_browsertest.cc ActivityLogPrerenderTest::Prerender_Arguments, ext->id(), port)); port 313 chrome/browser/extensions/activity_log/uma_policy.cc std::string port = ""; port 315 chrome/browser/extensions/activity_log/uma_policy.cc port = ":" + gurl.port(); port 322 chrome/browser/extensions/activity_log/uma_policy.cc port.c_str(), port 724 chrome/browser/extensions/api/cast_channel/cast_socket.cc int port; port 725 chrome/browser/extensions/api/cast_channel/cast_socket.cc if (!base::StringToInt(port_str, &port)) port 730 chrome/browser/extensions/api/cast_channel/cast_socket.cc ip_endpoint_ = net::IPEndPoint(ip_address, port); port 319 chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc "end_to_end_sender.html?port=%d", receiver_end_point.port()); port 590 chrome/browser/extensions/api/cast_streaming/performance_test.cc receiver_end_point.port()); port 82 chrome/browser/extensions/api/content_settings/content_settings_helpers.cc std::string port = url_pattern.port(); port 83 chrome/browser/extensions/api/content_settings/content_settings_helpers.cc if (port.empty() && scheme != "file") { port 85 chrome/browser/extensions/api/content_settings/content_settings_helpers.cc port = "*"; port 87 chrome/browser/extensions/api/content_settings/content_settings_helpers.cc port = GetDefaultPort(scheme); port 89 chrome/browser/extensions/api/content_settings/content_settings_helpers.cc if (port == "*") port 92 chrome/browser/extensions/api/content_settings/content_settings_helpers.cc builder->WithPort(port); port 136 chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc std::string port = base::IntToString(embedded_test_server()->port()); port 139 chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc replacements.SetPortStr(port); port 540 chrome/browser/extensions/api/messaging/message_service.cc MessagePort* port = IS_OPENER_PORT_ID(closing_port_id) ? port 542 chrome/browser/extensions/api/messaging/message_service.cc port->DispatchOnDisconnect(GET_OPPOSITE_PORT_ID(closing_port_id), port 651 chrome/browser/extensions/api/messaging/message_service.cc MessagePort* port = IS_OPENER_PORT_ID(dest_port_id) ? port 654 chrome/browser/extensions/api/messaging/message_service.cc port->DispatchOnMessage(message, dest_port_id); port 762 chrome/browser/extensions/api/messaging/message_service.cc ExtensionMessagePort port(source, MSG_ROUTING_CONTROL, ""); port 763 chrome/browser/extensions/api/messaging/message_service.cc port.DispatchOnDisconnect(GET_OPPOSITE_PORT_ID(port_id), error_message); port 181 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc int port; // optional. port 182 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc if (!proxy_server->GetInteger(keys::kProxyConfigRulePort, &port)) port 183 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc port = net::ProxyServer::GetDefaultPortForScheme(scheme); port 185 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc *out = net::ProxyServer(scheme, net::HostPortPair(host, port)); port 454 chrome/browser/extensions/api/proxy/proxy_api_helpers.cc out->SetInteger(keys::kProxyConfigRulePort, proxy.host_port_pair().port()); port 40 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc int port) { port 44 chrome/browser/extensions/api/proxy/proxy_api_helpers_unittest.cc dict->SetInteger(keys::kProxyConfigRulePort, port); port 190 chrome/browser/extensions/api/serial/serial_api.cc const std::string& port, const std::string& extension_id) const { port 191 chrome/browser/extensions/api/serial/serial_api.cc return new SerialConnection(port, extension_id); port 68 chrome/browser/extensions/api/serial/serial_api.h const std::string& port, port 58 chrome/browser/extensions/api/serial/serial_apitest.cc const std::string& port, port 60 chrome/browser/extensions/api/serial/serial_apitest.cc : SerialConnection(port, owner_extension_id), port 130 chrome/browser/extensions/api/serial/serial_apitest.cc const std::string& port, port 133 chrome/browser/extensions/api/serial/serial_apitest.cc new FakeEchoSerialConnection(port, owner_extension_id); port 33 chrome/browser/extensions/api/serial/serial_connection.cc SerialConnection::SerialConnection(const std::string& port, port 36 chrome/browser/extensions/api/serial/serial_connection.cc port_(port), port 211 chrome/browser/extensions/api/serial/serial_connection.cc void SerialConnection::DoClose(base::File port) { port 51 chrome/browser/extensions/api/serial/serial_connection.h SerialConnection(const std::string& port, port 170 chrome/browser/extensions/api/serial/serial_connection.h static void DoClose(base::File port); port 168 chrome/browser/extensions/api/socket/socket_apitest.cc int port = host_port_pair.port(); port 169 chrome/browser/extensions/api/socket/socket_apitest.cc ASSERT_TRUE(port > 0); port 182 chrome/browser/extensions/api/socket/socket_apitest.cc base::StringPrintf("udp:%s:%d", host_port_pair.host().c_str(), port)); port 196 chrome/browser/extensions/api/socket/socket_apitest.cc int port = host_port_pair.port(); port 197 chrome/browser/extensions/api/socket/socket_apitest.cc ASSERT_TRUE(port > 0); port 210 chrome/browser/extensions/api/socket/socket_apitest.cc base::StringPrintf("tcp:%s:%d", host_port_pair.host().c_str(), port)); port 270 chrome/browser/extensions/api/socket/socket_apitest.cc int port = host_port_pair.port(); port 271 chrome/browser/extensions/api/socket/socket_apitest.cc ASSERT_TRUE(port > 0); port 285 chrome/browser/extensions/api/socket/socket_apitest.cc base::StringPrintf("udp:%s:%d", host_port_pair.host().c_str(), port)); port 305 chrome/browser/extensions/api/socket/socket_apitest.cc int port = host_port_pair.port(); port 306 chrome/browser/extensions/api/socket/socket_apitest.cc ASSERT_TRUE(port > 0); port 320 chrome/browser/extensions/api/socket/socket_apitest.cc base::StringPrintf("tcp:%s:%d", host_port_pair.host().c_str(), port)); port 30 chrome/browser/extensions/api/socket/udp_socket_unittest.cc int port) { port 95 chrome/browser/extensions/api/sockets_tcp/sockets_tcp_apitest.cc int port = host_port_pair.port(); port 96 chrome/browser/extensions/api/sockets_tcp/sockets_tcp_apitest.cc ASSERT_TRUE(port > 0); port 109 chrome/browser/extensions/api/sockets_tcp/sockets_tcp_apitest.cc base::StringPrintf("tcp:%s:%d", host_port_pair.host().c_str(), port)); port 97 chrome/browser/extensions/api/sockets_udp/sockets_udp_apitest.cc int port = host_port_pair.port(); port 98 chrome/browser/extensions/api/sockets_udp/sockets_udp_apitest.cc ASSERT_TRUE(port > 0); port 111 chrome/browser/extensions/api/sockets_udp/sockets_udp_apitest.cc base::StringPrintf("udp:%s:%d", host_port_pair.host().c_str(), port)); port 351 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc embedded_test_server()->port())); port 357 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc embedded_test_server()->port(), port 358 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc embedded_test_server()->port())); port 564 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc base::StringPrintf("f.html?%d#foo", embedded_test_server()->port())); port 571 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc base::StringPrintf("g.html?%d#foo", embedded_test_server()->port())); port 621 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc embedded_test_server()->port())); port 629 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc embedded_test_server()->port())); port 930 chrome/browser/extensions/api/web_request/web_request_api.cc challenger->SetInteger(keys::kPortKey, auth_info.challenger.port()); port 233 chrome/browser/extensions/app_background_page_apitest.cc embedded_test_server()->port()); port 265 chrome/browser/extensions/app_background_page_apitest.cc embedded_test_server()->port()); port 297 chrome/browser/extensions/app_background_page_apitest.cc embedded_test_server()->port(), port 298 chrome/browser/extensions/app_background_page_apitest.cc embedded_test_server()->port()); port 350 chrome/browser/extensions/app_background_page_apitest.cc embedded_test_server()->port()); port 395 chrome/browser/extensions/app_background_page_apitest.cc embedded_test_server()->port(), port 396 chrome/browser/extensions/app_background_page_apitest.cc embedded_test_server()->port()); port 431 chrome/browser/extensions/app_background_page_apitest.cc embedded_test_server()->port()); port 463 chrome/browser/extensions/app_background_page_apitest.cc embedded_test_server()->port(), port 464 chrome/browser/extensions/app_background_page_apitest.cc embedded_test_server()->port()); port 497 chrome/browser/extensions/app_background_page_apitest.cc embedded_test_server()->port(), port 498 chrome/browser/extensions/app_background_page_apitest.cc embedded_test_server()->port()); port 525 chrome/browser/extensions/app_background_page_apitest.cc embedded_test_server()->port()); port 574 chrome/browser/extensions/app_background_page_apitest.cc embedded_test_server()->port(), port 575 chrome/browser/extensions/app_background_page_apitest.cc embedded_test_server()->port()); port 432 chrome/browser/extensions/extension_apitest.cc embedded_test_server()->port()); port 448 chrome/browser/extensions/extension_apitest.cc websocket_server_->host_port_pair().port()); port 463 chrome/browser/extensions/extension_apitest.cc ftp_server_->host_port_pair().port()); port 476 chrome/browser/extensions/extension_apitest.cc test_server()->host_port_pair().port()); port 275 chrome/browser/extensions/extension_messages_apitest.cc std::string port = base::IntToString(embedded_test_server()->port()); port 278 chrome/browser/extensions/extension_messages_apitest.cc replacements.SetPortStr(port); port 193 chrome/browser/extensions/webstore_inline_installer.cc verified_site_url.has_port() ? ":" + verified_site_url.port() : ""; port 61 chrome/browser/extensions/webstore_installer_test.cc webstore_domain_.c_str(), host_port.port(), test_data_path_.c_str()); port 228 chrome/browser/google/google_util.cc (url.port().empty() || (port_permission == ALLOW_NON_STANDARD_PORTS)) && port 47 chrome/browser/history/url_utils.cc url1.port() == url2.port(); port 861 chrome/browser/io_thread.cc pair.port = 443; port 237 chrome/browser/local_discovery/privet_device_lister_unittest.cc EXPECT_EQ(service_description_.address.port(), port 238 chrome/browser/local_discovery/privet_device_lister_unittest.cc outgoing_description.address.port()); port 100 chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc net::HostPortPair(IPAddressToHostString(address), hostport_.port()); port 892 chrome/browser/local_discovery/privet_http_impl.cc std::string port(base::IntToString(host_port_.port())); // Keep string alive. port 893 chrome/browser/local_discovery/privet_http_impl.cc replacements.SetPortStr(port); port 126 chrome/browser/local_discovery/privet_traffic_detector.cc net::IPEndPoint bind_endpoint(address_any, multicast_addr.port()); port 90 chrome/browser/managed_mode/managed_mode_url_filter.cc uint16 port; port 96 chrome/browser/managed_mode/managed_mode_url_filter.cc callback, pattern, &scheme, &host, &match_subdomains, &port, &path)) { port 104 chrome/browser/managed_mode/managed_mode_url_filter.cc scheme, host, match_subdomains, port, path); port 412 chrome/browser/net/http_server_properties_manager.cc int port = 0; port 414 chrome/browser/net/http_server_properties_manager.cc "port", &port) || (port > (1 << 16))) { port 435 chrome/browser/net/http_server_properties_manager.cc port_alternate_protocol.port = port; port 704 chrome/browser/net/http_server_properties_manager.cc "port", port_alternate_protocol->port); port 220 chrome/browser/net/http_server_properties_manager_unittest.cc EXPECT_EQ(443, port_alternate_protocol.port); port 225 chrome/browser/net/http_server_properties_manager_unittest.cc EXPECT_EQ(444, port_alternate_protocol.port); port 373 chrome/browser/net/http_server_properties_manager_unittest.cc EXPECT_EQ(443, port_alternate_protocol.port); port 1460 chrome/browser/net/predictor.cc colon_plus_port = ":" + url.port(); port 43 chrome/browser/password_manager/password_store_mac.cc void Init(const char* server, const UInt32& port, port 70 chrome/browser/password_manager/password_store_mac.cc void KeychainSearch::Init(const char* server, const UInt32& port, port 92 chrome/browser/password_manager/password_store_mac.cc if (port != kAnyPort) { port 95 chrome/browser/password_manager/password_store_mac.cc search_attributes_.attr[entries].length = sizeof(port); port 97 chrome/browser/password_manager/password_store_mac.cc const_cast<void*>(reinterpret_cast<const void*>(&port)); port 179 chrome/browser/password_manager/password_store_mac.cc GURL URLFromComponents(bool is_secure, const std::string& host, int port, port 186 chrome/browser/password_manager/password_store_mac.cc if (port != kAnyPort) { port 188 chrome/browser/password_manager/password_store_mac.cc port_stringstream << port; port 284 chrome/browser/password_manager/password_store_mac.cc int port = kAnyPort; port 302 chrome/browser/password_manager/password_store_mac.cc port = *(static_cast<UInt32*>(attr.data)); port 349 chrome/browser/password_manager/password_store_mac.cc form->origin = URLFromComponents(form->ssl_valid, server, port, path); port 528 chrome/browser/password_manager/password_store_mac.cc const std::string& signon_realm, std::string* server, int* port, port 541 chrome/browser/password_manager/password_store_mac.cc if (port) port 542 chrome/browser/password_manager/password_store_mac.cc *port = realm_as_url.has_port() ? atoi(realm_as_url.port().c_str()) : 0; port 557 chrome/browser/password_manager/password_store_mac.cc int port; port 559 chrome/browser/password_manager/password_store_mac.cc if (!ExtractSignonRealmComponents(query_form.signon_realm, &server, &port, port 668 chrome/browser/password_manager/password_store_mac.cc int port; port 671 chrome/browser/password_manager/password_store_mac.cc form.signon_realm, &server, &port, &is_secure, &security_domain)) { port 685 chrome/browser/password_manager/password_store_mac.cc port, protocol, AuthTypeForScheme(form.scheme), port 770 chrome/browser/password_manager/password_store_mac.cc int port; port 773 chrome/browser/password_manager/password_store_mac.cc signon_realm, &server, &port, &is_secure, &security_domain)) { port 785 chrome/browser/password_manager/password_store_mac.cc keychain_search.Init(server.c_str(), port, protocol, auth_type, port 202 chrome/browser/password_manager/password_store_mac_internal.h std::string* server, int* port, port 459 chrome/browser/password_manager/password_store_mac_unittest.cc static void SetPasswordFormPort(PasswordForm* form, const char* port) { port 461 chrome/browser/password_manager/password_store_mac_unittest.cc std::string new_value(port); port 134 chrome/browser/plugins/chrome_plugin_service_filter.cc policy_url.port() != origin.port())) { port 115 chrome/browser/policy/url_blacklist_manager_unittest.cc const std::string& host, bool match_subdomains, uint16 port, port 118 chrome/browser/policy/url_blacklist_manager_unittest.cc match_subdomains_(match_subdomains), port_(port), path_(path) {} port 139 chrome/browser/policy/url_blacklist_manager_unittest.cc uint16 port() const { return port_; } port 173 chrome/browser/policy/url_blacklist_manager_unittest.cc uint16 port = 42; port 177 chrome/browser/policy/url_blacklist_manager_unittest.cc &scheme, &host, &match_subdomains, &port, port 182 chrome/browser/policy/url_blacklist_manager_unittest.cc EXPECT_EQ(GetParam().port(), port); port 1403 chrome/browser/prerender/prerender_browsertest.cc test_server()->host_port_pair().port(), port 170 chrome/browser/referrer_policy_browsertest.cc base::IntToString(test_server_->host_port_pair().port()) + port 172 chrome/browser/referrer_policy_browsertest.cc base::IntToString(ssl_test_server_->host_port_pair().port()) + port 595 chrome/browser/referrer_policy_browsertest.cc base::IntToString(test_server_->host_port_pair().port()))); port 485 chrome/browser/search_engines/template_url.cc if (url.port() != pattern.port() || port 661 chrome/browser/ssl/ssl_browser_tests.cc wss_server_expired_.host_port_pair().port()); port 665 chrome/browser/ssl/ssl_browser_tests.cc wss_server_expired_.host_port_pair().port()); port 19 chrome/browser/sync/test/test_http_bridge_factory.h virtual void SetURL(const char* url, int port) OVERRIDE {} port 430 chrome/browser/task_manager/task_manager.cc int port = GetNaClDebugStubPort(index); port 431 chrome/browser/task_manager/task_manager.cc if (port == 0) { port 434 chrome/browser/task_manager/task_manager.cc return base::IntToString16(port); port 118 chrome/browser/ui/android/ssl_client_certificate_request.cc cert_request_info->host_and_port.port())) { port 84 chrome/browser/ui/app_list/search/common/webservice_search_provider.cc !query_as_url.port().empty() || port 89 chrome/browser/ui/elide_url.cc if (!url.port().empty()) { port 90 chrome/browser/ui/elide_url.cc *url_host += UTF8ToUTF16(":" + url.port()); port 91 chrome/browser/ui/elide_url.cc *url_domain += UTF8ToUTF16(":" + url.port()); port 86 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc int port, port 94 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc net::HostPortPair origin(hostname, port); port 320 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc double port; port 324 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc ASSERT_TRUE(list_value->GetDouble(1, &port)); port 338 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc static_cast<int>(port), port 247 chrome/browser/web_applications/web_app.cc std::string port(url.has_port() ? url.port() : "80"); port 248 chrome/browser/web_applications/web_app.cc std::string scheme_port(scheme + "_" + port); port 16 chrome/common/content_settings_helper.cc ? ":" + origin.port() port 95 chrome/common/content_settings_pattern.cc const std::string& port) { port 96 chrome/common/content_settings_pattern.cc parts_.port = port; port 102 chrome/common/content_settings_pattern.cc parts_.port = ""; port 210 chrome/common/content_settings_pattern.cc (parts.is_port_wildcard && !parts.port.empty())) { port 217 chrome/common/content_settings_pattern.cc if (parts.has_domain_wildcard || !parts.host.empty() || !parts.port.empty()) port 228 chrome/common/content_settings_pattern.cc parts.port.empty() && port 237 chrome/common/content_settings_pattern.cc (parts.port.empty() && !parts.is_port_wildcard)) { port 260 chrome/common/content_settings_pattern.cc parts.port.empty()) port 268 chrome/common/content_settings_pattern.cc parts.port.empty() && port 351 chrome/common/content_settings_pattern.cc if (local_url->port().empty()) { port 357 chrome/common/content_settings_pattern.cc builder->WithPort(local_url->port()); port 377 chrome/common/content_settings_pattern.cc if (local_url->port().empty()) { port 380 chrome/common/content_settings_pattern.cc builder->WithPort(local_url->port()); port 479 chrome/common/content_settings_pattern.cc std::string port(local_url->port()); port 484 chrome/common/content_settings_pattern.cc if (port.empty()) { port 485 chrome/common/content_settings_pattern.cc port = GetDefaultPort(scheme); port 489 chrome/common/content_settings_pattern.cc parts_.port != port ) { port 677 chrome/common/content_settings_pattern.cc int result = parts.port.compare(other_parts.port); port 88 chrome/common/content_settings_pattern.h std::string port; port 106 chrome/common/content_settings_pattern.h virtual BuilderInterface* WithPort(const std::string& port) = 0; port 212 chrome/common/content_settings_pattern.h virtual BuilderInterface* WithPort(const std::string& port) OVERRIDE; port 159 chrome/common/content_settings_pattern_parser.cc const std::string port = pattern_spec.substr(port_component.start, port 161 chrome/common/content_settings_pattern_parser.cc if (port == kPortWildcard) { port 165 chrome/common/content_settings_pattern_parser.cc for (size_t i = 0; i < port.size(); ++i) { port 166 chrome/common/content_settings_pattern_parser.cc if (!IsAsciiDigit(port[i])) { port 172 chrome/common/content_settings_pattern_parser.cc builder->WithPort(port); port 226 chrome/common/content_settings_pattern_parser.cc str += std::string(kUrlPortSeparator) + parts.port; port 22 chrome/common/content_settings_pattern_parser_unittest.cc MOCK_METHOD1(WithPort, BuilderInterface*(const std::string& port)); port 215 chrome/common/content_settings_pattern_parser_unittest.cc parts.port = "8080"; port 28 chrome/common/content_settings_pattern_unittest.cc EXPECT_EQ("", url.port()); port 32 chrome/common/content_settings_pattern_unittest.cc EXPECT_EQ("", url.port()); port 36 chrome/common/content_settings_pattern_unittest.cc EXPECT_EQ("", url.port()); port 40 chrome/common/content_settings_pattern_unittest.cc EXPECT_EQ("", url.port()); port 44 chrome/common/content_settings_pattern_unittest.cc EXPECT_EQ("", url.port()); port 385 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $port = (isset($parts['port'])) ? $parts['port'] : (($scheme == 'https') ? '443' : '80'); port 389 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php if (($scheme == 'https' && $port != '443') port 390 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php || ($scheme == 'http' && $port != '80')) { port 391 chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/OAuth.php $host = "$host:$port"; port 67 chrome/common/net/url_fixer_upper.cc parts->port = port 68 chrome/common/net/url_fixer_upper.cc UTF8ComponentToUTF16Component(text_utf8, parts_utf8.port); port 477 chrome/common/net/url_fixer_upper.cc URLFixerUpper::OffsetComponent(offset, &parts->port); port 560 chrome/common/net/url_fixer_upper.cc FixupPort(trimmed, parts.port, &url); port 39 chrome/common/net/url_fixer_upper_unittest.cc const url_parse::Component port; port 212 chrome/common/net/url_fixer_upper_unittest.cc EXPECT_EQ(value.port, parts.port); port 137 chrome/common/render_messages.h IPC_STRUCT_TRAITS_MEMBER(port) port 15 chrome/common/search_urls.cc my_url.port() == other_url.port() && port 421 chrome/renderer/extensions/cast_streaming_native_handler.cc transport->SetDestination(net::IPEndPoint(ip, destination->port)); port 276 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc std::string port = base::IntToString(embedded_test_server_->port()); port 278 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc html += port; port 315 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc NavigateMainFrame(GURL(std::string("http://sub2.com:") + port + "/")); port 527 chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc url_str += base::IntToString(embedded_test_server_->port()); port 280 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc url_str += base::IntToString(https_server.host_port_pair().port()); port 325 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc url_str += base::IntToString(https_server.host_port_pair().port()); port 345 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc std::string port = base::IntToString(embedded_test_server_->port()); port 385 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc html += port; port 389 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc html += port; port 836 chrome/service/cloud_print/print_system_cups.cc if (!url.port().empty()) { port 838 chrome/service/cloud_print/print_system_cups.cc full_name += url.port(); port 860 chrome/service/cloud_print/print_system_cups.cc if (!it->url.port().empty()) { port 862 chrome/service/cloud_print/print_system_cups.cc cur_server += it->url.port(); port 243 chrome/test/base/testing_browser_process.cc int port) { port 89 chrome/test/base/testing_browser_process.h int port) OVERRIDE; port 211 chrome/test/chromedriver/capabilities.cc int port = 0; port 212 chrome/test/chromedriver/capabilities.cc base::StringToInt(values[1], &port); port 213 chrome/test/chromedriver/capabilities.cc if (port <= 0) port 216 chrome/test/chromedriver/capabilities.cc capabilities->debugger_address = NetAddress(values[0], port); port 362 chrome/test/chromedriver/capabilities_unittest.cc ASSERT_EQ(123, capabilities.debugger_address.port()); port 66 chrome/test/chromedriver/chrome/adb_impl.cc int port) { port 68 chrome/test/chromedriver/chrome/adb_impl.cc AdbClientSocket::AdbQuery(port, command, port 76 chrome/test/chromedriver/chrome/adb_impl.cc int port) port 77 chrome/test/chromedriver/chrome/adb_impl.cc : io_task_runner_(io_task_runner), port_(port) { port 25 chrome/test/chromedriver/chrome/adb_impl.h int port); port 39 chrome/test/chromedriver/chrome/device_manager.cc int port) { port 117 chrome/test/chromedriver/chrome/device_manager.cc this->ForwardDevtoolsPort(package, process, device_socket, port); port 125 chrome/test/chromedriver/chrome/device_manager.cc int port) { port 141 chrome/test/chromedriver/chrome/device_manager.cc return adb_->ForwardPort(serial_, port, device_socket); port 30 chrome/test/chromedriver/chrome/device_manager.h int port); port 44 chrome/test/chromedriver/chrome/device_manager.h int port); port 82 chrome/test/chromedriver/chrome_launcher.cc Status PrepareCommandLine(int port, port 117 chrome/test/chromedriver/chrome_launcher.cc switches.SetSwitch("remote-debugging-port", base::IntToString(port)); port 209 chrome/test/chromedriver/chrome_launcher.cc int port, port 219 chrome/test/chromedriver/chrome_launcher.cc Status status = PrepareCommandLine(port, port 277 chrome/test/chromedriver/chrome_launcher.cc NetAddress(port), context_getter, socket_factory, &devtools_client); port 339 chrome/test/chromedriver/chrome_launcher.cc int port, port 367 chrome/test/chromedriver/chrome_launcher.cc port); port 374 chrome/test/chromedriver/chrome_launcher.cc status = WaitForDevToolsAndCheckVersion(NetAddress(port), port 407 chrome/test/chromedriver/chrome_launcher.cc int port = 0; port 412 chrome/test/chromedriver/chrome_launcher.cc port_status = port_manager->ReservePortFromPool(&port, &port_reservation); port 417 chrome/test/chromedriver/chrome_launcher.cc port, port 426 chrome/test/chromedriver/chrome_launcher.cc port_status = port_server->ReservePort(&port, &port_reservation); port 428 chrome/test/chromedriver/chrome_launcher.cc port_status = port_manager->ReservePort(&port, &port_reservation); port 433 chrome/test/chromedriver/chrome_launcher.cc port, port 45 chrome/test/chromedriver/net/adb_client_socket.cc AdbTransportSocket(int port, port 49 chrome/test/chromedriver/net/adb_client_socket.cc : AdbClientSocket(port), port 98 chrome/test/chromedriver/net/adb_client_socket.cc HttpOverAdbSocket(int port, port 106 chrome/test/chromedriver/net/adb_client_socket.cc Connect(port, serial, socket_name); port 109 chrome/test/chromedriver/net/adb_client_socket.cc HttpOverAdbSocket(int port, port 117 chrome/test/chromedriver/net/adb_client_socket.cc Connect(port, serial, socket_name); port 124 chrome/test/chromedriver/net/adb_client_socket.cc void Connect(int port, port 128 chrome/test/chromedriver/net/adb_client_socket.cc port, serial, socket_name, port 242 chrome/test/chromedriver/net/adb_client_socket.cc AdbQuerySocket(int port, port 245 chrome/test/chromedriver/net/adb_client_socket.cc : AdbClientSocket(port), port 298 chrome/test/chromedriver/net/adb_client_socket.cc void AdbClientSocket::AdbQuery(int port, port 301 chrome/test/chromedriver/net/adb_client_socket.cc new AdbQuerySocket(port, query, callback); port 313 chrome/test/chromedriver/net/adb_client_socket.cc void AdbClientSocket::TransportQuery(int port, port 335 chrome/test/chromedriver/net/adb_client_socket.cc new AdbTransportSocket(port, serial, socket_name, callback); port 339 chrome/test/chromedriver/net/adb_client_socket.cc void AdbClientSocket::HttpQuery(int port, port 344 chrome/test/chromedriver/net/adb_client_socket.cc new HttpOverAdbSocket(port, serial, socket_name, request_path, port 349 chrome/test/chromedriver/net/adb_client_socket.cc void AdbClientSocket::HttpQuery(int port, port 354 chrome/test/chromedriver/net/adb_client_socket.cc new HttpOverAdbSocket(port, serial, socket_name, request_path, port 358 chrome/test/chromedriver/net/adb_client_socket.cc AdbClientSocket::AdbClientSocket(int port) port 359 chrome/test/chromedriver/net/adb_client_socket.cc : host_(kLocalhost), port_(port) { port 18 chrome/test/chromedriver/net/adb_client_socket.h static void AdbQuery(int port, port 22 chrome/test/chromedriver/net/adb_client_socket.h static void TransportQuery(int port, port 27 chrome/test/chromedriver/net/adb_client_socket.h static void HttpQuery(int port, port 33 chrome/test/chromedriver/net/adb_client_socket.h static void HttpQuery(int port, port 39 chrome/test/chromedriver/net/adb_client_socket.h explicit AdbClientSocket(int port); port 66 chrome/test/chromedriver/net/net_util.cc NetAddress::NetAddress(int port) : host_("127.0.0.1"), port_(port) {} port 68 chrome/test/chromedriver/net/net_util.cc NetAddress::NetAddress(const std::string& host, int port) port 69 chrome/test/chromedriver/net/net_util.cc : host_(host), port_(port) {} port 15 chrome/test/chromedriver/net/net_util.h explicit NetAddress(int port); // Host is set to 127.0.0.1. port 16 chrome/test/chromedriver/net/net_util.h NetAddress(const std::string& host, int port); port 25 chrome/test/chromedriver/net/net_util.h int port() const; port 61 chrome/test/chromedriver/net/net_util_unittest.cc server_url_ = base::StringPrintf("http://127.0.0.1:%d", address.port()); port 26 chrome/test/chromedriver/net/port_server.cc PortReservation::PortReservation(const base::Closure& on_free_func, int port) port 27 chrome/test/chromedriver/net/port_server.cc : on_free_func_(on_free_func), port_(port) {} port 46 chrome/test/chromedriver/net/port_server.cc Status PortServer::ReservePort(int* port, port 61 chrome/test/chromedriver/net/port_server.cc *port = port_to_use; port 68 chrome/test/chromedriver/net/port_server.cc Status PortServer::RequestPort(int* port) { port 125 chrome/test/chromedriver/net/port_server.cc *port = new_port; port 132 chrome/test/chromedriver/net/port_server.cc void PortServer::ReleasePort(int port) { port 134 chrome/test/chromedriver/net/port_server.cc free_.push_back(port); port 167 chrome/test/chromedriver/net/port_server.cc Status PortManager::ReservePort(int* port, port 175 chrome/test/chromedriver/net/port_server.cc *port = port_to_use; port 184 chrome/test/chromedriver/net/port_server.cc int* port, scoped_ptr<PortReservation>* reservation) { port 197 chrome/test/chromedriver/net/port_server.cc *port = port_to_use; port 205 chrome/test/chromedriver/net/port_server.cc void PortManager::ReleasePort(int port) { port 207 chrome/test/chromedriver/net/port_server.cc taken_.erase(port); port 210 chrome/test/chromedriver/net/port_server.cc void PortManager::ReleasePortToPool(int port) { port 212 chrome/test/chromedriver/net/port_server.cc taken_.erase(port); port 213 chrome/test/chromedriver/net/port_server.cc unused_forwarded_port_.push_back(port); port 20 chrome/test/chromedriver/net/port_server.h PortReservation(const base::Closure& on_free_func, int port); port 38 chrome/test/chromedriver/net/port_server.h Status ReservePort(int* port, scoped_ptr<PortReservation>* reservation); port 41 chrome/test/chromedriver/net/port_server.h Status RequestPort(int* port); port 42 chrome/test/chromedriver/net/port_server.h void ReleasePort(int port); port 56 chrome/test/chromedriver/net/port_server.h Status ReservePort(int* port, scoped_ptr<PortReservation>* reservation); port 59 chrome/test/chromedriver/net/port_server.h Status ReservePortFromPool(int* port, port 64 chrome/test/chromedriver/net/port_server.h void ReleasePort(int port); port 65 chrome/test/chromedriver/net/port_server.h void ReleasePortToPool(int port); port 145 chrome/test/chromedriver/net/port_server_unittest.cc int port = 0; port 147 chrome/test/chromedriver/net/port_server_unittest.cc Status status = server.ReservePort(&port, &reservation); port 149 chrome/test/chromedriver/net/port_server_unittest.cc ASSERT_EQ(port, 12345); port 159 chrome/test/chromedriver/net/port_server_unittest.cc int port = 0; port 161 chrome/test/chromedriver/net/port_server_unittest.cc Status status = server.ReservePort(&port, &reservation); port 163 chrome/test/chromedriver/net/port_server_unittest.cc ASSERT_EQ(port, 12345); port 166 chrome/test/chromedriver/net/port_server_unittest.cc status = server.ReservePort(&port, &reservation); port 168 chrome/test/chromedriver/net/port_server_unittest.cc ASSERT_EQ(port, 12345); port 178 chrome/test/chromedriver/net/port_server_unittest.cc int port = 0; port 180 chrome/test/chromedriver/net/port_server_unittest.cc Status status = server.ReservePort(&port, &reservation); port 182 chrome/test/chromedriver/net/port_server_unittest.cc ASSERT_EQ(port, 12345); port 185 chrome/test/chromedriver/net/port_server_unittest.cc status = server.ReservePort(&port, &reservation); port 187 chrome/test/chromedriver/net/port_server_unittest.cc ASSERT_EQ(port, 12346); port 193 chrome/test/chromedriver/net/port_server_unittest.cc int port = 0; port 195 chrome/test/chromedriver/net/port_server_unittest.cc Status status = mgr.ReservePort(&port, &reservation); port 198 chrome/test/chromedriver/net/port_server_unittest.cc ASSERT_GE(port, 15000); port 199 chrome/test/chromedriver/net/port_server_unittest.cc ASSERT_LE(port, 16000); port 205 chrome/test/chromedriver/net/port_server_unittest.cc int first_port = 0, port = 1; port 208 chrome/test/chromedriver/net/port_server_unittest.cc Status status = mgr.ReservePortFromPool(&port, &reservation); port 211 chrome/test/chromedriver/net/port_server_unittest.cc ASSERT_GE(port, 15000); port 212 chrome/test/chromedriver/net/port_server_unittest.cc ASSERT_LE(port, 16000); port 214 chrome/test/chromedriver/net/port_server_unittest.cc first_port = port; port 215 chrome/test/chromedriver/net/port_server_unittest.cc ASSERT_EQ(port, first_port); port 140 chrome/test/chromedriver/net/test_http_server.cc address.port())); port 81 chrome/test/chromedriver/net/websocket.cc int port = 80; port 82 chrome/test/chromedriver/net/websocket.cc base::StringToInt(url_.port(), &port); port 83 chrome/test/chromedriver/net/websocket.cc net::AddressList addresses(net::IPEndPoint(address, port)); port 51 chrome/test/chromedriver/server/chromedriver_server.cc bool Start(int port) { port 53 chrome/test/chromedriver/server/chromedriver_server.cc net::TCPListenSocketFactory("0.0.0.0", port), this); port 129 chrome/test/chromedriver/server/chromedriver_server.cc void StartServerOnIOThread(int port, port 132 chrome/test/chromedriver/server/chromedriver_server.cc if (!temp_server->Start(port)) { port 139 chrome/test/chromedriver/server/chromedriver_server.cc void RunServer(int port, port 160 chrome/test/chromedriver/server/chromedriver_server.cc port, port 190 chrome/test/chromedriver/server/chromedriver_server.cc int port = 9515; port 215 chrome/test/chromedriver/server/chromedriver_server.cc if (!base::StringToInt(cmd_line->GetSwitchValueASCII("port"), &port)) { port 251 chrome/test/chromedriver/server/chromedriver_server.cc "Starting ChromeDriver (v%s) on port %d\n", kChromeDriverVersion, port); port 259 chrome/test/chromedriver/server/chromedriver_server.cc RunServer(port, url_base, adb_port, port_server.Pass()); port 217 chrome/test/ppapi/ppapi_test.cc uint16_t port = ssl_server.host_port_pair().port(); port 220 chrome/test/ppapi/ppapi_test.cc base::StringPrintf("ssl_server_port=%d", port))); port 240 chrome/test/ppapi/ppapi_test.cc uint16_t port = ws_server.host_port_pair().port(); port 246 chrome/test/ppapi/ppapi_test.cc port))); port 53 chrome/tools/service_discovery_sniffer/service_discovery_sniffer.cc service.address.port()); port 494 chrome/utility/local_discovery/service_discovery_client_impl.cc return net::HostPortPair(srv_rdata->target(), srv_rdata->port()); port 843 cloud_print/gcp20/prototype/printer.cc uint16 port = command_line_reader::ReadHttpPort(kHttpPortDefault); port 858 cloud_print/gcp20/prototype/printer.cc ip, GetLocalIp("", true), port); port 104 cloud_print/gcp20/prototype/privet_http_server.cc bool PrivetHttpServer::Start(uint16 port) { port 108 cloud_print/gcp20/prototype/privet_http_server.cc net::TCPListenSocketFactory factory("0.0.0.0", port); port 137 cloud_print/gcp20/prototype/privet_http_server.h bool Start(uint16 port); port 42 cloud_print/virtual_driver/win/port_monitor/port_monitor.h BOOL WINAPI Monitor2WritePort(HANDLE port, port 34 cloud_print/virtual_driver/win/port_monitor/spooler_win.h BOOL (WINAPI *pfnWritePort)(HANDLE port, port 278 components/nacl/browser/nacl_browser.cc void NaClBrowser::FireGdbDebugStubPortOpened(int port) { port 282 components/nacl/browser/nacl_browser.cc base::Bind(debug_stub_port_listener_, port)); port 66 components/nacl/browser/nacl_browser.h void FireGdbDebugStubPortOpened(int port); port 755 components/nacl/browser/nacl_process_host.cc int port = kInitialDebugStubPort; port 756 components/nacl/browser/nacl_process_host.cc s = net::TCPListenSocket::CreateAndBind("127.0.0.1", port); port 758 components/nacl/browser/nacl_process_host.cc s = net::TCPListenSocket::CreateAndBindAnyPort("127.0.0.1", &port); port 762 components/nacl/browser/nacl_process_host.cc nacl_browser->FireGdbDebugStubPortOpened(port); port 766 components/nacl/browser/nacl_process_host.cc process_->SetNaClDebugStubPort(port); port 771 components/nacl/browser/nacl_process_host.cc LOG(WARNING) << "debug stub on port " << port; port 167 components/nacl/loader/nonsfi/nonsfi_main.cc void ServiceAccept(struct NaClDesc* port) { port 169 components/nacl/loader/nonsfi/nonsfi_main.cc int status = (*NACL_VTBL(NaClDesc, port)->AcceptConn)(port, &connected_desc); port 457 components/password_manager/core/browser/login_database.cc const std::string port = signon_realm.port(); port 463 components/password_manager/core/browser/login_database.cc registered_domain + "(:" + port + ")?\\/$"; port 50 components/password_manager/core/browser/psl_matching_helper.cc gurl1.port() == gurl2.port(); port 53 components/policy/core/browser/url_blacklist_manager.cc FilterComponents() : port(0), match_subdomains(true), allow(true) {} port 58 components/policy/core/browser/url_blacklist_manager.cc uint16 port; port 81 components/policy/core/browser/url_blacklist_manager.cc &components.port, &components.path)) { port 89 components/policy/core/browser/url_blacklist_manager.cc components.port, components.path)); port 134 components/policy/core/browser/url_blacklist_manager.cc uint16* port, port 146 components/policy/core/browser/url_blacklist_manager.cc *port = 0; port 190 components/policy/core/browser/url_blacklist_manager.cc if (parsed.port.is_nonempty()) { port 192 components/policy/core/browser/url_blacklist_manager.cc if (!base::StringToInt(filter.substr(parsed.port.begin, parsed.port.len), port 198 components/policy/core/browser/url_blacklist_manager.cc *port = int_port; port 201 components/policy/core/browser/url_blacklist_manager.cc *port = 0; port 219 components/policy/core/browser/url_blacklist_manager.cc uint16 port, port 233 components/policy/core/browser/url_blacklist_manager.cc if (port != 0) { port 235 components/policy/core/browser/url_blacklist_manager.cc ranges.push_back(URLMatcherPortFilter::CreateRange(port)); port 85 components/policy/core/browser/url_blacklist_manager.h uint16* port, port 97 components/policy/core/browser/url_blacklist_manager.h uint16 port, port 377 components/policy/core/common/cloud/device_management_service_unittest.cc EXPECT_EQ(service_url.port(), request_url.port()); port 466 components/policy/core/common/cloud/device_management_service_unittest.cc EXPECT_EQ(service_url.port(), request_url.port()); port 381 components/url_matcher/url_matcher.cc const std::string& port = url.scheme(); port 382 components/url_matcher/url_matcher.cc if (url_canon::DefaultPortForScheme(port.c_str(), port.size()) == port 402 components/url_matcher/url_matcher.cc const std::string& port = url.scheme(); port 403 components/url_matcher/url_matcher.cc if (url_canon::DefaultPortForScheme(port.c_str(), port.size()) == port 566 components/url_matcher/url_matcher.cc int port = url.EffectiveIntPort(); port 569 components/url_matcher/url_matcher.cc if (i->first <= port && port <= i->second) port 582 components/url_matcher/url_matcher.cc URLMatcherPortFilter::Range URLMatcherPortFilter::CreateRange(int port) { port 583 components/url_matcher/url_matcher.cc return Range(port, port); port 244 components/url_matcher/url_matcher.h static Range CreateRange(int port); port 251 components/url_matcher/url_matcher_factory.cc int port = 0; port 253 components/url_matcher/url_matcher_factory.cc if (entry->GetAsInteger(&port)) { port 254 components/url_matcher/url_matcher_factory.cc ranges.push_back(URLMatcherPortFilter::CreateRange(port)); port 180 content/browser/browser_child_process_host_impl.cc void BrowserChildProcessHostImpl::SetNaClDebugStubPort(int port) { port 182 content/browser/browser_child_process_host_impl.cc data_.nacl_debug_stub_port = port; port 56 content/browser/browser_child_process_host_impl.h virtual void SetNaClDebugStubPort(int port) OVERRIDE; port 187 content/browser/devtools/tethering_handler.cc bool Listen(int port) { port 188 content/browser/devtools/tethering_handler.cc port_ = port; port 193 content/browser/devtools/tethering_handler.cc net::IPEndPoint end_point(ip_number, port); port 260 content/browser/devtools/tethering_handler.cc void TetheringHandler::Accepted(int port, const std::string& name) { port 262 content/browser/devtools/tethering_handler.cc params->SetInteger(kPortParam, port); port 269 content/browser/devtools/tethering_handler.cc int port = 0; port 270 content/browser/devtools/tethering_handler.cc if (!params || !params->GetInteger(kPortParam, &port) || port 271 content/browser/devtools/tethering_handler.cc port < kMinTetheringPort || port > kMaxTetheringPort) port 273 content/browser/devtools/tethering_handler.cc return port; port 278 content/browser/devtools/tethering_handler.cc int port = GetPort(command); port 279 content/browser/devtools/tethering_handler.cc if (port == 0) port 282 content/browser/devtools/tethering_handler.cc if (bound_sockets_.find(port) != bound_sockets_.end()) port 286 content/browser/devtools/tethering_handler.cc if (!bound_socket->Listen(port)) port 289 content/browser/devtools/tethering_handler.cc bound_sockets_[port] = bound_socket.release(); port 295 content/browser/devtools/tethering_handler.cc int port = GetPort(command); port 296 content/browser/devtools/tethering_handler.cc if (port == 0) port 299 content/browser/devtools/tethering_handler.cc BoundSockets::iterator it = bound_sockets_.find(port); port 24 content/browser/devtools/tethering_handler.h void Accepted(int port, const std::string& name); port 1631 content/browser/download/download_browsertest.cc "http://localhost:%d/set-cookie?A=B", host_port.port())); port 461 content/browser/loader/resource_dispatcher_host_browsertest.cc "http://localhost:%d/set_cookie.html", embedded_test_server()->port())); port 54 content/browser/message_port_service.cc MessagePort& port = message_ports_[message_port_id]; port 55 content/browser/message_port_service.cc port.filter = filter; port 56 content/browser/message_port_service.cc port.route_id = routing_id; port 76 content/browser/message_port_service.cc MessagePort port; port 77 content/browser/message_port_service.cc port.filter = filter; port 78 content/browser/message_port_service.cc port.route_id = route_id; port 79 content/browser/message_port_service.cc port.message_port_id = *message_port_id; port 80 content/browser/message_port_service.cc port.entangled_message_port_id = MSG_ROUTING_NONE; port 81 content/browser/message_port_service.cc port.queue_messages = false; port 82 content/browser/message_port_service.cc message_ports_[*message_port_id] = port; port 187 content/browser/message_port_service.cc MessagePort& port = message_ports_[message_port_id]; port 188 content/browser/message_port_service.cc if (port.filter) { port 189 content/browser/message_port_service.cc port.filter->Send(new MessagePortMsg_MessagesQueued(port.route_id)); port 190 content/browser/message_port_service.cc port.queue_messages = true; port 191 content/browser/message_port_service.cc port.filter = NULL; port 205 content/browser/message_port_service.cc MessagePort& port = message_ports_[message_port_id]; port 206 content/browser/message_port_service.cc port.queue_messages = false; port 207 content/browser/message_port_service.cc port.queued_messages.insert(port.queued_messages.begin(), port 219 content/browser/message_port_service.cc MessagePort& port = message_ports_[message_port_id]; port 220 content/browser/message_port_service.cc if (port.queue_messages || !port.filter) port 223 content/browser/message_port_service.cc for (QueuedMessages::iterator iter = port.queued_messages.begin(); port 224 content/browser/message_port_service.cc iter != port.queued_messages.end(); ++iter) { port 227 content/browser/message_port_service.cc port.queued_messages.clear(); port 109 content/browser/renderer_host/media/midi_host.cc void MidiHost::OnSendData(uint32 port, port 140 content/browser/renderer_host/media/midi_host.cc midi_manager_->DispatchSendMidiData(this, port, data, timestamp); port 144 content/browser/renderer_host/media/midi_host.cc uint32 port, port 150 content/browser/renderer_host/media/midi_host.cc if (received_messages_queues_.size() <= port) port 154 content/browser/renderer_host/media/midi_host.cc if (received_messages_queues_[port] == NULL) port 155 content/browser/renderer_host/media/midi_host.cc received_messages_queues_[port] = new media::MidiMessageQueue(true); port 157 content/browser/renderer_host/media/midi_host.cc received_messages_queues_[port]->Add(data, length); port 160 content/browser/renderer_host/media/midi_host.cc received_messages_queues_[port]->Get(&message); port 171 content/browser/renderer_host/media/midi_host.cc Send(new MidiMsg_DataReceived(port, message, timestamp)); port 39 content/browser/renderer_host/media/midi_host.h virtual void ReceiveMidiData(uint32 port, port 49 content/browser/renderer_host/media/midi_host.h void OnSendData(uint32 port, port 207 content/browser/renderer_host/p2p/socket_host_test_utils.cc net::IPEndPoint ParseAddress(const std::string ip_str, int port) { port 210 content/browser/renderer_host/p2p/socket_host_test_utils.cc return net::IPEndPoint(ip, port); port 92 content/browser/renderer_host/p2p/socket_host_test_utils.h net::IPEndPoint ParseAddress(const std::string ip_str, int port); port 71 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc list[i].port(), port 129 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc SocketPermissionRequest::RESOLVE_HOST, host_port.host, host_port.port); port 170 content/browser/renderer_host/pepper/pepper_host_resolver_message_filter.cc net::HostPortPair(host_port.host, host_port.port)); port 31 content/browser/renderer_host/pepper/pepper_socket_utils.cc int port = 0; port 35 content/browser/renderer_host/pepper/pepper_socket_utils.cc &port); port 36 content/browser/renderer_host/pepper/pepper_socket_utils.cc return SocketPermissionRequest(type, host, port); port 162 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc int port; port 164 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc !NetAddressPrivateImpl::NetAddressToIPEndPoint(addr, &address, &port)) { port 175 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc net::IPEndPoint ip_end_point(address, port); port 219 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc end_point.port(), port 261 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc ip_end_point_local.port(), port 265 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc accepted_address_.port(), port 80 content/browser/renderer_host/pepper/pepper_tcp_socket.cc void PepperTCPSocket::Connect(const std::string& host, uint16_t port) { port 89 content/browser/renderer_host/pepper/pepper_tcp_socket.cc net::HostResolver::RequestInfo request_info(net::HostPortPair(host, port)); port 112 content/browser/renderer_host/pepper/pepper_tcp_socket.cc int port; port 114 content/browser/renderer_host/pepper/pepper_tcp_socket.cc &port)) { port 121 content/browser/renderer_host/pepper/pepper_tcp_socket.cc address_list_.push_back(net::IPEndPoint(address, port)); port 433 content/browser/renderer_host/pepper/pepper_tcp_socket.cc ip_end_point_local.port(), port 437 content/browser/renderer_host/pepper/pepper_tcp_socket.cc ip_end_point_remote.port(), port 200 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc uint16_t port) { port 211 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc port); port 230 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc host, port, browser_context->GetResourceContext())); port 495 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc int port; port 497 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc &port)) { port 501 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc net::IPEndPoint bind_addr(address, port); port 526 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc ip_end_point_local.port(), port 545 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc uint16_t port, port 557 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc net::HostResolver::RequestInfo request_info(net::HostPortPair(host, port)); port 584 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc int port; port 586 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc &port)) { port 595 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc address_list_.push_back(net::IPEndPoint(address, port)); port 719 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc ip_end_point_local.port(), port 723 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc ip_end_point_remote.port(), port 847 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc ip_end_point_local.port(), port 851 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc accepted_address_.port(), port 81 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.h uint16_t port); port 107 content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.h uint16_t port, port 273 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc int port; port 274 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc if (!NetAddressPrivateImpl::NetAddressToIPEndPoint(addr, &address, &port)) { port 285 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc socket->Listen(net::IPEndPoint(address, port))); port 301 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc bound_address.port(), port 344 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc int port; port 345 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc if (!NetAddressPrivateImpl::NetAddressToIPEndPoint(addr, &address, &port)) { port 355 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc net::IPEndPoint(address, port), port 383 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc recvfrom_address_.address(), recvfrom_address_.port(), &addr)) { port 1039 content/child/npapi/plugin_host.cc int32_t port, port 735 content/child/web_url_loader_impl.cc response->setRemotePort(info.socket_address.port()); port 45 content/common/common_param_traits_unittest.cc EXPECT_EQ(input.port(), output.port()); port 192 content/common/common_param_traits_unittest.cc EXPECT_EQ(input.port(), output.port()); port 75 content/public/browser/browser_child_process_host.h virtual void SetNaClDebugStubPort(int port) = 0; port 115 content/public/common/common_param_traits.cc WriteParam(m, p.port()); port 122 content/public/common/common_param_traits.cc uint16 port; port 123 content/public/common/common_param_traits.cc if (!ReadParam(m, iter, &host) || !ReadParam(m, iter, &port)) port 127 content/public/common/common_param_traits.cc r->set_port(port); port 137 content/public/common/common_param_traits.cc WriteParam(m, p.port()); port 143 content/public/common/common_param_traits.cc int port; port 144 content/public/common/common_param_traits.cc if (!ReadParam(m, iter, &address) || !ReadParam(m, iter, &port)) port 151 content/public/common/common_param_traits.cc *p = net::IPEndPoint(address, port); port 30 content/public/common/socket_permission_request.h int port) port 33 content/public/common/socket_permission_request.h port(port) { port 38 content/public/common/socket_permission_request.h int port; port 125 content/renderer/media/media_stream_dependency_factory.cc config.stun_server_port = stun_servers[0].server.port(); port 131 content/renderer/media/media_stream_dependency_factory.cc relay_config.port = turn_configurations[i].server.port(); port 142 content/renderer/media/media_stream_dependency_factory.cc config.stun_server_port = config.relays[0].port; port 156 content/renderer/media/midi_message_filter.cc void MidiMessageFilter::OnDataReceived(uint32 port, port 164 content/renderer/media/midi_message_filter.cc port, data, timestamp)); port 173 content/renderer/media/midi_message_filter.cc void MidiMessageFilter::HandleDataReceived(uint32 port, port 180 content/renderer/media/midi_message_filter.cc (*i).first->didReceiveMIDIData(port, &data[0], data.size(), timestamp); port 183 content/renderer/media/midi_message_filter.cc void MidiMessageFilter::SendMidiData(uint32 port, port 196 content/renderer/media/midi_message_filter.cc port, v, timestamp)); port 199 content/renderer/media/midi_message_filter.cc void MidiMessageFilter::SendMidiDataOnIOThread(uint32 port, port 214 content/renderer/media/midi_message_filter.cc Send(new MidiHostMsg_SendData(port, data, timestamp)); port 39 content/renderer/media/midi_message_filter.h void SendMidiData(uint32 port, port 71 content/renderer/media/midi_message_filter.h void OnDataReceived(uint32 port, port 85 content/renderer/media/midi_message_filter.h void HandleDataReceived(uint32 port, port 91 content/renderer/media/midi_message_filter.h void SendMidiDataOnIOThread(uint32 port, port 209 content/renderer/p2p/ipc_socket_factory.cc TRACE_COUNTER_ID1("p2p", "P2PSendBytesAvailable", local_address_.port(), port 211 content/renderer/p2p/ipc_socket_factory.cc TRACE_COUNTER_ID1("p2p", "P2PSendPacketsInFlight", local_address_.port(), port 511 content/renderer/p2p/ipc_socket_factory.cc port_ = addr.port(); port 63 content/renderer/p2p/port_allocator.cc : port(0) { port 287 content/renderer/p2p/port_allocator.cc config.relays[i].port), port 41 content/renderer/p2p/port_allocator.h int port; port 59 content/shell/browser/shell_devtools_delegate.cc int port = 0; port 66 content/shell/browser/shell_devtools_delegate.cc port = temp_port; port 71 content/shell/browser/shell_devtools_delegate.cc return new net::TCPListenSocketFactory("127.0.0.1", port); port 92 crypto/apple_keychain.h UInt16 port, SecProtocolType protocol, port 90 crypto/mock_apple_keychain.h UInt16 port, SecProtocolType protocol, port 112 crypto/mock_apple_keychain.h const UInt32 port; port 163 crypto/mock_apple_keychain.h UInt16 port, port 310 crypto/mock_apple_keychain_mac.cc UInt16 port, port 356 crypto/mock_apple_keychain_mac.cc (port != *(static_cast<UInt32*>(attribute->data)))) { port 387 crypto/mock_apple_keychain_mac.cc UInt16 port, port 403 crypto/mock_apple_keychain_mac.cc port, protocol, port 422 crypto/mock_apple_keychain_mac.cc mutable_this->SetTestDataPort(key, port); port 500 crypto/mock_apple_keychain_mac.cc SetTestDataPort(key, item_data.port); port 52 device/bluetooth/bluetooth_socket_win.cc sa.port = service_record.rfcomm_channel(); port 93 extensions/browser/api/socket/socket.cc int port, port 106 extensions/browser/api/socket/socket.cc int port, port 113 extensions/browser/api/socket/socket.cc *ip_end_point = net::IPEndPoint(ip_number, port); port 118 extensions/browser/api/socket/socket.cc int port, port 125 extensions/browser/api/socket/socket.cc *address_list = net::AddressList::CreateFromIPAddress(ip_number, port); port 131 extensions/browser/api/socket/socket.cc int* port) { port 133 extensions/browser/api/socket/socket.cc DCHECK(port); port 136 extensions/browser/api/socket/socket.cc *port = 0; port 138 extensions/browser/api/socket/socket.cc *port = address.port(); port 46 extensions/browser/api/socket/socket.h int port, port 49 extensions/browser/api/socket/socket.h virtual int Bind(const std::string& address, int port) = 0; port 66 extensions/browser/api/socket/socket.h int port, port 72 extensions/browser/api/socket/socket.h int port, port 85 extensions/browser/api/socket/socket.h int port, port 88 extensions/browser/api/socket/socket.h int port, port 92 extensions/browser/api/socket/socket.h int* port); port 310 extensions/browser/api/socket/socket_api.cc SocketPermissionRequest::TCP_LISTEN, params_->address, params_->port); port 320 extensions/browser/api/socket/socket_api.cc params_->port, port 463 extensions/browser/api/socket/socket_api.cc int port) { port 474 extensions/browser/api/socket/socket_api.cc result->SetInteger(kPortKey, port); port 627 extensions/browser/api/socket/socket_api.cc info.peer_port.reset(new int(peerAddress.port())); port 635 extensions/browser/api/socket/socket_api.cc info.local_port.reset(new int(localAddress.port())); port 319 extensions/browser/api/socket/socket_api.h int port); port 78 extensions/browser/api/socket/tcp_socket.cc int port, port 96 extensions/browser/api/socket/tcp_socket.cc if (!StringAndPortToAddressList(address, port, &address_list)) { port 124 extensions/browser/api/socket/tcp_socket.cc int TCPSocket::Bind(const std::string& address, int port) { port 171 extensions/browser/api/socket/tcp_socket.cc int port, port 189 extensions/browser/api/socket/tcp_socket.cc int port, port 200 extensions/browser/api/socket/tcp_socket.cc if (!StringAndPortToIPEndPoint(address, port, bind_address.get())) port 33 extensions/browser/api/socket/tcp_socket.h int port, port 36 extensions/browser/api/socket/tcp_socket.h virtual int Bind(const std::string& address, int port) OVERRIDE; port 43 extensions/browser/api/socket/tcp_socket.h int port, port 48 extensions/browser/api/socket/tcp_socket.h int port, port 38 extensions/browser/api/socket/udp_socket.cc int port, port 46 extensions/browser/api/socket/udp_socket.cc if (!StringAndPortToIPEndPoint(address, port, &ip_end_point)) { port 58 extensions/browser/api/socket/udp_socket.cc int UDPSocket::Bind(const std::string& address, int port) { port 63 extensions/browser/api/socket/udp_socket.cc if (!StringAndPortToIPEndPoint(address, port, &ip_end_point)) port 165 extensions/browser/api/socket/udp_socket.cc int port, port 181 extensions/browser/api/socket/udp_socket.cc if (!StringAndPortToIPEndPoint(address, port, &ip_end_point)) { port 226 extensions/browser/api/socket/udp_socket.cc int port = 0; port 228 extensions/browser/api/socket/udp_socket.cc IPEndPointToStringAndPort(address->data, &ip, &port); port 230 extensions/browser/api/socket/udp_socket.cc recv_from_callback_.Run(result, io_buffer, ip, port); port 22 extensions/browser/api/socket/udp_socket.h int port, port 25 extensions/browser/api/socket/udp_socket.h virtual int Bind(const std::string& address, int port) OVERRIDE; port 32 extensions/browser/api/socket/udp_socket.h int port, port 43 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc socket_info->local_port.reset(new int(localAddress.port())); port 54 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc socket_info->peer_port.reset(new int(peerAddress.port())); port 43 extensions/browser/api/sockets_tcp_server/sockets_tcp_server_api.cc socket_info->local_port.reset(new int(localAddress.port())); port 187 extensions/browser/api/sockets_tcp_server/sockets_tcp_server_api.cc SocketPermissionRequest::TCP_LISTEN, params_->address, params_->port); port 195 extensions/browser/api/sockets_tcp_server/sockets_tcp_server_api.cc params_->port, port 71 extensions/browser/api/sockets_udp/sockets_udp_api.cc socket_info->local_port.reset(new int(localAddress.port())); port 196 extensions/browser/api/sockets_udp/sockets_udp_api.cc SocketPermissionRequest::UDP_BIND, params_->address, params_->port); port 202 extensions/browser/api/sockets_udp/sockets_udp_api.cc int net_result = socket->Bind(params_->address, params_->port); port 235 extensions/browser/api/sockets_udp/sockets_udp_api.cc SocketPermissionRequest::UDP_SEND_TO, params_->address, params_->port); port 264 extensions/browser/api/sockets_udp/sockets_udp_api.cc params_->port, port 103 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc int port) { port 116 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc receive_info.remote_port = port; port 74 extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.h int port); port 170 extensions/common/extension_messages.h IPC_STRUCT_TRAITS_MEMBER(port) port 41 extensions/common/permissions/permissions_data_unittest.cc int port) { port 42 extensions/common/permissions/permissions_data_unittest.cc SocketPermission::CheckParam param(type, host, port); port 22 extensions/common/permissions/socket_permission.h int port) port 23 extensions/common/permissions/socket_permission.h : request(type, host, port) {} port 64 extensions/common/permissions/socket_permission_entry.cc if (pattern_.port < rhs.pattern_.port) port 73 extensions/common/permissions/socket_permission_entry.cc (pattern_.port == rhs.pattern_.port); port 109 extensions/common/permissions/socket_permission_entry.cc if (pattern_.port != request.port && pattern_.port != kWildcardPortNumber) port 154 extensions/common/permissions/socket_permission_entry.cc result.pattern_.port = kWildcardPortNumber; port 196 extensions/common/permissions/socket_permission_entry.cc if (!base::StringToInt(pattern_tokens[1], &result.pattern_.port) || port 197 extensions/common/permissions/socket_permission_entry.cc result.pattern_.port < 1 || result.pattern_.port > 65535) port 218 extensions/common/permissions/socket_permission_entry.cc if (pattern_.port == kWildcardPortNumber) port 221 extensions/common/permissions/socket_permission_entry.cc result.append(1, kColon).append(base::IntToString(pattern_.port)); port 80 extensions/common/url_pattern.cc bool IsValidPortForScheme(const std::string& scheme, const std::string& port) { port 81 extensions/common/url_pattern.cc if (port == "*") port 91 extensions/common/url_pattern.cc if (!base::StringToInt(port, &parsed_port)) port 308 extensions/common/url_pattern.cc bool URLPattern::SetPort(const std::string& port) { port 310 extensions/common/url_pattern.cc if (IsValidPortForScheme(scheme_, port)) { port 311 extensions/common/url_pattern.cc port_ = port; port 458 extensions/common/url_pattern.cc && (MatchesPortPattern(other.port()) || other.MatchesPortPattern(port())) port 468 extensions/common/url_pattern.cc && MatchesPortPattern(other.port()) port 505 extensions/common/url_pattern.cc bool URLPattern::MatchesPortPattern(const std::string& port) const { port 506 extensions/common/url_pattern.cc return port_ == "*" || port_ == port; port 154 extensions/common/url_pattern.h bool SetPort(const std::string& port); port 155 extensions/common/url_pattern.h const std::string& port() const { return port_; } port 205 extensions/common/url_pattern.h bool MatchesPortPattern(const std::string& port) const; port 81 extensions/common/url_pattern_unittest.cc EXPECT_EQ(kTestPatterns[i].expected_port, pattern.port()) port 257 extensions/common/url_pattern_unittest.cc EXPECT_EQ(pattern.port(), pattern2.port()); port 377 extensions/common/url_pattern_unittest.cc EXPECT_EQ("80", pattern.port()); port 396 extensions/common/url_pattern_unittest.cc EXPECT_EQ("*", pattern.port()); port 104 google_apis/drive/drive_api_requests_unittest.cc GURL test_base_url = test_util::GetBaseUrlForTesting(test_server_.port()); port 45 google_apis/drive/gdata_wapi_requests_unittest.cc GURL test_base_url = test_util::GetBaseUrlForTesting(test_server_.port()); port 49 google_apis/drive/test_util.cc GURL GetBaseUrlForTesting(int port) { port 50 google_apis/drive/test_util.cc return GURL(base::StringPrintf("http://127.0.0.1:%d/", port)); port 62 google_apis/drive/test_util.h GURL GetBaseUrlForTesting(int port); port 83 google_apis/gaia/gaia_urls.cc (gaia_url_.has_port() ? ":" + gaia_url_.port() : "")); port 93 jingle/glue/chrome_async_socket.cc if (address.hostname().empty() || address.port() == 0) { port 107 jingle/glue/chrome_async_socket.cc net::HostPortPair dest_host_port_pair(address.hostname(), address.port()); port 162 jingle/glue/chrome_async_socket_unittest.cc net::AddressList::CreateFromIPAddress(resolved_addr, addr_.port()); port 469 jingle/glue/chrome_async_socket_unittest.cc const talk_base::SocketAddress no_hostname_addr(ip_address, addr_.port()); port 50 jingle/glue/proxy_resolving_client_socket.cc DCHECK_GT(dest_host_port_pair_.port(), 0); port 40 jingle/glue/utils.cc value.SetInteger("port", candidate.address().port()); port 65 jingle/glue/utils.cc int port; port 74 jingle/glue/utils.cc !dic_value->GetInteger("port", &port) || port 84 jingle/glue/utils.cc candidate->set_address(talk_base::SocketAddress(ip, port)); port 15 jingle/notifier/base/server_information.cc DCHECK_GT(server.port(), 0); port 79 jingle/notifier/communicator/connection_settings.cc talk_base::SocketAddress(it->server.host(), it->server.port()), port 72 jingle/notifier/communicator/single_login_attempt.cc int port = kDefaultXmppPort; port 73 jingle/notifier/communicator/single_login_attempt.cc if (!base::StringToInt(parts[1], &port)) { port 74 jingle/notifier/communicator/single_login_attempt.cc port = kDefaultXmppPort; port 76 jingle/notifier/communicator/single_login_attempt.cc if (port <= 0 || port > kuint16max) { port 77 jingle/notifier/communicator/single_login_attempt.cc port = kDefaultXmppPort; port 79 jingle/notifier/communicator/single_login_attempt.cc redirect_server.set_port(port); port 124 jingle/notifier/communicator/single_login_attempt.cc DCHECK_NE(redirect_server.port(), 0u); port 67 media/cast/test/sender.cc void GetPort(int* port) { port 70 media/cast/test/sender.cc *port = input.GetIntInput(); port 368 media/cast/test/sender.cc net::IPEndPoint CreateUDPAddress(std::string ip_str, int port) { port 371 media/cast/test/sender.cc return net::IPEndPoint(ip_number, port); port 31 media/cast/transport/transport/udp_transport.cc !addr.port(); port 35 media/cast/transport/transport/udp_transport.cc return addr1.port() == addr2.port() && std::equal(addr1.address().begin(), port 199 media/cdm/ppapi/cdm_file_io_impl.cc file_id_.append(url, components.port.begin, components.port.len); port 171 media/midi/midi_manager_alsa.cc scoped_refptr<MidiDeviceInfo> port = new MidiDeviceInfo( port 173 media/midi/midi_manager_alsa.cc if (!port->IsOpened()) { port 178 media/midi/midi_manager_alsa.cc in_devices_.push_back(port); port 179 media/midi/midi_manager_alsa.cc AddInputPort(port->GetMidiPortInfo()); port 182 media/midi/midi_manager_alsa.cc out_devices_.push_back(port); port 183 media/midi/midi_manager_alsa.cc AddOutputPort(port->GetMidiPortInfo()); port 225 mojo/public/cpp/bindings/tests/remote_ptr_unittest.cc RemotePtr<sample::Port> port(pipe.handle_to_self.Pass(), NULL); port 248 mojo/public/cpp/bindings/tests/sample_service_unittest.cc virtual void Frobinate(const Foo& foo, BazOptions baz, ScopedPortHandle port) port 262 mojo/public/cpp/bindings/tests/sample_service_unittest.cc Print(depth, "port", port.get()); port 28 mojo/system/channel.cc unsigned port) port 30 mojo/system/channel.cc port(port) { port 70 mojo/system/channel.cc scoped_refptr<MessagePipe> message_pipe, unsigned port) { port 71 mojo/system/channel.cc DCHECK(port == 0 || port == 1); port 73 mojo/system/channel.cc DCHECK_EQ(message_pipe->GetType(port), MessagePipeEndpoint::kTypeProxy); port 90 mojo/system/channel.cc local_id_to_endpoint_info_map_[local_id] = EndpointInfo(message_pipe, port); port 93 mojo/system/channel.cc message_pipe->Attach(port, scoped_refptr<Channel>(this), local_id); port 113 mojo/system/channel.cc endpoint_info.message_pipe->Run(endpoint_info.port, remote_id); port 250 mojo/system/channel.cc MessagePipe::GetPeerPort(endpoint_info.port), message.Pass(), NULL); port 77 mojo/system/channel.h scoped_refptr<MessagePipe> message_pipe, unsigned port); port 124 mojo/system/channel.h EndpointInfo(scoped_refptr<MessagePipe> message_pipe, unsigned port); port 128 mojo/system/channel.h unsigned port; port 30 mojo/system/message_pipe.cc unsigned MessagePipe::GetPeerPort(unsigned port) { port 31 mojo/system/message_pipe.cc DCHECK(port == 0 || port == 1); port 32 mojo/system/message_pipe.cc return port ^ 1; port 35 mojo/system/message_pipe.cc MessagePipeEndpoint::Type MessagePipe::GetType(unsigned port) { port 36 mojo/system/message_pipe.cc DCHECK(port == 0 || port == 1); port 38 mojo/system/message_pipe.cc DCHECK(endpoints_[port].get()); port 40 mojo/system/message_pipe.cc return endpoints_[port]->GetType(); port 43 mojo/system/message_pipe.cc void MessagePipe::CancelAllWaiters(unsigned port) { port 44 mojo/system/message_pipe.cc DCHECK(port == 0 || port == 1); port 47 mojo/system/message_pipe.cc DCHECK(endpoints_[port].get()); port 48 mojo/system/message_pipe.cc endpoints_[port]->CancelAllWaiters(); port 51 mojo/system/message_pipe.cc void MessagePipe::Close(unsigned port) { port 52 mojo/system/message_pipe.cc DCHECK(port == 0 || port == 1); port 54 mojo/system/message_pipe.cc unsigned destination_port = GetPeerPort(port); port 57 mojo/system/message_pipe.cc DCHECK(endpoints_[port].get()); port 59 mojo/system/message_pipe.cc endpoints_[port]->Close(); port 62 mojo/system/message_pipe.cc endpoints_[port].reset(); port 67 mojo/system/message_pipe.cc unsigned port, port 72 mojo/system/message_pipe.cc DCHECK(port == 0 || port == 1); port 76 mojo/system/message_pipe.cc GetPeerPort(port), port 85 mojo/system/message_pipe.cc unsigned port, port 91 mojo/system/message_pipe.cc DCHECK(port == 0 || port == 1); port 94 mojo/system/message_pipe.cc DCHECK(endpoints_[port].get()); port 96 mojo/system/message_pipe.cc return endpoints_[port]->ReadMessage(bytes, num_bytes, dispatchers, port 100 mojo/system/message_pipe.cc MojoResult MessagePipe::AddWaiter(unsigned port, port 104 mojo/system/message_pipe.cc DCHECK(port == 0 || port == 1); port 107 mojo/system/message_pipe.cc DCHECK(endpoints_[port].get()); port 109 mojo/system/message_pipe.cc return endpoints_[port]->AddWaiter(waiter, flags, wake_result); port 112 mojo/system/message_pipe.cc void MessagePipe::RemoveWaiter(unsigned port, Waiter* waiter) { port 113 mojo/system/message_pipe.cc DCHECK(port == 0 || port == 1); port 116 mojo/system/message_pipe.cc DCHECK(endpoints_[port].get()); port 118 mojo/system/message_pipe.cc endpoints_[port]->RemoveWaiter(waiter); port 121 mojo/system/message_pipe.cc void MessagePipe::ConvertLocalToProxy(unsigned port) { port 122 mojo/system/message_pipe.cc DCHECK(port == 0 || port == 1); port 125 mojo/system/message_pipe.cc DCHECK(endpoints_[port].get()); port 126 mojo/system/message_pipe.cc DCHECK_EQ(endpoints_[port]->GetType(), MessagePipeEndpoint::kTypeLocal); port 128 mojo/system/message_pipe.cc bool is_peer_open = !!endpoints_[GetPeerPort(port)].get(); port 134 mojo/system/message_pipe.cc endpoints_[GetPeerPort(port)]->GetType() == port 139 mojo/system/message_pipe.cc static_cast<LocalMessagePipeEndpoint*>(endpoints_[port].get()), port 141 mojo/system/message_pipe.cc endpoints_[port].swap(replacement_endpoint); port 145 mojo/system/message_pipe.cc unsigned port, port 148 mojo/system/message_pipe.cc DCHECK(port == 0 || port == 1); port 167 mojo/system/message_pipe.cc return HandleControlMessage(port, message.Pass()); port 173 mojo/system/message_pipe.cc DCHECK(endpoints_[GetPeerPort(port)].get()); port 176 mojo/system/message_pipe.cc if (!endpoints_[port].get()) port 197 mojo/system/message_pipe.cc DCHECK_EQ(mp_transport.GetPort(), port); port 222 mojo/system/message_pipe.cc endpoints_[port]->EnqueueMessage(message.Pass()); port 226 mojo/system/message_pipe.cc void MessagePipe::Attach(unsigned port, port 229 mojo/system/message_pipe.cc DCHECK(port == 0 || port == 1); port 234 mojo/system/message_pipe.cc DCHECK(endpoints_[port].get()); port 236 mojo/system/message_pipe.cc endpoints_[port]->Attach(channel, local_id); port 239 mojo/system/message_pipe.cc void MessagePipe::Run(unsigned port, MessageInTransit::EndpointId remote_id) { port 240 mojo/system/message_pipe.cc DCHECK(port == 0 || port == 1); port 244 mojo/system/message_pipe.cc DCHECK(endpoints_[port].get()); port 245 mojo/system/message_pipe.cc endpoints_[port]->Run(remote_id); port 257 mojo/system/message_pipe.cc unsigned port, port 259 mojo/system/message_pipe.cc DCHECK(port == 0 || port == 1); port 265 mojo/system/message_pipe.cc unsigned source_port = GetPeerPort(port); port 271 mojo/system/message_pipe.cc if (endpoints_[port].get()) port 272 mojo/system/message_pipe.cc endpoints_[port]->OnPeerClose(); port 41 mojo/system/message_pipe.h static unsigned GetPeerPort(unsigned port); port 44 mojo/system/message_pipe.h MessagePipeEndpoint::Type GetType(unsigned port); port 48 mojo/system/message_pipe.h void CancelAllWaiters(unsigned port); port 49 mojo/system/message_pipe.h void Close(unsigned port); port 52 mojo/system/message_pipe.h MojoResult WriteMessage(unsigned port, port 59 mojo/system/message_pipe.h MojoResult ReadMessage(unsigned port, port 65 mojo/system/message_pipe.h MojoResult AddWaiter(unsigned port, port 69 mojo/system/message_pipe.h void RemoveWaiter(unsigned port, Waiter* waiter); port 73 mojo/system/message_pipe.h void ConvertLocalToProxy(unsigned port); port 80 mojo/system/message_pipe.h MojoResult EnqueueMessage(unsigned port, port 85 mojo/system/message_pipe.h void Attach(unsigned port, port 88 mojo/system/message_pipe.h void Run(unsigned port, MessageInTransit::EndpointId remote_id); port 96 mojo/system/message_pipe.h MojoResult HandleControlMessage(unsigned port, port 36 mojo/system/message_pipe_dispatcher.cc unsigned port) { port 38 mojo/system/message_pipe_dispatcher.cc DCHECK(port == 0 || port == 1); port 41 mojo/system/message_pipe_dispatcher.cc port_ = port; port 29 mojo/system/message_pipe_dispatcher.h void Init(scoped_refptr<MessagePipe> message_pipe, unsigned port); port 139 mojo/system/remote_message_pipe_unittest.cc unsigned port = channel_index ^ 1u; port 143 mojo/system/remote_message_pipe_unittest.cc CHECK_EQ(channels_[channel_index]->AttachMessagePipeEndpoint(mp, port), port 35 native_client_sdk/src/examples/api/socket/echo_server.cc void EchoServer::Start(uint16_t port) { port 48 native_client_sdk/src/examples/api/socket/echo_server.cc status << "Starting server on port: " << port; port 53 native_client_sdk/src/examples/api/socket/echo_server.cc PP_NetAddress_IPv4 ipv4_addr = { Htons(port), { 0 } }; port 19 native_client_sdk/src/examples/api/socket/echo_server.h EchoServer(pp::Instance* instance, uint16_t port) port 22 native_client_sdk/src/examples/api/socket/echo_server.h Start(port); port 26 native_client_sdk/src/examples/api/socket/echo_server.h void Start(uint16_t port); port 98 native_client_sdk/src/examples/api/socket/socket.cc int port = atoi(message.substr(2).c_str()); port 99 native_client_sdk/src/examples/api/socket/socket.cc echo_server_ = new EchoServer(this, port); port 169 native_client_sdk/src/examples/api/socket/socket.cc int port = 80; port 174 native_client_sdk/src/examples/api/socket/socket.cc port = atoi(host.substr(pos+1).c_str()); port 180 native_client_sdk/src/examples/api/socket/socket.cc resolver_.Resolve(hostname.c_str(), port, hint, callback); port 966 native_client_sdk/src/examples/demo/nacl_io/handlers.c int port = strtol(params[1], NULL, 10); port 976 native_client_sdk/src/examples/demo/nacl_io/handlers.c addr.sin_port = htons(port); port 223 native_client_sdk/src/libraries/nacl_io/host_resolver.cc long port = 0; port 226 native_client_sdk/src/libraries/nacl_io/host_resolver.cc port = strtol(service, &cp, 10); port 227 native_client_sdk/src/libraries/nacl_io/host_resolver.cc if (port > 0 && port <= 65535 && *cp == '\0') { port 228 native_client_sdk/src/libraries/nacl_io/host_resolver.cc port = htons(port); port 251 native_client_sdk/src/libraries/nacl_io/host_resolver.cc addr_in.sin_port = port; port 256 native_client_sdk/src/libraries/nacl_io/host_resolver.cc addr_in6.sin6_port = port; port 121 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc addr4.port = sin->sin_port; port 137 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc addr6.port = sin->sin6_port; port 158 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc addr4.sin_port = ipv4.port; port 169 native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc addr6.sin6_port = ipv6.port; port 36 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.cc void EchoServer::Start(uint16_t port) { port 49 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.cc status << "Starting server on port: " << port; port 54 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.cc PP_NetAddress_IPv4 ipv4_addr = { Htons(port), { 0 } }; port 22 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.h uint16_t port, port 32 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.h Start(port); port 36 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.h void Start(uint16_t port); port 39 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc void IP4ToSockAddr(uint32_t ip, uint16_t port, struct sockaddr_in* addr) { port 43 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc addr->sin_port = htons(port); port 74 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc int Bind(int fd, uint32_t ip, uint16_t port) { port 78 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc IP4ToSockAddr(ip, port, &addr); port 35 net/android/java/src/org/chromium/net/ProxyChangeListener.java public ProxyConfig(String host, int port) { port 37 net/android/java/src/org/chromium/net/ProxyChangeListener.java mPort = port; port 111 net/android/java/src/org/chromium/net/ProxyChangeListener.java int port = (Integer) getPortMethod.invoke(props); port 113 net/android/java/src/org/chromium/net/ProxyChangeListener.java return new ProxyConfig(host, port); port 171 net/android/java/src/org/chromium/net/ProxyChangeListener.java int port); port 43 net/base/address_list.cc uint16 port) { port 44 net/base/address_list.cc return AddressList(IPEndPoint(address, port)); port 78 net/base/address_list.cc AddressList AddressList::CopyWithPort(const AddressList& list, uint16 port) { port 82 net/base/address_list.cc out.push_back(IPEndPoint(list[i].address(), port)); port 32 net/base/address_list.h uint16 port); port 42 net/base/address_list.h static AddressList CopyWithPort(const AddressList& list, uint16 port); port 74 net/base/address_list_unittest.cc EXPECT_EQ(static_cast<int>(i << 2), list[i].port()); port 86 net/base/address_list_unittest.cc EXPECT_EQ(1 << 2, list[1].port()); port 22 net/base/host_mapping_rules_unittest.cc EXPECT_EQ(1234u, host_port.port()); port 27 net/base/host_mapping_rules_unittest.cc EXPECT_EQ(60u, host_port.port()); port 32 net/base/host_mapping_rules_unittest.cc EXPECT_EQ(80u, host_port.port()); port 37 net/base/host_mapping_rules_unittest.cc EXPECT_EQ(666u, host_port.port()); port 49 net/base/host_mapping_rules_unittest.cc EXPECT_EQ(1234u, host_port.port()); port 55 net/base/host_mapping_rules_unittest.cc EXPECT_EQ(111u, host_port.port()); port 61 net/base/host_mapping_rules_unittest.cc EXPECT_EQ(333u, host_port.port()); port 67 net/base/host_mapping_rules_unittest.cc EXPECT_EQ(443u, host_port.port()); port 28 net/base/host_port_pair.cc return HostPortPair(ipe.ToStringWithoutPort(), ipe.port()); port 36 net/base/host_port_pair.cc int port; port 37 net/base/host_port_pair.cc if (!base::StringToInt(key_port[1], &port)) port 39 net/base/host_port_pair.cc DCHECK_LT(port, 1 << 16); port 42 net/base/host_port_pair.cc host_port_pair.set_port(port); port 55 net/base/host_port_pair.h uint16 port() const { port 19 net/base/host_port_pair_unittest.cc uint16 port; port 42 net/base/host_port_pair_unittest.cc EXPECT_EQ(0, foo.port()); port 46 net/base/host_port_pair_unittest.cc EXPECT_EQ(0, bar.port()); port 58 net/base/host_port_pair_unittest.cc HostPortPair foo(tests[index].host, tests[index].port); port 68 net/base/host_port_pair_unittest.cc HostPortPair foo(tests[index].host, tests[index].port); port 28 net/base/ip_endpoint.cc IPEndPoint::IPEndPoint(const IPAddressNumber& address, int port) port 30 net/base/ip_endpoint.cc port_(port) {} port 93 net/base/ip_endpoint.cc uint16 port; port 95 net/base/ip_endpoint.cc &address_len, &port)) { port 100 net/base/ip_endpoint.cc port_ = port; port 27 net/base/ip_endpoint.h IPEndPoint(const IPAddressNumber& address, int port); port 31 net/base/ip_endpoint.h int port() const { return port_; } port 47 net/base/ip_endpoint_unittest.cc EXPECT_EQ(0, endpoint.port()); port 51 net/base/ip_endpoint_unittest.cc EXPECT_EQ(80, endpoint.port()); port 61 net/base/ip_endpoint_unittest.cc EXPECT_EQ(src.port(), dest.port()); port 71 net/base/ip_endpoint_unittest.cc EXPECT_EQ(src.port(), dest.port()); port 88 net/base/ip_endpoint_unittest.cc EXPECT_EQ(ip_endpoint.port(), GetPortFromSockaddr(storage.addr, port 94 net/base/ip_endpoint_unittest.cc EXPECT_EQ(ip_endpoint.port(), ip_endpoint2.port()); port 160 net/base/ip_endpoint_unittest.cc EXPECT_EQ(0, endpoint.port()); port 163 net/base/ip_endpoint_unittest.cc int port = 100 + index; port 164 net/base/ip_endpoint_unittest.cc IPEndPoint endpoint(tests[index].ip_address, port); port 166 net/base/ip_endpoint_unittest.cc EXPECT_EQ(tests[index].host_normalized + ":" + base::IntToString(port), port 612 net/base/net_util.cc AdjustComponent(delta, &(parsed->port)); port 1365 net/base/net_util.cc bool IsPortAllowedByDefault(int port) { port 1368 net/base/net_util.cc if (kRestrictedPorts[i] == port) { port 1375 net/base/net_util.cc bool IsPortAllowedByFtp(int port) { port 1378 net/base/net_util.cc if (kAllowedFtpPorts[i] == port) { port 1383 net/base/net_util.cc return IsPortAllowedByDefault(port); port 1386 net/base/net_util.cc bool IsPortAllowedByOverride(int port) { port 1390 net/base/net_util.cc return g_explicitly_allowed_ports.Get().count(port) > 0; port 1408 net/base/net_util.cc int* port) { port 1447 net/base/net_util.cc *port = parsed_port_number; port 1454 net/base/net_util.cc int* port) { port 1456 net/base/net_util.cc host_and_port.begin(), host_and_port.end(), host, port); port 1470 net/base/net_util.cc return base::StringPrintf("%s:%s", url.host().c_str(), url.port().c_str()); port 1576 net/base/net_util.cc uint16* port) { port 1584 net/base/net_util.cc if (port) port 1585 net/base/net_util.cc *port = base::NetToHost16(addr->sin_port); port 1596 net/base/net_util.cc if (port) port 1597 net/base/net_util.cc *port = base::NetToHost16(addr->sin6_port); port 1623 net/base/net_util.cc uint16 port) { port 1628 net/base/net_util.cc return base::StringPrintf("[%s]:%d", address_str.c_str(), port); port 1630 net/base/net_util.cc return base::StringPrintf("%s:%d", address_str.c_str(), port); port 1649 net/base/net_util.cc uint16 port; port 1651 net/base/net_util.cc &address_len, &port)) { port 1655 net/base/net_util.cc return IPAddressToStringWithPort(address, address_len, port); port 1663 net/base/net_util.cc uint16 port) { port 1664 net/base/net_util.cc return IPAddressToStringWithPort(&addr.front(), addr.size(), port); port 1810 net/base/net_util.cc if (parsed.port.is_nonempty()) { port 1812 net/base/net_util.cc new_parsed->port.begin = url_string.length(); port 1814 net/base/net_util.cc spec.begin() + parsed.port.begin, port 1815 net/base/net_util.cc spec.begin() + parsed.port.end()); port 1816 net/base/net_util.cc new_parsed->port.len = url_string.length() - new_parsed->port.begin; port 1818 net/base/net_util.cc new_parsed->port.reset(); port 1922 net/base/net_util.cc int port; port 1925 net/base/net_util.cc &port); port 1926 net/base/net_util.cc ports.insert(port); port 1934 net/base/net_util.cc ScopedPortException::ScopedPortException(int port) : port_(port) { port 1935 net/base/net_util.cc g_explicitly_allowed_ports.Get().insert(port); port 99 net/base/net_util.h int* port); port 103 net/base/net_util.h int* port); port 137 net/base/net_util.h uint16* port); port 148 net/base/net_util.h uint16 port); port 165 net/base/net_util.h const IPAddressNumber& addr, uint16 port); port 343 net/base/net_util.h NET_EXPORT bool IsPortAllowedByDefault(int port); port 347 net/base/net_util.h NET_EXPORT_PRIVATE bool IsPortAllowedByFtp(int port); port 351 net/base/net_util.h NET_EXPORT_PRIVATE bool IsPortAllowedByOverride(int port); port 431 net/base/net_util.h explicit ScopedPortException(int port); port 422 net/base/net_util_unittest.cc void MakeIPv4Address(const uint8* bytes, int port, SockaddrStorage* storage) { port 426 net/base/net_util_unittest.cc addr4->sin_port = base::HostToNet16(port); port 433 net/base/net_util_unittest.cc void MakeIPv6Address(const uint8* bytes, int port, SockaddrStorage* storage) { port 437 net/base/net_util_unittest.cc addr6->sin6_port = base::HostToNet16(port); port 2325 net/base/net_util_unittest.cc int port; port 2326 net/base/net_util_unittest.cc bool ok = ParseHostAndPort(tests[i].input, &host, &port); port 2332 net/base/net_util_unittest.cc EXPECT_EQ(tests[i].expected_port, port); port 2666 net/base/net_util_unittest.cc formatted.substr(parsed.port.begin, parsed.port.len)); port 2689 net/base/net_util_unittest.cc formatted.substr(parsed.port.begin, parsed.port.len)); port 2710 net/base/net_util_unittest.cc formatted.substr(parsed.port.begin, parsed.port.len)); port 2736 net/base/net_util_unittest.cc formatted.substr(parsed.port.begin, parsed.port.len)); port 2759 net/base/net_util_unittest.cc formatted.substr(parsed.port.begin, parsed.port.len)); port 2784 net/base/net_util_unittest.cc formatted.substr(parsed.port.begin, parsed.port.len)); port 2804 net/base/net_util_unittest.cc EXPECT_FALSE(parsed.port.is_valid()); port 456 net/base/sdch_manager.cc int port; port 457 net/base/sdch_manager.cc base::StringToInt(value, &port); port 458 net/base/sdch_manager.cc if (port >= 0) port 459 net/base/sdch_manager.cc ports.insert(port); port 63 net/dns/address_sorter_win.cc ipe.port()); port 117 net/dns/address_sorter_win.cc ipe.port()); port 496 net/dns/dns_config_service_win.cc if (!ipe.port()) port 184 net/dns/dns_config_service_win_unittest.cc int port = t.expected_ports[j]; port 185 net/dns/dns_config_service_win_unittest.cc if (!port) port 186 net/dns/dns_config_service_win_unittest.cc port = dns_protocol::kDefaultPort; port 187 net/dns/dns_config_service_win_unittest.cc expected_nameservers.push_back(IPEndPoint(ip, port)); port 67 net/dns/host_resolver.h int port() const { return host_port_pair_.port(); } port 259 net/dns/host_resolver_impl.cc AddressList EnsurePortOnAddressList(const AddressList& list, uint16 port) { port 260 net/dns/host_resolver_impl.cc if (list.empty() || list.front().port() == port) port 262 net/dns/host_resolver_impl.cc return AddressList::CopyWithPort(list, port); port 498 net/dns/host_resolver_impl.cc *addresses_ = EnsurePortOnAddressList(addr_list, info_.port()); port 1422 net/dns/host_resolver_impl.cc return AddressList::CopyWithPort(list, requests_.front()->info().port()); port 2043 net/dns/host_resolver_impl.cc *addresses = AddressList::CreateFromIPAddress(ip_number, info.port()); port 2068 net/dns/host_resolver_impl.cc *addresses = EnsurePortOnAddressList(cache_entry->addrlist, info.port()); port 2096 net/dns/host_resolver_impl.cc addresses->push_back(IPEndPoint(it->second, info.port())); port 2104 net/dns/host_resolver_impl.cc addresses->push_back(IPEndPoint(it->second, info.port())); port 182 net/dns/host_resolver_impl_unittest.cc int port) { port 188 net/dns/host_resolver_impl_unittest.cc IPEndPoint(ip, port)) != list.end(); port 250 net/dns/host_resolver_impl_unittest.cc bool HasAddress(const std::string& address, int port) const { port 251 net/dns/host_resolver_impl_unittest.cc return AddressListContains(list_, address, port); port 259 net/dns/host_resolver_impl_unittest.cc bool HasOneAddress(const std::string& address, int port) const { port 260 net/dns/host_resolver_impl_unittest.cc return HasAddress(address, port) && (NumberOfAddresses() == 1u); port 290 net/dns/host_resolver_impl_unittest.cc EXPECT_EQ(info_.port(), list_.front().port()); port 448 net/dns/host_resolver_impl_unittest.cc Request* CreateRequest(const std::string& hostname, int port) { port 449 net/dns/host_resolver_impl_unittest.cc return test->CreateRequest(hostname, port); port 490 net/dns/host_resolver_impl_unittest.cc int port, port 493 net/dns/host_resolver_impl_unittest.cc HostResolver::RequestInfo info(HostPortPair(hostname, port)); port 499 net/dns/host_resolver_impl_unittest.cc int port, port 501 net/dns/host_resolver_impl_unittest.cc return CreateRequest(hostname, port, priority, ADDRESS_FAMILY_UNSPECIFIED); port 504 net/dns/host_resolver_impl_unittest.cc Request* CreateRequest(const std::string& hostname, int port) { port 505 net/dns/host_resolver_impl_unittest.cc return CreateRequest(hostname, port, MEDIUM); port 763 net/dns/host_resolver_impl_unittest.cc EXPECT_EQ(80, req->info().port()); port 789 net/dns/host_resolver_impl_unittest.cc EXPECT_EQ(80, req->info().port()); port 872 net/dns/host_resolver_impl_unittest.cc } else if (71 == req->info().port()) { port 31 net/dns/mdns_client.cc IPEndPoint bind_endpoint(address_any, multicast_addr.port()); port 157 net/dns/mock_host_resolver.cc *addresses = AddressList::CreateFromIPAddress(ip, info.port()); port 171 net/dns/mock_host_resolver.cc *addresses = AddressList::CopyWithPort(entry->addrlist, info.port()); port 197 net/dns/mock_host_resolver.cc *addresses = AddressList::CopyWithPort(addr, info.port()); port 56 net/dns/record_rdata.h uint16 port() const { return port_; } port 51 net/dns/record_rdata_unittest.cc ASSERT_EQ(80, record1_obj->port()); port 59 net/dns/record_rdata_unittest.cc ASSERT_EQ(259, record2_obj->port()); port 703 net/filter/sdch_filter_unittest.cc const std::string port("502"); port 704 net/filter/sdch_filter_unittest.cc std::string dictionary_with_port("Port: " + port + "\n"); port 708 net/filter/sdch_filter_unittest.cc GURL(url_string + ":" + port))); port 717 net/filter/sdch_filter_unittest.cc filter_context.SetURL(GURL(url_string + ":" + port)); port 739 net/filter/sdch_filter_unittest.cc filter_context.SetURL(GURL(url_string + ":" + port + "1")); port 120 net/ftp/ftp_network_transaction.cc int* port) { port 133 net/ftp/ftp_network_transaction.cc *port = *ptr - '0'; port 135 net/ftp/ftp_network_transaction.cc *port *= 10; port 136 net/ftp/ftp_network_transaction.cc *port += *ptr - '0'; port 150 net/ftp/ftp_network_transaction.cc int* port) { port 196 net/ftp/ftp_network_transaction.cc *port = (p0 << 8) + p1; port 926 net/ftp/ftp_network_transaction_unittest.cc EXPECT_EQ(21, transaction_.GetResponseInfo()->socket_address.port()); port 1002 net/ftp/ftp_network_transaction_unittest.cc EXPECT_EQ(21, transaction_.GetResponseInfo()->socket_address.port()); port 146 net/http/http_auth_handler_negotiate.cc int port = origin.EffectiveIntPort(); port 155 net/http/http_auth_handler_negotiate.cc if (port != 80 && port != 443 && use_port_) { port 157 net/http/http_auth_handler_negotiate.cc port); port 4749 net/http/http_cache_unittest.cc EXPECT_EQ(80, response2.socket_address.port()); port 55 net/http/http_network_layer.cc pair.port = 443; port 340 net/http/http_network_transaction_unittest.cc EXPECT_EQ(80, response->socket_address.port()); port 8342 net/http/http_network_transaction_unittest.cc expected_alternate.port = 443; port 353 net/http/http_response_info.cc pickle->WriteUInt16(socket_address.port()); port 96 net/http/http_server_properties.cc return base::StringPrintf("%d:%s", port, port 57 net/http/http_server_properties.h return port == other.port && protocol == other.protocol; port 62 net/http/http_server_properties.h uint16 port; port 136 net/http/http_server_properties_impl.cc base::StringAppendF(&spdy_server, "%d", host_port_pair.port()); port 240 net/http/http_server_properties_impl.cc alternate.port = alternate_port; port 255 net/http/http_server_properties_impl.cc << " from [Port: " << existing_alternate.port port 270 net/http/http_server_properties_impl.cc HostPortPair canonical_host(canonical_suffix, server.port()); port 407 net/http/http_server_properties_impl.cc HostPortPair canonical_host(canonical_suffix, server.port()); port 196 net/http/http_server_properties_impl_unittest.cc EXPECT_EQ(443, alternate.port); port 212 net/http/http_server_properties_impl_unittest.cc port_alternate_protocol_pair.port = 123; port 217 net/http/http_server_properties_impl_unittest.cc port_alternate_protocol_pair.port = 1234; port 227 net/http/http_server_properties_impl_unittest.cc EXPECT_EQ(1234, it->second.port); port 237 net/http/http_server_properties_impl_unittest.cc EXPECT_EQ(123, port_alternate_protocol_pair.port); port 250 net/http/http_server_properties_impl_unittest.cc EXPECT_EQ(1234, it->second.port); port 257 net/http/http_server_properties_impl_unittest.cc EXPECT_EQ(443, it->second.port); port 270 net/http/http_server_properties_impl_unittest.cc EXPECT_EQ(1234, it->second.port); port 276 net/http/http_server_properties_impl_unittest.cc EXPECT_EQ(443, alternate.port); port 280 net/http/http_server_properties_impl_unittest.cc EXPECT_EQ(443, it->second.port); port 316 net/http/http_server_properties_impl_unittest.cc default_protocol.port = 1234; port 325 net/http/http_server_properties_impl_unittest.cc EXPECT_EQ(default_protocol.port, alternate.port); port 332 net/http/http_server_properties_impl_unittest.cc EXPECT_EQ(443, alternate.port); port 352 net/http/http_server_properties_impl_unittest.cc canonical_protocol.port = 1234; port 356 net/http/http_server_properties_impl_unittest.cc canonical_protocol.port, port 362 net/http/http_server_properties_impl_unittest.cc EXPECT_EQ(canonical_protocol.port, alternate.port); port 85 net/http/http_stream_factory.cc int port; port 86 net/http/http_stream_factory.cc if (!base::StringToInt(port_protocol_vector[0], &port) || port 87 net/http/http_stream_factory.cc port <= 0 || port >= 1 << 16) { port 120 net/http/http_stream_factory.cc http_server_properties->SetAlternateProtocol(host_port, port, protocol); port 128 net/http/http_stream_factory.cc const std::string port_str = base::IntToString(endpoint->port()); port 32 net/http/http_stream_factory_impl.cc GURL UpgradeUrlToHttps(const GURL& original_url, int port) { port 37 net/http/http_stream_factory_impl.cc const std::string new_port = base::IntToString(port); port 225 net/http/http_stream_factory_impl.cc (alternate.port >= kUnrestrictedPort && port 226 net/http/http_stream_factory_impl.cc origin.port() < kUnrestrictedPort)) port 229 net/http/http_stream_factory_impl.cc origin.set_port(alternate.port); port 238 net/http/http_stream_factory_impl.cc *alternate_url = UpgradeUrlToHttps(original_url, alternate.port); port 612 net/http/http_stream_factory_impl_job.cc int port = request_info_.url.EffectiveIntPort(); port 613 net/http/http_stream_factory_impl_job.cc origin_ = HostPortPair(request_info_.url.HostNoBrackets(), port); port 624 net/http/http_stream_factory_impl_job.cc bool is_port_allowed = IsPortAllowedByDefault(port); port 629 net/http/http_stream_factory_impl_job.cc is_port_allowed = IsPortAllowedByFtp(port); port 631 net/http/http_stream_factory_impl_job.cc if (!is_port_allowed && !IsPortAllowedByOverride(port)) { port 455 net/ocsp/nss_ocsp.cc OCSPServerSession(const char* host, PRUint16 port) port 456 net/ocsp/nss_ocsp.cc : host_and_port_(host, port) {} port 305 net/proxy/proxy_bypass_rules.cc int port; port 306 net/proxy/proxy_bypass_rules.cc if (ParseHostAndPort(raw, &host, &port)) { port 310 net/proxy/proxy_bypass_rules.cc return AddRuleForHostname(scheme, tmp_url.host(), port); port 317 net/proxy/proxy_bypass_rules.cc port = -1; port 321 net/proxy/proxy_bypass_rules.cc &port) || port 322 net/proxy/proxy_bypass_rules.cc (port < 0 || port > 0xFFFF)) { port 338 net/proxy/proxy_bypass_rules.cc return AddRuleForHostname(scheme, raw, port); port 41 net/proxy/proxy_config_service_android.cc bool ConvertStringToPort(const std::string& port, int* output) { port 42 net/proxy/proxy_config_service_android.cc url_parse::Component component(0, port.size()); port 43 net/proxy/proxy_config_service_android.cc int result = url_parse::ParsePort(port.c_str(), component); port 163 net/proxy/proxy_config_service_android.cc void CreateStaticProxyConfig(const std::string& host, int port, port 165 net/proxy/proxy_config_service_android.cc if (port != 0) { port 166 net/proxy/proxy_config_service_android.cc std::string rules = base::StringPrintf("%s:%d", host.c_str(), port); port 252 net/proxy/proxy_config_service_android.cc void ProxySettingsChangedTo(const std::string& host, int port) { port 255 net/proxy/proxy_config_service_android.cc CreateStaticProxyConfig(host, port, &proxy_config); port 1352 net/proxy/proxy_config_service_linux.cc int port = 0; port 1355 net/proxy/proxy_config_service_linux.cc setting_getter_->GetInt(port_key, &port); port 1356 net/proxy/proxy_config_service_linux.cc if (port != 0) { port 1358 net/proxy/proxy_config_service_linux.cc host += ":" + base::IntToString(port); port 259 net/proxy/proxy_server.cc int port = -1; port 261 net/proxy/proxy_server.cc bool ok = net::ParseHostAndPort(begin, end, &host, &port); port 266 net/proxy/proxy_server.cc if (port == -1) port 267 net/proxy/proxy_server.cc port = GetDefaultPortForScheme(scheme); port 269 net/proxy/proxy_server.cc host_port_pair = HostPortPair(HostNoBrackets(host), port); port 39 net/proxy/proxy_server_mac.cc int port; port 41 net/proxy/proxy_server_mac.cc CFNumberGetValue(port_ref, kCFNumberIntType, &port); port 43 net/proxy/proxy_server_mac.cc port = GetDefaultPortForScheme(scheme); port 46 net/proxy/proxy_server_mac.cc return ProxyServer(scheme, HostPortPair(host, port)); port 171 net/proxy/proxy_server_unittest.cc EXPECT_EQ(tests[i].expected_port, uri.host_port_pair().port()); port 278 net/quic/crypto/crypto_handshake_message.cc ret += IPAddressToStringWithPort(decoder.ip(), decoder.port()); port 148 net/quic/crypto/crypto_server_test.cc EXPECT_EQ(client_address_.port(), decoder.port()); port 722 net/quic/crypto/quic_crypto_client_config.cc QuicServerId suffix_server_id(canoncial_suffixes_[i], server_id.port(), port 21 net/quic/port_suggester.cc seed_ ^= seed ^ server.port(); port 34 net/quic/port_suggester_unittest.cc for (int port = 2000; port < 2010; ++port) { port 36 net/quic/port_suggester_unittest.cc EXPECT_EQ(port, port_suggester->SuggestPort(port, port)); port 37 net/quic/port_suggester_unittest.cc EXPECT_EQ(port, port_suggester->previous_suggestion()); port 20 net/quic/quic_address_mismatch.cc } else if (first_address.port() != second_address.port()) { port 568 net/quic/quic_connection_logger.cc client_address_ = IPEndPoint(decoder.ip(), decoder.port()); port 728 net/quic/quic_framer.cc address_coder.port()); port 3511 net/quic/quic_framer_test.cc EXPECT_EQ(443, visitor_.public_reset_packet_->client_address.port()); port 21 net/quic/quic_server_id.cc uint16 port, port 24 net/quic/quic_server_id.cc : host_port_pair_(host, port), port 25 net/quic/quic_server_id.h uint16 port, port 43 net/quic/quic_server_id.h uint16 port() const { return host_port_pair_.port(); } port 46 net/quic/quic_socket_address_coder.cc uint16 port = address_.port(); port 47 net/quic/quic_socket_address_coder.cc serialized.append(reinterpret_cast<const char*>(&port), sizeof(port)); port 79 net/quic/quic_socket_address_coder.cc uint16 port; port 80 net/quic/quic_socket_address_coder.cc if (length != sizeof(port)) { port 83 net/quic/quic_socket_address_coder.cc memcpy(&port, data, length); port 85 net/quic/quic_socket_address_coder.cc address_ = IPEndPoint(ip, port); port 33 net/quic/quic_socket_address_coder.h uint16 port() const { port 34 net/quic/quic_socket_address_coder.h return address_.port(); port 42 net/quic/quic_socket_address_coder_test.cc EXPECT_EQ(0x1234, coder.port()); port 56 net/quic/quic_socket_address_coder_test.cc EXPECT_EQ(0x5678, coder.port()); port 93 net/quic/quic_socket_address_coder_test.cc uint16 port; port 106 net/quic/quic_socket_address_coder_test.cc QuicSocketAddressCoder encoder(IPEndPoint(ip, test_case[i].port)); port 112 net/quic/quic_socket_address_coder_test.cc EXPECT_EQ(encoder.port(), decoder.port()); port 158 net/quic/quic_stream_factory_test.cc int port = endpoint.port(); port 168 net/quic/quic_stream_factory_test.cc return port; port 252 net/server/http_server_unittest.cc server_address_.port())), port 869 net/socket/socket_test_util.h void set_source_port(int port) { source_port_ = port; } port 1011 net/socket/socket_test_util.h void set_source_port(int port) { source_port_ = port;} port 374 net/socket/socks5_client_socket.cc uint16 nw_port = base::HostToNet16(host_request_info_.port()); port 40 net/socket/socks5_client_socket_unittest.cc int port, port 90 net/socket/socks5_client_socket_unittest.cc int port, port 109 net/socket/socks5_client_socket_unittest.cc HostResolver::RequestInfo(HostPortPair(hostname, port)))); port 53 net/socket/socks_client_socket.cc uint16 port; port 318 net/socket/socks_client_socket.cc request.nw_port = base::HostToNet16(host_request_info_.port()); port 35 net/socket/socks_client_socket_unittest.cc const std::string& hostname, int port, port 66 net/socket/socks_client_socket_unittest.cc int port, port 86 net/socket/socks_client_socket_unittest.cc HostResolver::RequestInfo(HostPortPair(hostname, port)), port 34 net/socket/tcp_listen_socket.cc const string& ip, int port, StreamListenSocket::Delegate* del) { port 35 net/socket/tcp_listen_socket.cc SocketDescriptor s = CreateAndBind(ip, port); port 50 net/socket/tcp_listen_socket.cc SocketDescriptor TCPListenSocket::CreateAndBind(const string& ip, int port) { port 62 net/socket/tcp_listen_socket.cc addr.sin_port = base::HostToNet16(port); port 69 net/socket/tcp_listen_socket.cc LOG(ERROR) << "Could not bind socket to " << ip << ":" << port; port 77 net/socket/tcp_listen_socket.cc int* port) { port 96 net/socket/tcp_listen_socket.cc *port = base::NetToHost16(addr.sin_port); port 113 net/socket/tcp_listen_socket.cc TCPListenSocketFactory::TCPListenSocketFactory(const string& ip, int port) port 115 net/socket/tcp_listen_socket.cc port_(port) { port 24 net/socket/tcp_listen_socket.h const std::string& ip, int port, StreamListenSocket::Delegate* del); port 27 net/socket/tcp_listen_socket.h static SocketDescriptor CreateAndBind(const std::string& ip, int port); port 31 net/socket/tcp_listen_socket.h int* port); port 46 net/socket/tcp_listen_socket.h TCPListenSocketFactory(const std::string& ip, int port); port 132 net/socket/tcp_listen_socket_unittest.cc SetServerPort(local_address.port()); port 53 net/socket/tcp_server_socket_unittest.cc void ParseAddress(std::string ip_str, int port, IPEndPoint* address) { port 58 net/socket/tcp_server_socket_unittest.cc *address = IPEndPoint(ip_number, port); port 59 net/socket/tcp_socket_unittest.cc void ParseAddress(const std::string& ip_str, int port, IPEndPoint* address) { port 64 net/socket/tcp_socket_unittest.cc *address = IPEndPoint(ip_number, port); port 108 net/socket/transport_client_socket_unittest.cc int port; port 115 net/socket/transport_client_socket_unittest.cc for (port = kMinPort; port < kMaxPort; port++) { port 116 net/socket/transport_client_socket_unittest.cc sock = TCPListenSocket::CreateAndListen("127.0.0.1", port, this); port 122 net/socket/transport_client_socket_unittest.cc listen_port_ = port; port 261 net/spdy/spdy_network_transaction_unittest.cc EXPECT_EQ(port_, response->socket_address.port()); port 588 net/spdy/spdy_network_transaction_unittest.cc int port = helper.test_params().ssl_type == SPDYNPN ? 443 : 80; port 589 net/spdy/spdy_network_transaction_unittest.cc HostPortPair host_port_pair(url.host(), port); port 4330 net/spdy/spdy_network_transaction_unittest.cc HostPortPair host_port_pair("www.google.com", helper.port()); port 4440 net/spdy/spdy_network_transaction_unittest.cc HostPortPair host_port_pair("www.google.com", helper.port()); port 4771 net/spdy/spdy_network_transaction_unittest.cc HostPortPair host_port_pair("www.google.com", helper.port()); port 47 net/spdy/spdy_test_util_common.cc host->append(gurl.port()); port 128 net/test/embedded_test_server/embedded_test_server.h int port() const { return port_; } port 114 net/test/embedded_test_server/embedded_test_server_unittest.cc EXPECT_EQ(base::StringPrintf("http://127.0.0.1:%d/", server_->port()), port 120 net/test/embedded_test_server/embedded_test_server_unittest.cc server_->port()), port 194 net/test/spawned_test_server/base_test_server.cc return host_port_pair_.port(); port 197 net/test/spawned_test_server/base_test_server.cc void BaseTestServer::SetPort(uint16 port) { port 198 net/test/spawned_test_server/base_test_server.cc host_port_pair_.set_port(port); port 279 net/test/spawned_test_server/base_test_server.cc int port = 0; port 280 net/test/spawned_test_server/base_test_server.cc if (!server_data_->GetInteger("port", &port)) { port 284 net/test/spawned_test_server/base_test_server.cc if ((port <= 0) || (port > kuint16max)) { port 285 net/test/spawned_test_server/base_test_server.cc LOG(ERROR) << "Invalid port value: " << port; port 288 net/test/spawned_test_server/base_test_server.cc host_port_pair_.set_port(port); port 312 net/test/spawned_test_server/base_test_server.cc DCHECK(host_port_pair_.port()); port 318 net/test/spawned_test_server/base_test_server.cc allowed_port_.reset(new ScopedPortException(host_port_pair_.port())); port 339 net/test/spawned_test_server/base_test_server.cc arguments->SetInteger("port", host_port_pair_.port()); port 216 net/test/spawned_test_server/base_test_server.h void SetPort(uint16 port); port 27 net/test/spawned_test_server/spawner_communicator.cc GURL GenerateSpawnerCommandURL(const std::string& command, uint16 port) { port 29 net/test/spawned_test_server/spawner_communicator.cc return GURL(base::StringPrintf("%s:%u/%s", "http://127.0.0.1", port, port 101 net/test/spawned_test_server/spawner_communicator.cc SpawnerCommunicator::SpawnerCommunicator(uint16 port) port 104 net/test/spawned_test_server/spawner_communicator.cc port_(port), port 327 net/test/spawned_test_server/spawner_communicator.cc uint16* port) { port 328 net/test/spawned_test_server/spawner_communicator.cc *port = 0; port 359 net/test/spawned_test_server/spawner_communicator.cc *port = static_cast<uint16>(int_port); port 63 net/test/spawned_test_server/spawner_communicator.h explicit SpawnerCommunicator(uint16 port); port 71 net/test/spawned_test_server/spawner_communicator.h uint16* port) WARN_UNUSED_RESULT; port 5047 net/third_party/nss/ssl/ssl3con.c : ssl_LookupSID(&ss->sec.ci.peer, ss->sec.ci.port, ss->peerID, ss->url); port 7869 net/third_party/nss/ssl/ssl3con.c sid->port = ss->sec.ci.port; port 2830 net/third_party/nss/ssl/sslcon.c SSL_GETPID(), ss->fd, ss->sec.ci.peer, ss->sec.ci.port)); port 2870 net/third_party/nss/ssl/sslcon.c sid->port = ss->sec.ci.port; port 3024 net/third_party/nss/ssl/sslcon.c sid = ssl_LookupSID(&ss->sec.ci.peer, ss->sec.ci.port, ss->peerID, port 3076 net/third_party/nss/ssl/sslcon.c sid->port = ss->sec.ci.port; port 3501 net/third_party/nss/ssl/sslcon.c sid->port = ss->sec.ci.port; port 643 net/third_party/nss/ssl/sslimpl.h PRUint16 port; port 1113 net/third_party/nss/ssl/sslimpl.h unsigned short port; /* ssl 2 & 3 */ port 1485 net/third_party/nss/ssl/sslimpl.h extern sslSessionID *ssl_LookupSID(const PRIPv6Addr *addr, PRUint16 port, port 205 net/third_party/nss/ssl/sslnonce.c ssl_LookupSID(const PRIPv6Addr *addr, PRUint16 port, const char *peerID, port 235 net/third_party/nss/ssl/sslnonce.c (sid->port == port) && /* server port matches */ port 276 net/third_party/nss/ssl/sslnonce.c sid->addr.pr_s6_addr32[3], sid->port, sid->creationTime, port 354 net/third_party/nss/ssl/sslnonce.c zap->addr.pr_s6_addr32[3], zap->port, zap->creationTime, port 2326 net/third_party/nss/ssl/sslsock.c ss->sec.ci.port = sin.inet.port; port 2329 net/third_party/nss/ssl/sslsock.c ss->sec.ci.port = sin.ipv6.port; port 92 net/tools/flip_server/create_listener.cc const std::string& port, port 108 net/tools/flip_server/create_listener.cc if (!port.empty()) port 109 net/tools/flip_server/create_listener.cc service = port.c_str(); port 127 net/tools/flip_server/create_listener.cc << " for (" << host << ":" << port << ") " << gai_strerror(err) port 137 net/tools/flip_server/create_listener.cc LOG(ERROR) << "Unable to create socket for (" << host << ":" << port port 179 net/tools/flip_server/create_listener.cc LOG(ERROR) << "Bind was unsuccessful for (" << host << ":" << port port 206 net/tools/flip_server/create_listener.cc LOG(ERROR) << "Listen was unsuccessful for (" << host << ":" << port port 229 net/tools/flip_server/create_listener.cc const std::string& port, port 238 net/tools/flip_server/create_listener.cc if (!port.empty()) port 239 net/tools/flip_server/create_listener.cc service = port.c_str(); port 40 net/tools/flip_server/create_listener.h const std::string& port, port 51 net/tools/flip_server/create_listener.h const std::string& port, port 46 net/tools/gdig/gdig.cc int port; port 47 net/tools/gdig/gdig.cc if (!ParseHostAndPort(ip_address_and_port, &ip, &port)) port 49 net/tools/gdig/gdig.cc if (port == -1) port 50 net/tools/gdig/gdig.cc port = dns_protocol::kDefaultPort; port 56 net/tools/gdig/gdig.cc *ip_end_point = net::IPEndPoint(ip_number, port); port 334 net/tools/quic/end_to_end_test.cc server_address_ = IPEndPoint(ip, server_address_.port()); port 347 net/tools/quic/quic_client.cc IPEndPoint client_address(client_ip, client_address_.port()); port 58 net/tools/quic/quic_client_bin.cc int port; port 59 net/tools/quic/quic_client_bin.cc if (base::StringToInt(line->GetSwitchValueASCII("port"), &port)) { port 60 net/tools/quic/quic_client_bin.cc FLAGS_port = port; port 92 net/tools/quic/quic_server.cc port_ = address.port(); port 170 net/tools/quic/quic_server.cc port_ = server_address.port(); port 224 net/tools/quic/quic_server.cc int port, port 244 net/tools/quic/quic_server.cc IPEndPoint server_address(server_ip, port); port 62 net/tools/quic/quic_server.h static bool ReadAndDispatchSinglePacket(int fd, int port, port 82 net/tools/quic/quic_server.h int port() { return port_; } port 50 net/tools/quic/quic_server_bin.cc int port; port 51 net/tools/quic/quic_server_bin.cc if (base::StringToInt(line->GetSwitchValueASCII("port"), &port)) { port 52 net/tools/quic/quic_server_bin.cc FLAGS_port = port; port 175 net/tools/quic/quic_time_wait_list_manager_test.cc kTestPort == packet.client_address.port(); port 161 net/tools/quic/test_tools/quic_test_client.cc server_address.port(), port 175 net/tools/quic/test_tools/quic_test_client.cc server_address.port(), port 193 net/tools/quic/test_tools/quic_test_client.cc server_address.port(), port 45 net/tools/quic/test_tools/server_thread.cc port_ = server_.port(); port 120 net/udp/udp_socket_unittest.cc void CreateUDPAddress(std::string ip_str, int port, IPEndPoint* address) { port 125 net/udp/udp_socket_unittest.cc *address = IPEndPoint(ip_number, port); port 312 net/udp/udp_socket_unittest.cc used_ports.push_back(client_address.port()); port 334 net/udp/udp_socket_unittest.cc EXPECT_EQ(used_ports.back(), client_address.port()); port 495 net/udp/udp_socket_unittest.cc EXPECT_GT(local_address.port(), 0); port 30 net/url_request/ftp_protocol_handler.cc int port = request->url().IntPort(); port 32 net/url_request/ftp_protocol_handler.cc !IsPortAllowedByFtp(port) && !IsPortAllowedByOverride(port)) { port 210 net/url_request/url_fetcher_impl_unittest.cc test_server_->host_port_pair().port())); port 673 net/url_request/url_fetcher_impl_unittest.cc EXPECT_EQ(expected_port_, source->GetSocketAddress().port()); port 1157 net/url_request/url_fetcher_impl_unittest.cc expected_port_ = test_server.host_port_pair().port(); port 639 net/url_request/url_request_unittest.cc EXPECT_EQ(0, r.GetSocketAddress().port()); port 684 net/url_request/url_request_unittest.cc EXPECT_EQ(0, r.GetSocketAddress().port()); port 713 net/url_request/url_request_unittest.cc EXPECT_EQ(0, r.GetSocketAddress().port()); port 3520 net/url_request/url_request_unittest.cc EXPECT_EQ(test_server_.host_port_pair().port(), port 3521 net/url_request/url_request_unittest.cc r.GetSocketAddress().port()); port 3589 net/url_request/url_request_unittest.cc EXPECT_EQ(test_server_.host_port_pair().port(), port 3590 net/url_request/url_request_unittest.cc r.GetSocketAddress().port()); port 3615 net/url_request/url_request_unittest.cc EXPECT_EQ(test_server_.host_port_pair().port(), port 3616 net/url_request/url_request_unittest.cc r.GetSocketAddress().port()); port 3647 net/url_request/url_request_unittest.cc EXPECT_EQ(test_server_.host_port_pair().port(), port 3648 net/url_request/url_request_unittest.cc r.GetSocketAddress().port()); port 6419 net/url_request/url_request_unittest.cc EXPECT_EQ(test_server.host_port_pair().port(), port 6420 net/url_request/url_request_unittest.cc r.GetSocketAddress().port()); port 6605 net/url_request/url_request_unittest.cc test_server.host_port_pair().port())), port 6654 net/url_request/url_request_unittest.cc test_server.host_port_pair().port())), port 6726 net/url_request/url_request_unittest.cc test_server.host_port_pair().port())), port 7666 net/url_request/url_request_unittest.cc EXPECT_EQ(test_server_.host_port_pair().port(), port 7667 net/url_request/url_request_unittest.cc r.GetSocketAddress().port()); port 7698 net/url_request/url_request_unittest.cc EXPECT_EQ(test_server_.host_port_pair().port(), port 7699 net/url_request/url_request_unittest.cc r.GetSocketAddress().port()); port 7728 net/url_request/url_request_unittest.cc EXPECT_EQ(test_server_.host_port_pair().port(), port 7729 net/url_request/url_request_unittest.cc r.GetSocketAddress().port()); port 60 ppapi/c/dev/ppb_url_util_dev.h struct PP_URLComponent_Dev port; port 190 ppapi/c/extensions/dev/ppb_ext_socket_dev.h struct PP_Var port, port 212 ppapi/c/extensions/dev/ppb_ext_socket_dev.h struct PP_Var port, port 296 ppapi/c/extensions/dev/ppb_ext_socket_dev.h struct PP_Var port, port 322 ppapi/c/extensions/dev/ppb_ext_socket_dev.h struct PP_Var port, port 536 ppapi/c/extensions/dev/ppb_ext_socket_dev.h struct PP_Var port, port 542 ppapi/c/extensions/dev/ppb_ext_socket_dev.h struct PP_Var port, port 565 ppapi/c/extensions/dev/ppb_ext_socket_dev.h struct PP_Var port, port 571 ppapi/c/extensions/dev/ppb_ext_socket_dev.h struct PP_Var port, port 127 ppapi/c/ppb_host_resolver.h uint16_t port, port 64 ppapi/c/ppb_net_address.h uint16_t port; port 79 ppapi/c/ppb_net_address.h uint16_t port; port 90 ppapi/c/private/ppb_host_resolver_private.h uint16_t port, port 101 ppapi/c/private/ppb_net_address_private.h uint16_t port, port 135 ppapi/c/private/ppb_net_address_private.h uint16_t port, port 143 ppapi/c/private/ppb_net_address_private.h uint16_t port, port 158 ppapi/c/private/ppb_net_address_private.h uint16_t port, port 172 ppapi/c/private/ppb_net_address_private.h uint16_t port, port 72 ppapi/c/private/ppb_tcp_socket_private.h uint16_t port, port 180 ppapi/c/private/ppb_tcp_socket_private.h uint16_t port, port 209 ppapi/c/private/ppb_tcp_socket_private.h uint16_t port, port 213 ppapi/cpp/extensions/dev/socket_dev.cc result = port.Populate(dict) && result; port 224 ppapi/cpp/extensions/dev/socket_dev.cc result = port.AddTo(&dict) && result; port 347 ppapi/cpp/extensions/dev/socket_dev.cc int32_t port, port 354 ppapi/cpp/extensions/dev/socket_dev.cc internal::ToVarConverter<int32_t> port_var(port); port 367 ppapi/cpp/extensions/dev/socket_dev.cc int32_t port, port 374 ppapi/cpp/extensions/dev/socket_dev.cc internal::ToVarConverter<int32_t> port_var(port); port 450 ppapi/cpp/extensions/dev/socket_dev.cc int32_t port, port 458 ppapi/cpp/extensions/dev/socket_dev.cc internal::ToVarConverter<int32_t> port_var(port); port 472 ppapi/cpp/extensions/dev/socket_dev.cc int32_t port, port 480 ppapi/cpp/extensions/dev/socket_dev.cc internal::ToVarConverter<int32_t> port_var(port); port 132 ppapi/cpp/extensions/dev/socket_dev.h DictField<int32_t> port; port 191 ppapi/cpp/extensions/dev/socket_dev.h int32_t port, port 197 ppapi/cpp/extensions/dev/socket_dev.h int32_t port, port 221 ppapi/cpp/extensions/dev/socket_dev.h int32_t port, port 227 ppapi/cpp/extensions/dev/socket_dev.h int32_t port, port 53 ppapi/cpp/host_resolver.cc uint16_t port, port 58 ppapi/cpp/host_resolver.cc pp_resource(), host, port, &hint, callback.pp_completion_callback()); port 82 ppapi/cpp/host_resolver.h uint16_t port, port 39 ppapi/cpp/private/host_resolver_private.cc uint16_t port, port 47 ppapi/cpp/private/host_resolver_private.cc port, port 30 ppapi/cpp/private/host_resolver_private.h uint16_t port, port 104 ppapi/cpp/private/net_address_private.cc uint16_t port, port 108 ppapi/cpp/private/net_address_private.cc port, port 113 ppapi/cpp/private/net_address_private.cc port, port 118 ppapi/cpp/private/net_address_private.cc port, port 194 ppapi/cpp/private/net_address_private.cc uint16_t port, port 198 ppapi/cpp/private/net_address_private.cc ip, port, addr_out); port 208 ppapi/cpp/private/net_address_private.cc uint16_t port, port 212 ppapi/cpp/private/net_address_private.cc ip, scope_id, port, addr_out); port 27 ppapi/cpp/private/net_address_private.h uint16_t port, port 38 ppapi/cpp/private/net_address_private.h uint16_t port, port 42 ppapi/cpp/private/net_address_private.h uint16_t port, port 57 ppapi/cpp/private/tcp_socket_private.cc uint16_t port, port 61 ppapi/cpp/private/tcp_socket_private.cc pp_resource(), host, port, callback.pp_completion_callback()); port 65 ppapi/cpp/private/tcp_socket_private.cc pp_resource(), host, port, callback.pp_completion_callback()); port 69 ppapi/cpp/private/tcp_socket_private.cc pp_resource(), host, port, callback.pp_completion_callback()); port 29 ppapi/cpp/private/tcp_socket_private.h uint16_t port, port 747 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M29_PPB_HostResolver_Resolve(PP_Resource host_resolver, const char* host, uint16_t port, const struct PP_HostResolver_Hint* hint, struct PP_CompletionCallback* callback) { port 749 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Resolve(host_resolver, host, port, hint, *callback); port 3038 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M19_PPB_HostResolver_Private_Resolve(PP_Resource host_resolver, const char* host, uint16_t port, const struct PP_HostResolver_Private_Hint* hint, struct PP_CompletionCallback* callback) { port 3040 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Resolve(host_resolver, host, port, hint, *callback); port 3259 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static PP_Bool Pnacl_M17_PPB_NetAddress_Private_ReplacePort(const struct PP_NetAddress_Private* src_addr, uint16_t port, struct PP_NetAddress_Private* addr_out) { port 3261 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->ReplacePort(src_addr, port, addr_out); port 3288 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static PP_Bool Pnacl_M19_0_PPB_NetAddress_Private_ReplacePort(const struct PP_NetAddress_Private* src_addr, uint16_t port, struct PP_NetAddress_Private* addr_out) { port 3290 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->ReplacePort(src_addr, port, addr_out); port 3332 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static PP_Bool Pnacl_M19_1_PPB_NetAddress_Private_ReplacePort(const struct PP_NetAddress_Private* src_addr, uint16_t port, struct PP_NetAddress_Private* addr_out) { port 3334 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->ReplacePort(src_addr, port, addr_out); port 3362 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static void Pnacl_M19_1_PPB_NetAddress_Private_CreateFromIPv4Address(const uint8_t ip[4], uint16_t port, struct PP_NetAddress_Private* addr_out) { port 3364 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c iface->CreateFromIPv4Address(ip, port, addr_out); port 3367 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static void Pnacl_M19_1_PPB_NetAddress_Private_CreateFromIPv6Address(const uint8_t ip[16], uint32_t scope_id, uint16_t port, struct PP_NetAddress_Private* addr_out) { port 3369 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c iface->CreateFromIPv6Address(ip, scope_id, port, addr_out); port 3530 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M17_PPB_TCPSocket_Private_Connect(PP_Resource tcp_socket, const char* host, uint16_t port, struct PP_CompletionCallback* callback) { port 3532 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Connect(tcp_socket, host, port, *callback); port 3584 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M20_PPB_TCPSocket_Private_Connect(PP_Resource tcp_socket, const char* host, uint16_t port, struct PP_CompletionCallback* callback) { port 3586 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Connect(tcp_socket, host, port, *callback); port 3648 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M27_PPB_TCPSocket_Private_Connect(PP_Resource tcp_socket, const char* host, uint16_t port, struct PP_CompletionCallback* callback) { port 3650 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Connect(tcp_socket, host, port, *callback); port 4106 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M28_PPB_Ext_Socket_Dev_Connect(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* hostname, struct PP_Var* port, struct PP_Var* result, struct PP_CompletionCallback* callback) { port 4108 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Connect(instance, *socket_id, *hostname, *port, result, *callback); port 4111 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M28_PPB_Ext_Socket_Dev_Bind(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* address, struct PP_Var* port, struct PP_Var* result, struct PP_CompletionCallback* callback) { port 4113 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Bind(instance, *socket_id, *address, *port, result, *callback); port 4136 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M28_PPB_Ext_Socket_Dev_SendTo(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* data, struct PP_Var* address, struct PP_Var* port, PP_Ext_Socket_WriteInfo_Dev* write_info, struct PP_CompletionCallback* callback) { port 4138 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->SendTo(instance, *socket_id, *data, *address, *port, write_info, *callback); port 4141 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M28_PPB_Ext_Socket_Dev_Listen(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* address, struct PP_Var* port, struct PP_Var* backlog, struct PP_Var* result, struct PP_CompletionCallback* callback) { port 4143 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Listen(instance, *socket_id, *address, *port, *backlog, result, *callback); port 4185 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_Connect(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* hostname, struct PP_Var* port, struct PP_Var* result, struct PP_CompletionCallback* callback) { port 4187 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Connect(instance, *socket_id, *hostname, *port, result, *callback); port 4190 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_Bind(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* address, struct PP_Var* port, struct PP_Var* result, struct PP_CompletionCallback* callback) { port 4192 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Bind(instance, *socket_id, *address, *port, result, *callback); port 4215 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_SendTo(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* data, struct PP_Var* address, struct PP_Var* port, PP_Ext_Socket_WriteInfo_Dev* write_info, struct PP_CompletionCallback* callback) { port 4217 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->SendTo(instance, *socket_id, *data, *address, *port, write_info, *callback); port 4220 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_Listen(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* address, struct PP_Var* port, struct PP_Var* backlog, struct PP_Var* result, struct PP_CompletionCallback* callback) { port 4222 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Listen(instance, *socket_id, *address, *port, *backlog, result, *callback); port 4424 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Resolve = (int32_t (*)(PP_Resource host_resolver, const char* host, uint16_t port, const struct PP_HostResolver_Hint* hint, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_HostResolver_Resolve, port 5097 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Resolve = (int32_t (*)(PP_Resource host_resolver, const char* host, uint16_t port, const struct PP_HostResolver_Private_Hint* hint, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_HostResolver_Private_Resolve, port 5150 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .ReplacePort = (PP_Bool (*)(const struct PP_NetAddress_Private* src_addr, uint16_t port, struct PP_NetAddress_Private* addr_out))&Pnacl_M17_PPB_NetAddress_Private_ReplacePort, port 5158 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .ReplacePort = (PP_Bool (*)(const struct PP_NetAddress_Private* src_addr, uint16_t port, struct PP_NetAddress_Private* addr_out))&Pnacl_M19_0_PPB_NetAddress_Private_ReplacePort, port 5169 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .ReplacePort = (PP_Bool (*)(const struct PP_NetAddress_Private* src_addr, uint16_t port, struct PP_NetAddress_Private* addr_out))&Pnacl_M19_1_PPB_NetAddress_Private_ReplacePort, port 5175 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .CreateFromIPv4Address = (void (*)(const uint8_t ip[4], uint16_t port, struct PP_NetAddress_Private* addr_out))&Pnacl_M19_1_PPB_NetAddress_Private_CreateFromIPv4Address, port 5176 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .CreateFromIPv6Address = (void (*)(const uint8_t ip[16], uint32_t scope_id, uint16_t port, struct PP_NetAddress_Private* addr_out))&Pnacl_M19_1_PPB_NetAddress_Private_CreateFromIPv6Address port 5224 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Connect = (int32_t (*)(PP_Resource tcp_socket, const char* host, uint16_t port, struct PP_CompletionCallback callback))&Pnacl_M17_PPB_TCPSocket_Private_Connect, port 5237 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Connect = (int32_t (*)(PP_Resource tcp_socket, const char* host, uint16_t port, struct PP_CompletionCallback callback))&Pnacl_M20_PPB_TCPSocket_Private_Connect, port 5252 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Connect = (int32_t (*)(PP_Resource tcp_socket, const char* host, uint16_t port, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_TCPSocket_Private_Connect, port 5369 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Connect = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var hostname, struct PP_Var port, struct PP_Var* result, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_Connect, port 5370 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Bind = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var address, struct PP_Var port, struct PP_Var* result, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_Bind, port 5375 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .SendTo = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var data, struct PP_Var address, struct PP_Var port, PP_Ext_Socket_WriteInfo_Dev* write_info, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_SendTo, port 5376 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Listen = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var address, struct PP_Var port, struct PP_Var backlog, struct PP_Var* result, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_Listen, port 5387 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Connect = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var hostname, struct PP_Var port, struct PP_Var* result, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_Connect, port 5388 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Bind = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var address, struct PP_Var port, struct PP_Var* result, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_Bind, port 5393 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .SendTo = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var data, struct PP_Var address, struct PP_Var port, PP_Ext_Socket_WriteInfo_Dev* write_info, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_SendTo, port 5394 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Listen = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var address, struct PP_Var port, struct PP_Var backlog, struct PP_Var* result, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_Listen, port 28 ppapi/proxy/host_resolver_private_resource.cc uint16_t port, port 31 ppapi/proxy/host_resolver_private_resource.cc return ResolveImpl(host, port, hint, callback); port 31 ppapi/proxy/host_resolver_private_resource.h uint16_t port, port 57 ppapi/proxy/host_resolver_resource.cc uint16_t port, port 65 ppapi/proxy/host_resolver_resource.cc return ResolveImpl(host, port, &private_hint, callback); port 29 ppapi/proxy/host_resolver_resource.h uint16_t port, port 35 ppapi/proxy/host_resolver_resource_base.cc uint16_t port, port 48 ppapi/proxy/host_resolver_resource_base.cc host_port.port = port; port 24 ppapi/proxy/host_resolver_resource_base.h uint16_t port; port 39 ppapi/proxy/host_resolver_resource_base.h uint16_t port, port 198 ppapi/proxy/ppapi_messages.h IPC_STRUCT_TRAITS_MEMBER(port) port 307 ppapi/proxy/ppapi_messages.h IPC_STRUCT_TRAITS_MEMBER(port) port 40 ppapi/proxy/tcp_socket_private_resource.cc uint16_t port, port 42 ppapi/proxy/tcp_socket_private_resource.cc return ConnectImpl(host, port, callback); port 37 ppapi/proxy/tcp_socket_private_resource.h uint16_t port, port 94 ppapi/proxy/tcp_socket_resource_base.cc uint16_t port, port 108 ppapi/proxy/tcp_socket_resource_base.cc PpapiHostMsg_TCPSocket_Connect(host, port), port 74 ppapi/proxy/tcp_socket_resource_base.h uint16_t port, port 38 ppapi/shared_impl/ppb_url_util_shared.cc ConvertComponent(input.port, &output->port); port 82 ppapi/shared_impl/private/net_address_private_impl.cc uint16_t port; // host order, not network order. port 145 ppapi/shared_impl/private/net_address_private_impl.cc return net_addr->port; port 200 ppapi/shared_impl/private/net_address_private_impl.cc return PP_FromBool(net_addr1->port == net_addr2->port); port 210 ppapi/shared_impl/private/net_address_private_impl.cc base::StringAppendF(&description, ":%u", net_addr->port); port 285 ppapi/shared_impl/private/net_address_private_impl.cc base::StringAppendF(&description, "]:%u", net_addr->port); port 304 ppapi/shared_impl/private/net_address_private_impl.cc uint16_t port, port 312 ppapi/shared_impl/private/net_address_private_impl.cc dest_net_addr->port = port; port 325 ppapi/shared_impl/private/net_address_private_impl.cc uint16_t port, port 331 ppapi/shared_impl/private/net_address_private_impl.cc net_addr->port = port; port 338 ppapi/shared_impl/private/net_address_private_impl.cc uint16_t port, port 344 ppapi/shared_impl/private/net_address_private_impl.cc net_addr->port = port; port 430 ppapi/shared_impl/private/net_address_private_impl.cc net_addr->port = ConvertFromNetEndian16(addr4->sin_port); port 439 ppapi/shared_impl/private/net_address_private_impl.cc net_addr->port = ConvertFromNetEndian16(addr6->sin6_port); port 454 ppapi/shared_impl/private/net_address_private_impl.cc int port, port 464 ppapi/shared_impl/private/net_address_private_impl.cc net_addr->port = static_cast<uint16_t>(port); port 471 ppapi/shared_impl/private/net_address_private_impl.cc net_addr->port = static_cast<uint16_t>(port); port 487 ppapi/shared_impl/private/net_address_private_impl.cc int* port) { port 488 ppapi/shared_impl/private/net_address_private_impl.cc if (!address || !port) port 495 ppapi/shared_impl/private/net_address_private_impl.cc *port = net_addr->port; port 524 ppapi/shared_impl/private/net_address_private_impl.cc CreateFromIPv4Address(ipv4_addr.addr, ConvertFromNetEndian16(ipv4_addr.port), port 533 ppapi/shared_impl/private/net_address_private_impl.cc ConvertFromNetEndian16(ipv6_addr.port), addr); port 557 ppapi/shared_impl/private/net_address_private_impl.cc ipv4_addr->port = ConvertToNetEndian16(net_addr->port); port 577 ppapi/shared_impl/private/net_address_private_impl.cc ipv6_addr->port = ConvertToNetEndian16(net_addr->port); port 30 ppapi/shared_impl/private/net_address_private_impl.h int port, port 35 ppapi/shared_impl/private/net_address_private_impl.h int* port); port 103 ppapi/tests/test_host_resolver.cc uint16_t port, port 107 ppapi/tests/test_host_resolver.cc host_resolver->Resolve(host.c_str(), port, hint, callback.GetCallback())); port 43 ppapi/tests/test_host_resolver.h uint16_t port, port 51 ppapi/tests/test_host_resolver_private.cc uint16_t port) { port 54 ppapi/tests/test_host_resolver_private.cc socket->Connect(host.c_str(), port, callback.GetCallback())); port 118 ppapi/tests/test_host_resolver_private.cc uint16_t port, port 122 ppapi/tests/test_host_resolver_private.cc host_resolver->Resolve(host, port, hint, callback.GetCallback())); port 33 ppapi/tests/test_host_resolver_private.h uint16_t port); port 49 ppapi/tests/test_host_resolver_private.h uint16_t port, port 21 ppapi/tests/test_net_address.cc return addr1.port == addr2.port && port 27 ppapi/tests/test_net_address.cc return addr1.port == addr2.port && port 36 ppapi/tests/test_net_address.cc ipv6_addr.port = ConvertToNetEndian16(host_order_port); port 18 ppapi/tests/test_net_address_private.cc PP_NetAddress_Private MakeIPv4NetAddress(const uint8_t host[4], int port) { port 20 ppapi/tests/test_net_address_private.cc NetAddressPrivate::CreateFromIPv4Address(host, port, &addr); port 24 ppapi/tests/test_net_address_private.cc PP_NetAddress_Private MakeIPv6NetAddress(const uint16_t host[8], uint16_t port, port 32 ppapi/tests/test_net_address_private.cc NetAddressPrivate::CreateFromIPv6Address(ip, scope_id, port, &addr); port 163 ppapi/tests/test_net_address_private.cc uint16_t port; port 220 ppapi/tests/test_net_address_private.cc test_cases[i].port, port 57 ppapi/tests/test_net_address_private_untrusted.cc uint16_t port) { port 61 ppapi/tests/test_net_address_private_untrusted.cc socket->Connect(host.c_str(), port, callback.GetCallback())); port 29 ppapi/tests/test_net_address_private_untrusted.h uint16_t port); port 89 ppapi/tests/test_network_monitor.cc ASSERT_TRUE(ipv4.port == 0); port 108 ppapi/tests/test_network_monitor.cc ASSERT_TRUE(ipv6.port == 0); port 48 ppapi/tests/test_tcp_socket.cc uint16_t port = 0; port 49 ppapi/tests/test_tcp_socket.cc if (!GetLocalHostPort(instance_->pp_instance(), &host, &port)) port 52 ppapi/tests/test_tcp_socket.cc if (!ResolveHost(instance_->pp_instance(), host, port, &addr_)) port 25 ppapi/tests/test_udp_socket.cc uint16_t port) { port 31 ppapi/tests/test_udp_socket.cc ipv4_addr.port = ConvertToNetEndian16(port); port 38 ppapi/tests/test_udp_socket.cc ipv6_addr.port = ConvertToNetEndian16(port); port 67 ppapi/tests/test_udp_socket.cc uint16_t port = 0; port 69 ppapi/tests/test_udp_socket.cc GetLocalHostPort(instance_->pp_instance(), &host, &port) && port 70 ppapi/tests/test_udp_socket.cc ResolveHost(instance_->pp_instance(), host, port, &address_); port 133 ppapi/tests/test_udp_socket.cc for (uint16_t port = kPortScanFrom; port < kPortScanTo; ++port) { port 134 ppapi/tests/test_udp_socket.cc pp::NetAddress new_address = ReplacePort(instance_, base_address, port); port 230 ppapi/tests/test_udp_socket.cc server_ipv4_address.port, { 0xff, 0xff, 0xff, 0xff } port 108 ppapi/tests/test_udp_socket_private.cc for (uint16_t port = kPortScanFrom; port < kPortScanTo; ++port) { port 109 ppapi/tests/test_udp_socket_private.cc if (!pp::NetAddressPrivate::ReplacePort(base_address, port, address)) port 217 ppapi/tests/test_udp_socket_private.cc const uint16_t port = pp::NetAddressPrivate::GetPort(server_address); port 220 ppapi/tests/test_udp_socket_private.cc broadcast_ip, port, &broadcast_address)); port 52 ppapi/tests/test_url_util.cc ASSERT_TRUE(ComponentEquals(c.port, 24, 4)); port 66 ppapi/tests/test_url_util.cc ASSERT_TRUE(ComponentEquals(c.port, 0, -1)); port 63 ppapi/tests/test_utils.cc bool GetLocalHostPort(PP_Instance instance, std::string* host, uint16_t* port) { port 64 ppapi/tests/test_utils.cc if (!host || !port) port 82 ppapi/tests/test_utils.cc if (components.port.len <= 0) port 85 ppapi/tests/test_utils.cc int i = atoi(url.substr(components.port.begin, components.port.len).c_str()); port 88 ppapi/tests/test_utils.cc *port = static_cast<uint16_t>(i); port 120 ppapi/tests/test_utils.cc return ipv4_addr1.port == ipv4_addr2.port && port 129 ppapi/tests/test_utils.cc return ipv6_addr1.port == ipv6_addr2.port && port 136 ppapi/tests/test_utils.cc uint16_t port, port 146 ppapi/tests/test_utils.cc host_resolver.Resolve(host, port, hint, callback.GetCallback())); port 157 ppapi/tests/test_utils.cc ipv4_addr.port = ConvertToNetEndian16( port 168 ppapi/tests/test_utils.cc ipv6_addr.port = ConvertToNetEndian16( port 185 ppapi/tests/test_utils.cc uint16_t port, port 192 ppapi/tests/test_utils.cc ipv4_addr.port = ConvertToNetEndian16(port); port 200 ppapi/tests/test_utils.cc ipv6_addr.port = ConvertToNetEndian16(port); port 216 ppapi/tests/test_utils.cc return ConvertFromNetEndian16(ipv4_addr.port); port 222 ppapi/tests/test_utils.cc return ConvertFromNetEndian16(ipv6_addr.port); port 27 ppapi/tests/test_utils.h bool GetLocalHostPort(PP_Instance instance, std::string* host, uint16_t* port); port 35 ppapi/tests/test_utils.h uint16_t port, port 39 ppapi/tests/test_utils.h uint16_t port, port 49 ppapi/thunk/ppb_ext_socket_thunk.cc PP_Var port, port 60 ppapi/thunk/ppb_ext_socket_thunk.cc input_args.push_back(port); port 69 ppapi/thunk/ppb_ext_socket_thunk.cc PP_Var port, port 80 ppapi/thunk/ppb_ext_socket_thunk.cc input_args.push_back(port); port 154 ppapi/thunk/ppb_ext_socket_thunk.cc PP_Var port, port 166 ppapi/thunk/ppb_ext_socket_thunk.cc input_args.push_back(port); port 175 ppapi/thunk/ppb_ext_socket_thunk.cc PP_Var port, port 187 ppapi/thunk/ppb_ext_socket_thunk.cc input_args.push_back(port); port 23 ppapi/thunk/ppb_host_resolver_api.h uint16_t port, port 23 ppapi/thunk/ppb_host_resolver_private_api.h uint16_t port, port 34 ppapi/thunk/ppb_host_resolver_private_thunk.cc uint16_t port, port 40 ppapi/thunk/ppb_host_resolver_private_thunk.cc return enter.SetResult(enter.object()->Resolve(host, port, hint, port 36 ppapi/thunk/ppb_host_resolver_thunk.cc uint16_t port, port 44 ppapi/thunk/ppb_host_resolver_thunk.cc port, port 23 ppapi/thunk/ppb_tcp_socket_private_api.h uint16_t port, port 35 ppapi/thunk/ppb_tcp_socket_private_thunk.cc uint16_t port, port 40 ppapi/thunk/ppb_tcp_socket_private_thunk.cc return enter.SetResult(enter.object()->Connect(host, port, enter.callback())); port 316 printing/backend/cups_helper.cc int port = print_server_url.IntPort(); port 317 printing/backend/cups_helper.cc if (port == url_parse::PORT_UNSPECIFIED) port 318 printing/backend/cups_helper.cc port = kDefaultIPPServerPort; port 320 printing/backend/cups_helper.cc http_ = httpConnectEncrypt(print_server_url.host().c_str(), port, encryption); port 40 printing/backend/print_backend_win.cc const wchar_t* port, port 43 printing/backend/print_backend_win.cc int count = DeviceCapabilities(printer, port, id, NULL, NULL); port 48 printing/backend/print_backend_win.cc count = DeviceCapabilities(printer, port, id, port 58 printing/backend/print_backend_win.cc const wchar_t* port, port 72 printing/backend/print_backend_win.cc GetDeviceCapabilityArray(printer, port, DC_PAPERNAMES, &names); port 75 printing/backend/print_backend_win.cc GetDeviceCapabilityArray(printer, port, DC_PAPERSIZE, &sizes); port 78 printing/backend/print_backend_win.cc GetDeviceCapabilityArray(printer, port, DC_PAPERS, &ids); port 135 printing/backend/print_backend_win.cc const wchar_t* port, port 139 printing/backend/print_backend_win.cc GetDeviceCapabilityArray(printer, port, DC_ENUMRESOLUTIONS, &dpis); port 231 printing/backend/print_backend_win.cc const wchar_t* port = info_5.get()->pPortName; port 269 printing/backend/print_backend_win.cc (DeviceCapabilities(name, port, DC_COLORDEVICE, NULL, NULL) == 1); port 272 printing/backend/print_backend_win.cc (DeviceCapabilities(name, port, DC_DUPLEX, NULL, NULL) == 1); port 275 printing/backend/print_backend_win.cc (DeviceCapabilities(name, port, DC_COLLATE, NULL, NULL) == 1); port 278 printing/backend/print_backend_win.cc (DeviceCapabilities(name, port, DC_COPIES, NULL, NULL) > 1); port 280 printing/backend/print_backend_win.cc LoadPaper(name, port, user_settings.get(), &caps); port 281 printing/backend/print_backend_win.cc LoadDpi(name, port, user_settings.get(), &caps); port 52 remoting/client/jni/chromoting_jni_instance.cc xmpp_config_.port = kXmppPort; port 47 remoting/client/plugin/pepper_port_allocator.cc virtual void SendSessionRequest(const std::string& host, int port) OVERRIDE; port 120 remoting/client/plugin/pepper_port_allocator.cc for (cricket::PortList::iterator port = port 121 remoting/client/plugin/pepper_port_allocator.cc relay->ports.begin(); port != relay->ports.end(); ++port) { port 122 remoting/client/plugin/pepper_port_allocator.cc if (port->proto == cricket::PROTO_UDP) { port 123 remoting/client/plugin/pepper_port_allocator.cc filtered_ports.push_back(*port); port 151 remoting/client/plugin/pepper_port_allocator.cc uint16 port = stun_address_.port(); port 159 remoting/client/plugin/pepper_port_allocator.cc port, port 208 remoting/client/plugin/pepper_port_allocator.cc int port) { port 211 remoting/client/plugin/pepper_port_allocator.cc std::string url = "https://" + host + ":" + base::IntToString(port) + port 20 remoting/client/plugin/pepper_util.cc uint16_t port) { port 25 remoting/client/plugin/pepper_util.cc ip_addr.port = base::HostToNet16(port); port 33 remoting/client/plugin/pepper_util.cc ip_addr.port = base::HostToNet16(port); port 51 remoting/client/plugin/pepper_util.cc address.port()); port 62 remoting/client/plugin/pepper_util.cc address->SetPort(base::NetToHost16(ipv4_addr.port)); port 70 remoting/client/plugin/pepper_util.cc address->SetPort(base::NetToHost16(ipv6_addr.port)); port 28 remoting/client/plugin/pepper_util.h uint16_t port); port 64 remoting/host/ipc_host_event_logger.cc serialized_route.remote_port = route.remote_address.port(); port 66 remoting/host/ipc_host_event_logger.cc serialized_route.local_port = route.local_address.port(); port 61 remoting/host/it2me/it2me_native_messaging_host.cc &xmpp_server_config_.port); port 174 remoting/host/it2me/it2me_native_messaging_host.cc address, &xmpp_server_config_.host, &xmpp_server_config_.port)) { port 114 remoting/host/plugin/host_script_object.cc &xmpp_server_config_.host, &xmpp_server_config_.port); port 294 remoting/host/plugin/host_script_object.cc "%s:%u", xmpp_server_config_.host.c_str(), xmpp_server_config_.port)); port 359 remoting/host/plugin/host_script_object.cc address, &xmpp_server_config_.host, &xmpp_server_config_.port); port 426 remoting/host/remoting_me2me_host.cc &xmpp_server_config_.host, &xmpp_server_config_.port); port 338 remoting/host/win/rdp_client_window.cc result = client_settings_->put_RDPPort(server_endpoint_.port()); port 40 remoting/jingle_glue/chromium_port_allocator.cc virtual void SendSessionRequest(const std::string& host, int port) OVERRIDE; port 83 remoting/jingle_glue/chromium_port_allocator.cc for (cricket::PortList::iterator port = port 84 remoting/jingle_glue/chromium_port_allocator.cc relay->ports.begin(); port != relay->ports.end(); ++port) { port 85 remoting/jingle_glue/chromium_port_allocator.cc if (port->proto == cricket::PROTO_UDP) { port 86 remoting/jingle_glue/chromium_port_allocator.cc filtered_ports.push_back(*port); port 96 remoting/jingle_glue/chromium_port_allocator.cc int port) { port 97 remoting/jingle_glue/chromium_port_allocator.cc GURL url("https://" + host + ":" + base::IntToString(port) + port 126 remoting/jingle_glue/chromium_socket_factory.cc for (int port = min_port; port <= max_port; ++port) { port 129 remoting/jingle_glue/chromium_socket_factory.cc net::IPEndPoint(local_endpoint.address(), port)); port 92 remoting/jingle_glue/chromium_socket_factory_unittest.cc EXPECT_GE(socket_->GetLocalAddress().port(), kMinPort); port 93 remoting/jingle_glue/chromium_socket_factory_unittest.cc EXPECT_LE(socket_->GetLocalAddress().port(), kMaxPort); port 77 remoting/jingle_glue/jingle_info_request.cc int port; port 78 remoting/jingle_glue/jingle_info_request.cc if (!base::StringToInt(port_str, &port)) { port 83 remoting/jingle_glue/jingle_info_request.cc stun_hosts.push_back(talk_base::SocketAddress(host, port)); port 81 remoting/jingle_glue/xmpp_signal_strategy.cc xmpp_server_config_.host, xmpp_server_config_.port)); port 48 remoting/jingle_glue/xmpp_signal_strategy.h int port; port 67 remoting/protocol/jingle_messages.cc int port; port 70 remoting/protocol/jingle_messages.cc if (name.empty() || address.empty() || !base::StringToInt(port_str, &port) || port 71 remoting/protocol/jingle_messages.cc port < kPortMin || port > kPortMax || type.empty() || protocol.empty() || port 80 remoting/protocol/jingle_messages.cc candidate->candidate.set_address(talk_base::SocketAddress(address, port)); port 98 remoting/protocol/jingle_messages.cc base::IntToString(candidate.candidate.address().port())); port 25 sandbox/win/src/broker_services.cc bool AssociateCompletionPort(HANDLE job, HANDLE port, void* key) { port 26 sandbox/win/src/broker_services.cc JOBOBJECT_ASSOCIATE_COMPLETION_PORT job_acp = { key, port }; port 190 sandbox/win/src/broker_services.cc HANDLE port = broker->job_port_; port 201 sandbox/win/src/broker_services.cc if (!::GetQueuedCompletionStatus(port, &events, &key, &ovl, INFINITE)) port 179 sync/engine/net/server_connection_manager.cc int port, port 183 sync/engine/net/server_connection_manager.cc sync_server_port_(port), port 330 sync/engine/net/server_connection_manager.cc int* port, port 334 sync/engine/net/server_connection_manager.cc if (port != NULL) port 335 sync/engine/net/server_connection_manager.cc *port = sync_server_port_; port 342 sync/engine/net/server_connection_manager.cc int port; port 344 sync/engine/net/server_connection_manager.cc GetServerParameters(&server_url, &port, &use_ssl); port 182 sync/engine/net/server_connection_manager.h int port, port 207 sync/engine/net/server_connection_manager.h int* port, port 200 sync/internal_api/http_bridge.cc void HttpBridge::SetURL(const char* url, int port) { port 212 sync/internal_api/http_bridge.cc std::string port_str = base::IntToString(port); port 113 sync/internal_api/public/http_bridge.h virtual void SetURL(const char* url, int port) OVERRIDE; port 24 sync/internal_api/public/http_post_provider_interface.h virtual void SetURL(const char* url, int port) = 0; port 317 sync/internal_api/sync_manager_impl.cc int port, port 390 sync/internal_api/sync_manager_impl.cc sync_server_and_path, port, use_ssl, port 606 sync/internal_api/sync_manager_impl_unittest.cc virtual void SetURL(const char* url, int port) OVERRIDE {} port 85 sync/internal_api/syncapi_server_connection_manager.cc int port, port 90 sync/internal_api/syncapi_server_connection_manager.cc port, port 55 sync/internal_api/syncapi_server_connection_manager.h int port, port 31 sync/internal_api/syncapi_server_connection_manager_unittest.cc virtual void SetURL(const char* url, int port) OVERRIDE {} port 44 sync/test/fake_server/fake_server_http_post_provider.cc void FakeServerHttpPostProvider::SetURL(const char* url, int port) { port 47 sync/test/fake_server/fake_server_http_post_provider.cc request_port_ = port; port 26 sync/test/fake_server/fake_server_http_post_provider.h virtual void SetURL(const char* url, int port) OVERRIDE; port 20 sync/test/fake_server/fake_sync_server_http_handler.cc FakeSyncServerHttpHandler::FakeSyncServerHttpHandler(int port) port 21 sync/test/fake_server/fake_sync_server_http_handler.cc : requested_port_(port) {} port 38 sync/test/fake_server/fake_sync_server_http_handler.cc LOG(INFO) << base::StringPrintf("Listening on port %d", address.port()); port 21 sync/test/fake_server/fake_sync_server_http_handler.h explicit FakeSyncServerHttpHandler(int port); port 33 sync/test/fake_server/run_sync_fake_server.cc int port; port 34 sync/test/fake_server/run_sync_fake_server.cc if (!base::StringToInt(requested_port, &port)) { port 40 sync/test/fake_server/run_sync_fake_server.cc server = new FakeSyncServerHttpHandler(port); port 23 sync/test/local_sync_test_server.cc LocalSyncTestServer::LocalSyncTestServer(uint16 port, uint16 xmpp_port) port 29 sync/test/local_sync_test_server.cc SetPort(port); port 24 sync/test/local_sync_test_server.h LocalSyncTestServer(uint16 port, uint16 xmpp_port); port 57 sync/tools/testserver/run_sync_testserver.cc static bool GetPortFromSwitch(const std::string& switch_name, uint16* port) { port 58 sync/tools/testserver/run_sync_testserver.cc DCHECK(port != NULL) << "|port| is NULL"; port 67 sync/tools/testserver/run_sync_testserver.cc *port = static_cast<uint16>(port_int); port 102 sync/tools/testserver/run_sync_testserver.cc uint16 port = 0; port 103 sync/tools/testserver/run_sync_testserver.cc GetPortFromSwitch("port", &port); port 109 sync/tools/testserver/run_sync_testserver.cc new syncer::LocalSyncTestServer(port, xmpp_port)); port 64 third_party/apple_apsl/dnsinfo.h DNS_VAR(uint16_t, port); /* port (in host byte order) */ port 163 third_party/leveldatabase/env_chromium.h leveldb::port::Mutex mu_; port 32 third_party/leveldatabase/port/port_chromium.h namespace port { port 97 third_party/leveldatabase/port/port_chromium.h #define LEVELDB_ONCE_INIT leveldb::port::ONCE_STATE_UNINITIALIZED port 214 third_party/libevent/evdns.c u16 port; port 267 third_party/libevent/evdns.c struct evdns_server_port *port; /* Which port received this request on? */ port 336 third_party/libevent/evdns.c static void server_port_free(struct evdns_server_port *port); port 957 third_party/libevent/evdns.c request_parse(u8 *packet, int length, struct evdns_server_port *port, struct sockaddr *addr, socklen_t addrlen) port 1012 third_party/libevent/evdns.c server_req->port = port; port 1013 third_party/libevent/evdns.c port->refcnt++; port 1021 third_party/libevent/evdns.c port->user_callback(&(server_req->base), port->user_data); port 1219 third_party/libevent/evdns.c server_port_flush(struct evdns_server_port *port) port 1221 third_party/libevent/evdns.c while (port->pending_replies) { port 1222 third_party/libevent/evdns.c struct server_request *req = port->pending_replies; port 1223 third_party/libevent/evdns.c int r = sendto(port->socket, req->response, req->response_len, 0, port 1226 third_party/libevent/evdns.c int err = last_error(port->socket); port 1238 third_party/libevent/evdns.c (void) event_del(&port->event); port 1239 third_party/libevent/evdns.c event_set(&port->event, port->socket, EV_READ | EV_PERSIST, port 1240 third_party/libevent/evdns.c server_port_ready_callback, port); port 1241 third_party/libevent/evdns.c if (event_add(&port->event, NULL) < 0) { port 1287 third_party/libevent/evdns.c struct evdns_server_port *port = (struct evdns_server_port *) arg; port 1291 third_party/libevent/evdns.c port->choked = 0; port 1292 third_party/libevent/evdns.c server_port_flush(port); port 1295 third_party/libevent/evdns.c server_port_read(port); port 1480 third_party/libevent/evdns.c struct evdns_server_port *port; port 1481 third_party/libevent/evdns.c if (!(port = malloc(sizeof(struct evdns_server_port)))) port 1483 third_party/libevent/evdns.c memset(port, 0, sizeof(struct evdns_server_port)); port 1486 third_party/libevent/evdns.c port->socket = socket; port 1487 third_party/libevent/evdns.c port->refcnt = 1; port 1488 third_party/libevent/evdns.c port->choked = 0; port 1489 third_party/libevent/evdns.c port->closing = 0; port 1490 third_party/libevent/evdns.c port->user_callback = cb; port 1491 third_party/libevent/evdns.c port->user_data = user_data; port 1492 third_party/libevent/evdns.c port->pending_replies = NULL; port 1494 third_party/libevent/evdns.c event_set(&port->event, port->socket, EV_READ | EV_PERSIST, port 1495 third_party/libevent/evdns.c server_port_ready_callback, port); port 1496 third_party/libevent/evdns.c event_add(&port->event, NULL); /* check return. */ port 1497 third_party/libevent/evdns.c return port; port 1502 third_party/libevent/evdns.c evdns_close_server_port(struct evdns_server_port *port) port 1504 third_party/libevent/evdns.c if (--port->refcnt == 0) port 1505 third_party/libevent/evdns.c server_port_free(port); port 1506 third_party/libevent/evdns.c port->closing = 1; port 1729 third_party/libevent/evdns.c struct evdns_server_port *port = req->port; port 1736 third_party/libevent/evdns.c r = sendto(port->socket, req->response, req->response_len, 0, port 1739 third_party/libevent/evdns.c int sock_err = last_error(port->socket); port 1743 third_party/libevent/evdns.c if (port->pending_replies) { port 1744 third_party/libevent/evdns.c req->prev_pending = port->pending_replies->prev_pending; port 1745 third_party/libevent/evdns.c req->next_pending = port->pending_replies; port 1750 third_party/libevent/evdns.c port->pending_replies = req; port 1751 third_party/libevent/evdns.c port->choked = 1; port 1753 third_party/libevent/evdns.c (void) event_del(&port->event); port 1754 third_party/libevent/evdns.c event_set(&port->event, port->socket, (port->closing?0:EV_READ) | EV_WRITE | EV_PERSIST, server_port_ready_callback, port); port 1756 third_party/libevent/evdns.c if (event_add(&port->event, NULL) < 0) { port 1767 third_party/libevent/evdns.c if (port->pending_replies) port 1768 third_party/libevent/evdns.c server_port_flush(port); port 1812 third_party/libevent/evdns.c if (req->port) { port 1813 third_party/libevent/evdns.c if (req->port->pending_replies == req) { port 1815 third_party/libevent/evdns.c req->port->pending_replies = req->next_pending; port 1817 third_party/libevent/evdns.c req->port->pending_replies = NULL; port 1819 third_party/libevent/evdns.c rc = --req->port->refcnt; port 1834 third_party/libevent/evdns.c server_port_free(req->port); port 1844 third_party/libevent/evdns.c server_port_free(struct evdns_server_port *port) port 1846 third_party/libevent/evdns.c assert(port); port 1847 third_party/libevent/evdns.c assert(!port->refcnt); port 1848 third_party/libevent/evdns.c assert(!port->pending_replies); port 1849 third_party/libevent/evdns.c if (port->socket > 0) { port 1850 third_party/libevent/evdns.c CLOSE_SOCKET(port->socket); port 1851 third_party/libevent/evdns.c port->socket = -1; port 1853 third_party/libevent/evdns.c (void) event_del(&port->event); port 1919 third_party/libevent/evdns.c sin.sin_port = req->ns->port; port 2113 third_party/libevent/evdns.c _evdns_nameserver_add_impl(unsigned long int address, int port) { port 2138 third_party/libevent/evdns.c ns->port = htons(port); port 2183 third_party/libevent/evdns.c int port; port 2189 third_party/libevent/evdns.c port = 53; port 2191 third_party/libevent/evdns.c port = strtoint(cp+1); port 2192 third_party/libevent/evdns.c if (port < 0 || port > 65535) { port 2205 third_party/libevent/evdns.c return _evdns_nameserver_add_impl(ina.s_addr, port); port 511 third_party/libevent/evdns.h void evdns_close_server_port(struct evdns_server_port *port); port 87 third_party/libevent/evhttp.h int evhttp_bind_socket(struct evhttp *http, const char *address, u_short port); port 174 third_party/libevent/evhttp.h struct evhttp *evhttp_start(const char *address, u_short port); port 261 third_party/libevent/evhttp.h const char *address, unsigned short port); port 272 third_party/libevent/evhttp.h unsigned short port); port 295 third_party/libevent/evhttp.h char **address, u_short *port); port 67 third_party/libevent/http-internal.h u_short port; port 199 third_party/libevent/http.c static int socket_connect(int fd, const char *address, unsigned short port); port 552 third_party/libevent/http.c u_short port; port 581 third_party/libevent/http.c port = atoi(p + 1); port 583 third_party/libevent/http.c if (port == 0) port 586 third_party/libevent/http.c port = HTTP_DEFAULTPORT; port 591 third_party/libevent/http.c *pport = port; port 1041 third_party/libevent/http.c unsigned short port) port 1044 third_party/libevent/http.c evcon->bind_port = port; port 1142 third_party/libevent/http.c __func__, evcon->address, evcon->port, evcon->fd)); port 1150 third_party/libevent/http.c __func__, evcon->address, evcon->port, evcon->fd)); port 1156 third_party/libevent/http.c __func__, evcon->address, evcon->port, evcon->fd, port 1163 third_party/libevent/http.c __func__, evcon->address, evcon->port, evcon->fd)); port 1677 third_party/libevent/http.c evhttp_connection_new(const char *address, unsigned short port) port 1681 third_party/libevent/http.c event_debug(("Attempting connection to %s:%d\n", address, port)); port 1689 third_party/libevent/http.c evcon->port = port; port 1752 third_party/libevent/http.c char **address, u_short *port) port 1755 third_party/libevent/http.c *port = evcon->port; port 1777 third_party/libevent/http.c if (socket_connect(evcon->fd, evcon->address, evcon->port) == -1) { port 2252 third_party/libevent/http.c evhttp_bind_socket(struct evhttp *http, const char *address, u_short port) port 2257 third_party/libevent/http.c if ((fd = bind_socket(address, port, 1 /*reuse*/)) == -1) port 2270 third_party/libevent/http.c port)); port 2338 third_party/libevent/http.c evhttp_start(const char *address, u_short port) port 2342 third_party/libevent/http.c if (evhttp_bind_socket(http, address, port) == -1) { port 2584 third_party/libevent/http.c req->remote_port = evcon->port; port 2726 third_party/libevent/http.c make_addrinfo(const char *address, u_short port) port 2739 third_party/libevent/http.c evutil_snprintf(strport, sizeof(strport), "%d", port); port 2757 third_party/libevent/http.c ((struct sockaddr_in *) aitop->ai_addr)->sin_port = htons(port); port 2764 third_party/libevent/http.c bind_socket(const char *address, u_short port, int reuse) port 2770 third_party/libevent/http.c if (address == NULL && port == 0) port 2773 third_party/libevent/http.c aitop = make_addrinfo(address, port); port 2790 third_party/libevent/http.c socket_connect(int fd, const char *address, unsigned short port) port 2792 third_party/libevent/http.c struct addrinfo *ai = make_addrinfo(address, port); port 2797 third_party/libevent/http.c __func__, address, port)); port 300 third_party/libevent/test/regress_dns.c struct evdns_server_port *port; port 336 third_party/libevent/test/regress_dns.c port = evdns_add_server_port(sock, 0, dns_server_request_cb, NULL); port 356 third_party/libevent/test/regress_dns.c evdns_close_server_port(port); port 80 third_party/libevent/test/regress_http.c short port = -1; port 86 third_party/libevent/test/regress_http.c port = 8080 + i; port 91 third_party/libevent/test/regress_http.c if (port == -1) port 101 third_party/libevent/test/regress_http.c *pport = port; port 110 third_party/libevent/test/regress_http.c http_connect(const char *address, u_short port) port 130 third_party/libevent/test/regress_http.c sin.sin_port = htons(port); port 137 third_party/libevent/test/regress_http.c snprintf(strport, sizeof (strport), "%d", port); port 311 third_party/libevent/test/regress_http.c short port = -1; port 316 third_party/libevent/test/regress_http.c http = http_setup(&port, NULL); port 319 third_party/libevent/test/regress_http.c if (evhttp_bind_socket(http, "127.0.0.1", port + 1) == -1) { port 324 third_party/libevent/test/regress_http.c fd = http_connect("127.0.0.1", port); port 351 third_party/libevent/test/regress_http.c fd = http_connect("127.0.0.1", port + 1); port 411 third_party/libevent/test/regress_http.c short port = -1; port 419 third_party/libevent/test/regress_http.c http = http_setup(&port, NULL); port 421 third_party/libevent/test/regress_http.c evcon = evhttp_connection_new("127.0.0.1", port); port 615 third_party/libevent/test/regress_http.c short port = -1; port 622 third_party/libevent/test/regress_http.c http = http_setup(&port, NULL); port 624 third_party/libevent/test/regress_http.c evcon = evhttp_connection_new("127.0.0.1", port); port 676 third_party/libevent/test/regress_http.c short port = -1; port 683 third_party/libevent/test/regress_http.c http = http_setup(&port, NULL); port 685 third_party/libevent/test/regress_http.c evcon = evhttp_connection_new("127.0.0.1", port); port 814 third_party/libevent/test/regress_http.c short port = -1; port 819 third_party/libevent/test/regress_http.c http = http_setup(&port, NULL); port 821 third_party/libevent/test/regress_http.c fd = http_connect("127.0.0.1", port); port 905 third_party/libevent/test/regress_http.c short port = -1; port 913 third_party/libevent/test/regress_http.c http = http_setup(&port, NULL); port 918 third_party/libevent/test/regress_http.c evcon = evhttp_connection_new("127.0.0.1", port); port 1081 third_party/libevent/test/regress_http.c short port = -1; port 1094 third_party/libevent/test/regress_http.c http = http_setup(&port, base); port 1096 third_party/libevent/test/regress_http.c fd = http_connect("127.0.0.1", port); port 1272 third_party/libevent/test/regress_http.c short port = -1; port 1281 third_party/libevent/test/regress_http.c http = http_setup(&port, NULL); port 1283 third_party/libevent/test/regress_http.c fd = http_connect("127.0.0.1", port); port 1317 third_party/libevent/test/regress_http.c evcon = evhttp_connection_new("127.0.0.1", port); port 1358 third_party/libevent/test/regress_http.c short port = -1; port 1363 third_party/libevent/test/regress_http.c http = http_setup(&port, NULL); port 1365 third_party/libevent/test/regress_http.c fd = http_connect("127.0.0.1", port); port 1413 third_party/libevent/test/regress_http.c short port = -1; port 1420 third_party/libevent/test/regress_http.c http = http_setup(&port, NULL); port 1422 third_party/libevent/test/regress_http.c evcon = evhttp_connection_new("127.0.0.1", port); port 72 third_party/libevent/test/regress_rpc.c short port = -1; port 78 third_party/libevent/test/regress_rpc.c port = 8080 + i; port 83 third_party/libevent/test/regress_rpc.c if (port == -1) port 86 third_party/libevent/test/regress_rpc.c *pport = port; port 131 third_party/libevent/test/regress_rpc.c short port; port 135 third_party/libevent/test/regress_rpc.c http = http_setup(&port); port 142 third_party/libevent/test/regress_rpc.c *pport = port; port 178 third_party/libevent/test/regress_rpc.c short port; port 186 third_party/libevent/test/regress_rpc.c rpc_setup(&http, &port, &base); port 188 third_party/libevent/test/regress_rpc.c evcon = evhttp_connection_new("127.0.0.1", port); port 261 third_party/libevent/test/regress_rpc.c short port; port 270 third_party/libevent/test/regress_rpc.c rpc_setup(&http, &port, &base); port 272 third_party/libevent/test/regress_rpc.c evcon = evhttp_connection_new("127.0.0.1", port); port 325 third_party/libevent/test/regress_rpc.c rpc_pool_with_connection(short port) port 333 third_party/libevent/test/regress_rpc.c evcon = evhttp_connection_new("127.0.0.1", port); port 439 third_party/libevent/test/regress_rpc.c short port; port 448 third_party/libevent/test/regress_rpc.c rpc_setup(&http, &port, &base); port 458 third_party/libevent/test/regress_rpc.c pool = rpc_pool_with_connection(port); port 510 third_party/libevent/test/regress_rpc.c short port; port 519 third_party/libevent/test/regress_rpc.c rpc_setup(&http, &port, &base); port 521 third_party/libevent/test/regress_rpc.c pool = rpc_pool_with_connection(port); port 575 third_party/libevent/test/regress_rpc.c short port; port 584 third_party/libevent/test/regress_rpc.c rpc_setup(&http, &port, &base); port 586 third_party/libevent/test/regress_rpc.c pool = rpc_pool_with_connection(port); port 744 third_party/libusb/src/libusb/os/darwin_usb.c UInt8 port = 0; port 748 third_party/libusb/src/libusb/os/darwin_usb.c (void) get_ioregistry_value_number (service, CFSTR("PortNum"), kCFNumberSInt8Type, &port); port 800 third_party/libusb/src/libusb/os/darwin_usb.c new_device->port = port; port 863 third_party/libusb/src/libusb/os/darwin_usb.c dev->port_number = cached_device->port; port 121 third_party/libusb/src/libusb/os/darwin_usb.h UInt8 first_config, active_config, port; port 118 third_party/libusb/src/libusb/os/linux_usbfs.h unsigned char port[127]; /* port to device num mapping */ port 1008 third_party/libusb/src/libusb/os/windows_usb.c cd_buf_short.req.ConnectionIndex = (ULONG)priv->port; port 1036 third_party/libusb/src/libusb/os/windows_usb.c cd_buf_actual->ConnectionIndex = (ULONG)priv->port; port 1115 third_party/libusb/src/libusb/os/windows_usb.c priv->port = port_number; port 1182 third_party/libusb/src/libusb/os/windows_usb.c dev->bus_number, dev->device_address, priv->depth, priv->port, device_id); port 209 third_party/libusb/src/libusb/os/windows_usb.h uint8_t port; // port number on the hub port 237 third_party/libusb/src/libusb/os/windows_usb.h p->port = 0; port 75 third_party/libxml/src/include/libxml/nanoftp.h int port); port 91 third_party/libxml/src/include/libxml/nanoftp.h int port, port 39 third_party/libxml/src/include/libxml/uri.h int port; /* the port number */ port 124 third_party/libxml/src/nanoftp.c int port; /* the port */ port 266 third_party/libxml/src/nanoftp.c xmlNanoFTPProxy(const char *host, int port, const char *user, port 286 third_party/libxml/src/nanoftp.c proxyPort = port; port 336 third_party/libxml/src/nanoftp.c if (uri->port != 0) port 337 third_party/libxml/src/nanoftp.c ctxt->port = uri->port; port 392 third_party/libxml/src/nanoftp.c ((uri->port != 0) && (ctxt->port != uri->port))) { port 397 third_party/libxml/src/nanoftp.c if (uri->port != 0) port 398 third_party/libxml/src/nanoftp.c ctxt->port = uri->port; port 455 third_party/libxml/src/nanoftp.c if (uri->port != 0) port 456 third_party/libxml/src/nanoftp.c proxyPort = uri->port; port 482 third_party/libxml/src/nanoftp.c ret->port = 21; port 857 third_party/libxml/src/nanoftp.c int port; port 870 third_party/libxml/src/nanoftp.c port = proxyPort; port 872 third_party/libxml/src/nanoftp.c port = ctxt->port; port 874 third_party/libxml/src/nanoftp.c if (port == 0) port 875 third_party/libxml/src/nanoftp.c port = 21; port 915 third_party/libxml/src/nanoftp.c ((struct sockaddr_in6 *) &ctxt->ftpAddr)->sin6_port = htons (port); port 920 third_party/libxml/src/nanoftp.c ((struct sockaddr_in *) &ctxt->ftpAddr)->sin_port = htons (port); port 949 third_party/libxml/src/nanoftp.c ((struct sockaddr_in *)&ctxt->ftpAddr)->sin_port = (u_short)htons ((unsigned short)port); port 1235 third_party/libxml/src/nanoftp.c xmlNanoFTPConnectTo(const char *server, int port) { port 1242 third_party/libxml/src/nanoftp.c if (port <= 0) port 1246 third_party/libxml/src/nanoftp.c if (port != 0) port 1247 third_party/libxml/src/nanoftp.c ctxt->port = port; port 139 third_party/libxml/src/nanohttp.c int port; /* the port */ port 322 third_party/libxml/src/nanohttp.c if (uri->port != 0) port 323 third_party/libxml/src/nanohttp.c ctxt->port = uri->port; port 368 third_party/libxml/src/nanohttp.c if (uri->port != 0) port 369 third_party/libxml/src/nanohttp.c proxyPort = uri->port; port 394 third_party/libxml/src/nanohttp.c ret->port = 80; port 1033 third_party/libxml/src/nanohttp.c xmlNanoHTTPConnectHost(const char *host, int port) port 1087 third_party/libxml/src/nanohttp.c sockin.sin_port = htons (port); port 1097 third_party/libxml/src/nanohttp.c sockin6.sin6_port = htons (port); port 1171 third_party/libxml/src/nanohttp.c sockin.sin_port = (u_short)htons ((unsigned short)port); port 1183 third_party/libxml/src/nanohttp.c sockin6.sin6_port = htons (port); port 1387 third_party/libxml/src/nanohttp.c ret = xmlNanoHTTPConnectHost(ctxt->hostname, ctxt->port); port 1414 third_party/libxml/src/nanohttp.c if (ctxt->port != 80) { port 1431 third_party/libxml/src/nanohttp.c if (ctxt->port != 80) { port 1434 third_party/libxml/src/nanohttp.c ctxt->port, ctxt->path ); port 1446 third_party/libxml/src/nanohttp.c if (ctxt->port == 80) { port 1451 third_party/libxml/src/nanohttp.c ctxt->hostname, ctxt->port); port 41 third_party/libxml/src/testURI.c if (uri->port != 0) printf("port: %d\n", uri->port); port 11857 third_party/libxml/src/testapi.c int port; /* the proxy port */ port 11872 third_party/libxml/src/testapi.c port = gen_int(n_port, 1); port 11877 third_party/libxml/src/testapi.c xmlNanoFTPProxy((const char *)host, port, (const char *)user, (const char *)passwd, type); port 11880 third_party/libxml/src/testapi.c des_int(n_port, port, 1); port 300 third_party/libxml/src/uri.c uri->port = 0; port 303 third_party/libxml/src/uri.c uri->port = uri->port * 10 + (*cur - '0'); port 1146 third_party/libxml/src/uri.c if (uri->port > 0) { port 1159 third_party/libxml/src/uri.c len += snprintf((char *) &ret[len], max - len, ":%d", uri->port); port 1887 third_party/libxml/src/uri.c if (uri->port) { port 1888 third_party/libxml/src/uri.c xmlChar port[10]; port 1890 third_party/libxml/src/uri.c snprintf((char *) port, 10, "%d", uri->port); port 1892 third_party/libxml/src/uri.c ret = xmlStrcat(ret, port); port 2045 third_party/libxml/src/uri.c res->port = bas->port; port 2096 third_party/libxml/src/uri.c res->port = ref->port; port 2108 third_party/libxml/src/uri.c res->port = bas->port; port 615 third_party/npapi/bindings/npapi.h CGrafPtr port; port 902 third_party/npapi/bindings/npapi.h const char *host, int32_t port, port 121 third_party/npapi/bindings/npfunctions.h typedef NPError (*NPN_GetAuthenticationInfoPtr)(NPP npp, const char *protocol, const char *host, int32_t port, const char *scheme, const char *realm, char **username, uint32_t *ulen, char **password, uint32_t *plen); port 182 third_party/npapi/npspy/extern/nspr/prio.h PRUint16 port; /* port number */ port 192 third_party/npapi/npspy/extern/nspr/prio.h PRUint16 port; /* port number */ port 206 third_party/npapi/npspy/extern/nspr/prnetdb.h PRIntn enumIndex, const PRHostEnt *hostEnt, PRUint16 port, PRNetAddr *address); port 239 third_party/npapi/npspy/extern/nspr/prnetdb.h PRNetAddrValue val, PRUint16 port, PRNetAddr *addr); port 267 third_party/npapi/npspy/extern/nspr/prnetdb.h PRNetAddrValue val, PRUint16 af, PRUint16 port, PRNetAddr *addr); port 326 third_party/npapi/npspy/extern/nspr/prnetdb.h ((addr)->raw.family == PR_AF_INET6 ? (addr)->ipv6.port : (addr)->inet.port) port 449 third_party/npapi/npspy/extern/nspr/prnetdb.h void *enumPtr, const PRAddrInfo *addrInfo, PRUint16 port, PRNetAddr *result); port 552 third_party/npapi/npspy/extern/plugin/npapi.h CGrafPtr port; /* Grafport */ port 369 third_party/re2/re2/testing/re2_test.cc int port; port 370 third_party/re2/re2/testing/re2_test.cc CHECK(RE2::PartialMatch("a chrisr:9000 here", re, &all, &host, &port)); port 373 third_party/re2/re2/testing/re2_test.cc CHECK_EQ(port, 9000); port 116 third_party/talloc/libreplace/getaddrinfo.c unsigned short port) port 135 third_party/talloc/libreplace/getaddrinfo.c psin->sin_port = htons(port); port 164 third_party/talloc/libreplace/getaddrinfo.c unsigned short port = 0; port 167 third_party/talloc/libreplace/getaddrinfo.c port = (unsigned short)atoi(service); port 171 third_party/talloc/libreplace/getaddrinfo.c ai = alloc_entry(hints, ip, port); port 212 third_party/talloc/libreplace/getaddrinfo.c unsigned short port = 0; port 215 third_party/talloc/libreplace/getaddrinfo.c port = (unsigned short)atoi(service); port 226 third_party/talloc/libreplace/getaddrinfo.c struct addrinfo *ai = alloc_entry(hints, ip, port); port 443 third_party/talloc/libreplace/getaddrinfo.c int port = ntohs(((struct sockaddr_in *)sa)->sin_port); port 447 third_party/talloc/libreplace/getaddrinfo.c port, port 459 third_party/talloc/libreplace/getaddrinfo.c ret = snprintf(service, servicelen, "%d", port); port 168 tools/android/file_poller/file_poller.cc void content_collection(int port) { port 174 tools/android/file_poller/file_poller.cc socket_info.sin_port = htons(port); port 80 tools/android/forwarder2/command.cc bool SendCommand(command::Type command, int port, Socket* socket) { port 82 tools/android/forwarder2/command.cc int len = snprintf(buffer, sizeof(buffer), "%05d:%02d", port, command); port 89 tools/android/forwarder2/command.cc int port; port 91 tools/android/forwarder2/command.cc if (!ReadCommand(socket, &port, &received_command)) port 44 tools/android/forwarder2/command.h bool SendCommand(command::Type command, int port, Socket* socket); port 78 tools/android/forwarder2/device_controller.cc int port; port 80 tools/android/forwarder2/device_controller.cc if (!ReadCommand(socket.get(), &port, &command)) { port 84 tools/android/forwarder2/device_controller.cc const ListenersMap::iterator listener_it = listeners_.find(port); port 90 tools/android/forwarder2/device_controller.cc LOG(WARNING) << "Already forwarding port " << port port 96 tools/android/forwarder2/device_controller.cc socket.Pass(), port, port 115 tools/android/forwarder2/device_controller.cc << "listener has not been set up yet for port " << port; port 124 tools/android/forwarder2/device_controller.cc LOG(INFO) << "Unmapping port " << port; port 126 tools/android/forwarder2/device_controller.cc LOG(ERROR) << "No listener found for port " << port; port 127 tools/android/forwarder2/device_controller.cc SendCommand(command::UNLISTEN_ERROR, port, socket.get()); port 131 tools/android/forwarder2/device_controller.cc SendCommand(command::UNLISTEN_SUCCESS, port, socket.get()); port 135 tools/android/forwarder2/device_controller.cc LOG(ERROR) << "Invalid command received. Port: " << port port 62 tools/android/forwarder2/device_listener.cc int port, port 67 tools/android/forwarder2/device_listener.cc listener_port_(port), port 51 tools/android/forwarder2/device_listener.h int port, port 65 tools/android/forwarder2/device_listener.h int port, port 229 tools/android/forwarder2/host_forwarder_main.cc int port = it->second; port 230 tools/android/forwarder2/host_forwarder_main.cc const std::string prefix = base::StringPrintf("%d:", port); port 246 tools/android/forwarder2/host_forwarder_main.cc port); port 252 tools/android/forwarder2/host_forwarder_main.cc port); port 257 tools/android/forwarder2/host_forwarder_main.cc LOG(INFO) << "Device " << device_serial << " port " << port << " unmap " port 273 tools/android/forwarder2/host_forwarder_main.cc const int port = bind_socket.GetPort(); port 280 tools/android/forwarder2/host_forwarder_main.cc port); port 285 tools/android/forwarder2/host_forwarder_main.cc device_serial_to_adb_port_map_[device_serial] = port; port 286 tools/android/forwarder2/host_forwarder_main.cc return port; port 43 tools/android/forwarder2/socket.cc bool Socket::BindTcp(const std::string& host, int port) { port 45 tools/android/forwarder2/socket.cc if (!InitTcpSocket(host, port) || !BindAndListen()) { port 61 tools/android/forwarder2/socket.cc bool Socket::ConnectTcp(const std::string& host, int port) { port 63 tools/android/forwarder2/socket.cc if (!InitTcpSocket(host, port) || !Connect()) { port 149 tools/android/forwarder2/socket.cc bool Socket::InitTcpSocket(const std::string& host, int port) { port 150 tools/android/forwarder2/socket.cc port_ = port; port 29 tools/android/forwarder2/socket.h bool BindTcp(const std::string& host, int port); port 31 tools/android/forwarder2/socket.h bool ConnectTcp(const std::string& host, int port); port 116 tools/android/forwarder2/socket.h bool InitTcpSocket(const std::string& host, int port); port 918 tools/ipc_fuzzer/mutate/generate.cc uint16 port; port 921 tools/ipc_fuzzer/mutate/generate.cc if (!GenerateParam(&port, generator)) port 924 tools/ipc_fuzzer/mutate/generate.cc p->set_port(port); port 933 tools/ipc_fuzzer/mutate/generate.cc int port; port 936 tools/ipc_fuzzer/mutate/generate.cc if (!GenerateParam(&port, generator)) port 938 tools/ipc_fuzzer/mutate/generate.cc net::IPEndPoint ip_endpoint(address, port); port 14 ui/gl/io_surface_support_mac.cc typedef CFTypeRef (*IOSurfaceLookupFromMachPortProcPtr)(mach_port_t port); port 56 ui/gl/io_surface_support_mac.cc virtual CFTypeRef IOSurfaceLookupFromMachPort(mach_port_t port) OVERRIDE; port 161 ui/gl/io_surface_support_mac.cc CFTypeRef IOSurfaceSupportImpl::IOSurfaceLookupFromMachPort(mach_port_t port) { port 162 ui/gl/io_surface_support_mac.cc return io_surface_lookup_from_mach_port_(port); port 49 ui/gl/io_surface_support_mac.h virtual CFTypeRef IOSurfaceLookupFromMachPort(mach_port_t port) = 0; port 154 url/gurl.cc DCHECK(test_url.parsed_.port == parsed_.port); port 380 url/gurl.cc if (parsed_.port.is_nonempty()) port 381 url/gurl.cc return url_parse::ParsePort(spec_.data(), parsed_.port); port 265 url/gurl.h std::string port() const { // Returns -1 if "default" port 266 url/gurl.h return ComponentString(parsed_.port); port 296 url/gurl.h return parsed_.port.len >= 0; port 83 url/gurl_unittest.cc EXPECT_EQ("99", url.port()); port 99 url/gurl_unittest.cc EXPECT_EQ("", url.port()); port 117 url/gurl_unittest.cc EXPECT_EQ("99", url2.port()); port 132 url/gurl_unittest.cc EXPECT_EQ("", invalid2.port()); port 151 url/gurl_unittest.cc EXPECT_EQ("99", url2.port()); port 167 url/gurl_unittest.cc EXPECT_EQ("", invalid2.port()); port 192 url/gurl_unittest.cc EXPECT_EQ("", url2.port()); port 204 url/gurl_unittest.cc EXPECT_EQ("99", inner->port()); port 221 url/gurl_unittest.cc EXPECT_EQ("foo", url.port()); port 338 url/gurl_unittest.cc const char* port; port 361 url/gurl_unittest.cc SetupReplacement(&GURL::Replacements::SetPort, &repl, cur.port); port 311 url/third_party/mozilla/url_parse.cc &parsed->host, &parsed->port); port 346 url/third_party/mozilla/url_parse.cc parsed->port.reset(); port 420 url/third_party/mozilla/url_parse.cc inner_parsed.port.begin += inner_start; port 466 url/third_party/mozilla/url_parse.cc parsed->port.reset(); port 516 url/third_party/mozilla/url_parse.cc parsed->port.reset(); port 610 url/third_party/mozilla/url_parse.cc int port = atoi(digits); port 611 url/third_party/mozilla/url_parse.cc if (port > 65535) port 613 url/third_party/mozilla/url_parse.cc return port; port 703 url/third_party/mozilla/url_parse.cc port(other.port), port 718 url/third_party/mozilla/url_parse.cc port = other.port; port 769 url/third_party/mozilla/url_parse.cc if (port.is_valid()) { port 771 url/third_party/mozilla/url_parse.cc return port.begin - 1; // Back over delimiter. port 773 url/third_party/mozilla/url_parse.cc return port.begin; // Don't want delimiter counted. port 774 url/third_party/mozilla/url_parse.cc cur = port.end(); port 870 url/third_party/mozilla/url_parse.cc int ParsePort(const char* url, const Component& port) { port 871 url/third_party/mozilla/url_parse.cc return DoParsePort(url, port); port 874 url/third_party/mozilla/url_parse.cc int ParsePort(const base::char16* url, const Component& port) { port 875 url/third_party/mozilla/url_parse.cc return DoParsePort(url, port); port 160 url/third_party/mozilla/url_parse.h Component port; port 326 url/third_party/mozilla/url_parse.h URL_EXPORT int ParsePort(const char* url, const Component& port); port 327 url/third_party/mozilla/url_parse.h URL_EXPORT int ParsePort(const base::char16* url, const Component& port); port 409 url/url_canon.h const url_parse::Component& port, port 414 url/url_canon.h const url_parse::Component& port, port 600 url/url_canon.h port(NULL), port 613 url/url_canon.h port(default_value), port 623 url/url_canon.h const CHAR* port; port 688 url/url_canon.h sources_.port = s; port 689 url/url_canon.h components_.port = comp; port 692 url/url_canon.h sources_.port = Placeholder(); port 693 url/url_canon.h components_.port = url_parse::Component(); port 695 url/url_canon.h bool IsPortOverridden() const { return sources_.port != NULL; } port 188 url/url_canon_etc.cc inline void WritePortInt(char* output, int output_len, int port) { port 189 url/url_canon_etc.cc _itoa_s(port, output, output_len, 10); port 195 url/url_canon_etc.cc const url_parse::Component& port, port 199 url/url_canon_etc.cc int port_num = url_parse::ParsePort(spec, port); port 211 url/url_canon_etc.cc AppendInvalidNarrowString(spec, port.begin, port.end(), output); port 336 url/url_canon_etc.cc const url_parse::Component& port, port 340 url/url_canon_etc.cc return DoPort<char, unsigned char>(spec, port, port 346 url/url_canon_etc.cc const url_parse::Component& port, port 350 url/url_canon_etc.cc return DoPort<base::char16, base::char16>(spec, port, default_port_for_scheme, port 31 url/url_canon_filesystemurl.cc new_parsed->port = url_parse::Component(); port 97 url/url_canon_fileurl.cc new_parsed->port = url_parse::Component(); port 303 url/url_canon_internal.cc DoOverrideComponent(repl_source.port, repl_parsed.port, port 304 url/url_canon_internal.cc &source->port, &parsed->port); port 337 url/url_canon_internal.cc repl_source.port, repl_parsed.port, port 338 url/url_canon_internal.cc utf8_buffer, &parsed->port); port 356 url/url_canon_internal.cc if (repl_source.port) source->port = utf8_buffer->data(); port 87 url/url_canon_internal_file.h new_parsed->port = ParsedURL::Component(0, -1); port 27 url/url_canon_mailtourl.cc new_parsed->port = url_parse::Component(); port 63 url/url_canon_pathurl.cc new_parsed->port.reset(); port 394 url/url_canon_relative.cc replacements.SetPort(relative_url, relative_parsed.port); port 28 url/url_canon_stdurl.cc parsed.host.is_nonempty() || parsed.port.is_valid()) { port 54 url/url_canon_stdurl.cc success &= CanonicalizePort(source.port, parsed.port, default_port, port 55 url/url_canon_stdurl.cc output, &new_parsed->port); port 62 url/url_canon_stdurl.cc new_parsed->port.reset(); port 79 url/url_canon_unittest.cc const char* port; port 1454 url/url_canon_unittest.cc SetupReplComp(&R::SetPort, &R::ClearPort, &r, cur.port); port 1529 url/url_canon_unittest.cc SetupReplComp(&R::SetPort, &R::ClearPort, &r, cur.port); port 1580 url/url_canon_unittest.cc SetupReplComp(&R::SetPort, &R::ClearPort, &r, cur.port); port 1620 url/url_canon_unittest.cc SetupReplComp(&R::SetPort, &R::ClearPort, &r, cur.port); port 1672 url/url_canon_unittest.cc SetupReplComp(&R::SetPort, &R::ClearPort, &r, cur.port); port 2000 url/url_canon_unittest.cc a.port.begin == b.port.begin && a.port.len == b.port.len && port 123 url/url_parse_file.cc parsed->port.reset(); port 59 url/url_parse_unittest.cc int port; port 325 url/url_parse_unittest.cc int port = url_parse::ParsePort(url, parsed.port); port 331 url/url_parse_unittest.cc EXPECT_EQ(cases[i].port, port); port 370 url/url_parse_unittest.cc ExpectInvalidComponent(parsed.port); port 459 url/url_parse_unittest.cc int port = url_parse::ParsePort(url, parsed.port); port 477 url/url_parse_unittest.cc EXPECT_EQ(file_cases[i].port, port) port 478 url/url_parse_unittest.cc << " for case #" << i << " [ " << url << "] " << port; port 623 url/url_parse_unittest.cc int port = url_parse::ParsePort(url, parsed.port); port 628 url/url_parse_unittest.cc EXPECT_EQ(url_parse::PORT_UNSPECIFIED, port); port 633 url/url_parse_unittest.cc ExpectInvalidComponent(parsed.port); port 669 url/url_parse_unittest.cc int port = url_parse::ParsePort(url, parsed.inner_parsed()->port); port 670 url/url_parse_unittest.cc EXPECT_EQ(parsecase->inner_port, port); port 685 url/url_parse_unittest.cc ExpectInvalidComponent(parsed.port); port 41 webkit/common/database/database_identifier.cc int port = origin.IntPort(); port 42 webkit/common/database/database_identifier.cc if (port == url_parse::PORT_INVALID) port 47 webkit/common/database/database_identifier.cc if (port == url_parse::PORT_UNSPECIFIED) port 48 webkit/common/database/database_identifier.cc port = 0; port 52 webkit/common/database/database_identifier.cc port, port 82 webkit/common/database/database_identifier.cc int port = 0; port 83 webkit/common/database/database_identifier.cc if (!base::StringToInt(port_str, &port) || port < 0 || port >= 1 << 16) port 97 webkit/common/database/database_identifier.cc return DatabaseIdentifier(scheme, hostname, port, false /* unique */, false); port 108 webkit/common/database/database_identifier.cc int port, port 113 webkit/common/database/database_identifier.cc port_(port), port 34 webkit/common/database/database_identifier.h int port() const { return port_; } port 41 webkit/common/database/database_identifier.h int port, port 211 webkit/common/database/database_identifier_unittest.cc EXPECT_EQ(valid_cases[i].expected_port, identifier.port())