/haiku/src/servers/app/ |
H A D | TestServerLoopAdapter.cpp | 82 // since we can find out the port by getting the desktop instance 117 port_id port = create_port(DEFAULT_MONITOR_PORT_SIZE, SERVER_PORT_NAME); local 118 if (port < B_OK) 119 debugger("test-app_server could not create message port"); 120 return port;
|
H A D | TestServerLoopAdapter.h | 23 const char* looperName, port_id port,
|
H A D | DelayedMessage.cpp | 62 status_t SendMessageToPort(port_id port); 113 typedef void(*FailureCallback)(int32 code, port_id port, void* data); 119 bool AddTarget(port_id port); 120 void RemoveTarget(port_id port); 137 void SendFailed(port_id port); 196 DelayedMessage::AddTarget(port_id port) argument 201 return fData->AddTarget(port); 323 DelayedMessageData::AddTarget(port_id port) argument 325 if (port <= 0) 330 if (port 339 RemoveTarget(port_id port) argument 510 SendFailed(port_id port) argument 570 port_id port = *(fData->Targets().ItemAt(index)); local 587 SendMessageToPort(port_id port) argument [all...] |
/haiku/src/add-ons/kernel/generic/bios/ |
H A D | bios.cpp | 72 x86emu_pio_inb(X86EMU_pioAddr port) argument 74 return in8(port); 79 x86emu_pio_inw(X86EMU_pioAddr port) argument 81 return in16(port); 86 x86emu_pio_inl(X86EMU_pioAddr port) argument 88 return in32(port); 93 x86emu_pio_outb(X86EMU_pioAddr port, x86emuu8 data) argument 95 out8(data, port); 100 x86emu_pio_outw(X86EMU_pioAddr port, x86emuu16 data) argument 102 out16(data, port); 107 x86emu_pio_outl(X86EMU_pioAddr port, x86emuu32 data) argument [all...] |
/haiku/src/add-ons/kernel/drivers/midi/usb_midi/ |
H A D | usb_midi.h | 91 /* = "/dev/midi/usb/n" --port number will be appended to this */ 115 char name[40]; /* complete pathname of this port */ 118 int cable; /* index of this port */ 136 extern void remove_port(usbmidi_port_info* port); 149 extern void add_port_info(usbmidi_port_info* port); 150 extern void remove_port_info(usbmidi_port_info* port);
|
/haiku/headers/os/kernel/ |
H A D | fs_query.h | 30 uint32 flags, port_id port, int32 token);
|
/haiku/headers/private/kernel/ |
H A D | messaging.h | 18 port_id port; member in struct:messaging_target
|
/haiku/headers/private/net/ |
H A D | userland_ipc.h | 49 port_id port; member in struct:__anon1160
|
/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
|
H A D | LinkReceiver.h | 26 LinkReceiver(port_id port); 29 void SetPort(port_id port);
|
/haiku/headers/private/netservices/ |
H A D | NetworkRequest.h | 36 bool _ResolveHostName(BString host, uint16_t port);
|
/haiku/src/servers/app/stackandtile/ |
H A D | Stacking.cpp | 45 port_id port; local 48 link.Read<port_id>(&port); 62 Window* window = desktop->WindowForClientLooperPort(port); 89 port_id port; local 92 link.Read<port_id>(&port); 101 Window* window = desktop->WindowForClientLooperPort(port); 176 port_id port; local 179 link.Read<port_id>(&port); 184 Window* window = desktop->WindowForClientLooperPort(port);
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | Connection.cpp | 126 char port[16]; local 127 sprintf(port, ".%d.%d", Port() >> 8, Port() & 0xff); 128 strcat(uAddr, port); 151 uint16 port; local 155 port = reinterpret_cast<const sockaddr_in*>(&fAddress)->sin_port; 158 port = reinterpret_cast<const sockaddr_in6*>(&fAddress)->sin6_port; 161 port = 0; 164 return ntohs(port); 169 PeerAddress::SetPort(uint16 port) argument 171 port 275 ForcePort(uint16 port) argument [all...] |
/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/kits/network/libnetapi/ |
H A D | NetworkAddress.cpp | 60 BNetworkAddress::BNetworkAddress(const char* host, uint16 port, uint32 flags) argument 62 fStatus = SetTo(host, port, flags); 73 BNetworkAddress::BNetworkAddress(int family, const char* host, uint16 port, argument 76 fStatus = SetTo(family, host, port, flags); 117 BNetworkAddress::BNetworkAddress(in_addr_t address, uint16 port) argument 119 SetTo(address, port); 123 BNetworkAddress::BNetworkAddress(const in6_addr& address, uint16 port) argument 125 SetTo(address, port); 161 BNetworkAddress::SetTo(const char* host, uint16 port, uint32 flags) argument 164 = BNetworkAddressResolver::Resolve(host, port, flag 215 SetTo(int family, const char* host, uint16 port, uint32 flags) argument 343 SetTo(in_addr_t inetAddress, uint16 port) argument 357 SetTo(const in6_addr& inet6Address, uint16 port) argument 380 SetToBroadcast(int family, uint16 port) argument 391 SetToLocal(int family, uint16 port) argument 399 SetToLoopback(int family, uint16 port) argument 405 SetTo(htonl(INADDR_LOOPBACK), port); local 473 SetToWildcard(int family, uint16 port) argument 518 SetPort(uint16 port) argument 962 uint16 port = Port(); local [all...] |
/haiku/headers/private/userlandfs/private/ |
H A D | RequestPort.h | 54 inline RequestReleaser(RequestPort* port, Request* request) argument 55 : fPort(port), fRequest(request) {}
|
/haiku/src/add-ons/kernel/file_systems/packagefs/indices/ |
H A D | Query.h | 29 uint32 flags, port_id port, uint32 token, 49 port_id port, uint32 token);
|
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/ |
H A D | FTDIRegs.h | 31 #define FTDI_SIO_RESET 0 /* Reset the port */ 35 #define FTDI_SIO_SET_DATA 4 /* Set the data characteristics of the port */ 195 * wIndex: Protocol/Port - hIndex is protocl / lIndex is port 239 * Set the special event character for the specified communications port. 265 * port. 340 * length and port identifier of the message. For the FTDI USB Serial converter 341 * the port identifier is always 1. 355 #define FTDI_OUT_TAG(len, port) (((len) << 2) | (port))
|
/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | Query.h | 37 uint32 flags, port_id port, uint32 token, 57 port_id port, uint32 token);
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/private/ |
H A D | Port.cpp | 17 // minimal and maximal port size 42 // create the owner port 43 fInfo.owner_port = create_port(1, "port owner port"); 48 // create the client port 49 fInfo.client_port = create_port(1, "port client port"); 160 port_id port = (fOwner ? fInfo.client_port : fInfo.owner_port); 163 error = write_port(port, 0, message, size); 188 port_id port local [all...] |
/haiku/src/tests/kits/app/common/ |
H A D | CommonTestApp.cpp | 168 static const char *kAppRunnerTeamPort = "app runner team port"; 177 // create a port 178 outputPort = create_port(10, "common test app port"); 181 // find the remote port 182 port_id port = -1; local 184 port = find_port(kAppRunnerTeamPort); 185 if (port < 0) 186 error = port; 188 // send the port ID 190 ssize_t written = write_port(port, outputPor [all...] |
/haiku/src/system/kernel/ |
H A D | system_info.cpp | 34 #include <port.h> 109 status_t StartListening(int32 object, uint32 flags, port_id port, argument 113 if ((object < 0 && object != -1) || port < 0) 125 Listener* listener = _FindListener(object, port, token, listenerList); 138 listener->port = port; 162 status_t StopListening(int32 object, uint32 flags, port_id port, argument 169 Listener* listener = _FindListener(object, port, token, listenerList); 191 port_id port; member in struct:SystemNotificationService::Listener 331 targets[targetCount].port 354 _FindListener(int32 object, port_id port, int32 token, ListenerList*& _listenerList) argument 651 _user_start_watching_system(int32 object, uint32 flags, port_id port, int32 token) argument 660 _user_stop_watching_system(int32 object, uint32 flags, port_id port, int32 token) argument [all...] |
/haiku/src/bin/network/netstat/ |
H A D | netstat.cpp | 101 char port[64]; local 103 strlcpy(port, service->s_name, sizeof(port)); 105 strcpy(port, "*"); 107 snprintf(port, sizeof(port), "%u", ntohs(address.sin_port)); 109 snprintf(buffer + length, sizeof(buffer) - length, ":%s", port);
|
/haiku/src/add-ons/kernel/file_systems/netfs/shared/ |
H A D | InsecureConnection.cpp | 108 // parse the parameters to get a server name and a port we shall connect to 109 // parameter format is "<server>[:port] [ <up> [ <down> ] ]" 111 uint16 port = kDefaultInsecureConnectionPort; local 115 int result = sscanf(parameters, "%255[^:]:%hu %d %d", server, &port, 133 error = _OpenClientChannel(serverAddr, port, &channel); 160 port = B_BENDIAN_TO_HOST_INT16(reply.port); 166 error = _OpenClientChannel(serverAddr, port, &channel); 236 // bind it to some port 246 // get the port 319 _OpenClientChannel(in_addr serverAddr, uint16 port, Channel** _channel) argument [all...] |