/macosx-10.10/CPANInternal-159.1/Perl4-CoreLibs-0.003/lib/ |
H A D | hostname.pl | 11 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.10/ntp-92/sntp/ |
H A D | kod_management.h | 7 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.10/mDNSResponder-561.1.1/mDNSShared/ |
H A D | PlatformCommon.h | 18 extern void ReadDDNSSettingsFromConfFile(mDNS *const m, const char *const filename, domainname *const hostname, domainname *const domain, mDNSBool *DomainDiscoveryDisabled);
|
/macosx-10.10/WebCore-7600.1.25/platform/network/ |
H A D | DNS.h | 33 void prefetchDNS(const String& hostname);
|
/macosx-10.10/curl-83.1.2/curl/lib/ |
H A D | hostcheck.h | 29 int Curl_cert_hostcheck(const char *match_pattern, const char *hostname);
|
H A D | hostcheck.c | 42 * Match a hostname against a wildcard pattern. 61 static int hostmatch(char *hostname, char *pattern) argument 71 /* normalize pattern and hostname by stripping off trailing dots */ 72 size_t len = strlen(hostname); 73 if(hostname[len-1]=='.') 74 hostname[len-1]=0; 81 return Curl_raw_equal(pattern, hostname) ? 84 /* detect IP address as hostname and fail the match if so */ 85 if(Curl_inet_pton(AF_INET, hostname, &ignored) > 0) 88 else if(Curl_inet_pton(AF_INET6, hostname, 124 Curl_cert_hostcheck(const char *match_pattern, const char *hostname) argument [all...] |
H A D | hostip4.c | 95 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.10/WebCore-7600.1.25/platform/network/soup/ |
H A D | DNSSoup.cpp | 53 void DNSResolveQueue::platformResolve(const String& hostname) argument 57 soup_session_prefetch_dns(SoupNetworkSession::defaultSession().soupSession(), hostname.utf8().data(), nullptr, resolvedCallback, nullptr); 60 void prefetchDNS(const String& hostname) argument 63 if (hostname.isEmpty()) 66 DNSResolveQueue::shared().add(hostname);
|
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/dns/ |
H A D | resolv.tcl | 28 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.10/Heimdal-398.1.2/appl/login/ |
H A D | utmp_login.c | 38 /* 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.10/apache-793/httpd/build/ |
H A D | buildinfo.sh | 38 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.10/autofs-246/automountlib/ |
H A D | selfcheck.c | 53 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.10/bootp-298/bootpd.tproj/ |
H A D | bootpdfile.h | 36 char * * hostname, 38 boolean_t bootp_getbyip_file(struct in_addr ciaddr, char * * hostname,
|
H A D | bootplookup.h | 35 char * * hostname, 37 boolean_t bootp_getbyip_ds(struct in_addr ciaddr, char * * hostname,
|
/macosx-10.10/procmail-14/procmail/src/ |
H A D | acommon.h | 4 *hostname P((void));
|
/macosx-10.10/shell_cmds-179/hostname/ |
H A D | hostname.c | 38 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.10/tcl-105/tcl84/tcl/unix/ |
H A D | tclUnixSock.c | 42 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.10/WebKit2-7600.1.25/WebProcess/MediaCache/ |
H A D | WebMediaCacheManager.cpp | 60 void WebMediaCacheManager::clearCacheForHostname(const String& hostname) argument 63 HTMLMediaElement::clearMediaCacheForSite(hostname); 65 UNUSED_PARAM(hostname);
|
/macosx-10.10/Heimdal-398.1.2/lib/krb5/ |
H A D | sock_principal.c | 47 char hostname[NI_MAXHOST]; local 54 ret = getnameinfo (sa, salen, hostname, sizeof(hostname), NULL, 0, 0); 63 hostname,
|
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/contrib/ldapc++/src/ |
H A D | LDAPRebind.h | 23 virtual LDAPRebindAuth* getRebindAuth(const std::string& hostname,
|
/macosx-10.10/OpenSSH-189/openssh/ |
H A D | auth-rhosts.c | 55 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.10/ruby-106/ruby/sample/webrick/ |
H A D | httpsd.rb | 4 hostname = WEBrick::Utils::getservername 5 subject = [["O", "ruby-lang.org"], ["OU", "sample"], ["CN", hostname]]
|
/macosx-10.10/WebKit2-7600.1.25/UIProcess/API/C/ |
H A D | WKMediaCacheManager.cpp | 44 void WKMediaCacheManagerClearCacheForHostname(WKMediaCacheManagerRef mediaCacheManagerRef, WKStringRef hostname) argument 46 toImpl(mediaCacheManagerRef)->clearCacheForHostname(toWTFString(hostname));
|
/macosx-10.10/configd-699.1.5/Plugins/IPMonitor/ |
H A D | set-hostname.c | 59 #define HOSTNAME_NOTIFY_KEY "com.apple.system.hostname" 64 set_hostname(CFStringRef hostname) argument 66 if (hostname != NULL) { 75 if (_SC_cfstring_to_cstring(hostname, 79 my_log(LOG_ERR, "could not convert [new] hostname"); 90 "setting hostname to \"%s\"", 227 CFStringRef hostname = NULL; local 253 hostname = CFArrayGetValueAtIndex(hosts, 0); 254 my_log(LOG_DEBUG, "hostname (reverse DNS query) = %@", hostname); 344 CFStringRef hostname = NULL; local 528 CFStringRef hostname; local [all...] |
/macosx-10.10/cups-408/cups/backend/ |
H A D | usb.c | 49 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
|