port_ 10 base/mac/scoped_mach_port.cc ScopedMachPort::ScopedMachPort(mach_port_t port) : port_(port) { port_ 18 base/mac/scoped_mach_port.cc if (port_ != MACH_PORT_NULL) { port_ 19 base/mac/scoped_mach_port.cc mach_port_deallocate(mach_task_self(), port_); port_ 21 base/mac/scoped_mach_port.cc port_ = port; port_ 28 base/mac/scoped_mach_port.h return port_; port_ 32 base/mac/scoped_mach_port.h return port_; port_ 36 base/mac/scoped_mach_port.h mach_port_t port_; port_ 434 base/message_loop/message_pump_win.cc port_.Set(CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, NULL, 1)); port_ 435 base/message_loop/message_pump_win.cc DCHECK(port_.IsValid()); port_ 443 base/message_loop/message_pump_win.cc BOOL ret = PostQueuedCompletionStatus(port_, 0, port_ 465 base/message_loop/message_pump_win.cc HANDLE port = CreateIoCompletionPort(file_handle, port_, key, 1); port_ 477 base/message_loop/message_pump_win.cc info.CompletionPort = port_; port_ 577 base/message_loop/message_pump_win.cc if (!GetQueuedCompletionStatus(port_.Get(), &item->bytes_transfered, &key, port_ 346 base/message_loop/message_pump_win.h win::ScopedHandle port_; port_ 320 chrome/browser/devtools/adb_client_socket.cc net::AddressList::CreateFromIPAddress(ip_number, port_); port_ 63 chrome/browser/devtools/adb_client_socket.h int port_; port_ 36 chrome/browser/extensions/api/serial/serial_connection.cc port_(port), port_ 167 chrome/browser/extensions/api/serial/serial_connection.cc DCHECK(IsStringASCII(port_)); port_ 169 chrome/browser/extensions/api/serial/serial_connection.cc base::FilePath::FromUTF8Unsafe(MaybeFixUpPortName(port_))); port_ 186 chrome/browser/extensions/api/serial/serial_connection.h std::string port_; port_ 97 chrome/browser/media/wv_test_license_server_config.cc command_line->AppendArg(base::StringPrintf("--port=%u", port_)); port_ 113 chrome/browser/media/wv_test_license_server_config.cc port_ = try_port; port_ 131 chrome/browser/media/wv_test_license_server_config.cc return base::StringPrintf("http://localhost:%u/license_server", port_); port_ 24 chrome/browser/media/wv_test_license_server_config.h uint16 port_; port_ 118 chrome/browser/policy/url_blacklist_manager_unittest.cc match_subdomains_(match_subdomains), port_(port), path_(path) {} port_ 122 chrome/browser/policy/url_blacklist_manager_unittest.cc match_subdomains_(params.match_subdomains_), port_(params.port_), port_ 130 chrome/browser/policy/url_blacklist_manager_unittest.cc port_ = params.port_; port_ 139 chrome/browser/policy/url_blacklist_manager_unittest.cc uint16 port() const { return port_; } port_ 147 chrome/browser/policy/url_blacklist_manager_unittest.cc uint16 port_; port_ 18 chrome/common/multi_process_lock_mac.cc if (port_ != NULL) { port_ 24 chrome/common/multi_process_lock_mac.cc if (port_ != NULL) { port_ 37 chrome/common/multi_process_lock_mac.cc port_.reset(CFMessagePortCreateLocal(NULL, cf_name, NULL, NULL, NULL)); port_ 38 chrome/common/multi_process_lock_mac.cc return port_ != NULL; port_ 42 chrome/common/multi_process_lock_mac.cc if (port_ == NULL) { port_ 46 chrome/common/multi_process_lock_mac.cc port_.reset(); port_ 51 chrome/common/multi_process_lock_mac.cc base::ScopedCFTypeRef<CFMessagePortRef> port_; port_ 231 chrome/test/chromedriver/chrome/adb_impl.cc base::Bind(&ExecuteCommandOnIOThread, command, response_buffer, port_)); port_ 64 chrome/test/chromedriver/chrome/adb_impl.h int port_; port_ 373 chrome/test/chromedriver/net/adb_client_socket.cc net::AddressList::CreateFromIPAddress(ip_number, port_); port_ 66 chrome/test/chromedriver/net/adb_client_socket.h int port_; port_ 64 chrome/test/chromedriver/net/net_util.cc NetAddress::NetAddress() : port_(-1) {} port_ 74 chrome/test/chromedriver/net/net_util.cc return port_ >= 0 && port_ < (1 << 16); port_ 78 chrome/test/chromedriver/net/net_util.cc return host_ + base::StringPrintf(":%d", port_); port_ 86 chrome/test/chromedriver/net/net_util.cc return port_; port_ 29 chrome/test/chromedriver/net/net_util.h int port_; port_ 35 chrome/test/chromedriver/net/port_server.cc LOG(ERROR) << "Port leaked: " << port_; port_ 27 chrome/test/chromedriver/net/port_server.h int port_; port_ 96 cloud_print/gcp20/prototype/privet_http_server.cc : port_(0), port_ 204 cloud_print/gcp20/prototype/privet_http_server.h uint16 port_; port_ 188 content/browser/devtools/tethering_handler.cc port_ = port; port_ 235 content/browser/devtools/tethering_handler.cc handler_->Accepted(port_, name); port_ 242 content/browser/devtools/tethering_handler.cc int port_; port_ 674 content/browser/gamepad/xbox_data_fetcher_mac.cc port_ = IONotificationPortCreate(kIOMasterPortDefault); port_ 675 content/browser/gamepad/xbox_data_fetcher_mac.cc if (!port_) port_ 677 content/browser/gamepad/xbox_data_fetcher_mac.cc source_ = IONotificationPortGetRunLoopSource(port_); port_ 721 content/browser/gamepad/xbox_data_fetcher_mac.cc ret = IOServiceAddMatchingNotification(port_, port_ 736 content/browser/gamepad/xbox_data_fetcher_mac.cc ret = IOServiceAddMatchingNotification(port_, port_ 757 content/browser/gamepad/xbox_data_fetcher_mac.cc if (port_) port_ 758 content/browser/gamepad/xbox_data_fetcher_mac.cc IONotificationPortDestroy(port_); port_ 759 content/browser/gamepad/xbox_data_fetcher_mac.cc port_ = NULL; port_ 179 content/browser/gamepad/xbox_data_fetcher_mac.h IONotificationPortRef port_; port_ 185 content/renderer/p2p/ipc_socket_factory.cc int port_; // Port number in |addr| from Start() method. port_ 511 content/renderer/p2p/ipc_socket_factory.cc port_ = addr.port(); port_ 528 content/renderer/p2p/ipc_socket_factory.cc addr->SetPort(port_); port_ 178 extensions/browser/api/socket/socket_api.cc : socket_id_(0), hostname_(), port_(0), socket_(NULL) {} port_ 185 extensions/browser/api/socket/socket_api.cc EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(2, &port_)); port_ 212 extensions/browser/api/socket/socket_api.cc SocketPermission::CheckParam param(operation_type, hostname_, port_); port_ 235 extensions/browser/api/socket/socket_api.cc port_, port_ 261 extensions/browser/api/socket/socket_api.cc EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(2, &port_)); port_ 277 extensions/browser/api/socket/socket_api.cc SocketPermissionRequest::UDP_BIND, address_, port_); port_ 290 extensions/browser/api/socket/socket_api.cc result = socket->Bind(address_, port_); port_ 484 extensions/browser/api/socket/socket_api.cc port_(0), port_ 494 extensions/browser/api/socket/socket_api.cc EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(3, &port_)); port_ 512 extensions/browser/api/socket/socket_api.cc SocketPermissionRequest::UDP_SEND_TO, hostname_, port_); port_ 538 extensions/browser/api/socket/socket_api.cc port_, port_ 194 extensions/browser/api/socket/socket_api.h int port_; port_ 227 extensions/browser/api/socket/socket_api.h int port_; port_ 349 extensions/browser/api/socket/socket_api.h int port_; port_ 311 extensions/common/url_pattern.cc port_ = port; port_ 439 extensions/common/url_pattern.cc if (port_ != "*") { port_ 441 extensions/common/url_pattern.cc spec += port_; port_ 506 extensions/common/url_pattern.cc return port_ == "*" || port_ == port; port_ 155 extensions/common/url_pattern.h const std::string& port() const { return port_; } port_ 230 extensions/common/url_pattern.h std::string port_; port_ 32 mojo/system/message_pipe_dispatcher.cc : port_(kInvalidPort) { port_ 41 mojo/system/message_pipe_dispatcher.cc port_ = port; port_ 99 mojo/system/message_pipe_dispatcher.cc return port_; port_ 104 mojo/system/message_pipe_dispatcher.cc message_pipe_->CancelAllWaiters(port_); port_ 109 mojo/system/message_pipe_dispatcher.cc message_pipe_->Close(port_); port_ 111 mojo/system/message_pipe_dispatcher.cc port_ = kInvalidPort; port_ 119 mojo/system/message_pipe_dispatcher.cc rv->Init(message_pipe_, port_); port_ 121 mojo/system/message_pipe_dispatcher.cc port_ = kInvalidPort; port_ 140 mojo/system/message_pipe_dispatcher.cc return message_pipe_->WriteMessage(port_, bytes, num_bytes, transports, port_ 159 mojo/system/message_pipe_dispatcher.cc return message_pipe_->ReadMessage(port_, bytes, num_bytes, dispatchers, port_ 167 mojo/system/message_pipe_dispatcher.cc return message_pipe_->AddWaiter(port_, waiter, flags, wake_result); port_ 172 mojo/system/message_pipe_dispatcher.cc message_pipe_->RemoveWaiter(port_, waiter); port_ 187 mojo/system/message_pipe_dispatcher.cc message_pipe_->ConvertLocalToProxy(port_); port_ 191 mojo/system/message_pipe_dispatcher.cc channel->AttachMessagePipeEndpoint(message_pipe_, port_); port_ 203 mojo/system/message_pipe_dispatcher.cc port_ = kInvalidPort; port_ 87 mojo/system/message_pipe_dispatcher.h unsigned port_; port_ 17 net/base/host_port_pair.cc HostPortPair::HostPortPair() : port_(0) {} port_ 47 net/base/host_port_pair.cc return base::StringPrintf("%s:%u", HostForURL().c_str(), port_); port_ 37 net/base/host_port_pair.h if (port_ != other.port_) port_ 38 net/base/host_port_pair.h return port_ < other.port_; port_ 44 net/base/host_port_pair.h return host_ == other.host_ && port_ == other.port_; port_ 48 net/base/host_port_pair.h return host_.empty() && port_ == 0; port_ 56 net/base/host_port_pair.h return port_; port_ 64 net/base/host_port_pair.h port_ = in_port; port_ 78 net/base/host_port_pair.h uint16 port_; port_ 24 net/base/ip_endpoint.cc IPEndPoint::IPEndPoint() : port_(0) {} port_ 34 net/base/ip_endpoint.cc port_ = endpoint.port_; port_ 65 net/base/ip_endpoint.cc addr->sin_port = base::HostToNet16(port_); port_ 77 net/base/ip_endpoint.cc addr6->sin6_port = base::HostToNet16(port_); port_ 100 net/base/ip_endpoint.cc port_ = port; port_ 105 net/base/ip_endpoint.cc return IPAddressToStringWithPort(address_, port_); port_ 120 net/base/ip_endpoint.cc return port_ < that.port_; port_ 124 net/base/ip_endpoint.cc return address_ == that.address_ && port_ == that.port_; port_ 31 net/base/ip_endpoint.h int port() const { return port_; } port_ 69 net/base/ip_endpoint.h int port_; port_ 1934 net/base/net_util.cc ScopedPortException::ScopedPortException(int port) : port_(port) { port_ 1940 net/base/net_util.cc g_explicitly_allowed_ports.Get().find(port_); port_ 435 net/base/net_util.h int port_; port_ 36 net/dns/record_rdata.cc reader.ReadU16(&rdata->port_); port_ 53 net/dns/record_rdata.cc port_ == srv_other->port_ && port_ 56 net/dns/record_rdata.h uint16 port() const { return port_; } port_ 65 net/dns/record_rdata.h uint16 port_; port_ 122 net/socket/tcp_listen_socket.cc return TCPListenSocket::CreateAndListen(ip_, port_, delegate) port_ 55 net/socket/tcp_listen_socket.h const int port_; port_ 139 net/spdy/spdy_network_transaction_unittest.cc port_ = 80; port_ 142 net/spdy/spdy_network_transaction_unittest.cc port_ = 443; port_ 169 net/spdy/spdy_network_transaction_unittest.cc port_ = 80; port_ 261 net/spdy/spdy_network_transaction_unittest.cc EXPECT_EQ(port_, response->socket_address.port()); port_ 374 net/spdy/spdy_network_transaction_unittest.cc int port() const { return port_; } port_ 399 net/spdy/spdy_network_transaction_unittest.cc int port_; port_ 107 net/test/embedded_test_server/embedded_test_server.cc : port_(-1), port_ 182 net/test/embedded_test_server/embedded_test_server.cc TCPListenSocket::CreateAndBindAnyPort("127.0.0.1", &port_); port_ 128 net/test/embedded_test_server/embedded_test_server.h int port() const { return port_; } port_ 180 net/test/embedded_test_server/embedded_test_server.h int port_; port_ 104 net/test/spawned_test_server/spawner_communicator.cc port_(port), port_ 124 net/test/spawned_test_server/spawner_communicator.cc allowed_port_.reset(new ScopedPortException(port_)); port_ 176 net/test/spawned_test_server/spawner_communicator.cc GenerateSpawnerCommandURL(command, port_), DEFAULT_PRIORITY, this, NULL); port_ 125 net/test/spawned_test_server/spawner_communicator.h const uint16 port_; port_ 39 net/tools/quic/quic_server.cc : port_(0), port_ 59 net/tools/quic/quic_server.cc : port_(0), port_ 92 net/tools/quic/quic_server.cc port_ = address.port(); port_ 162 net/tools/quic/quic_server.cc if (port_ == 0) { port_ 170 net/tools/quic/quic_server.cc port_ = server_address.port(); port_ 171 net/tools/quic/quic_server.cc DVLOG(1) << "Kernel assigned port is " << port_; port_ 208 net/tools/quic/quic_server.cc fd_, port_, dispatcher_.get(), port_ 82 net/tools/quic/quic_server.h int port() { return port_; } port_ 96 net/tools/quic/quic_server.h int port_; port_ 28 net/tools/quic/test_tools/server_thread.cc port_(0), port_ 45 net/tools/quic/test_tools/server_thread.cc port_ = server_.port(); port_ 70 net/tools/quic/test_tools/server_thread.cc int rc = port_; port_ 71 net/tools/quic/test_tools/server_thread.h int port_; port_ 82 ppapi/tests/extensions/socket/test_socket.cc port_ = atoi(parts[2].c_str()); port_ 84 ppapi/tests/extensions/socket/test_socket.cc test_type_.c_str(), address_.c_str(), port_); port_ 117 ppapi/tests/extensions/socket/test_socket.cc socket_id, address_, port_, Optional<int32_t>(), port_ 142 ppapi/tests/extensions/socket/test_socket.cc client_socket_id, address_, port_, callback.GetCallback())); port_ 428 ppapi/tests/extensions/socket/test_socket.cc socket_id, address_, port_, callback.GetCallback())); port_ 468 ppapi/tests/extensions/socket/test_socket.cc *socket_info.peer_port() != port_) { port_ 552 ppapi/tests/extensions/socket/test_socket.cc socket_id, input_array_buffer, address_, port_, port_ 634 ppapi/tests/extensions/socket/test_socket.cc int32_t port_; port_ 30 ppapi/tests/test_host_resolver.cc GetLocalHostPort(instance_->pp_instance(), &host_, &port_); port_ 117 ppapi/tests/test_host_resolver.cc ASSERT_SUBTEST_SUCCESS(SyncResolve(&host_resolver, host_, port_, hint)); port_ 141 ppapi/tests/test_host_resolver.cc port_, hint)); port_ 52 ppapi/tests/test_host_resolver.h uint16_t port_; port_ 32 ppapi/tests/test_host_resolver_private.cc GetLocalHostPort(instance_->pp_instance(), &host_, &port_); port_ 140 ppapi/tests/test_host_resolver_private.cc ASSERT_SUBTEST_SUCCESS(SyncResolve(&host_resolver, host_, port_, hint)); port_ 163 ppapi/tests/test_host_resolver_private.cc port_)); port_ 58 ppapi/tests/test_host_resolver_private.h uint16_t port_; port_ 26 ppapi/tests/test_host_resolver_private_disallowed.cc GetLocalHostPort(instance_->pp_instance(), &host_, &port_); port_ 46 ppapi/tests/test_host_resolver_private_disallowed.cc host_resolver.Resolve(host_, port_, hint, callback.GetCallback())); port_ 25 ppapi/tests/test_host_resolver_private_disallowed.h uint16_t port_; port_ 34 ppapi/tests/test_net_address_private_untrusted.cc GetLocalHostPort(instance_->pp_instance(), &host_, &port_); port_ 67 ppapi/tests/test_net_address_private_untrusted.cc int32_t rv = Connect(&socket, host_, port_); port_ 84 ppapi/tests/test_net_address_private_untrusted.cc int32_t rv = Connect(&socket, host_, port_); port_ 101 ppapi/tests/test_net_address_private_untrusted.cc int32_t rv = Connect(&socket, host_, port_); port_ 113 ppapi/tests/test_net_address_private_untrusted.cc os << ':' << port_; port_ 122 ppapi/tests/test_net_address_private_untrusted.cc int32_t rv = Connect(&socket, host_, port_); port_ 129 ppapi/tests/test_net_address_private_untrusted.cc uint16_t nport = port_; port_ 159 ppapi/tests/test_net_address_private_untrusted.cc int32_t rv = Connect(&socket, host_, port_); port_ 175 ppapi/tests/test_net_address_private_untrusted.cc int32_t rv = Connect(&socket, host_, port_); port_ 182 ppapi/tests/test_net_address_private_untrusted.cc ASSERT_EQ(NetAddressPrivate::GetPort(remote_address), port_); port_ 190 ppapi/tests/test_net_address_private_untrusted.cc int32_t rv = Connect(&socket, host_, port_); port_ 41 ppapi/tests/test_net_address_private_untrusted.h uint16_t port_; port_ 44 ppapi/tests/test_tcp_server_socket_private.cc &host_, &port_); port_ 66 ppapi/tests/test_tcp_server_socket_private.cc socket.Connect(host_.c_str(), port_, callback.GetCallback())); port_ 51 ppapi/tests/test_tcp_server_socket_private.h uint16_t port_; port_ 42 ppapi/tests/test_tcp_socket_private.cc if (!GetLocalHostPort(instance_->pp_instance(), &host_, &port_)) port_ 64 ppapi/tests/test_tcp_socket_private.cc cb.WaitForResult(socket.Connect(host_.c_str(), port_, cb.GetCallback())); port_ 82 ppapi/tests/test_tcp_socket_private.cc cb.WaitForResult(socket.Connect(host_.c_str(), port_, cb.GetCallback())); port_ 130 ppapi/tests/test_tcp_socket_private.cc cb.WaitForResult(socket.Connect(host_.c_str(), port_, cb.GetCallback())); port_ 166 ppapi/tests/test_tcp_socket_private.cc cb.WaitForResult(socket.Connect(host_.c_str(), port_, cb.GetCallback())); port_ 192 ppapi/tests/test_tcp_socket_private.cc cb.WaitForResult(socket.Connect(host_.c_str(), port_, cb.GetCallback())); port_ 38 ppapi/tests/test_tcp_socket_private.h uint16_t port_; port_ 28 ppapi/tests/test_tcp_socket_private_trusted.cc if (!GetLocalHostPort(instance_->pp_instance(), &host_, &port_)) port_ 28 ppapi/tests/test_tcp_socket_private_trusted.h uint16_t port_; port_ 44 ppapi/tests/test_udp_socket_private.cc &host_, &port_); port_ 68 ppapi/tests/test_udp_socket_private.cc socket.Connect(host_.c_str(), port_, callback.GetCallback())); port_ 46 ppapi/tests/test_udp_socket_private.h uint16_t port_; port_ 72 tools/android/forwarder2/socket.cc port_(0), port_ 150 tools/android/forwarder2/socket.cc port_ = port; port_ 161 tools/android/forwarder2/socket.cc addr_.addr4.sin_port = htons(port_); port_ 165 tools/android/forwarder2/socket.cc addr_.addr6.sin6_port = htons(port_); port_ 180 tools/android/forwarder2/socket.cc if (port_ == 0 && FamilyIsTCP(family_)) { port_ 201 tools/android/forwarder2/socket.cc port_ = ntohs(*port_ptr); port_ 290 tools/android/forwarder2/socket.cc return port_; port_ 130 tools/android/forwarder2/socket.h int port_; port_ 101 webkit/common/database/database_identifier.cc : port_(0), port_ 113 webkit/common/database/database_identifier.cc port_(port), port_ 125 webkit/common/database/database_identifier.cc return scheme_ + "_" + hostname_ + "_" + base::IntToString(port_); port_ 133 webkit/common/database/database_identifier.cc if (port_ == 0) port_ 135 webkit/common/database/database_identifier.cc return GURL(scheme_ + "://" + hostname_ + ":" + base::IntToString(port_)); port_ 34 webkit/common/database/database_identifier.h int port() const { return port_; } port_ 47 webkit/common/database/database_identifier.h int port_;