HomeSort by relevance Sort by last modified time
    Searched refs:Port (Results 1 - 25 of 72) sorted by null

1 2 3

  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
__init__.py 29 """Port-specific entrypoints for the layout tests test infrastructure."""
31 import builders # Why is this in port? namespace
33 from base import Port # It's possible we don't need to export this virtual baseclass outside the module.
base_unittest.py 45 from webkitpy.layout_tests.port import Port, Driver, DriverOutput
46 from webkitpy.layout_tests.port.test import add_unit_tests_to_mock_filesystem, TestPort
56 return Port(host, port_name or 'baseport', **kwargs)
59 port = self.make_port()
60 self.assertIsNotNone(port.default_child_processes())
63 output = "OUTPUT %s %s %s" % (Port._WDIFF_DEL, Port._WDIFF_ADD, Port._WDIFF_END)
69 port = self.make_port(
    [all...]
  /external/chromium/third_party/libjingle/source/talk/p2p/base/
p2ptransportchannel.h 45 #include "talk/p2p/base/port.h"
53 // Adds the port on which the candidate originated.
56 RemoteCandidate(const Candidate& c, Port* origin_port)
59 Port* origin_port() { return origin_port_; }
62 Port* origin_port_;
113 bool CreateConnections(const Candidate &remote_candidate, Port* origin_port,
115 bool CreateConnection(Port* port, const Candidate& remote_candidate,
116 Port* origin_port, bool readable);
118 Port* origin_port)
    [all...]
rawtransportchannel.h 46 class Port;
75 // port we should send to the other client. This will send
99 Port* port_;
103 // Called when the allocator creates another port.
104 void OnPortReady(PortAllocatorSession* session, Port* port);
110 // Called once we have chosen the port to use for communication with the
111 // other client. This will send its address and prepare the port for use.
112 void SetPort(Port* port);
    [all...]
port.h 76 class Port : public talk_base::MessageHandler, public sigslot::has_slots<> {
78 Port(talk_base::Thread* thread, const std::string& type,
81 virtual ~Port();
83 // The thread on which this port performs its I/O.
86 // The factory used to create the sockets of this port.
92 // Each port is identified by a name (for debugging purposes).
96 // In order to establish a connection to this Port (so that real data can be
111 // A value in [0,1] that indicates the preference for this port versus other
116 // Identifies the port type.
119 // Identifies network that this port was allocated on
279 Port* port() { return port_; } function in class:cricket::Connection
280 const Port* port() const { return port_; } function in class:cricket::Connection
    [all...]
p2ptransportchannel.cc 66 cricket::Port::CandidateOrigin GetOrigin(cricket::Port* port,
67 cricket::Port* origin_port) {
69 return cricket::Port::ORIGIN_MESSAGE;
70 else if (port == origin_port)
71 return cricket::Port::ORIGIN_THIS_PORT;
73 return cricket::Port::ORIGIN_OTHER_PORT;
80 ASSERT(a->local_candidate().preference() == a->port()->preference());
81 ASSERT(b->local_candidate().preference() == b->port()->preference())
    [all...]
udpport.cc 42 : Port(thread, LOCAL_PORT_TYPE, factory, network, ip, min_port, max_port),
113 Port::OnReadPacket(data, size, remote_addr);
port.cc 28 #include "talk/p2p/base/port.h"
102 // The delay before we begin checking if this port is useless.
127 Port::Port(talk_base::Thread* thread, const std::string& type,
144 LOG_J(LS_INFO, this) << "Port created";
147 Port::~Port() {
163 Connection* Port::GetConnection(const talk_base::SocketAddress& remote_addr) {
171 void Port::AddAddress(const talk_base::SocketAddress& address,
190 void Port::AddConnection(Connection* conn)
    [all...]
rawtransportchannel.cc 34 #include "talk/p2p/base/port.h"
86 // TODO: allow these to be set before we have a port
133 // We can write once we have a port and a remote address.
148 // Code to classify our NAT type and use the relay port if we are behind an
157 PortAllocatorSession* session, Port* port) {
160 if (port->type() == STUN_PORT_TYPE) {
161 stun_port_ = static_cast<StunPort*>(port);
167 } else if (port->type() == RELAY_PORT_TYPE) {
168 relay_port_ = static_cast<RelayPort*>(port);
    [all...]
udpport.h 33 #include "talk/p2p/base/port.h"
45 // Communicates using a local UDP port.
46 class UDPPort : public Port {
52 UDPPort* port = new UDPPort(thread, factory, network, local
54 if (!port->Init()) {
55 delete port;
56 port = NULL;
58 return port;
81 // Dispatches the given packet to the port or connection as appropriate.
portallocator.h 35 #include "talk/p2p/base/port.h"
39 // PortAllocator is responsible for allocating Port types for a given
40 // P2PSocket. It also handles port freeing.
42 // Clients can override this class to control port allocation, including
71 sigslot::signal2<PortAllocatorSession*, Port*> SignalPortReady;
105 // Gets/Sets the port range to use when choosing client ports.
relayport.h 36 #include "talk/p2p/base/port.h"
45 // Communicates using an allocated port on the relay server. For each
51 class RelayPort : public Port {
98 // Dispatches the given packet to the port or connection as appropriate.
  /external/ppp/pppd/plugins/radius/etc/
dictionary.compat 5 ATTRIBUTE Client-Port-Id 5 integer
11 ATTRIBUTE Login-Port 16 integer
13 ATTRIBUTE Port-Message 18 string
27 ATTRIBUTE NAS-Port 5 integer
31 ATTRIBUTE Client-Port-DNIS 30 string
dictionary 50 ATTRIBUTE NAS-Port-Id 5 integer
61 ATTRIBUTE Login-TCP-Port 16 integer
86 ATTRIBUTE NAS-Port-Type 61 integer
87 ATTRIBUTE Port-Limit 62 integer
102 ATTRIBUTE Add-Port-To-IP-Address 1037 integer
185 # NAS Port Types, available in 3.3.1 and later
187 VALUE NAS-Port-Type Async 0
188 VALUE NAS-Port-Type Sync 1
189 VALUE NAS-Port-Type ISDN 2
190 VALUE NAS-Port-Type ISDN-V120
    [all...]
  /external/chromium/third_party/libjingle/source/talk/p2p/client/
basicportallocator.h 70 // Returns the best (highest preference) phase that has produced a port that
79 // phase that the corresponding port was created in.
122 // Starts the process of getting the port configurations.
125 // Adds a port configuration that is now ready. Once we have one for each
139 void AddAllocatedPort(Port* port, AllocationSequence* seq, float pref,
141 void OnAddressReady(Port* port);
143 void OnPortDestroyed(Port* port);
159 Port* port; member in struct:cricket::BasicPortAllocatorSession::PortData
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/p2p/base/
port.cc 28 #include "talk/p2p/base/port.h"
112 // The delay before we begin checking if this port is useless.
165 Port::Port(talk_base::Thread* thread, talk_base::Network* network,
188 Port::Port(talk_base::Thread* thread, const std::string& type,
215 void Port::Construct() {
222 LOG_J(LS_INFO, this) << "Port created";
225 Port::~Port() {
    [all...]
port.h 118 class Port : public PortInterface, public talk_base::MessageHandler,
121 Port(talk_base::Thread* thread, talk_base::Network* network,
124 Port(talk_base::Thread* thread, const std::string& type,
129 virtual ~Port();
153 // The thread on which this port performs its I/O.
156 // The factory used to create the sockets of this port.
185 // Identifies the generation that this port was created in.
206 // Fired when candidates are discovered by the port. When all candidates
207 // are discovered that belong to port SignalAddressReady is fired.
208 sigslot::signal2<Port*, const Candidate&> SignalCandidateReady
399 Port* port() { return port_; } function in class:cricket::Connection
400 const Port* port() const { return port_; } function in class:cricket::Connection
    [all...]
port_unittest.cc 94 static Candidate GetCandidate(Port* port) {
95 assert(port->Candidates().size() == 1);
96 return port->Candidates()[0];
99 static SocketAddress GetAddress(Port* port) {
100 return GetCandidate(port).address();
116 // Stub port class for testing STUN generation and processing.
117 class TestPort : public Port {
123 : Port(thread, type, factory, network, ip
427 TCPPort* port = CreateTcpPort(addr, &socket_factory_); local
433 TCPPort* port = TCPPort::Create(main_, socket_factory, &network_, local
441 StunPort* port = StunPort::Create(main_, factory, &network_, local
458 TurnPort* port = TurnPort::Create(main_, socket_factory, &network_, local
468 RelayPort* port = CreateGturnPort(addr); local
475 RelayPort* port = RelayPort::Create(main_, &socket_factory_, &network_, local
542 TestPort* port = new TestPort(main_, "test", &socket_factory_, &network_, local
553 TestPort* port = CreateTestPort(addr, username, password); local
    [all...]
stunport_unittest.cc 58 const cricket::Port* port() const { return stun_port_.get(); } function in class:StunPortTest
84 void OnPortComplete(cricket::Port* port) {
88 void OnPortError(cricket::Port* port) {
106 // Test that we can create a STUN port
109 EXPECT_EQ("stun", port()->Type());
110 EXPECT_EQ(0U, port()->Candidates().size());
118 ASSERT_EQ(1U, port()->Candidates().size())
    [all...]
turnport_unittest.cc 48 using cricket::Port;
93 void OnTurnPortComplete(Port* port) {
96 void OnTurnPortError(Port* port) {
99 void OnTurnUnknownAddress(PortInterface* port, const SocketAddress& addr,
105 void OnTurnCreatePermissionResult(TurnPort* port, const SocketAddress& addr,
115 void OnUdpPortComplete(Port* port) {
165 turn_port_->Candidates()[0], Port::ORIGIN_MESSAGE)
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/p2p/client/
basicportallocator.h 38 #include "talk/p2p/base/port.h"
134 // Starts the process of getting the port configurations.
137 // Adds a port configuration that is now ready. Once we have one for each
148 PortData(Port* port, AllocationSequence* seq)
149 : port_(port), sequence_(seq), state_(STATE_INIT) {
152 Port* port() { return port_; } function in class:cricket::BasicPortAllocatorSession::PortData
177 Port* port_;
191 void AddAllocatedPort(Port* port, AllocationSequence* seq
    [all...]
fakeportallocator.h 56 void AddPort(cricket::Port* port) {
57 port->set_component(component_);
58 port->set_generation(0);
59 port->SignalPortComplete.connect(
61 port->PrepareAddress();
62 SignalPortReady(this, port);
64 void OnPortComplete(cricket::Port* port) {
65 SignalCandidatesReady(this, port->Candidates())
    [all...]
connectivitychecker.h 33 class Port;
45 // TODO: List of current port mappings.
242 void OnRelayPortComplete(Port* port);
243 void OnStunPortComplete(Port* port);
244 void OnRelayPortError(Port* port);
245 void OnStunPortError(Port* port);
    [all...]
  /external/chromium_org/chrome/renderer/resources/extensions/
messaging.js 25 // Map of port IDs to port object.
28 // Map of port IDs to unloadEvent listeners. Keep track of these to free the
36 // Port object. Represents a connection to another script context through
38 function Port(portId, opt_name) {
42 var portSchema = {name: 'port', $ref: 'runtime.Port'};
52 // port.
53 Port.prototype.postMessage = function(msg) {
66 console.error('Illegal argument to Port.postMessage')
    [all...]
  /external/chromium_org/remoting/webapp/
jscompiler_hacks.js 148 chrome.extension.Port = function() {};
151 chrome.extension.Port.prototype.onMessage;
154 chrome.extension.Port.prototype.onDisconnect;
159 chrome.extension.Port.prototype.postMessage = function(message) {};
173 * @type {?function(string):chrome.extension.Port}

Completed in 541 milliseconds

1 2 3