/haiku/src/kits/network/libnetservices/ |
H A D | NetworkRequest.cpp | 52 BNetworkRequest::_ResolveHostName(BString host, uint16_t port) argument 57 fRemoteAddr = BNetworkAddress(host, port);
|
H A D | UrlContext.cpp | 88 BUrlContext::SetProxy(BString host, uint16 port) argument 91 fProxyPort = port;
|
/haiku/src/tests/kits/app/common/ |
H A D | AppRunner.cpp | 18 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 D | HttpURLConnection.cpp | 133 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 D | BufferConsumer.cpp | 113 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 D | BufferProducer.cpp | 100 // 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 D | MediaRoster.cpp | 158 // 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 D | Notifications.cpp | 70 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 D | NotificationManager.cpp | 228 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 D | SftpClient.cpp | 90 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 D | node_monitor.cpp | 75 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 D | RequestAllocator.cpp | 19 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 D | WindowStack.cpp | 189 port_id port; local 192 fLink->Read<port_id>(&port); 198 messengerPrivate.SetTo(team, port, token);
|
/haiku/src/kits/app/ |
H A D | LooperList.cpp | 173 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 D | BTCoreData.cpp | 138 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 D | tcptester.cpp | 190 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 D | cddb_server.cpp | 299 // 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 D | NetEndpoint.h | 47 virtual status_t Bind(int port = 0); 49 virtual status_t Connect(const char* addr, int port);
|
/haiku/headers/build/private/app/ |
H A D | MessagePrivate.h | 115 SetReply(team_id team, port_id port, int32 target) argument 117 fMessage->fHeader->reply_port = port;
|
/haiku/src/servers/app/ |
H A D | DelayedMessage.h | 69 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 D | firefox_crash.cpp | 33 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 D | ipv6_address.cpp | 108 /*! 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 D | EndpointManager.h | 60 size_t HashKey(uint16 port) const; 62 bool Compare(uint16 port, TCPEndpoint* endpoint) const;
|
/haiku/src/tests/add-ons/kernel/network/ |
H A D | userland_ipc.c | 80 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 D | midi_driver.h | 53 status_t (*create_device)(int port, void** _handle, uint32 workArounds,
|