Searched refs:hname (Results 1 - 25 of 43) sorted by relevance

12

/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/
H A Dinet_addr_host.c70 const char *hname; local
84 hname = 0;
88 hname = mystrndup(hostname + 1, hostnamelen - 2);
91 hname = hostname;
96 if ((aierr = hostname_to_sockaddr(hname, serv, SOCK_STREAM, &res0)) == 0) {
126 if (hname && hname != hostname)
127 myfree((char *) hname);
/netbsd-6-1-5-RELEASE/usr.bin/msgc/
H A Dmsgdb.c103 char hname[1024]; local
114 snprintf (hname, 1024, "%s.h", out_name);
115 nlen = strlen(hname);
116 if (hname[nlen-2] != '.' || hname[nlen-1] != 'h') {
136 out_file = fopen (hname, "w");
139 prog_name, hname);
202 (void)fprintf (out_file, "#include \"%s\"\n", hname);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/lib/libcrypto/
H A Drnd_keys.c69 char hname[64], accum[512]; local
75 gethostname(hname, sizeof(hname) - 1);
81 when.tv_sec, when.tv_usec, getpid(), hname, getuid(),
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/lib/libdes/
H A Dornd_keys.c69 char hname[64], accum[512]; local
75 gethostname(hname, sizeof(hname) - 1);
81 (long long)when.tv_sec, (long)when.tv_usec, getpid(), hname,
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/src/
H A Dkerberos4-client.c45 char *hname; local
55 hname = xstrdup (hp->h_name);
77 realm = krb_realmofhost (hname);
85 hname, realm, (unsigned long) 0, &msg_data,
95 free (hname);
/netbsd-6-1-5-RELEASE/usr.sbin/rdate/
H A Drdate.c77 char *hname; local
107 hname = argv[optind];
113 error = getaddrinfo(hname, "time", &hints, &res0);
115 errx(1, "%s: %s", gai_strerror(error), hname);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/
H A Diruserok.c97 char hname[MaxHostNameLen]; local
114 strlcpy(hname, hp->h_name, sizeof(hname));
155 (char *)&hname, NULL, ypdomain);
162 (char *)&hname, NULL, ypdomain))
/netbsd-6-1-5-RELEASE/bin/ksh/
H A Dhistory.c77 static char *hname; /* current name of history file */ variable
573 if (hname && strcmp(hname, name) == 0)
580 if (hname) {
581 afree(hname, APERM);
582 hname = NULL;
590 afree(hname, APERM);
591 hname = NULL;
689 hname = NULL;
698 hname
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/menuc/
H A Dmdb.c119 char hname[1024]; local
133 snprintf (hname, 1024, "%s.h", out_name);
134 nlen = strlen(hname);
135 if (hname[nlen-2] != '.' || hname[nlen-1] != 'h') {
155 out_file = fopen (hname, "w");
158 prog_name, hname);
274 fprintf (out_file, "#include \"%s\"\n\n", hname);
/netbsd-6-1-5-RELEASE/usr.sbin/timed/timed/
H A Dmeasure.c69 const char *hname,
280 inet_ntoa(addr->sin_addr), hname);
284 fprintf(stderr, "measure %s: %s\n", hname,
288 syslog(LOG_ERR, "measure %s: %m", hname);
290 syslog(LOG_ERR, "measure: %s did not respond", hname);
295 hname, trials);
67 measure(u_long maxmsec, u_long wmsec, const char *hname, const struct sockaddr_in *addr, int printerr) argument
/netbsd-6-1-5-RELEASE/gnu/dist/gmake/
H A Dfile.c40 return_ISTRING_HASH_1 (((struct file const *) key)->hname);
47 return_ISTRING_HASH_2 (((struct file const *) key)->hname);
55 return_ISTRING_COMPARE (((struct file const *) x)->hname,
56 ((struct file const *) y)->hname);
122 file_key.hname = name;
163 file_key.hname = name;
176 new->name = new->hname = name;
206 from_file->name = from_file->hname;
212 the `hname' member, since it must be put in a new hash bucket,
226 file_key.hname
[all...]
H A Dremake.c661 if (!streq (file->name, file->hname))
662 printf (_("; using VPATH name `%s'"), file->hname);
675 file->name = file->hname;
686 if (!streq(file->name, file->hname))
688 DB (DB_BASIC, (_(" Ignoring VPATH name `%s'.\n"), file->hname));
1112 if (search && strcmp (arfile->hname, arname))
1126 arname = arfile->hname;
1141 if (arfile->name == arfile->hname)
1158 member_date = ar_member_date (file->hname);
1161 : file_timestamp_cons (file->hname, member_dat
[all...]
H A Dfiledef.h31 char *hname; /* Hashed filename */ member in struct:file
/netbsd-6-1-5-RELEASE/distrib/alpha/instkernel/ramdisk/
H A Dinstall.sh386 elif [ "$hname" = "" ]; then
387 hname=$part_name
467 if [ "$hname" != "" ]; then
469 echo "Initializing $hname filesystem, and mounting..."
471 $DONTDOIT mkdir -p /mnt/$hname
472 $DONTDOIT mount -v $ASYNC /dev/${drivename}h /mnt/$hname
496 if [ "$hname" != "" ]; then
497 echo /dev/${drivename}h /$hname ffs rw 1 5 | sed -e s,//,/, >> $FSTAB
/netbsd-6-1-5-RELEASE/usr.bin/login/
H A Dcommon.c172 const char *hname; local
175 hname = (hostname == NULL) ? "?" : hostname;
205 " %s", username, tty, hname, assbuf);
212 "%s", nested, pwd->pw_name, tty, hname, assbuf);
219 pwd->pw_name, tty, hname, assbuf);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/sl/
H A Dslc-gram.y689 char hname[PATH_MAX];
698 cprint(0, "#include \"%s\"\n\n", hname);
764 strlcpy(hname, cname, sizeof(hname));
766 strlcat(hname, ".h", sizeof(hname));
774 hfile = fopen(hname, "w");
776 err(1, "%s", hname);
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/arlib/
H A Darlib.c499 char hname[65]; local
502 len = strlen((char *)strncpy(hname, name, sizeof(hname)-1));
504 if (rptr && (hname[len-1] != '.'))
506 (void)strncat(hname, ar_dot, sizeof(hname)-len-1);
515 (void)strncat(hname, _res.dnsrch[rptr->re_srch],
516 sizeof(hname) - ++len -1);
519 (void)strncat(hname, ar_domainname, sizeof(hname)
[all...]
/netbsd-6-1-5-RELEASE/games/hack/
H A Dhack.main.c92 char *hname; /* name of the game (argv[0] of call) */ variable
113 hname = argv[0];
193 gethdate(hname);
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tests/hashes/
H A Dt_hashes.c316 t_hash(const char *hname, HASH_INIT init, UPDATE update, FINAL final, argument
329 ck(hname, in, out);
382 t_hmac(const char *hname, HMAC_INIT init, UPDATE update, SIGN sign, argument
399 ck(hname, in, out);
/netbsd-6-1-5-RELEASE/usr.bin/ftp/
H A Dutil.c1360 char hname[NI_MAXHOST]; local
1365 hname, sizeof(hname), sname, sizeof(sname),
1367 strlcpy(hname, "?", sizeof(hname));
1397 "save", hname, sname);
1403 hname, sname);
1421 warn("Can't connect to `%s:%s'", hname, sname);
1467 "restore", hname, sname);
/netbsd-6-1-5-RELEASE/external/zlib/pigz/dist/
H A Dpigz.c333 local char *hname = NULL; /* name from header (allocated) */ variable
1639 RELEASE(hname);
1680 char *next = hname = malloc(fname + 1);
1681 if (hname == NULL)
1734 hname = malloc(size);
1735 if (hname == NULL)
1746 hname = realloc(hname, size);
1747 if (hname == NULL)
1750 memcpy(hname
[all...]
/netbsd-6-1-5-RELEASE/sbin/routed/rtquery/
H A Drtquery.c823 char hname[MAXHOSTNAMELEN+1]; local
831 if (i > (int)sizeof(hname)-1) /* name too long */
833 memmove(hname, name, i);
834 hname[i] = '\0';
836 name = hname;
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpdc/
H A Dntpdc.c448 const char *hname
462 cp = hname;
470 hname = name;
490 a_info = getaddrinfo(hname, service, &hints, &ai);
500 a_info = getaddrinfo(hname, service, &hints, &ai);
505 a_info = getaddrinfo(hname, service, &hints, &ai);
1474 const char *hname,
1492 if (decodenetnum(hname, num)) {
1497 } else if (getaddrinfo(hname, "ntp", &hints, &ai) == 0) {
1513 fprintf(stderr, "***Can't find host %s\n", hname);
1473 getnetnum( const char *hname, sockaddr_u *num, char *fullhost, int af ) argument
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/irs/
H A Ddns_ho.c694 const char *hname; local
722 hname = pvt->host.h_name = NULL;
762 hname = bp;
764 /* The qname can be abbreviated, but hname is now absolute. */
826 hname = bp;
890 hname = bp;
903 if (ns_samename(hname, bp) != 1) {
935 hname = bp;
/netbsd-6-1-5-RELEASE/usr.sbin/lpr/common_source/
H A Dcommon.c120 gethost(const char *hname) argument
122 const char *p = strchr(hname, '@');
123 return p ? ++p : hname;

Completed in 218 milliseconds

12