Searched refs:port (Results 151 - 175 of 416) sorted by relevance

1234567891011>>

/haiku/src/kits/network/libnetservices/
H A DNetworkRequest.cpp52 BNetworkRequest::_ResolveHostName(BString host, uint16_t port) argument
57 fRemoteAddr = BNetworkAddress(host, port);
H A DUrlContext.cpp88 BUrlContext::SetProxy(BString host, uint16 port) argument
91 fProxyPort = port;
/haiku/src/tests/kits/app/common/
H A DAppRunner.cpp18 static const char *kAppRunnerTeamPort = "app runner team port";
62 // lock the team port
75 // read the port ID
81 // unlock the team port
223 port_id port = fRemotePort; local
227 ssize_t bytes = read_port(port, &code, buffer, sizeof(buffer) - 1);
246 // lazy port creation
268 port_id port = -1; local
269 ssize_t size = read_port(fTeamPort, &port, &messenger, sizeof(BMessenger));
271 port
[all...]
/haiku/src/add-ons/print/transports/ipp/
H A DHttpURLConnection.cpp133 int port = url.Port(); local
134 if (port < 0) {
137 port = DEFAULT_PORT;
139 port = 631;
141 port = DEFAULT_PORT;
144 __sock = new Socket(url.Host(), port);
/haiku/src/kits/media/
H A DBufferConsumer.cpp113 SendToPort(whatSource.port, PRODUCER_LATE_NOTICE_RECEIVED, &command,
153 status_t status = SendToPort(output.port, PRODUCER_VIDEO_CLIPPING_CHANGED,
185 return SendToPort(source.port, PRODUCER_ENABLE_OUTPUT, &command, sizeof(command));
213 return SendToPort(source.port, PRODUCER_FORMAT_CHANGE_REQUESTED, &command, sizeof(command));
234 return SendToPort(source.port, PRODUCER_ADDITIONAL_BUFFER_REQUESTED, &command, sizeof(command));
253 return SendToPort(source.port, PRODUCER_ADDITIONAL_BUFFER_REQUESTED,
302 status_t status = SendToPort(source.port, PRODUCER_SET_BUFFER_GROUP,
306 // XXX will leak memory if port write failed
332 "%" B_PRId32 "/%" B_PRId32 " changed to %" B_PRId64 "\n", source.port, source.id,
333 destination.port, destinatio
[all...]
H A DBufferProducer.cpp100 // avoid port writes (deadlock) if loopback connection
294 SendToPort(command->destination.port, NODE_REQUEST_COMPLETED,
318 SendToPort(command->destination.port, NODE_REQUEST_COMPLETED,
344 SendToPort(command->destination.port, NODE_REQUEST_COMPLETED,
396 SendToPort(command->destination.port, NODE_REQUEST_COMPLETED,
441 command.header.source_port = source.port;
450 return SendToPort(destination.port, CONSUMER_BUFFER_RECEIVED, &command,
468 return SendToPort(destination.port, CONSUMER_PRODUCER_DATA_STATUS, &command,
486 status_t status = QueryPort(destination.port, CONSUMER_ACCEPT_FORMAT,
514 return QueryPort(destination.port, CONSUMER_FORMAT_CHANGE
[all...]
H A DMediaRoster.cpp158 // Only now delete the port pool
356 TRACE("BMediaRoster::ReleaseNodeAll, node %" B_PRId32 ", port %" B_PRId32
358 node.node, node.port, BPrivate::current_team());
364 "retrying local, node %" B_PRId32 ", port %"
365 B_PRId32 ", team %" B_PRId32 "!\n", node.node, node.port,
368 rv = SendToPort(node.port, NODE_FINAL_RELEASE, &command,
371 ERROR("BMediaRoster::ReleaseNodeAll FAILED, node %" B_PRId32 ", port %"
372 B_PRId32 ", team %" B_PRId32 "!\n", node.node, node.port,
450 PRINT(4, "BMediaRosterEx::GetAllOutputs() node %" B_PRId32 ", port %"
451 B_PRId32 "\n", node.node, node.port);
3325 NodeIDFor(port_id port) argument
[all...]
/haiku/src/system/kernel/events/
H A DNotifications.cpp70 UserMessagingMessageSender::SendMessage(const KMessage* message, port_id port, argument
79 fTargets[fTargetCount].port = port;
102 port_id port, int32 token)
105 fPort(port),
364 DefaultUserNotificationService::RemoveUserListeners(port_id port, uint32 token) argument
366 UserMessagingListener userListener(fSender, port, token);
388 port_id port, uint32 token)
390 UserMessagingListener userListener(fSender, port, token);
101 UserMessagingListener(UserMessagingMessageSender& sender, port_id port, int32 token) argument
387 UpdateUserListener(uint32 eventMask, port_id port, uint32 token) argument
/haiku/src/servers/media/
H A DNotificationManager.cpp228 if (n->node.port != source->port
229 && n->node.port != destination->port)
306 ", node-port %" B_PRId32 ", messenger %svalid\n", n->team, n->what,
307 n->node.node, n->node.port, n->messenger.IsValid() ? "" : "NOT ");
/haiku/src/apps/codycam/
H A DSftpClient.cpp90 BString port; local
93 host.MoveInto(port, host.FindFirst(':'), host.Length());
94 port.RemoveAll(":");
96 if (port.Length())
97 cmd << "-oPort=" << port << " "; local
/haiku/src/system/kernel/fs/
H A Dnode_monitor.cpp75 UserNodeListener(port_id port, int32 token) argument
76 : UserMessagingListener(sNodeMonitorSender, port, token)
124 port_id port, uint32 token);
228 \param port The target port of the listener.
239 notify_query_entry_event(int32 opcode, port_id port, int32 token, argument
257 target.port = port;
421 /*! Returns the listener that matches the specified port/token pair.
1018 port_id port, uint3
1017 RemoveUserListeners(struct io_context *context, port_id port, uint32 token) argument
1253 notify_query_entry_created(port_id port, int32 token, dev_t device, ino_t directory, const char *name, ino_t node) argument
1274 notify_query_entry_removed(port_id port, int32 token, dev_t device, ino_t directory, const char *name, ino_t node) argument
1295 notify_query_attr_changed(port_id port, int32 token, dev_t device, ino_t directory, const char* name, ino_t node) argument
1313 _user_stop_notifying(port_id port, uint32 token) argument
1322 _user_start_watching(dev_t device, ino_t node, uint32 flags, port_id port, uint32 token) argument
1334 _user_stop_watching(dev_t device, ino_t node, port_id port, uint32 token) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/private/
H A DRequestAllocator.cpp19 RequestAllocator::RequestAllocator(Port* port) argument
30 Init(port);
41 RequestAllocator::Init(Port* port) argument
44 if (port) {
45 fPort = port;
134 // read the message from the port
200 // port buffer.
206 // get the next free aligned offset in the port buffer
210 // there's enough free space in the port buffer
234 // not enough room in the port'
[all...]
/haiku/src/kits/interface/
H A DWindowStack.cpp189 port_id port; local
192 fLink->Read<port_id>(&port);
198 messengerPrivate.SetTo(team, port, token);
/haiku/src/kits/app/
H A DLooperList.cpp173 BLooperList::LooperForPort(port_id port) argument
180 = find_if(fData.begin(), fData.end(), FindPortPred(port));
269 return data.looper && port == _get_looper_port_(data.looper);
/haiku/src/add-ons/kernel/bluetooth/btCoreData/
H A DBTCoreData.cpp138 port_id port = find_port(BT_USERLAND_PORT_NAME); local
139 if (port != B_NAME_NOT_FOUND) {
141 err = write_port_etc(port, PACK_PORTCODE(BT_EVENT, ndev->index, -1),
/haiku/src/tests/system/network/tcptester/
H A Dtcptester.cpp190 int port = 12345; local
196 port = atoi(argv[i]);
198 fprintf(stderr, "tcptester [-p port]\n");
213 sin.sin_port = htons(port);
/haiku/src/bin/cddb_lookup/
H A Dcddb_server.cpp299 // It seems we do not have the address:port format. Use hostname as-is.
304 // Parse address:port format.
305 int32 port; local
313 port = strtol(portString.String(), &firstInvalid, 10);
314 if ((errno == ERANGE && (port == INT32_MAX || port == INT32_MIN))
315 || (errno != 0 && port == 0)) {
323 fServerAddress.SetTo(newCddbServer.String(), port);
/haiku/headers/os/net/
H A DNetEndpoint.h47 virtual status_t Bind(int port = 0);
49 virtual status_t Connect(const char* addr, int port);
/haiku/headers/build/private/app/
H A DMessagePrivate.h115 SetReply(team_id team, port_id port, int32 target) argument
117 fMessage->fHeader->reply_port = port;
/haiku/src/servers/app/
H A DDelayedMessage.h69 typedef void(*FailureCallback)(int32 code, port_id port, void* data);
76 // At least one target port is required.
77 bool AddTarget(port_id port);
83 // Called for each port on which the message was failed to be sent.
/haiku/src/tests/system/network/
H A Dfirefox_crash.cpp33 init_sockaddr(struct sockaddr_in& address, unsigned ipAddress, unsigned port) argument
37 address.sin_port = htons(port);
/haiku/src/add-ons/kernel/network/protocols/ipv6/
H A Dipv6_address.cpp108 /*! Checks if the given \a address is the empty address. By default, the port
299 If \a printPort is set, the port is printed, too.
330 char port[7]; local
331 sprintf(port, "]:%d", ntohs(address->sin6_port));
332 if (bufferSize - strlen(buffer) < strlen(port) + 1)
334 strcat(buffer, port);
359 /*! Determines the port of the given \a address.
360 \return uint16 representing the port-nr
372 /*! Sets the port of the given \a address to \a port
377 ipv6_set_port(sockaddr *address, uint16 port) argument
[all...]
/haiku/src/add-ons/kernel/network/protocols/tcp/
H A DEndpointManager.h60 size_t HashKey(uint16 port) const;
62 bool Compare(uint16 port, TCPEndpoint* endpoint) const;
/haiku/src/tests/add-ons/kernel/network/
H A Duserland_ipc.c80 port_id localPort,port; member in struct:__anon2040
468 connection->port = create_port(CONNECTION_QUEUE_LENGTH, "net stack connection");
469 if (connection->port < B_OK) {
470 fprintf(stderr, "couldn't create port: %s.\n", strerror(connection->port));
473 return connection->port;
480 delete_port(connection->port);
490 delete_port(connection->port);
505 cookie->localPort = connection->port;
536 port_id port; local
[all...]
/haiku/headers/os/drivers/
H A Dmidi_driver.h53 status_t (*create_device)(int port, void** _handle, uint32 workArounds,

Completed in 268 milliseconds

1234567891011>>