Home
last modified time | relevance | path

Searched refs:port_ (Results 1 – 25 of 40) sorted by relevance

12

/external/chromium/third_party/libjingle/source/talk/p2p/base/
Drawtransportchannel.cc65 port_(NULL), in RawTransportChannel()
78 if (port_ == NULL) in SendPacket()
82 return port_->SendTo(data, size, remote_address_, true); in SendPacket()
87 if (port_ == NULL) in SetOption()
89 return port_->SetOption(opt, value); in SetOption()
93 return (port_ != NULL) ? port_->GetError() : 0; in GetError()
124 port_ = NULL; in Reset()
134 if (port_ != NULL) in OnCandidate()
143 if (port_ != NULL) in OnRemoteAddress()
225 ASSERT(port_ == NULL); in SetPort()
[all …]
Dstunport.cc48 : port_(port), keep_alive_(keep_alive), server_addr_(addr) { in StunPortBindingRequest()
70 port_->AddAddress(addr, "udp", true); in OnResponse()
76 port_->requests_.SendDelayed( in OnResponse()
77 new StunPortBindingRequest(port_, true, server_addr_), in OnResponse()
93 port_->SignalAddressError(port_); in OnErrorResponse()
97 port_->requests_.SendDelayed( in OnErrorResponse()
98 new StunPortBindingRequest(port_, true, server_addr_), in OnErrorResponse()
105 << port_->socket_->GetLocalAddress(NULL).ToString() in OnTimeout()
106 << " (" << port_->network()->name() << ")"; in OnTimeout()
108 port_->SignalAddressError(port_); in OnTimeout()
[all …]
Drelayport.cc98 RelayPort* port() { return port_; } in port()
145 RelayPort* port_; member in cricket::RelayEntry
420 : port_(port), ext_addr_(ext_addr), in RelayEntry()
457 socket = port_->socket_factory()->CreateUdpSocket( in Connect()
458 talk_base::SocketAddress(port_->ip_, 0), in Connect()
459 port_->min_port_, port_->max_port_); in Connect()
461 socket = port_->socket_factory()->CreateClientTcpSocket( in Connect()
462 talk_base::SocketAddress(port_->ip_, 0), ra->address, in Connect()
463 port_->proxy(), port_->user_agent(), ra->proto == PROTO_SSLTCP); in Connect()
481 for (size_t i = 0; i < port_->options().size(); ++i) { in Connect()
[all …]
Dport.cc511 : port_(port), local_candidate_index_(index), in Connection()
526 if (local_candidate_index_ < port_->candidates().size()) in local_candidate()
527 return port_->candidates()[local_candidate_index_]; in local_candidate()
563 if (port_->SendTo(data, size, remote_candidate_.address(), false) < 0) { in OnSendStunPacket()
572 if (!port_->GetStunMessage(data, size, addr, &msg, &remote_username)) { in OnReadPacket()
602 port_->SendBindingErrorResponse(msg, addr, STUN_ERROR_BAD_REQUEST, in OnReadPacket()
620 port_->SendBindingResponse(msg, addr); in OnReadPacket()
846 port_->thread()->Post(this, MSG_DELETE); in CheckTimeout()
884 int sent = port_->SendTo(data, size, remote_candidate_.address(), true); in Send()
887 error_ = port_->GetError(); in Send()
Dstun.h207 uint16 port() const { return port_; } in port()
212 void SetPort(uint16 port) { port_ = port; } in SetPort()
219 uint16 port_; variable
Dport.h279 Port* port() { return port_; } in port()
280 const Port* port() const { return port_; } in port()
385 Port* port_; variable
/external/chromium/net/base/
Dhost_port_pair.h32 if (port_ != other.port_)
33 return port_ < other.port_;
39 return host_ == other.host_ && port_ == other.port_; in Equals()
47 return port_; in port()
55 port_ = in_port; in set_port()
69 uint16 port_; variable
Dip_endpoint.cc17 IPEndPoint::IPEndPoint() : port_(0) {} in IPEndPoint()
23 port_(port) {} in IPEndPoint()
27 port_ = endpoint.port_; in IPEndPoint()
57 addr->sin_port = htons(port_); in ToSockAddr()
69 addr6->sin6_port = htons(port_); in ToSockAddr()
88 port_ = ntohs(addr->sin_port); in FromSockAddr()
96 port_ = ntohs(addr->sin6_port); in FromSockAddr()
127 return port_ < that.port_; in operator <()
131 return address_ == that.address_ && port_ == that.port_; in operator ==()
Dhost_port_pair.cc15 HostPortPair::HostPortPair() : port_(0) {} in HostPortPair()
17 : host_(in_host), port_(in_port) {} in HostPortPair()
31 return base::StringPrintf("%s:%u", HostForURL().c_str(), port_); in ToString()
Dip_endpoint.h27 int port() const { return port_; } in port()
57 int port_; variable
/external/chromium/third_party/libjingle/source/talk/base/
Dsocketaddress.cc81 port_ = 0; in Clear()
85 return hostname_.empty() && (0 == ip_) && (0 == port_); in IsNil()
89 return (0 != ip_) && (0 != port_); in IsComplete()
95 port_ = addr.port_; in operator =()
115 port_ = port; in SetPort()
123 return port_; in port()
134 ost << port_; in PortAsString()
245 return port_ < addr.port_; in operator <()
253 return (port_ == addr.port_); in EqualPorts()
259 h ^= port_ | (port_ << 16); in Hash()
[all …]
Dhttpcommon-inl.h67 port_ = static_cast<uint16>(::strtoul(colon + 1, NULL, 10)); in do_set_address()
71 port_ = HttpDefaultPort(secure_); in do_set_address()
104 if (port_ != HttpDefaultPort(secure_)) { in do_get_address()
107 sprintfn(port, ARRAY_SIZE(port), format, port_); in do_get_address()
Dasynchttprequest.h65 int port() { return port_; } in port()
66 void set_port(int port) { port_ = port; } in set_port()
99 int port_; variable
Dhttprequest.h65 int port() { return port_; } in port()
66 void set_port(int port) { port_ = port; } in set_port()
94 int port_; variable
Dasynchttprequest.cc40 : firewall_(NULL), port_(80), secure_(false), in AsyncHttpRequest()
56 bool transparent_proxy = (port_ == 80) && in OnWorkStart()
62 client_.set_server(SocketAddress(host_, port_)); in OnWorkStart()
Dhttprequest.cc69 : firewall_(0), port_(80), secure_(false), in HttpRequest()
94 bool transparent_proxy = (port_ == 80) && ((proxy_.type == PROXY_HTTPS) || in Send()
102 SocketAddress server(host_, port_); in Send()
Dhttpcommon.h217 : host_(host), port_(port), secure_(HTTP_SECURE_PORT == port) in host_()
223 port_ = HTTP_DEFAULT_PORT; in clear()
253 void set_port(uint16 val) { port_ = val; } in set_port()
254 uint16 port() const { return port_; } in port()
287 uint16 port_; variable
/external/chromium/chrome/common/
Dmulti_process_lock_mac.cc16 if (port_ != NULL) { in ~MultiProcessLockMac()
22 if (port_ != NULL) { in TryLock()
35 port_.reset(CFMessagePortCreateLocal(NULL, cf_name, NULL, NULL, NULL)); in TryLock()
36 return port_ != NULL; in TryLock()
40 if (port_ == NULL) { in Unlock()
44 port_.reset(); in Unlock()
49 base::mac::ScopedCFTypeRef<CFMessagePortRef> port_; member in MultiProcessLockMac
/external/chromium/base/
Dmach_ipc_mac.mm192 &port_);
198 port_,
199 port_,
207 // to deallocate any rights here as |port_| is fully deallocated in the
209 NSPort *ns_port = [NSMachPort portWithMachPort:port_
222 &port_);
228 port_,
229 port_,
237 : port_(receive_port),
244 mach_port_deallocate(mach_task_self(), port_);
[all …]
Dmessage_pump_win.cc411 port_.Set(CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, NULL, 1)); in MessagePumpForIO()
412 DCHECK(port_.IsValid()); in MessagePumpForIO()
420 BOOL ret = PostQueuedCompletionStatus(port_, 0, in ScheduleWork()
436 HANDLE port = CreateIoCompletionPort(file_handle, port_, key, 1); in RegisterIOHandler()
529 if (!GetQueuedCompletionStatus(port_.Get(), &item->bytes_transfered, &key, in GetIOItem()
Dmach_ipc_mac.h280 mach_port_t GetPort() const { return port_; } in GetPort()
283 mach_port_t port_;
/external/v8/test/cctest/
Dtest-sockets.cc15 port_(port), in SocketListenerThread()
35 int port_; member in SocketListenerThread
51 ok = server_->Bind(port_); in Run()
/external/v8/src/
Dd8-debug.h57 : port_(port), in RemoteDebugger()
82 int port_; // Port used to connect to debugger V8. variable
Ddebug-agent.h49 name_(StrDup(name)), port_(port), in DebuggerAgent()
76 int port_; // Port to use for the agent. variable
/external/chromium/chrome/browser/debugger/
Ddevtools_protocol_handler.cc35 : port_(port), in DevToolsProtocolHandler()
55 "127.0.0.1", port_, this); in Init()

12