Searched refs:port (Results 176 - 200 of 415) sorted by last modified time

1234567891011>>

/haiku/headers/private/app/
H A DRosterPrivate.h49 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 DPortPool.cpp27 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 DPortPool.h25 void PutPort(port_id port);
H A DBufferCache.h23 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 DTimeSource.cpp108 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 DDormantNodeManager.cpp234 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 DRosterShell.cpp206 printf("port: %" B_PRId32 "\n", info.port);
/haiku/src/tests/kits/media/playwav/
H A Dplaywav.cpp20 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 DRosterAppInfo.cpp32 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 DEasyPenInputDevice.cpp63 tablet_device(BSerialPort *port);
325 tablet_device::tablet_device(BSerialPort *port) argument
327 serial = port;
/haiku/src/servers/media/
H A Dmedia_server.cpp344 status_t status = gNodeManager->FindNodeID(request.port,
457 request.flavor_id, request.name, request.kinds, request.port,
/haiku/src/apps/codycam/
H A DVideoConsumer.h21 port_id port; member in struct:__anon63
H A DVideoConsumer.cpp183 fIn.destination.port = ControlPort();
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/kits/media/experimental/
H A DMediaClientNode.cpp236 = 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 Dkernel_emu.cpp112 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 DMessenger.cpp287 /*! 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 DApplication.cpp266 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 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/tests/system/network/
H A Dtcp_server.c19 #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 Dtcp_client.c16 #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 Dgetpeername.cpp24 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 Dmulticat.c60 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 Dmultisend.c24 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 Dudp_unreachable.cpp30 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);

Completed in 99 milliseconds

1234567891011>>