Searched refs:host (Results 1 - 25 of 76) sorted by relevance

1234

/haiku/src/preferences/notifications/
H A DSettingsPane.cpp17 SettingsPane::SettingsPane(const char* name, SettingsHost* host) argument
20 fHost(host)
H A DPrefletView.h21 PrefletView(SettingsHost* host);
H A DPrefletView.cpp28 PrefletView::PrefletView(SettingsHost* host) argument
33 fGeneralView = new GeneralView(host);
34 NotificationsView* apps = new NotificationsView(host);
/haiku/src/preferences/time/
H A Dntp.h12 extern status_t ntp_update_time(const char *host,
/haiku/src/system/libnetwork/netresolv/inet/
H A Dinet_makeaddr.c49 * Formulate an Internet address from network + host. Used in
53 inet_makeaddr(in_addr_t net, in_addr_t host) argument
59 addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST);
61 addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST);
63 addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST);
65 addr = net | host;
/haiku/src/apps/cortex/addons/audioOps/
H A DAudioAdapterOp.cpp88 // - source and destination must be host-endian
158 // - destination must be host-endian
479 IAudioOpHost* host,
519 split ? (IAudioOp*)new _AudioAdapterOp_split < uint8, uint8>(host) :
520 mix ? (IAudioOp*)new _AudioAdapterOp_mix < uint8, uint8>(host) :
521 (IAudioOp*)new _AudioAdapterOp_direct < uint8, uint8>(host);
525 split ? (IAudioOp*)new _AudioAdapterOp_swap_split< uint8, short>(host) :
526 mix ? (IAudioOp*)new _AudioAdapterOp_swap_mix < uint8, short>(host) :
527 (IAudioOp*)new _AudioAdapterOp_swap_direct < uint8, short>(host);
529 split ? (IAudioOp*)new _AudioAdapterOp_split < uint8, short>(host)
478 createOp( IAudioOpHost* host, const media_raw_audio_format& inputFormat, const media_raw_audio_format& outputFormat) argument
[all...]
H A DAudioAdapterOp.h52 IAudioOpHost* host,
H A DNullAudioOp.h55 IAudioOpHost* host,
H A DNullAudioOp.cpp105 IAudioOpHost* host,
109 return new _NullAudioOp(host);
104 createOp( IAudioOpHost* host, const media_raw_audio_format& inputFormat, const media_raw_audio_format& outputFormat) argument
/haiku/src/tests/system/network/sock/
H A Dglobal.h19 #define gethostbyname2(host,family) gethostbyname((host))
H A Dcliopen.c13 int cliopen(char *host, char *port) argument
37 * First try to convert the host name as a dotted-decimal number.
41 if (inet_aton(host, &inaddr) == 1)
43 else if ( (hp = gethostbyname(host)) != NULL)
46 err_quit("invalid hostname: %s", host);
/haiku/src/system/libnetwork/netresolv/irs/
H A Dgetnameinfo.c119 char *host, socklen_t hostlen,
126 return getnameinfo_atalk(sa, salen, host, hostlen,
130 return getnameinfo_inet(sa, salen, host, hostlen,
133 return getnameinfo_link(sa, salen, host, hostlen,
136 return getnameinfo_local(sa, salen, host, hostlen,
150 char *host, socklen_t hostlen, char *serv, socklen_t servlen,
167 n = snprintf(host, hostlen, "%u.%u",
176 n = snprintf(host+m, hostlen-m, " phase %u",
185 n = snprintf(host+m, hostlen-m, " range %u - %u",
198 if (host
118 getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, socklen_t hostlen, char *serv, socklen_t servlen, int flags) argument
149 getnameinfo_atalk(const struct sockaddr *sa, socklen_t salen, char *host, socklen_t hostlen, char *serv, socklen_t servlen, int flags) argument
211 getnameinfo_local(const struct sockaddr *sa, socklen_t salen, char *host, socklen_t hostlen, char *serv, socklen_t servlen, int flags) argument
233 getnameinfo_inet(const struct sockaddr *sa, socklen_t salen, char *host, socklen_t hostlen, char *serv, socklen_t servlen, int flags) argument
427 ip6_parsenumeric(const struct sockaddr *sa, const char *addr, char *host, socklen_t hostlen, int flags) argument
517 getnameinfo_link(const struct sockaddr *sa, socklen_t salen, char *host, socklen_t hostlen, char *serv, socklen_t servlen, int flags) argument
601 hexname(const uint8_t *cp, size_t len, char *host, socklen_t hostlen) argument
[all...]
H A Dgethnamaddr.c125 static struct hostent host; variable in typeref:struct:hostent
242 host.h_name = NULL;
285 host.h_name = bp;
288 qname = host.h_name;
292 host.h_aliases = host_aliases;
295 host.h_addr_list = h_addr_ptrs;
347 host.h_name = bp;
402 host.h_name = bp;
417 host.h_name = bp;
425 map_v4v6_hostent(&host,
[all...]
/haiku/src/bin/network/ftpd/
H A Dlogwtmp.c77 char host[UT_HOSTSIZE]; local
80 host[0] = '\0';
82 realhostname_sa(host, sizeof(host), addr, addr->sa_len);
89 (void)strncpy(ut.ut_host, host, sizeof(ut.ut_host));
/haiku/src/tests/system/network/icmp/
H A Dicmp_dumper.cpp43 char host[128]; local
44 if (!inet_ntop(AF_INET, &source.sin_addr, host, sizeof(host)))
45 strcpy(host, "<unknown host>");
47 printf("Received %zd bytes of ICMP message from %s\n", nbytes, host);
H A Dudp_unreachable.cpp30 fprintf(stderr, "Usage: %s <host> [<port>]\n"
36 struct hostent* host = gethostbyname(argv[1]); local
37 if (host == NULL) {
50 serverAddr.sin_addr = *((struct in_addr*)host->h_addr);
73 printf("Received %zd bytes from remote host\n", bytes);
/haiku/src/apps/cortex/addons/common/
H A DIAudioOp.h44 // +++++ moving back towards a raw interface approach; the host node
46 // See IAudioOpHost for the operations that the host node needs
63 IAudioOpHost* const host; member in class:IAudioOp
67 IAudioOpHost* _host) : host(_host) {}
109 // Called when the host node is started, before any calls to
H A DIAudioOpFactory.h71 IAudioOpHost* host,
/haiku/src/bin/multiuser/
H A Dlogin.cpp60 char host[64]; local
61 if (gethostname(host, sizeof(host)) != 0)
62 host[0] = '\0';
64 if (host[0])
65 printf("%s ", host);
105 get_from(const char* host) argument
107 if (host == NULL)
111 snprintf(buffer, sizeof(buffer), " from %s", host);
/haiku/src/add-ons/print/transports/ipp/
H A DURL.h18 URL(const char *protocol, const char *host, int port, const char *file);
19 URL(const char *protocol, const char *host, const char *file);
33 // void set(const char *protocol, const char *host, int port, const char *file, const char *ref);
H A DURL.cpp65 URL::URL(const char *protocol, const char *host, int port, const char *file) argument
68 __host = host;
73 URL::URL(const char *protocol, const char *host, const char *file) argument
76 __host = host;
/haiku/src/add-ons/print/transports/shared/
H A DSocket.h19 Socket(const char *host, int port);
20 Socket(const char *host, int port, int localPort);
/haiku/src/tests/system/network/
H A Dgetpeername.cpp24 printf("usage: %s <host> [port]\n"
25 "Connects to the host (default port 21, ftp), and calls\n"
31 struct hostent* host = gethostbyname(argv[1]); local
32 if (host == NULL) {
52 address.sin_addr = *((struct in_addr*)host->h_addr);
/haiku/src/kits/network/libnetapi/
H A DNetworkAddressResolver.cpp18 strip_port(BString& host, BString& port) argument
20 int32 first = host.FindFirst(':');
21 int32 separator = host.FindLast(':');
23 && (separator == 0 || host.ByteAt(separator - 1) != ']')) {
29 host.CopyInto(port, separator + 1, -1);
30 host.Truncate(separator);
145 BNetworkAddressResolver::SetTo(int family, const char* host, argument
152 BString hostString(host);
167 if (host == NULL && portString.Length() == 0) {
172 int status = getaddrinfo(host !
[all...]
/haiku/src/libs/util/
H A Drealhostname.c49 realhostname(char *host, size_t hsize, const struct in_addr *ip) argument
75 strncpy(host, trimmed, hsize);
82 strncpy(host, inet_ntoa(*ip), hsize);
88 realhostname_sa(char *host, size_t hsize, struct sockaddr *addr, int addrlen) argument
172 strncpy(host, buf, hsize);
182 strncpy(host, buf, hsize);

Completed in 172 milliseconds

1234