Searched refs:hostname (Results 1 - 25 of 850) sorted by relevance

1234567891011>>

/macosx-10.9.5/CPANInternal-140/Perl4-CoreLibs-0.003/lib/
H A Dhostname.pl11 sub hostname subroutine
13 local(*P,@tmp,$hostname,$_);
14 if (open(P,"hostname 2>&1 |") && (@tmp = <P>) && close(P))
16 chop($hostname = $tmp[$#tmp]);
20 chop($hostname = $tmp[$#tmp]);
24 die "$0: Cannot get hostname from 'hostname' or 'uname -n'\n";
28 $hostname;
/macosx-10.9.5/WebCore-7537.78.1/platform/network/curl/
H A DDNSCurl.cpp33 void prefetchDNS(const String& hostname) argument
/macosx-10.9.5/WebCore-7537.78.1/platform/network/qt/
H A DDNSQt.cpp38 void lookup(QString hostname) argument
40 if (hostname.isEmpty()) {
45 QHostInfo::lookupHost(hostname, this, SLOT(lookedUp(QHostInfo)));
59 void prefetchDNS(const String& hostname) argument
61 if (hostname.isEmpty())
63 DNSResolveQueue::shared().add(hostname);
73 void DNSResolveQueue::platformResolve(const String& hostname) argument
76 dnsPrefetchHelper.lookup(QString(hostname));
/macosx-10.9.5/ntp-88/sntp/
H A Dkod_management.h7 char hostname[255]; member in struct:kod_entry
12 int search_entry(char *hostname, struct kod_entry **dst);
14 void add_entry(char *hostname, char *type);
15 void delete_entry(char *hostname, char *type);
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSShared/
H A DPlatformCommon.h18 extern void ReadDDNSSettingsFromConfFile(mDNS *const m, const char *const filename, domainname *const hostname, domainname *const domain, mDNSBool *DomainDiscoveryDisabled);
/macosx-10.9.5/WebCore-7537.78.1/platform/network/
H A DDNS.h33 void prefetchDNS(const String& hostname);
/macosx-10.9.5/curl-78.94.1/curl/lib/
H A Dhostcheck.h29 int Curl_cert_hostcheck(const char *match_pattern, const char *hostname);
H A Dhostcheck.c32 * Match a hostname against a wildcard pattern.
40 static int hostmatch(const char *hostname, const char *pattern) argument
47 return Curl_raw_equal(pattern, hostname) ?
60 return Curl_raw_equal(pattern, hostname) ?
63 hostname_label_end = strchr(hostname, '.');
69 label of the hostname is at least as large as the left-most label
71 if(hostname_label_end - hostname < pattern_label_end - pattern)
76 return Curl_raw_nequal(pattern, hostname, prefixlen) &&
82 int Curl_cert_hostcheck(const char *match_pattern, const char *hostname) argument
85 !hostname || !*hostnam
[all...]
H A Dhostip4.c95 const char *hostname,
107 ai = Curl_ipv4_resolve_r(hostname, port);
109 infof(conn->data, "Curl_ipv4_resolve_r failed for %s\n", hostname);
125 Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname, argument
136 if(Curl_inet_pton(AF_INET, hostname, &in) > 0)
138 return Curl_ip2addr(AF_INET, &in, hostname, port);
154 (void)Curl_getaddrinfo_ex(hostname, sbufptr, &hints, &ai);
176 h = gethostbyname_r(hostname,
195 (void)gethostbyname_r(hostname,
262 res = gethostbyname_r(hostname,
94 Curl_getaddrinfo(struct connectdata *conn, const char *hostname, int port, int *waitp) argument
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/network/soup/
H A DDNSSoup.cpp52 void DNSResolveQueue::platformResolve(const String& hostname) argument
56 soup_session_prefetch_dns(ResourceHandle::defaultSession(), hostname.utf8().data(), 0, resolvedCallback, 0);
59 void prefetchDNS(const String& hostname) argument
62 if (hostname.isEmpty())
65 DNSResolveQueue::shared().add(hostname);
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/dns/
H A Dresolv.tcl28 namespace export resolve init ignore hostname
50 # hostname - Name of host to remove from the cache.
52 proc ::resolv::ignore { hostname } {
54 catch {unset Cache($hostname)}
83 # hostname to get a chance to get back some (full) information on
98 # Now, a lot of mixture to arrange so that hostname points at the
100 set hostname ""
105 set hostname [lindex $nl [expr {$i + 1}]]
106 if { [string match -nocase "UnKnown" $hostname] } {
107 set hostname ""
[all...]
/macosx-10.9.5/Heimdal-323.92.1/appl/login/
H A Dutmp_login.c38 /* try to put something useful from hostname into dst, dst_sz:
42 shrink_hostname (const char *hostname, argument
50 if (strlen(hostname) < dst_sz) {
51 strlcpy (dst, hostname, dst_sz);
55 hd = strchr (hostname, '.');
58 && hd - hostname < dst_sz) {
59 strlcpy (dst, hostname, dst_sz);
60 dst[hd - hostname] = '\0';
64 ret = getaddrinfo (hostname, NULL, NULL, &ai);
66 strncpy (dst, hostname, dst_s
85 prepare_utmp(struct utmp *utmp, char *tty, const char *username, const char *hostname) argument
127 utmp_login(char *tty, const char *username, const char *hostname) argument
133 utmp_login(char *tty, const char *username, const char *hostname) argument
[all...]
/macosx-10.9.5/apache-786.1/httpd/build/
H A Dbuildinfo.sh38 echo " %h ...... substituted by determined hostname (bar)"
58 hostname=''
85 # determine hostname and domainname
87 hostname="`(uname -n) 2>/dev/null |\
89 if [ "x$hostname" = "x" ]; then
90 hostname="`(hostname) 2>/dev/null |\
92 if [ "x$hostname" = "x" ]; then
93 hostname='unknown'
96 case $hostname i
[all...]
/macosx-10.9.5/autofs-234/automountlib/
H A Dselfcheck.c53 self_check(hostname)
54 char *hostname;
75 if (hostname[0] == '.') {
87 res = self_check_af(hostname, ifaddrs, AF_INET6) ||
88 self_check_af(hostname, ifaddrs, AF_INET);
94 self_check_af(char *hostname, struct ifaddrs *ifaddrs, int family) argument
104 if ((hostinfo = getipnodebyname(hostname, family, AI_DEFAULT,
109 hostname);
112 "self_check: unknown host: %s\n", hostname);
/macosx-10.9.5/bootp-268.1/bootpd.tproj/
H A Dbootpdfile.h36 char * * hostname,
38 boolean_t bootp_getbyip_file(struct in_addr ciaddr, char * * hostname,
H A Dbootplookup.h35 char * * hostname,
37 boolean_t bootp_getbyip_ds(struct in_addr ciaddr, char * * hostname,
/macosx-10.9.5/procmail-14/procmail/src/
H A Dacommon.h4 *hostname P((void));
/macosx-10.9.5/shell_cmds-175/hostname/
H A Dhostname.c38 static char sccsid[] = "@(#)hostname.c 8.1 (Berkeley) 5/31/93";
42 __FBSDID("$FreeBSD: src/bin/hostname/hostname.c,v 1.19 2006/12/08 07:47:08 kientzle Exp $");
58 char *p, hostname[MAXHOSTNAMELEN]; local
65 * On Linux, "hostname -f" prints FQDN.
66 * BSD "hostname" always prints FQDN by
87 if (gethostname(hostname, (int)sizeof(hostname)))
90 p = strchr(hostname, '.');
94 (void)printf("%s\n", hostname);
[all...]
/macosx-10.9.5/tcl-102/tcl84/tcl/unix/
H A DtclUnixSock.c42 static char hostname[TCL_HOSTNAME_LEN + 1]; variable
73 char buffer[sizeof(hostname)];
80 return hostname;
120 hostname[0] = 0;
122 Tcl_ExternalToUtf(NULL, NULL, native, -1, 0, NULL, hostname,
123 sizeof(hostname), NULL, NULL, NULL);
127 return hostname;
/macosx-10.9.5/Heimdal-323.92.1/lib/krb5/
H A Dsock_principal.c47 char hostname[NI_MAXHOST]; local
54 ret = getnameinfo (sa, salen, hostname, sizeof(hostname), NULL, 0, 0);
63 hostname,
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/contrib/ldapc++/src/
H A DLDAPRebind.h23 virtual LDAPRebindAuth* getRebindAuth(const std::string& hostname,
/macosx-10.9.5/OpenSSH-186/openssh/
H A Dauth-rhosts.c55 check_rhosts_file(const char *filename, const char *hostname, argument
149 if (!innetgr(host + 1, hostname, NULL, NULL) &&
152 } else if (strcasecmp(host, hostname) && strcmp(host, ipaddr) != 0)
153 continue; /* Different hostname. */
189 const char *hostname, *ipaddr; local
191 hostname = get_canonical_hostname(options.use_dns);
193 return auth_rhosts2(pw, client_user, hostname, ipaddr);
197 auth_rhosts2_raw(struct passwd *pw, const char *client_user, const char *hostname, argument
205 debug2("auth_rhosts2: clientuser %s hostname %s ipaddr %s",
206 client_user, hostname, ipadd
317 auth_rhosts2(struct passwd *pw, const char *client_user, const char *hostname, const char *ipaddr) argument
[all...]
/macosx-10.9.5/ruby-104/ruby/sample/webrick/
H A Dhttpsd.rb4 hostname = WEBrick::Utils::getservername
5 subject = [["O", "ruby-lang.org"], ["OU", "sample"], ["CN", hostname]]
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/API/C/
H A DWKMediaCacheManager.cpp44 void WKMediaCacheManagerClearCacheForHostname(WKMediaCacheManagerRef mediaCacheManagerRef, WKStringRef hostname) argument
46 toImpl(mediaCacheManagerRef)->clearCacheForHostname(toWTFString(hostname));
/macosx-10.9.5/cups-372.4/cups/backend/
H A Dusb.c49 int print_device(const char *uri, const char *hostname,
95 const char *hostname, /* I - Hostname/manufacturer */
111 (void)hostname;
142 hostname[1024], /* Hostname */ local
196 hostname, sizeof(hostname), &port,
248 status = print_device(uri, hostname, resource, options, print_fd, copies,
94 print_device(const char *uri, const char *hostname, const char *resource, char *options, int print_fd, int copies, int argc, char *argv[]) argument

Completed in 272 milliseconds

1234567891011>>