/freebsd-9.3-release/libexec/talkd/ |
H A D | print.c | 80 char tbuf[80], abuf[80]; local 88 (void)snprintf(abuf, sizeof(abuf), "answer %d", rp->answer); 89 ap = abuf;
|
/freebsd-9.3-release/crypto/openssl/crypto/dh/ |
H A D | dhtest.c | 105 unsigned char *abuf = NULL, *bbuf = NULL; local 177 abuf = (unsigned char *)OPENSSL_malloc(alen); 178 aout = DH_compute_key(abuf, b->pub_key, a); 182 sprintf(buf, "%02X", abuf[i]); 197 if ((aout < 4) || (bout != aout) || (memcmp(abuf, bbuf, aout) != 0)) { 205 if (abuf != NULL) 206 OPENSSL_free(abuf);
|
/freebsd-9.3-release/tools/regression/aio/aiop/ |
H A D | aiop.c | 129 char **abuf; local 192 abuf = calloc(aio_len, sizeof(char *)); 194 abuf[i] = calloc(1, io_size * sizeof(char)); 202 set_aio(aio + i, choose_aio(iowhat), fd, offset, io_size, abuf[i]); 212 set_aio(aio + n, choose_aio(iowhat), fd, offset, io_size, abuf[n]);
|
/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | recvbuff.c | 82 int i, abuf; local 84 abuf = nbufs + buffer_shortfall; 88 bufp = emalloc_zero(abuf * sizeof(*bufp)); 91 for (i = 0; i < abuf; i++) {
|
/freebsd-9.3-release/crypto/openssl/crypto/ecdh/ |
H A D | ecdhtest.c | 129 unsigned char *abuf = NULL, *bbuf = NULL; local 213 abuf = (unsigned char *)OPENSSL_malloc(alen); 215 ECDH_compute_key(abuf, alen, EC_KEY_get0_public_key(b), a, KDF1_SHA1); 220 sprintf(buf, "%02X", abuf[i]); 246 if ((aout < 4) || (bout != aout) || (memcmp(abuf, bbuf, aout) != 0)) { 274 sprintf(buf, "%02X", abuf[i]); 290 if (abuf != NULL) 291 OPENSSL_free(abuf);
|
/freebsd-9.3-release/lib/libipsec/ |
H A D | ipsec_dump_policy.c | 183 char abuf[NI_MAXHOST * 2 + 2]; local 223 abuf[0] = '\0'; 236 if (set_addresses(abuf, sizeof(abuf), sa1, sa2) != 0) { 261 snprintf(buf, len, "%s/%s/%s/%s", proto, mode, abuf, level); 269 snprintf(buf, len, "%s/%s/%s/%s%c%u", proto, mode, abuf, level,
|
/freebsd-9.3-release/sys/crypto/via/ |
H A D | padlock_cipher.c | 206 u_char *buf, *abuf; local 214 abuf = PADLOCK_ALIGN(buf); 249 enccrd->crd_len, abuf); 263 padlock_cbc(abuf, abuf, enccrd->crd_len / AES_BLOCK_LEN, key, cw, 271 enccrd->crd_len, abuf);
|
/freebsd-9.3-release/usr.bin/mail/ |
H A D | quit.c | 72 FILE *ibuf, *obuf, *fbuf, *rbuf, *readstat, *abuf; local 218 if ((abuf = Fopen(mbox, "r")) != NULL) { 219 while ((c = getc(abuf)) != EOF) 221 (void)Fclose(abuf); 306 abuf = Fopen(mailname, "r+"); 307 if (abuf == NULL) 310 (void)putc(c, abuf); 312 trunc(abuf); 313 (void)Fclose(abuf);
|
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | dmu_diff.c | 154 arc_buf_t *abuf; local 159 if (arc_read(NULL, spa, bp, arc_getbuf_func, &abuf, 164 blk = abuf->b_data; 172 (void) arc_buf_remove_ref(abuf, &abuf);
|
H A D | dmu_send.c | 397 arc_buf_t *abuf; local 399 if (arc_read(NULL, spa, bp, arc_getbuf_func, &abuf, 404 blk = abuf->b_data; 412 (void) arc_buf_remove_ref(abuf, &abuf); 415 arc_buf_t *abuf; local 418 if (arc_read(NULL, spa, bp, arc_getbuf_func, &abuf, 423 err = dump_spill(dsp, zb->zb_object, blksz, abuf->b_data); 424 (void) arc_buf_remove_ref(abuf, &abuf); 427 arc_buf_t *abuf; local [all...] |
H A D | zil.c | 192 arc_buf_t *abuf = NULL; local 205 error = arc_read(NULL, zilog->zl_spa, bp, arc_getbuf_func, &abuf, 222 zil_chain_t *zilc = abuf->b_data; 235 char *lr = abuf->b_data; 250 VERIFY(arc_buf_remove_ref(abuf, &abuf)); 265 arc_buf_t *abuf = NULL; local 281 error = arc_read(NULL, zilog->zl_spa, bp, arc_getbuf_func, &abuf, 286 bcopy(abuf->b_data, wbuf, arc_buf_size(abuf)); [all...] |
H A D | zfs_vnops.c | 805 arc_buf_t *abuf; local 934 abuf = NULL; 938 if (abuf != NULL) 939 dmu_return_arcbuf(abuf); 944 if (xuio && abuf == NULL) { 947 abuf = dmu_xuio_arcbuf(xuio, i_iov); 950 iovec_t *, aiov, arc_buf_t *, abuf); 951 ASSERT((aiov->iov_base == abuf->b_data) || 952 ((char *)aiov->iov_base - (char *)abuf->b_data + 953 aiov->iov_len == arc_buf_size(abuf))); 5334 arc_buf_t *abuf; local 5448 arc_buf_t *abuf; local [all...] |
/freebsd-9.3-release/contrib/wpa/src/radius/ |
H A D | radius_client.c | 387 char abuf[50]; local 445 hostapd_ip_txt(&old->addr, abuf, sizeof(abuf)), 469 hostapd_ip_txt(&old->addr, abuf, sizeof(abuf)), 951 char abuf[50]; local 960 hostapd_ip_txt(&nserv->addr, abuf, sizeof(abuf)), 1075 abuf, sizeof(abuf)), 1366 char abuf[50]; local 1415 char abuf[50]; local [all...] |
H A D | radius_server.c | 861 char abuf[50]; local 879 if (inet_ntop(AF_INET6, &from.sin6.sin6_addr, abuf, 880 sizeof(abuf)) == NULL) 881 abuf[0] = '\0'; 884 len, abuf, from_port); 893 os_strlcpy(abuf, inet_ntoa(from.sin.sin_addr), sizeof(abuf)); 896 len, abuf, from_port); 904 RADIUS_DEBUG("Unknown client %s - packet ignored", abuf); 937 RADIUS_DEBUG("Invalid Message-Authenticator from %s", abuf); 1394 char abuf[50], mbuf[50]; local [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/cms/ |
H A D | cms_sd.c | 672 unsigned char *abuf = NULL; local 699 alen = ASN1_item_i2d((ASN1_VALUE *)si->signedAttrs, &abuf, 701 if (!abuf) 703 if (EVP_SignUpdate(&mctx, abuf, alen) <= 0) 706 OPENSSL_free(abuf); 707 abuf = OPENSSL_malloc(siglen); 708 if (!abuf) 711 if (EVP_SignFinal(&mctx, abuf, &siglen, si->pkey) <= 0) 722 ASN1_STRING_set0(si->signature, abuf, siglen); 727 if (abuf) 737 unsigned char *abuf = NULL; local [all...] |
/freebsd-9.3-release/sys/netgraph/ |
H A D | ng_async.c | 82 u_char *abuf; /* Buffer to encode sync into */ member in struct:ng_async_private 191 sc->abuf = malloc(ASYNC_BUF_SIZE(sc->cfg.smru), 295 free(sc->abuf, M_NETGRAPH_ASYNC); 296 sc->abuf = buf; 342 free(sc->abuf, M_NETGRAPH_ASYNC); 391 sc->abuf[(*len)++] = PPP_ESCAPE; 394 sc->abuf[(*len)++] = x; 457 sc->abuf[alen++] = PPP_FLAG; 475 sc->abuf[alen++] = PPP_FLAG; 478 if (!(m = m_devget(sc->abuf, ale [all...] |
/freebsd-9.3-release/contrib/bind9/lib/isc/ |
H A D | netaddr.c | 128 char abuf[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255")]; local 157 r = inet_ntop(netaddr->family, type, abuf, sizeof(abuf)); 161 alen = strlen(abuf); 162 INSIST(alen < sizeof(abuf)); 175 isc_buffer_putmem(target, (unsigned char *)abuf, alen);
|
/freebsd-9.3-release/contrib/ntp/lib/isc/ |
H A D | netaddr.c | 129 char abuf[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255")]; local 158 r = inet_ntop(netaddr->family, type, abuf, sizeof(abuf)); 162 alen = (unsigned int)strlen(abuf); /* no overflow possible */ 163 INSIST(alen < sizeof(abuf)); 176 isc_buffer_putmem(target, (unsigned char *)abuf, alen);
|
/freebsd-9.3-release/lib/libc/resolv/ |
H A D | res_data.c | 275 static char abuf[MAXDNAME]; local 277 return (res_hostalias(&_res, name, abuf, sizeof abuf));
|
/freebsd-9.3-release/lib/libc/net/ |
H A D | hesiod.c | 374 unsigned char qbuf[PACKETSZ], abuf[MAX_HESRESP], *p, *eom, *eor; local 389 n = res_send(qbuf, n, abuf, MAX_HESRESP); 395 hp = (HEADER *) (void *) abuf; 398 p = abuf + sizeof(HEADER); 399 eom = abuf + n;
|
/freebsd-9.3-release/contrib/bind9/lib/lwres/ |
H A D | getaddrinfo.c | 349 char abuf[sizeof(struct in6_addr)]; local 387 if (lwres_net_pton(AF_INET, hostname, (struct in_addr *)abuf) 394 struct in6_addr *a6 = (struct in6_addr *)abuf; 406 lwres_net_pton(AF_INET6, ntmp, abuf) == 1) 415 } else if (lwres_net_pton(AF_INET6, hostname, abuf) == 1) { 430 memmove((char *)ai->ai_addr + addroff, abuf, addrsize);
|
/freebsd-9.3-release/crypto/openssl/crypto/pkcs7/ |
H A D | pk7_doit.c | 743 unsigned char md_data[EVP_MAX_MD_SIZE], *abuf = NULL; local 787 alen = ASN1_item_i2d((ASN1_VALUE *)sk, &abuf, 789 if (!abuf) 791 EVP_SignUpdate(&ctx_tmp, abuf, alen); 792 OPENSSL_free(abuf); 968 unsigned char md_dat[EVP_MAX_MD_SIZE], *abuf = NULL; local 999 alen = ASN1_item_i2d((ASN1_VALUE *)sk, &abuf, 1001 EVP_VerifyUpdate(&mdc_tmp, abuf, alen); 1003 OPENSSL_free(abuf);
|
/freebsd-9.3-release/usr.sbin/services_mkdb/ |
H A D | services_mkdb.c | 178 char keyb[BUFSIZ], datab[BUFSIZ], abuf[BUFSIZ]; local 193 sl->sl_str[0], port, proto, mkaliases(sl, abuf, sizeof(abuf))) + 1;
|
/freebsd-9.3-release/usr.sbin/rtadvd/ |
H A D | config.c | 73 static char abuf[DNAME_LABELENC_MAXLEN]; variable 811 strncpy(abuf, ap, c); 812 abuf[c] = '\0'; 814 if (inet_pton(AF_INET6, abuf, &rdna->ra_dns) != 1) { 816 __func__, abuf); 863 strncpy(abuf, ap, c); 864 abuf[c] = '\0'; 866 dnsa->da_len = dname_labelenc(dnsa->da_dom, abuf);
|
/freebsd-9.3-release/contrib/bind9/lib/irs/ |
H A D | getaddrinfo.c | 367 char abuf[sizeof(struct in6_addr)]; local 405 if (inet_pton(AF_INET, hostname, (struct in_addr *)abuf) 411 struct in6_addr *a6 = (struct in6_addr *)abuf; 423 inet_pton(AF_INET6, ntmp, abuf) == 1) { 431 } else if (inet_pton(AF_INET6, hostname, abuf) == 1) { 449 memmove((char *)ai->ai_addr + addroff, abuf, addrsize);
|