Searched refs:connection (Results 1 - 25 of 62) sorted by relevance

123

/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/shared/
H A DConnectionFactory.cpp26 // create the connection
27 Connection* connection = NULL;
29 connection = new(std::nothrow) InsecureConnection;
31 connection = new(std::nothrow) PortConnection;
34 if (!connection)
37 status_t error = connection->Init(parameters);
39 delete connection;
42 *_connection = connection;
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/shared/
H A DConnectionFactory.cpp26 // create the connection
27 Connection* connection = NULL;
29 connection = new(nothrow) InsecureConnection;
31 connection = new(nothrow) PortConnection;
34 if (!connection)
37 status_t error = connection->Init(parameters);
39 delete connection;
42 *_connection = connection;
/haiku-fatelf/src/servers/print/
H A DResourceManager.h26 Resource(const char* transport, const char* address, const char* connection);
31 bool Equals(const char* transport, const char* address, const char* connection);
43 Resource* Find(const char* transport, const char* address, const char* connection);
48 Resource* Allocate(const char* transport, const char* address, const char* connection);
H A DResourceManager.cpp13 Resource::Resource(const char* transport, const char* address, const char* connection) argument
16 , fConnection(connection)
46 Resource::Equals(const char* transport, const char* address, const char* connection) { argument
49 fConnection == connection;
76 ResourceManager::Find(const char* transport, const char* address, const char* connection) { argument
79 if (r->Equals(transport, address, connection)) return r;
86 ResourceManager::Allocate(const char* transport, const char* address, const char* connection) { argument
87 Resource* r = Find(transport, address, connection);
89 r = new Resource(transport, address, connection);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/server/
H A DInsecureConnectionListener.cpp69 // accept a connection
79 // create a connection
80 InsecureConnection* connection = new(nothrow) InsecureConnection; local
81 if (!connection) {
85 status_t error = connection->Init(fd);
87 delete connection;
90 *_connection = connection;
106 InsecureConnection* connection local
108 if (!connection)
111 return connection
[all...]
H A DConnectionListener.h21 virtual status_t Listen(Connection** connection) = 0;
24 virtual status_t FinishInitialization(Connection* connection,
H A DPortConnectionListener.cpp76 // create the connection
77 PortConnection* connection = new(nothrow) PortConnection; local
78 if (!connection) {
82 status_t error = connection->Init(channel, upStreamChannels,
85 delete connection;
88 *_connection = connection;
105 PortConnection* connection = dynamic_cast<PortConnection*>(_connection); local
106 if (!connection)
109 return connection->FinishInitialization();
H A DPortConnectionListener.h17 virtual status_t Listen(Connection** connection);
20 virtual status_t FinishInitialization(Connection* connection,
H A DInsecureConnectionListener.h22 virtual status_t Listen(Connection** connection);
25 virtual status_t FinishInitialization(Connection* connection,
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/headers/shared/
H A DConnectionFactory.h18 Connection** connection);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/headers/shared/
H A DConnectionFactory.h18 Connection** connection);
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/server/
H A DConnectionListener.h21 virtual status_t Listen(Connection** connection) = 0;
24 virtual status_t FinishInitialization(Connection* connection,
H A DInsecureConnectionListener.cpp69 // accept a connection
79 // create a connection
80 InsecureConnection* connection = new(std::nothrow) InsecureConnection; local
81 if (!connection) {
85 status_t error = connection->Init(fd);
87 delete connection;
90 *_connection = connection;
106 InsecureConnection* connection local
108 if (!connection)
111 return connection
[all...]
H A DPortConnectionListener.cpp80 // create the connection
81 PortConnection* connection = new(std::nothrow) PortConnection; local
82 if (!connection) {
86 status_t error = connection->Init(channel, upStreamChannels,
89 delete connection;
92 *_connection = connection;
109 PortConnection* connection = dynamic_cast<PortConnection*>(_connection); local
110 if (!connection)
113 return connection->FinishInitialization();
H A DPortConnectionListener.h17 virtual status_t Listen(Connection** connection);
20 virtual status_t FinishInitialization(Connection* connection,
H A DInsecureConnectionListener.h22 virtual status_t Listen(Connection** connection);
25 virtual status_t FinishInitialization(Connection* connection,
/haiku-fatelf/src/apps/cortex/InfoView/
H A DConnectionInfoView.h35 // Display connection-specific info in the InfoWindow.
61 const Connection &connection);
/haiku-fatelf/src/preferences/time/
H A Dntp.cpp140 int connection = socket(AF_INET, SOCK_DGRAM, 0); local
141 if (connection < 0) {
152 if (sendto(connection, (char *)&message, sizeof(ntp_data),
156 close(connection);
162 FD_SET(connection, &waitForReceived);
169 if (select(connection + 1, &waitForReceived, NULL, NULL, &timeout) <= 0) {
172 close(connection);
179 if (recvfrom(connection, (char *)&message, sizeof(ntp_data), 0,
183 close(connection);
187 close(connection);
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/client/
H A DSendReceiveRequest.h19 SendRequest(RequestConnection* connection, Request* request, argument
23 status_t error = connection->SendRequest(request, &reply);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/client/
H A DSendReceiveRequest.h19 SendRequest(RequestConnection* connection, Request* request, argument
23 status_t error = connection->SendRequest(request, &reply);
/haiku-fatelf/src/tests/add-ons/kernel/network/
H A Duserland_ipc.c103 static status_t init_connection(net_connection *connection, connection_cookie **_cookie);
131 localArea[i].id = clone_area("net connection",(void **)&localArea[i].offset,B_ANY_ADDRESS,
242 printf("Opening socket connection, mode = %lx!\n", cookie->openFlags);
246 printf("Closing socket connection...\n");
447 init_connection(net_connection *connection, connection_cookie **_cookie) argument
458 connection->area = create_area("net connection", (void *) &commands, B_ANY_ADDRESS,
461 if (connection->area < B_OK) {
462 fprintf(stderr, "couldn't create area: %s.\n", strerror(connection->area));
464 return connection
543 net_connection connection; local
[all...]
/haiku-fatelf/src/apps/cortex/NodeManager/
H A DNodeManager.cpp93 Connection* connection) {}
96 const Connection* connection) {}
259 Connection* connection) {
260 ASSERT(connection);
263 "NodeManager::_freeConnection(%ld)\n", connection->id()));
268 connection->isValid() &&
269 connection->flags() & Connection::INTERNAL &&
270 !(connection->flags() & Connection::LOCKED)) {
273 "! breaking connection:\n"
280 connection
92 connectionMade( Connection* connection) argument
95 connectionBroken( const Connection* connection) argument
258 _freeConnection( Connection* connection) argument
1303 disconnect( const Connection& connection) argument
1445 getNextConnection( Connection* connection, void** cookie) argument
1766 _addConnection( Connection* connection) argument
1803 _removeConnection( const Connection& connection) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/bluetooth/btCoreData/
H A DFrameInterface.cpp113 HciConnection* connection = frame->conn; local
116 mutex_lock(&connection->fLockExpected);
117 connection->ExpectedResponses.Remove(frame);
118 mutex_unlock(&connection->fLockExpected);
/haiku-fatelf/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/
H A DIMAPFolders.h36 IMAPFolders(IMAPProtocol& connection);
/haiku-fatelf/src/apps/cortex/MediaRoutingView/
H A DMediaWire.h65 Connection connection,
70 // temporary visual indication of the connection process
81 Connection connection; member in class:MediaWire

Completed in 161 milliseconds

123