Searched refs:hbuf (Results 26 - 35 of 35) sorted by last modified time

12

/freebsd-11-stable/lib/libc/tests/resolv/
H A Dresolv_test.c96 char portstr[6], buf[1024], hbuf[NI_MAXHOST], pbuf[NI_MAXSERV]; local
110 memset(hbuf, 0, sizeof(hbuf));
112 getnameinfo(res->ai_addr, res->ai_addrlen, hbuf, sizeof(hbuf),
115 "%p: reverse %s %s\n", self, hbuf, pbuf);
/freebsd-11-stable/crypto/heimdal/appl/telnet/telnet/
H A Dcommands.c1570 char hbuf[256+1];
1575 gethostname(hbuf, 256);
1576 hbuf[256] = '\0';
1579 if (strchr(hbuf, '.') == 0) {
1585 error = getaddrinfo (hbuf, NULL, &hints, &ai);
1589 strlcpy (hbuf,
1598 error = asprintf (&cp, "%s%s", hbuf, cp2);
1562 char hbuf[256+1]; local
/freebsd-11-stable/contrib/groff/src/roff/troff/
H A Denv.cpp3810 char hbuf[WORD_MAX+2]; local
3811 char *buf = hbuf + 1;
3834 hbuf[0] = hbuf[len+1] = '.';
3836 current_language->patterns.hyphenate(hbuf, len+2, num);
/freebsd-11-stable/contrib/apr/network_io/unix/
H A Dsendrecv.c820 void * hbuf=NULL, * tbuf=NULL; local
852 hbuf = malloc(parms.header_length);
857 hbuf = apr_palloc(sock->pool, parms.header_length);
861 memcpy((char *)hbuf + ptr, hdtr->headers[i].iov_base,
865 parms.header_data = hbuf;
938 if(hbuf) free(hbuf);
/freebsd-11-stable/sbin/ping6/
H A Dping6.c2700 char hbuf[NI_MAXHOST]; local
2708 if (l > 63 || l > sizeof(hbuf) - 1)
2710 strncpy(hbuf, name, l);
2711 hbuf[(int)l] = '\0';
2744 if (inet_ntop(AF_INET6, &in6, hbuf, sizeof(hbuf)) == NULL)
2747 return strdup(hbuf);
/freebsd-11-stable/lib/libc/net/
H A Drcmdsh.c69 static char hbuf[NI_MAXHOST]; local
96 strncpy(hbuf, res->ai_canonname, sizeof(hbuf) - 1);
97 hbuf[sizeof(hbuf) - 1] = '\0';
98 *ahost = hbuf;
/freebsd-11-stable/lib/libc/resolv/
H A Dres_send.c1101 char hbuf[NI_MAXHOST]; local
1105 if (getnameinfo(address, alen, hbuf, sizeof(hbuf),
1107 strncpy(hbuf, "?", sizeof(hbuf) - 1);
1108 hbuf[sizeof(hbuf) - 1] = '\0';
1113 string, hbuf, sbuf, strerror(error));
/freebsd-11-stable/usr.sbin/config/
H A Dmkoptions.c293 static char hbuf[MAXPATHLEN]; local
307 (void)strlcpy(hbuf, path(nbuf), sizeof(hbuf));
308 return (hbuf);
/freebsd-11-stable/sys/opencrypto/
H A Dgmac.c50 uint8_t hbuf[GMAC_BLOCK_LEN]; local
54 rijndaelEncrypt(agc->keysched, agc->rounds, zeros, hbuf);
56 h = gf128_read(hbuf);
60 explicit_bzero(hbuf, sizeof hbuf);
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dinflate.c32 * - Make hbuf[] unsigned char to match parameter type in inflate.c
394 hbuf[0] = (unsigned char)(word); \
395 hbuf[1] = (unsigned char)((word) >> 8); \
396 check = crc32(check, hbuf, 2); \
401 hbuf[0] = (unsigned char)(word); \
402 hbuf[1] = (unsigned char)((word) >> 8); \
403 hbuf[2] = (unsigned char)((word) >> 16); \
404 hbuf[3] = (unsigned char)((word) >> 24); \
405 check = crc32(check, hbuf, 4); \
579 unsigned char hbuf[ local
[all...]

Completed in 144 milliseconds

12