/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/ |
H A D | inet_addr_host.c | 70 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 D | msgdb.c | 103 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 D | rnd_keys.c | 69 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 D | ornd_keys.c | 69 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 D | kerberos4-client.c | 45 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 D | rdate.c | 77 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 D | iruserok.c | 97 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 D | history.c | 77 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 D | mdb.c | 119 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 D | measure.c | 69 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 D | file.c | 40 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 D | remake.c | 661 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 D | filedef.h | 31 char *hname; /* Hashed filename */ member in struct:file
|
/netbsd-6-1-5-RELEASE/distrib/alpha/instkernel/ramdisk/ |
H A D | install.sh | 386 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 D | common.c | 172 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 D | slc-gram.y | 689 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 D | arlib.c | 499 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 D | hack.main.c | 92 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 D | t_hashes.c | 316 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 D | util.c | 1360 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 D | pigz.c | 333 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 D | rtquery.c | 823 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 D | ntpdc.c | 448 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 D | dns_ho.c | 694 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 D | common.c | 120 gethost(const char *hname) argument 122 const char *p = strchr(hname, '@'); 123 return p ? ++p : hname;
|