Searched refs:Connection (Results 1 - 25 of 104) sorted by relevance

12345

/external/clang/test/CodeGen/
H A D2002-03-12-StructInitialize.c8 } Connection; typedef in typeref:struct:Connection_Type
10 Connection link[3]
H A D2002-03-12-StructInitializer.c12 } Connection; typedef in typeref:struct:Connection_Type
14 Connection link[3]
/external/libbrillo/brillo/http/
H A Dhttp_connection_curl.cc53 Connection::Connection(CURL* curl_handle, function in class:brillo::http::curl::Connection
57 : http::Connection(transport),
64 VLOG(2) << "curl::Connection created: " << method_;
67 Connection::~Connection() {
71 VLOG(2) << "curl::Connection destroyed";
74 bool Connection::SendHeaders(const HeaderList& headers,
80 bool Connection::SetRequestData(StreamPtr stream,
86 void Connection
[all...]
H A Dhttp_connection_fake.cc18 Connection::Connection(const std::string& url, function in class:brillo::http::fake::Connection
21 : http::Connection(transport), request_(url, method) {
22 VLOG(1) << "fake::Connection created: " << method;
25 Connection::~Connection() {
26 VLOG(1) << "fake::Connection destroyed";
29 bool Connection::SendHeaders(const HeaderList& headers,
35 bool Connection::SetRequestData(StreamPtr stream,
41 bool Connection
[all...]
H A Dhttp_connection.h25 // Connection class is the base class for HTTP communication session.
27 // When the Connection-derived class is constructed, it is pre-set up with
43 class BRILLO_EXPORT Connection class in namespace:brillo::http
44 : public std::enable_shared_from_this<Connection> {
46 explicit Connection(const std::shared_ptr<Transport>& transport) function in class:brillo::http::Connection
48 virtual ~Connection() = default;
97 // connection exists. But some implementations of Connection could use
102 DISALLOW_COPY_AND_ASSIGN(Connection);
H A Dhttp_connection_fake.h20 // This is a fake implementation of http::Connection for unit testing.
21 class Connection : public http::Connection { class in namespace:brillo::http::fake
23 Connection(const std::string& url,
26 ~Connection() override;
28 // Overrides from http::Connection.
55 DISALLOW_COPY_AND_ASSIGN(Connection);
H A Dhttp_transport_curl.h21 class Connection;
43 std::shared_ptr<http::Connection> CreateConnection(
54 RequestID StartAsyncTransfer(http::Connection* connection,
89 void OnTransferComplete(http::curl::Connection* connection,
94 void CleanAsyncConnection(http::curl::Connection* connection);
118 // A map to find a corresponding Connection* using a request ID.
119 std::map<RequestID, Connection*> request_id_map_;
123 std::map<Connection*, std::unique_ptr<AsyncRequestData>> async_requests_;
H A Dmock_transport.h23 std::shared_ptr<Connection>(const std::string&,
31 MOCK_METHOD3(StartAsyncTransfer, RequestID(Connection*,
H A Dmock_connection.h18 class MockConnection : public Connection {
20 using Connection::Connection;
H A Dhttp_connection_curl.h22 // This is a libcurl-based implementation of http::Connection.
23 class BRILLO_EXPORT Connection : public http::Connection { class in namespace:brillo::http::curl
25 Connection(CURL* curl_handle,
29 ~Connection() override;
31 // Overrides from http::Connection.
96 DISALLOW_COPY_AND_ASSIGN(Connection);
H A Dhttp_transport.h27 class Connection;
51 virtual std::shared_ptr<Connection> CreateConnection(
69 Connection* connection,
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DConnection.java45 * <h3>Connection Reuse</h3>
66 public interface Connection { interface
H A DInterceptor.java31 Connection connection();
/external/webrtc/webrtc/base/
H A Dhttpserver.cc48 Connection* connection = new Connection(connection_id, this);
57 if (Connection* connection = Find(connection_id)) {
68 if (Connection* connection = Find(connection_id)) {
80 std::list<Connection*> connections;
85 for (std::list<Connection*>::const_iterator it = connections.begin();
91 HttpServer::Connection*
106 Connection* connection = it->second;
117 // HttpServer::Connection
120 HttpServer::Connection function in class:rtc::HttpServer::Connection
[all...]
H A Dhttpserver.h80 class Connection : private IHttpNotify { class in class:rtc::HttpServer
82 Connection(int connection_id, HttpServer* server);
83 ~Connection() override;
103 Connection* Find(int connection_id);
106 friend class Connection;
107 typedef std::map<int,Connection*> ConnectionMap;
/external/webrtc/webrtc/p2p/base/
H A Dp2ptransportchannel.h105 const Connection* best_connection() const { return best_connection_; }
171 Connection* FindNextPingableConnection();
174 const std::vector<Connection*>& connections() const { return connections_; }
196 void SwitchBestConnectionTo(Connection* conn);
202 Connection* GetBestConnectionOnNetwork(rtc::Network* network) const;
208 bool FindConnection(cricket::Connection* connection) const;
214 bool IsPingable(Connection* conn, uint32_t now);
215 void PingConnection(Connection* conn);
217 void AddConnection(Connection* connection);
232 void OnConnectionStateChange(Connection* connectio
[all...]
H A Dp2ptransportchannel.cc43 int CompareConnectionCandidates(cricket::Connection* a,
44 cricket::Connection* b) {
58 int CompareConnectionStates(cricket::Connection* a, cricket::Connection* b) {
84 // something like Connection::ImReallyBadEvenThoughImWritable, but that is
85 // equivalent to the existing Connection::connected(), which we already have.
95 if (a->write_state() == cricket::Connection::STATE_WRITABLE &&
96 b->write_state() == cricket::Connection::STATE_WRITABLE) {
107 int CompareConnections(cricket::Connection* a, cricket::Connection*
[all...]
H A Dport.cc32 const std::vector<cricket::Connection::SentPing>& pings_since_last_response,
49 const std::vector<cricket::Connection::SentPing>& pings_since_last_response,
205 std::vector<Connection*> list;
217 Connection* Port::GetConnection(const rtc::SocketAddress& remote_addr) {
264 void Port::AddConnection(Connection* conn) {
580 Connection* conn = GetConnection(addr);
642 void Port::OnConnectionDestroyed(Connection* conn) {
671 explicit ConnectionRequest(Connection* connection)
702 // in Connection will be set to false by default. Once the connection
757 Connection* connection
764 Connection::Connection(Port* port, function in class:cricket::Connection
[all...]
H A Dportinterface.h26 class Connection;
66 virtual Connection* GetConnection(
71 virtual Connection* CreateConnection(
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/
H A DImpl_PooledConnection.java20 import java.sql.Connection;
33 public Connection getConnection() throws SQLException {
/external/autotest/client/common_lib/cros/graphite/
H A Dstatsd_mock.py10 class Connection: class in inherits:
11 """Mock class for statsd.Connection"""
H A Dstatsd_mock_unittest.py15 """Test mock class Connection"""
16 connection = statsd.Connection(host='host', port=1)
17 statsd.Connection.set_defaults(host='host', port=1)
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
H A DTestHelper_Driver1.java20 import java.sql.Connection;
76 public Connection connect(String url, Properties info) throws SQLException {
89 Connection connection = new TestHelper_Connection1();
H A DTestHelper_Driver4.java20 import java.sql.Connection;
74 public Connection connect(String url, Properties info) throws SQLException {
105 Connection connection = new TestHelper_Connection1();
/external/libmojo/mojo/public/js/
H A Dconnection.js58 function Connection(
67 Connection.prototype = Object.create(BaseConnection.prototype);
71 Connection.call(this,
79 TestConnection.prototype = Object.create(Connection.prototype);
167 exports.Connection = Connection;

Completed in 281 milliseconds

12345