/haiku/headers/private/app/ |
H A D | RosterPrivate.h | 49 port_id port, bool fullReg, uint32 *token, 52 port, fullReg, token, otherTeam); } 58 port_id port) const 59 { return fRoster->_CompleteRegistration(team, thread, port); } 47 AddApplication(const char *mimeSig, const entry_ref *ref, uint32 flags, team_id team, thread_id thread, port_id port, bool fullReg, uint32 *token, team_id *otherTeam) const argument
|
/haiku/src/kits/media/ |
H A D | PortPool.cpp | 27 BLocker("port pool") 47 return create_port(1, "media reply port"); 49 port_id port = *fPool.begin(); 50 fPool.erase(port); 52 ASSERT(port >= 0); 53 return port; 58 PortPool::PutPort(port_id port) argument 60 ASSERT(port >= 0); 65 fPool.insert(port); 67 delete_port(port); [all...] |
H A D | PortPool.h | 25 void PutPort(port_id port);
|
H A D | BufferCache.h | 23 port_id port; member in struct:BPrivate::buffer_cache_entry 32 BBuffer* GetBuffer(media_buffer_id id, port_id port); 34 void FlushCacheForPort(port_id port);
|
H A D | TimeSource.cpp | 108 return fSlaveList.Insert(node.node, node.port); 212 TRACE_TIMESOURCE("BTimeSource::IsRunning() node %" B_PRId32 ", port %" 388 port_id* port = NULL; local 389 while (fSlaveNodes->GetNextSlave(&port) == true) { 393 SendToPort(*port, NODE_TIME_WARP, 410 port_id* port = NULL; local 411 while (fSlaveNodes->GetNextSlave(&port) == true) { 414 SendToPort(*port, NODE_SET_RUN_MODE,
|
H A D | DormantNodeManager.cpp | 234 port_id port = find_port(MEDIA_SERVER_PORT_NAME); local 235 if (port < 0) 240 write_port(port, SERVER_UNREGISTER_ADD_ON, &msg, sizeof(msg));
|
/haiku/src/tests/servers/registrar/ |
H A D | RosterShell.cpp | 206 printf("port: %" B_PRId32 "\n", info.port);
|
/haiku/src/tests/kits/media/playwav/ |
H A D | playwav.cpp | 20 port_id port = -1; variable 27 size_t portsize = port_buffer_size(port); 30 read_port(port, &code, buffer, portsize); 47 write_port(port, 0, buffer, size); 52 write_port(port, 0, buffer, 0); 69 port = create_port(64, "buffer");
|
/haiku/src/servers/registrar/ |
H A D | RosterAppInfo.cpp | 32 RosterAppInfo::Init(thread_id thread, team_id team, port_id port, uint32 flags, argument 37 this->port = port; 57 clone->Init(thread, team, port, flags, &ref, signature);
|
/haiku/src/add-ons/input_server/devices/easypen/ |
H A D | EasyPenInputDevice.cpp | 63 tablet_device(BSerialPort *port); 325 tablet_device::tablet_device(BSerialPort *port) argument 327 serial = port;
|
/haiku/src/servers/media/ |
H A D | media_server.cpp | 344 status_t status = gNodeManager->FindNodeID(request.port, 457 request.flavor_id, request.name, request.kinds, request.port,
|
/haiku/src/apps/codycam/ |
H A D | VideoConsumer.h | 21 port_id port; member in struct:__anon63
|
H A D | VideoConsumer.cpp | 183 fIn.destination.port = ControlPort();
|
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/kits/media/experimental/ |
H A D | MediaClientNode.cpp | 236 = BMediaRoster::CurrentRoster()->NodeIDFor(source.port); 237 conn->fConnection.remote_node.port = source.port; 262 conn->fConnection.remote_node.port = -1; 451 = BMediaRoster::CurrentRoster()->NodeIDFor(dest.port); 452 conn->fConnection.remote_node.port = dest.port; 486 conn->fConnection.remote_node.port = -1;
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/ |
H A D | kernel_emu.cpp | 112 get_port_and_fs(RequestPort** port, FileSystem** fileSystem) argument 117 *port = thread->GetPort(); 120 *port = UserlandFSServer::GetNotificationRequestPort(); 122 if (!*port || !*fileSystem) 134 // get the request port and the file system 135 RequestPort* port; local 137 status_t error = get_port_and_fs(&port, &fileSystem); 142 RequestAllocator allocator(port->GetPort()); 164 error = port->SendRequest(&allocator, &handler, (Request**)&reply); 167 RequestReleaser requestReleaser(port, repl 181 RequestPort* port; local 219 RequestPort* port; local 265 RequestPort* port; local 301 RequestPort* port; local 336 RequestPort* port; local 372 RequestPort* port; local 410 RequestPort* port; local 472 RequestPort* port; local 507 RequestPort* port; local 543 RequestPort* port; local 582 RequestPort* port; local 617 RequestPort* port; local 652 RequestPort* port; local 688 RequestPort* port; local 723 RequestPort* port; local 758 RequestPort* port; local 811 RequestPort* port; local 859 RequestPort* port; local 902 RequestPort* port; local 948 RequestPort* port; local 986 RequestPort* port; local 1024 RequestPort* port; local 1060 RequestPort* port; local [all...] |
/haiku/src/kits/app/ |
H A D | Messenger.cpp | 287 /*! Sets the messenger's team, target looper port and handler token. 292 \param port The target looper port. 296 BMessenger::_SetTo(team_id team, port_id port, int32 token) argument 299 fPort = port; 331 info.port = data.GetInt32("port", -1); 334 if (info.port < 0) { 364 fPort = info.port; 405 // set port, toke [all...] |
H A D | Application.cpp | 266 port_id port, bool initGUI, status_t* _error) 268 BLooper(B_NORMAL_PRIORITY + 1, port < 0 ? _GetPort(signature) : port, 272 if (port < 0) 434 // Check whether we need to replace the looper port with a port 436 if (appInfo.port >= 0 && appInfo.port != fMsgPort) { 438 fMsgPort = appInfo.port; 440 appInfo.port 265 BApplication(const char* signature, const char* looperName, port_id port, bool initGUI, status_t* _error) argument [all...] |
/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/tests/system/network/ |
H A D | tcp_server.c | 19 #define MYPORT 1234 // the port users will be connecting to 41 short int port = MYPORT; local 45 port = atoi(argv[1]); 59 my_addr.sin_port = htons(port);
|
H A D | tcp_client.c | 16 #define PORT 1234 // the port client will be connecting to 25 short int port = PORT; local 31 fprintf(stderr,"usage: tcp_client <hostname> [port]\n"); 36 port = atoi(argv[2]); 51 their_addr.sin_port = htons(port);
|
H A D | getpeername.cpp | 24 printf("usage: %s <host> [port]\n" 25 "Connects to the host (default port 21, ftp), and calls\n" 37 uint16_t port = 21; local 39 port = atol(argv[2]); 51 address.sin_port = htons(port);
|
/haiku/src/tests/system/network/multicast/ |
H A D | multicat.c | 60 static int open_multicast_socket(const char *group, const char *port, 183 char address[NI_MAXHOST], port[NI_MAXSERV]; local 186 if (getnameinfo(raddr, rlen, address, sizeof(address), port, 187 sizeof(port), NI_NUMERICHOST | NI_NUMERICSERV) < 0) 189 printf("Received %d bytes from [%s]:%s.\n", n, address, port); 209 static int open_multicast_socket(const char *group, const char *port, argument 225 if ((err = getaddrinfo(group, port, &hints, &res)) != 0) 226 err_quit("getaddrinfo(%s, %s): %s", source, port, gai_strerror(err)); 261 if ((err = getaddrinfo(source, port, &shints, &sai)) != 0) 262 err_quit("getaddrinfo(%s, %s): %s", source, port, [all...] |
H A D | multisend.c | 24 int open_multicast_socket(const char *group, const char *port, 100 int open_multicast_socket(const char *group, const char *port, argument 115 if ((err = getaddrinfo(group, port, &hints, &res)) != 0) 116 err_quit("getaddrinfo(%s, %s): %s", source, port, gai_strerror(err)); 151 if ((err = getaddrinfo(source, port, &shints, &sai)) != 0) 152 err_quit("getaddrinfo(%s, %s): %s", source, port, 190 addr.sin_port = htons(atoi(port));
|
/haiku/src/tests/system/network/icmp/ |
H A D | udp_unreachable.cpp | 30 fprintf(stderr, "Usage: %s <host> [<port>]\n" 32 "<port> defaults to 9999.\n", __progname); 42 uint16_t port = 9999; local 44 port = atol(argv[2]); 49 serverAddr.sin_port = htons(port);
|