Searched refs:host (Results 251 - 275 of 1627) sorted by relevance

<<11121314151617181920>>

/macosx-10.10/remote_cmds-47/logger.tproj/
H A Dlogger.c95 char *tag, *host, buf[1024]; local
99 host = NULL;
129 host = optarg;
171 logmessage(pri, host, svcname, buf);
179 logmessage(pri, host, svcname, *argv++);
192 logmessage(pri, host, svcname, buf);
199 logmessage(pri, host, svcname, buf);
206 * Send the message to syslog, either on the local host, or on a remote host
209 logmessage(int pri, const char *host, cons argument
[all...]
/macosx-10.10/ruby-106/ruby/test/uri/
H A Dtest_ftp.rb12 url = URI.parse('ftp://user:pass@host.com/abc/def')
17 'user:pass', 'host.com', URI::FTP.default_port,
21 url.scheme, url.userinfo, url.host, url.port,
55 assert_equal(['ftp', 'a.b.c', 21], URI.parse('ftp://a.b.c/').select(:scheme, :host, :port))
60 u.select(:scheme, :host, :not_exist, :port)
/macosx-10.10/xnu-2782.1.97/tools/tests/libMicro/
H A Dgetsockname.c68 struct hostent *host; local
82 if ((host = gethostbyname("localhost")) == NULL) {
92 (void) memcpy(&adds.sin_addr.s_addr, host->h_addr_list[0],
H A Dlisten.c71 struct hostent *host; local
85 if ((host = gethostbyname("localhost")) == NULL) {
95 (void) memcpy(&adds.sin_addr.s_addr, host->h_addr_list[0],
/macosx-10.10/tcl-105/tcl_ext/sdx/sdx/lib/uri/
H A Duri.tcl76 variable host "(${hostname}|${hostnumber})"
79 variable hostOrPort "${host}(:${port})?"
200 # //<user>:<password>@<host>:<port>/<cwd1>/.../<cwdN>/<name>;type=<typecode>
207 # "//" [ <user> [":" <password> ] "@"] <host> [":" <port>] "/"
212 array set parts {user {} pwd {} host {} port {} path {} type {}}
227 # Handle user, password, host and port
243 user {} pwd {} host {} port {}
263 return ftp://${userPwd}$components(host)${port}/[string trimleft $components(path) /]$type
277 # //<host>:<port>/<path>?<searchpart>
279 # where <host> an
[all...]
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/uri/
H A Duri.tcl76 variable host "(${hostname}|${hostnumber})"
79 variable hostOrPort "${host}(:${port})?"
200 # //<user>:<password>@<host>:<port>/<cwd1>/.../<cwdN>/<name>;type=<typecode>
207 # "//" [ <user> [":" <password> ] "@"] <host> [":" <port>] "/"
212 array set parts {user {} pwd {} host {} port {} path {} type {}}
227 # Handle user, password, host and port
243 user {} pwd {} host {} port {}
263 return ftp://${userPwd}$components(host)${port}/[string trimleft $components(path) /]$type
277 # //<host>:<port>/<path>?<searchpart>
279 # where <host> an
[all...]
/macosx-10.10/Heimdal-398.1.2/appl/kx/
H A Dkx.c112 error = getaddrinfo (kc->host, portstr, &hints, &ai);
114 warnx ("%s: %s", kc->host, gai_strerror(error));
123 warn ("connect(%s)", kc->host);
138 err(1, "getsockname(%s)", kc->host);
212 const char *host = kc->host; local
235 err (1, "write to %s", host);
241 host);
246 errx (1, "%s: %.*s", host, (int)tmp, p);
248 errx (1, "%s: strange msg %d", host, *
357 const char *host = kc->host; local
577 doit_v5(const char *host, int port, const char *user, int passive_flag, int debug_flag, int keepalive_flag, int tcp_flag) argument
652 char *host = NULL; local
[all...]
/macosx-10.10/CPANInternal-159.1/Perl4-CoreLibs-0.003/lib/
H A Dsyslog.pl34 $host = 'localhost' unless $host; # set $syslog'host to change
176 if ($host =~ /^\d+\./) {
177 @bytes = split(/\./,$host);
180 ($name,$aliases,$addrtype,$length,@addrs) = gethostbyname($host);
181 die "Can't lookup $host\n" unless $name;
/macosx-10.10/Libinfo-459/rpc.subproj/
H A Dclnt_simple.c82 callrpc(host, prognum, versnum, procnum, inproc, in, outproc, out)
86 char *host;
108 && strcmp(crp->oldhost, host) == 0) {
118 if ((hp = gethostbyname(host)) == NULL)
138 (void) strcpy(crp->oldhost, host);
/macosx-10.10/WebCore-7600.1.25/platform/graphics/texmap/coordinated/
H A DCoordinatedImageBacking.cpp83 void CoordinatedImageBacking::addHost(Host* host) argument
85 ASSERT(!m_hosts.contains(host));
86 m_hosts.append(host);
89 void CoordinatedImageBacking::removeHost(Host* host) argument
91 size_t position = m_hosts.find(host);
/macosx-10.10/postfix-255/postfix/src/util/
H A Dinet_listen.c30 /* The communication endpoint to listen on. The syntax is "host:port".
32 /* A null host field means listen on all network interfaces.
90 char *host; local
101 if ((parse_err = host_port(buf, &host, "", &port, (char *) 0)) != 0)
103 if (*host == 0)
104 host = 0;
105 if ((aierr = hostname_to_sockaddr(host, port, SOCK_STREAM, &res0)) != 0)
117 msg_fatal("%s: host found but no usable address", addr);
/macosx-10.10/tcl-105/tcl_ext/sdx/sdx/lib/app-sdx/
H A Drexecd.tcl45 proc accept {callback chan host port} {
46 log "Accept: $chan $host $port"
52 log "Calling back to $host.$rport"
53 set rchan [socket $host $rport]
77 proc clnt_accept {chan rchan host port} {
79 log "clnt_accept: $rchan $host $port"
82 proc connect {host user pass cmd {port 512}} {
84 set chan [socket $host $port]
/macosx-10.10/KerberosHelper-151/Tests/
H A DKRBCreateSession.pl21 my $r_h = 'src'; # A routed host
23 my $ml_h = 'homedepot'; # A local host in a managed realm
24 my $mr_h = 'od'; # A routed host in a managed realm
25 my $btmm_h = 'kura'; # A BTMM host (not this one)
38 Another host reachable by bonjour: $l_h
40 A host in a managed realm: $mr_h
41 A routed host: $r_h
46 .local host will be: $l_h$l
47 FQDN host will be: $l_h$d
48 FQDN (routed) host wil
[all...]
/macosx-10.10/OpenSSH-189/openssh/
H A Dcanohost.c6 * Functions for returning the canonical host name of the remote site.
43 * Return the canonical name of the host at the other end of the socket. The
80 /* Map the IP address to a host name. */
111 * address actually is an address of this host. This is
136 /* Address not found for the host name. */
211 * Return the canonical name of the host in the other side of the current
212 * connection. The host name is cached, so it is efficient to call this
219 char *host; local
231 host = get_remote_hostname(packet_get_connection_in(), use_dns);
233 host
307 char *host, myname[NI_MAXHOST]; local
[all...]
H A Dsshconnect.c6 * Code to connect to a remote host, and to perform the client side of the
85 ssh_proxy_connect(const char *host, u_short port, const char *proxy_command) argument
113 command_string = percent_expand(tmp, "h", host, "p", strport,
333 * Opens a TCP/IP connection to the remote server on the given host.
334 * The address of the remote host will be returned in hostaddr.
340 * and %p substituted for host and port, respectively) to use to contact
344 ssh_connect(const char *host, struct sockaddr_storage * hostaddr, argument
358 return ssh_proxy_connect(host, port, proxy_command);
366 if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0)
368 host, ssh_gai_strerro
621 check_host_cert(const char *host, const Key *host_key) argument
726 char *ip = NULL, *host = NULL; local
1135 verify_host_key(char *host, struct sockaddr *hostaddr, Key *host_key) argument
1180 char *host, *cp; local
[all...]
/macosx-10.10/netcat-22/
H A Dsocks.c55 int socks_connect(const char *host, const char *port, struct addrinfo hints,
111 socks_connect(const char *host, const char *port, argument
140 if (decode_addrport(host, port, (struct sockaddr *)&addr,
164 hlen = strlen(host);
166 errx(1, "host name too long for SOCKS5");
172 memcpy(buf + 5, host, hlen);
212 decode_addrport(host, port, (struct sockaddr *)&addr,
236 if (strcspn(host, "\r\n\t []:") != strlen(host))
240 if (strchr(host, '
[all...]
/macosx-10.10/WebCore-7600.1.25/page/
H A DUserContentURLPattern.cpp101 // No other '*' can occur in the host.
129 const String& host = test.host(); local
130 if (equalIgnoringCase(host, m_host))
136 // If we're matching subdomains, and we have no host, that means the pattern
141 // Check if the domain is a subdomain of our host.
142 if (!host.endsWith(m_host, false))
145 ASSERT(host.length() > m_host.length());
148 return host[host
[all...]
/macosx-10.10/adv_cmds-158/finger/
H A Dnet.c69 char *host; local
73 host = strrchr(name, '@');
74 if (host == 0)
76 *host++ = '\0';
84 error = getaddrinfo(host, "finger", &hint, &ai0);
86 warnx("%s: %s", host, gai_strerror(error));
94 printf("[%s]\n", host);
/macosx-10.10/autofs-246/automountlib/
H A Dns_fstab.c49 * Structure for a server host in fstab.
52 char *name; /* name of the host */
53 struct fstabnode *fstab_ents; /* fstab entries for that host */
223 find_host_entry(const char *host, struct fstabhost ***bucketp) argument
233 * host name together, after lower-casing all upper-case
237 for (hashp = (const unsigned char *)host; (c = *hashp) != '\0'; hashp++)
243 if (strcasecmp(hostent->name, host) == 0)
303 free(static_ent->host);
378 char *mntops, *url, *host, *localpath; local
490 * Extract the host nam
748 fstab_process_host(const char *host, int (*callback)(struct fstabnode *, void *), void *callback_arg) argument
[all...]
/macosx-10.10/cups-408/cups/cups/
H A Dtestsnmp.c45 http_addrlist_t *host = NULL; /* Address of host */ local
79 else if (!host)
81 if ((host = httpAddrGetList(argv[i], AF_UNSPEC, "161")) == NULL)
91 if ((fd = _cupsSNMPOpen(host->addr.addr.sa_family)) < 0)
100 else if (!show_oid(fd, community, &(host->addr), argv[i], walk))
105 if (!host)
110 if (!show_oid(fd, community, &(host->addr),
283 puts("Usage: testsnmp [options] host-or-ip [oid ...]");
/macosx-10.10/emacs-93/emacs/lisp/gnus/
H A Dstarttls.el245 (defun starttls-open-stream-gnutls (name buffer host port)
246 (message "Opening STARTTLS connection to `%s'..." host)
251 starttls-gnutls-program "-s" host
272 host (if done "done" "failed"))
275 (defun starttls-open-stream (name buffer host port)
276 "Open a TLS connection for a port to a host.
286 Third arg is name of the host to connect to, or its IP address.
291 (starttls-open-stream-gnutls name buffer host port)
295 host (format "%s" port)
/macosx-10.10/ruby-106/ruby/ext/socket/
H A Dudpsocket.c69 * udpsocket.connect(host, port) => 0
84 udp_connect(VALUE sock, VALUE host, VALUE port) argument
91 arg.res = rsock_addrinfo(host, port, SOCK_DGRAM, 0);
102 * udpsocket.bind(host, port) #=> 0
113 udp_bind(VALUE sock, VALUE host, VALUE port) argument
119 res0 = rsock_addrinfo(host, port, SOCK_DGRAM, 0);
135 * udpsocket.send(mesg, flags, host, port) => numbytes_sent
158 VALUE flags, host, port; local
168 rb_scan_args(argc, argv, "4", &arg.mesg, &flags, &host, &port);
171 res0 = rsock_addrinfo(host, por
[all...]
/macosx-10.10/screen-22/screen/
H A Dutmp.c409 char host[sizeof(D_loginhost) + 15]; local
411 char *host = 0; local
433 host[sizeof(host) - 15] = '\0';
436 strncpy(host, D_loginhost, sizeof(host) - 15);
437 if (D_loginslot != (slot_t)0 && D_loginslot != (slot_t)-1 && host[0] != '\0')
445 * HPUX uses host:0.0, so chop at "." and ":" (Eric Backus)
447 for (p = host; *p; p++)
452 for (p = host; *
[all...]
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/libraries/libldap/
H A Ddnssrv.c224 char host[DNSBUFSIZ]; local
243 status = dn_expand(reply, reply + len, p, host, sizeof(host));
252 status = dn_expand(reply, reply + len, p, host, sizeof(host));
267 status = dn_expand(reply, reply + len, p + 6, host, sizeof(host));
276 if ( port == 0 || host[ 0 ] == '\0' ) {
280 buflen = strlen(host) + STRLENOF(":65355 ");
290 cur += sprintf(&hostlist[cur], "%s:%hu", host, por
[all...]
/macosx-10.10/WebCore-7600.1.25/Modules/plugins/
H A DQuickTimePluginReplacement.js2 function createPluginReplacement(root, parent, host, attributeNames, attributeValues)
4 return new Replacement(root, parent, host, attributeNames, attributeValues);
7 function Replacement(root, parent, host, attributeNames, attributeValues)
11 this.host = host;
174 this.host.postEvent(eventName);
317 return this.host.movieSize;
326 return this.host.timedMetaData;
335 return this.host.accessLog;
344 return this.host
[all...]

Completed in 389 milliseconds

<<11121314151617181920>>