Searched refs:abuf (Results 1 - 25 of 35) sorted by relevance

12

/macosx-10.10.1/remote_cmds-47/talkd.tproj/
H A Dprint.c83 char tbuf[80], abuf[80]; local
91 (void)snprintf(abuf, sizeof(abuf), "answer %d", rp->answer);
92 ap = abuf;
/macosx-10.10.1/OpenSSL098-52/src/crypto/dh/
H A Ddhtest.c102 unsigned char *abuf=NULL,*bbuf=NULL; local
167 abuf=(unsigned char *)OPENSSL_malloc(alen);
168 aout=DH_compute_key(abuf,b->pub_key,a);
173 sprintf(buf,"%02X",abuf[i]);
189 if ((aout < 4) || (bout != aout) || (memcmp(abuf,bbuf,aout) != 0))
199 if (abuf != NULL) OPENSSL_free(abuf);
/macosx-10.10.1/OpenSSL098-52/src/test/
H A Ddhtest.c102 unsigned char *abuf=NULL,*bbuf=NULL; local
167 abuf=(unsigned char *)OPENSSL_malloc(alen);
168 aout=DH_compute_key(abuf,b->pub_key,a);
173 sprintf(buf,"%02X",abuf[i]);
189 if ((aout < 4) || (bout != aout) || (memcmp(abuf,bbuf,aout) != 0))
199 if (abuf != NULL) OPENSSL_free(abuf);
H A Decdhtest.c130 unsigned char *abuf=NULL,*bbuf=NULL; local
206 abuf=(unsigned char *)OPENSSL_malloc(alen);
207 aout=ECDH_compute_key(abuf,alen,EC_KEY_get0_public_key(b),a,KDF1_SHA1);
213 sprintf(buf,"%02X",abuf[i]);
239 if ((aout < 4) || (bout != aout) || (memcmp(abuf,bbuf,aout) != 0))
270 sprintf(buf, "%02X", abuf[i]);
288 if (abuf != NULL) OPENSSL_free(abuf);
/macosx-10.10.1/ntp-92/libntp/
H A Drecvbuff.c84 int i, abuf; local
86 abuf = nbufs + buffer_shortfall;
90 bufp = emalloc(abuf * sizeof(*bufp));
93 for (i = 0; i < abuf; i++) {
/macosx-10.10.1/OpenSSL098-52/src/crypto/ecdh/
H A Decdhtest.c130 unsigned char *abuf=NULL,*bbuf=NULL; local
206 abuf=(unsigned char *)OPENSSL_malloc(alen);
207 aout=ECDH_compute_key(abuf,alen,EC_KEY_get0_public_key(b),a,KDF1_SHA1);
213 sprintf(buf,"%02X",abuf[i]);
239 if ((aout < 4) || (bout != aout) || (memcmp(abuf,bbuf,aout) != 0))
270 sprintf(buf, "%02X", abuf[i]);
288 if (abuf != NULL) OPENSSL_free(abuf);
/macosx-10.10.1/ipsec-286.1.1/ipsec-tools/libipsec/
H A Dipsec_dump_policy.c285 char abuf[NI_MAXHOST * 2 + 2]; local
322 abuf[0] = '\0';
335 if (set_addresses(abuf, sizeof(abuf),
361 snprintf(buf, len, "%s/%s/%s/%s", proto, mode, abuf, level);
369 snprintf(buf, len, "%s/%s/%s/%s%c%u", proto, mode, abuf, level,
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/
H A Dsearch.c212 char abuf[BUFSIZ/2], *ptr = abuf; local
215 sprintf(abuf, "scope=%d deref=%d", op->ors_scope, op->ors_deref);
218 op->o_log_prefix, op->o_req_dn.bv_val, abuf,
223 if (alen >= sizeof(abuf)) {
224 alen = sizeof(abuf)-1;
226 if (len && (len + 1 + alen >= sizeof(abuf))) {
228 op->o_log_prefix, abuf, 0, 0, 0 );
230 ptr = abuf;
242 op->o_log_prefix, abuf,
[all...]
H A Dmodify.c134 char abuf[BUFSIZ/2], *ptr = abuf; local
141 if (len + 1 + tmp->sml_type.bv_len > sizeof(abuf)) {
143 op->o_log_prefix, abuf, 0, 0, 0 );
146 ptr = abuf;
148 if( 1 + tmp->sml_type.bv_len > sizeof(abuf)) {
163 op->o_log_prefix, abuf, 0, 0, 0 );
/macosx-10.10.1/mail_cmds-30/mail/
H A Dquit.c79 FILE *ibuf = NULL, *obuf = NULL, *fbuf, *rbuf, *readstat = NULL, *abuf; local
225 if ((abuf = Fopen(mbox, "r")) != NULL) {
226 while ((c = getc(abuf)) != EOF)
228 (void)Fclose(abuf);
313 abuf = Fopen(mailname, "r+");
314 if (abuf == NULL)
317 (void)putc(c, abuf);
319 trunc(abuf);
320 (void)Fclose(abuf);
/macosx-10.10.1/OpenSSL098-52/src/crypto/cms/
H A Dcms_sd.c734 unsigned char *abuf = NULL; local
763 alen = ASN1_item_i2d((ASN1_VALUE *)si->signedAttrs,&abuf,
765 if(!abuf)
767 if (EVP_SignUpdate(&mctx, abuf, alen) <= 0)
770 OPENSSL_free(abuf);
771 abuf = OPENSSL_malloc(siglen);
772 if(!abuf)
775 if (EVP_SignFinal(&mctx, abuf, &siglen, si->pkey) <= 0)
787 ASN1_STRING_set0(si->signature, abuf, siglen);
792 if (abuf)
802 unsigned char *abuf = NULL; local
[all...]
/macosx-10.10.1/configd-699.1.5/dnsinfo/
H A Ddnsinfo_internal.h62 char abuf[32]; local
65 (void)inet_ntop(AF_INET, &resolver->sortaddr[i]->address, abuf, sizeof(abuf));
67 SCPrint(TRUE, stdout, CFSTR(" sortaddr[%d] : %s/%s\n"), i, abuf, mbuf);
/macosx-10.10.1/bind9-45.101/bind9/lib/isc/
H A Dnetaddr.c128 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);
/macosx-10.10.1/ntp-92/lib/isc/
H A Dnetaddr.c130 char abuf[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255")]; local
159 r = inet_ntop(netaddr->family, type, abuf, sizeof(abuf));
163 alen = strlen(abuf);
164 INSIST(alen < sizeof(abuf));
177 isc_buffer_putmem(target, (unsigned char *)abuf, alen);
/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-core/Modules/objc/test/
H A Dspecialtypecodes.m264 char abuf[2];
267 abuf[0] = a; abuf[1] = 0;
271 [NSString stringWithCString:abuf encoding:NSISOLatin1StringEncoding],
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/Modules/objc/test/
H A Dspecialtypecodes.m264 char abuf[2];
267 abuf[0] = a; abuf[1] = 0;
271 [NSString stringWithCString:abuf encoding:NSISOLatin1StringEncoding],
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-core-2.5.1/Modules/objc/test/
H A Dspecialtypecodes.m264 char abuf[2];
267 abuf[0] = a; abuf[1] = 0;
271 [NSString stringWithCString:abuf encoding:NSISOLatin1StringEncoding],
/macosx-10.10.1/apache-793/httpd/modules/filters/
H A Dsed1.c282 for (i = 0; i < sizeof(eval->abuf) / sizeof(eval->abuf[0]); i++)
283 eval->abuf[i] = NULL;
284 eval->aptr = eval->abuf;
569 if (eval->aptr > eval->abuf)
705 if(eval->aptr >= &eval->abuf[SED_ABUFSIZE]) {
866 if(eval->aptr > eval->abuf) {
876 if(eval->aptr > eval->abuf) {
900 if(eval->aptr > eval->abuf) {
909 if(eval->aptr >= &eval->abuf[SED_ABUFSIZ
[all...]
H A Dlibsed.h132 sed_reptr_t *abuf[SED_ABUFSIZE]; member in struct:sed_eval_s
/macosx-10.10.1/libresolv-57/
H A Dres_data.c198 static char abuf[NS_MAXDNAME]; local
206 return (res_hostalias(_res_static, name, abuf, sizeof abuf));
/macosx-10.10.1/bind9-45.101/bind9/lib/lwres/
H A Dgetaddrinfo.c349 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 memcpy((char *)ai->ai_addr + addroff, abuf, addrsize);
/macosx-10.10.1/OpenSSL098-52/src/crypto/pkcs7/
H A Dpk7_doit.c723 unsigned char md_data[EVP_MAX_MD_SIZE], *abuf=NULL; local
775 alen = ASN1_item_i2d((ASN1_VALUE *)sk,&abuf,
777 if(!abuf) goto err;
778 EVP_SignUpdate(&ctx_tmp,abuf,alen);
779 OPENSSL_free(abuf);
954 unsigned char md_dat[EVP_MAX_MD_SIZE], *abuf = NULL; local
985 alen = ASN1_item_i2d((ASN1_VALUE *)sk, &abuf,
987 EVP_VerifyUpdate(&mdc_tmp, abuf, alen);
989 OPENSSL_free(abuf);
/macosx-10.10.1/lsof-53/lsof/
H A Dmisc.c1030 char abuf[MAXPATHLEN+1]; local
1062 for (alen = 0, ap = abuf, argp1 = argp2 = arg; *argp2; argp1 = argp2 ) {
1088 (void) strncpy(abuf, lbuf, llen);
1089 ap = &abuf[llen];
1117 if (abuf[alen - 1] == '/')
1135 if ((alen + llen + slen) >= (int)sizeof(abuf))
1148 if (strcmp(arg, abuf) == 0) {
1162 if (!(s1 = mkstrcpy(abuf, (MALLOC_S *)NULL))) {
1167 safestrprt(abuf, stderr, 1);
/macosx-10.10.1/bzip2-36/bzip2/
H A Dbzip2.c1076 } abuf; local
1082 if (!getattrlist(path, &alist, &abuf, sizeof(abuf), 0) && abuf.length == sizeof(abuf)) {
1083 memset(abuf.info, 0, 8);
1084 setattrlist(path, &alist, abuf.info, sizeof(abuf.info), 0);
/macosx-10.10.1/file_cmds-242/gzip/
H A Dgzip.c1257 } abuf; local
1263 if (!fgetattrlist(fd, &alist, &abuf, sizeof(abuf), 0) && abuf.length == sizeof(abuf)) {
1264 memset(abuf.info, 0, 8);
1265 fsetattrlist(fd, &alist, abuf.info, sizeof(abuf.info), 0);

Completed in 215 milliseconds

12