/freebsd-10.1-release/contrib/ipfilter/lib/ |
H A D | printpoolfield.c | 30 char abuf[80]; local 53 abuf, sizeof(abuf))); 59 abuf, sizeof(abuf))); 65 abuf, sizeof(abuf))); 75 abuf, sizeof(abuf))); 81 abuf, sizeo [all...] |
/freebsd-10.1-release/libexec/talkd/ |
H A D | print.c | 76 char tbuf[80], abuf[80]; local 84 (void)snprintf(abuf, sizeof(abuf), "answer %d", rp->answer); 85 ap = abuf;
|
/freebsd-10.1-release/contrib/wpa/src/radius/ |
H A D | radius_das.c | 37 const char *abuf, 66 abuf, from_port); 81 "'%s' from %s:%d", tmp, abuf, from_port); 110 abuf, from_port); 115 "%s:%d", abuf, from_port); 152 char abuf[50]; local 171 os_strlcpy(abuf, inet_ntoa(from.sin.sin_addr), sizeof(abuf)); 175 len, abuf, from_port); 184 "from %s:%d failed", abuf, from_por 35 radius_das_disconnect(struct radius_das_data *das, struct radius_msg *msg, const char *abuf, int from_port) argument [all...] |
H A D | radius_client.c | 381 char abuf[50]; local 439 hostapd_ip_txt(&old->addr, abuf, sizeof(abuf)), 463 hostapd_ip_txt(&old->addr, abuf, sizeof(abuf)), 945 char abuf[50]; local 954 hostapd_ip_txt(&nserv->addr, abuf, sizeof(abuf)), 1069 abuf, sizeof(abuf)), 1360 char abuf[50]; local 1409 char abuf[50]; local [all...] |
H A D | radius_server.c | 881 char abuf[50]; local 899 if (inet_ntop(AF_INET6, &from.sin6.sin6_addr, abuf, 900 sizeof(abuf)) == NULL) 901 abuf[0] = '\0'; 904 len, abuf, from_port); 913 os_strlcpy(abuf, inet_ntoa(from.sin.sin_addr), sizeof(abuf)); 916 len, abuf, from_port); 924 RADIUS_DEBUG("Unknown client %s - packet ignored", abuf); 957 RADIUS_DEBUG("Invalid Message-Authenticator from %s", abuf); 1423 char abuf[50], mbuf[50]; local [all...] |
/freebsd-10.1-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-10.1-release/tools/regression/aio/aiop/ |
H A D | aiop.c | 130 char **abuf; local 193 abuf = calloc(aio_len, sizeof(char *)); 195 abuf[i] = calloc(1, io_size * sizeof(char)); 203 set_aio(aio + i, choose_aio(iowhat), fd, offset, io_size, abuf[i]); 213 set_aio(aio + n, choose_aio(iowhat), fd, offset, io_size, abuf[n]);
|
/freebsd-10.1-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-10.1-release/crypto/openssl/crypto/ecdh/ |
H A D | ecdhtest.c | 129 unsigned char *abuf = NULL, *bbuf = NULL; local 219 abuf = (unsigned char *)OPENSSL_malloc(alen); 221 ECDH_compute_key(abuf, alen, EC_KEY_get0_public_key(b), a, KDF1_SHA1); 226 sprintf(buf, "%02X", abuf[i]); 252 if ((aout < 4) || (bout != aout) || (memcmp(abuf, bbuf, aout) != 0)) { 280 sprintf(buf, "%02X", abuf[i]); 296 if (abuf != NULL) 297 OPENSSL_free(abuf);
|
/freebsd-10.1-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-10.1-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); 257 padlock_cbc(abuf, abuf, enccrd->crd_len / AES_BLOCK_LEN, key, cw, 263 enccrd->crd_len, abuf);
|
/freebsd-10.1-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-10.1-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 | 477 arc_buf_t *abuf; local 479 if (arc_read(NULL, spa, bp, arc_getbuf_func, &abuf, 484 blk = abuf->b_data; 492 (void) arc_buf_remove_ref(abuf, &abuf); 495 arc_buf_t *abuf; local 498 if (arc_read(NULL, spa, bp, arc_getbuf_func, &abuf, 503 err = dump_spill(dsp, zb->zb_object, blksz, abuf->b_data); 504 (void) arc_buf_remove_ref(abuf, &abuf); 512 arc_buf_t *abuf; local [all...] |
H A D | zil.c | 197 arc_buf_t *abuf = NULL; local 210 error = arc_read(NULL, zilog->zl_spa, bp, arc_getbuf_func, &abuf, 227 zil_chain_t *zilc = abuf->b_data; 240 char *lr = abuf->b_data; 255 VERIFY(arc_buf_remove_ref(abuf, &abuf)); 270 arc_buf_t *abuf = NULL; local 286 error = arc_read(NULL, zilog->zl_spa, bp, arc_getbuf_func, &abuf, 291 bcopy(abuf->b_data, wbuf, arc_buf_size(abuf)); [all...] |
H A D | zfs_vnops.c | 816 arc_buf_t *abuf; local 945 abuf = NULL; 949 if (abuf != NULL) 950 dmu_return_arcbuf(abuf); 955 if (xuio && abuf == NULL) { 958 abuf = dmu_xuio_arcbuf(xuio, i_iov); 961 iovec_t *, aiov, arc_buf_t *, abuf); 962 ASSERT((aiov->iov_base == abuf->b_data) || 963 ((char *)aiov->iov_base - (char *)abuf->b_data + 964 aiov->iov_len == arc_buf_size(abuf))); 5358 arc_buf_t *abuf; local 5472 arc_buf_t *abuf; local [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/pkcs7/ |
H A D | pk7_doit.c | 853 unsigned char *abuf = NULL; local 856 abuf = OPENSSL_malloc(abuflen); 857 if (!abuf) 860 if (!EVP_SignFinal(&ctx_tmp, abuf, &abuflen, si->pkey)) { 864 ASN1_STRING_set0(si->enc_digest, abuf, abuflen); 913 unsigned char *abuf = NULL; local 932 alen = ASN1_item_i2d((ASN1_VALUE *)si->auth_attr, &abuf, 934 if (!abuf) 936 if (EVP_DigestSignUpdate(&mctx, abuf, alen) <= 0) 938 OPENSSL_free(abuf); 1078 unsigned char md_dat[EVP_MAX_MD_SIZE], *abuf = NULL; local [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/cms/ |
H A D | cms_sd.c | 642 unsigned char *abuf = NULL; local 667 alen = ASN1_item_i2d((ASN1_VALUE *)si->signedAttrs, &abuf, 669 if (!abuf) 671 if (EVP_DigestSignUpdate(&mctx, abuf, alen) <= 0) 675 OPENSSL_free(abuf); 676 abuf = OPENSSL_malloc(siglen); 677 if (!abuf) 679 if (EVP_DigestSignFinal(&mctx, abuf, &siglen) <= 0) 690 ASN1_STRING_set0(si->signature, abuf, siglen); 695 if (abuf) 706 unsigned char *abuf = NULL; local [all...] |
/freebsd-10.1-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-10.1-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-10.1-release/lib/libc/resolv/ |
H A D | res_data.c | 278 static char abuf[MAXDNAME]; local 280 return (res_hostalias(&_res, name, abuf, sizeof abuf));
|
/freebsd-10.1-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;
|
H A D | gethostnamadr.c | 536 char abuf[MAXDNAME]; local 571 (cp = res_hostalias(statp, name, abuf, sizeof abuf)))
|
/freebsd-10.1-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-10.1-release/usr.sbin/rtadvd/ |
H A D | config.c | 73 static char abuf[DNAME_LABELENC_MAXLEN]; variable 813 strncpy(abuf, ap, c); 814 abuf[c] = '\0'; 816 if (inet_pton(AF_INET6, abuf, &rdna->ra_dns) != 1) { 818 __func__, abuf); 865 strncpy(abuf, ap, c); 866 abuf[c] = '\0'; 868 dnsa->da_len = dname_labelenc(dnsa->da_dom, abuf);
|