Searched refs:buf2 (Results 101 - 125 of 167) sorted by relevance

1234567

/macosx-10.10.1/OpenSSL098-52/src/apps/
H A Dspeed.c500 unsigned char *buf=NULL,*buf2=NULL; local
799 if ((buf2=(unsigned char *)OPENSSL_malloc((int)BUFSIZE)) == NULL)
1834 AES_ige_encrypt(buf,buf2,
1848 AES_ige_encrypt(buf,buf2,
1862 AES_ige_encrypt(buf,buf2,
2054 ret=RSA_sign(NID_md5_sha1, buf,36, buf2, &rsa_num, rsa_key[j]);
2070 ret=RSA_sign(NID_md5_sha1, buf,36, buf2,
2090 ret=RSA_verify(NID_md5_sha1, buf,36, buf2, rsa_num, rsa_key[j]);
2105 ret=RSA_verify(NID_md5_sha1, buf,36, buf2,
2148 ret=DSA_sign(EVP_PKEY_DSA,buf,20,buf2,
[all...]
/macosx-10.10.1/bind9-45.101/bind9/contrib/dlz/bin/dlzbdb/
H A Ddlzbdb.c548 isc_buffer_t buf2; local
553 isc_buffer_init(&buf2, &data_arr2, max_data_len);
574 isc_buffer_putstr(&buf2, token.value.as_pointer);
576 isc_buffer_putmem(&buf2, "\0", 1);
620 isc_buffer_clear(&buf2);
/macosx-10.10.1/tcpdump-61/tcpdump/
H A Dsmbutil.c803 const u_char *buf2; local
805 buf2 = smb_fdata(buf, fmt, maxbuf, unicodestr);
807 if (buf2 == NULL)
809 if (buf2 == buf)
811 buf = buf2;
H A Daddrtoname.c480 char buf2[BUFSIZE]; local
488 if (ether_ntohost(buf2, (struct ether_addr *)ep) == 0) {
489 tp->e_name = strdup(buf2);
/macosx-10.10.1/file_cmds-242/install/
H A Dxinstall.c573 char buf2[BUFFER_SIZE]; local
584 n2 = read(to_fd, buf2, n1);
586 rv = memcmp(buf1, buf2, n1);
/macosx-10.10.1/passwordserver_sasl-193/cyrus_sasl/utils/
H A Dtestsuite.c2285 char buf[8192], buf2[8192]; local
2399 memset(buf2, 0, 8192);
2401 memcpy(buf2, out2, outlen2);
2408 strcat(buf2, out);
2409 if(strcmp(buf2, txstring)) {
2410 printf("Exptected '%s' but got '%s'\n", txstring, buf2);
2447 sprintf(buf2, "%s%s", txstring, txstring);
2449 if(strcmp(out, buf2)) {
2489 memset(buf2, 0, 8192);
2490 memcpy(buf2, ou
[all...]
/macosx-10.10.1/procmail-14/procmail/src/
H A Dlmtp.c77 if((already=bufcur-buf2)+len>linebuf||flush)
78 { if(already&&already!=rwrite(savstdout,bufcur=buf2,already)||
85 #define bufinit bufcur=buf2
335 bufwrite(0,0,1); /* free up buf2 for makeFrom() */
337 /* bufinit; only needed if buf2 might be realloced */
430 * buffer (buf2?) and repeatedly fill it looking for the end
/macosx-10.10.1/BerkeleyDB-21/db/btree/
H A Dbt_verify.c869 void *buf1, *buf2, *tmpbuf; local
893 buf1 = buf2 = NULL;
937 buf1 = buf2;
938 buf2 = tmpbuf;
1014 * (We set p2->data to buf2 before the call
1018 p2->data = buf2;
1027 buf2 = p2->data;
1135 if (buf2 != NULL)
1136 __os_ufree(env, buf2);
/macosx-10.10.1/Heimdal-398.1.2/lib/krb5/
H A Dinit_creds_pw.c546 char buf1[BUFSIZ], buf2[BUFSIZ]; local
592 password_data[1].data = buf2;
593 password_data[1].length = sizeof(buf2);
605 memset (buf2, 0, sizeof(buf2));
609 if (strcmp (buf1, buf2) == 0)
612 memset (buf2, 0, sizeof(buf2));
653 memset (buf2, 0, sizeof(buf2));
3604 char buf2[1024]; local
4033 char buf2[1024]; local
[all...]
H A Daddr_families.c354 char buf[128], buf2[3]; local
362 snprintf(buf2, sizeof(buf2), "%02x", p[i]);
365 strlcat(buf, buf2, sizeof(buf));
/macosx-10.10.1/OpenSSH-189/osslshim/ossl/
H A Dossl-dsa.c358 unsigned char buf[SHA_DIGEST_LENGTH], buf2[SHA_DIGEST_LENGTH]; local
429 memcpy(buf2, seed, SHA_DIGEST_LENGTH);
440 EVP_Digest(buf, SHA_DIGEST_LENGTH, buf2, NULL, HASH, NULL);
442 md[i] ^= buf2[i];
/macosx-10.10.1/OpenSSL098-52/src/ssl/
H A Dt1_enc.c665 unsigned char *q,buf2[12]; local
681 out,buf2,sizeof buf2);
684 return sizeof buf2;
/macosx-10.10.1/bind9-45.101/bind9/bin/tests/names/
H A Dt_names.c1808 isc_buffer_t buf2; local
1822 isc_buffer_init(&buf2, junk2, BUFLEN);
1827 dns_result = dns_name_fromtext(&dns_name1, &buf1, NULL, 0, &buf2);
1972 char buf2[BUFLEN]; local
1987 isc_buffer_init(&iscbuf2, buf2, buflen);
2160 unsigned char buf2[BUFLEN]; local
2187 isc_buffer_init(&iscbuf2, buf2, BUFLEN);
/macosx-10.10.1/bind9-45.101/bind9/lib/dns/
H A Ddst_api.c957 unsigned char buf1[DST_KEY_MAXSIZE], buf2[DST_KEY_MAXSIZE]; local
970 isc_buffer_init(&b2, buf2, sizeof(buf2));
975 buf2[0] = buf2[1] = 0;
989 memmove(&buf2[4], &buf2[6], r2.length - 6);
H A Drequest.c1037 isc_buffer_t *buf2 = NULL; local
1098 result = isc_buffer_allocate(mctx, &buf2, r.length + (tcp ? 2 : 0));
1102 isc_buffer_putuint16(buf2, (isc_uint16_t)r.length);
1103 result = isc_buffer_copyregion(buf2, &r);
1111 *bufferp = buf2;
1118 if (buf2 != NULL)
1119 isc_buffer_free(&buf2);
/macosx-10.10.1/libresolv-57/
H A Dres_send.c456 * res_queriesmatch(buf1, eom1, buf2, eom2)
458 * in (buf1,eom1) and (buf2,eom2)?
467 res_queriesmatch(const u_char *buf1, const u_char *eom1, const u_char *buf2, const u_char *eom2) argument
472 if (buf1 + NS_HFIXEDSZ > eom1 || buf2 + NS_HFIXEDSZ > eom2)
480 (((const HEADER *)buf2)->opcode == ns_o_update))
483 if (qdcount != ntohs(((const HEADER*)buf2)->qdcount)) return (0);
498 if (!res_nameinquery(tname, ttype, tclass, buf2, eom2)) return (0);
/macosx-10.10.1/smb-759.0/lib/
H A Dlibtest.c140 char buf2[256]; local
142 buf1[0] = buf2[0] = '\0';
144 CFStringGetCString(converted, buf2, sizeof(buf2), kCFStringEncodingUTF8);
146 fprintf(stderr, "expected '%s' but received '%s'\n", buf1, buf2);
/macosx-10.10.1/tcl-105/tcl_ext/snack/snack/generic/
H A DjkFormant.c661 The output is placed in buf2. If invert != 0, the filter magnitude
729 int dwnsamp(buf,in_samps,buf2,out_samps,insert,decimate,ncoef,ic,smin,smax)
730 short *buf, **buf2;
739 if(!(*buf2 = buft = (short*)ckalloc(sizeof(short)*insert*in_samps))) {
772 *buf2 = (short*)ckrealloc((void *) *buf2,sizeof(short) * (*out_samps));
/macosx-10.10.1/postfix-255/postfix/src/tls/
H A Dtls_dane.c1902 unsigned char *buf2; local
1923 buf2 = buf = (unsigned char *) mymalloc(len);
1924 i2d_X509(cert, &buf2);
1931 buf2 = buf = (unsigned char *) mymalloc(len);
1932 i2d_PUBKEY(pkey, &buf2);
1938 OPENSSL_assert(buf2 - buf == len);
/macosx-10.10.1/ICU-531.30/icuSources/common/
H A Dustring.cpp1143 u_memcmp(const UChar *buf1, const UChar *buf2, int32_t count) { argument
1149 result = (int32_t)(uint16_t)*buf1 - (int32_t)(uint16_t)*buf2;
1154 buf2++;
/macosx-10.10.1/ICU-531.30/icuSources/tools/toolutil/
H A Dudbgutil.cpp463 char buf2[100]; local
468 u_UCharsToChars(buf, buf2, len+1);
469 return stringToStringBuffer(target,targetCapacity, buf2,status);
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/contrib/slapd-modules/nssov/
H A Dnssov.c76 char buf2[1024]; local
77 struct berval bv2 = {sizeof(buf2),buf2};
/macosx-10.10.1/xnu-2782.1.97/bsd/netinet/
H A Dip_fw2.c3647 struct ip_old_fw *buf2, *rule_vers0; local
3650 buf2 = _MALLOC(static_count * sizeof(struct ip_old_fw), M_TEMP, M_WAITOK);
3651 if (buf2 == 0) {
3658 rule_vers0 = buf2;
3669 error = sooptcopyout(sopt, buf2, len);
3670 _FREE(buf2, M_TEMP);
3674 struct ip_fw_compat *buf2; local
3691 buf2 = _MALLOC(buf_size, M_TEMP, M_WAITOK);
3692 if (buf2 == 0) {
3698 rule_vers1 = (char*)buf2;
[all...]
/macosx-10.10.1/vim-55/src/
H A Ddiff.c2485 diff_get_corresponding_line(buf1, lnum1, buf2, lnum3)
2488 buf_T *buf2;
2498 idx2 = diff_buf_idx(buf2);
2514 if (lnum2 > buf2->b_ml.ml_line_count)
2515 lnum2 = buf2->b_ml.ml_line_count;
2547 if (lnum2 > buf2->b_ml.ml_line_count)
2548 lnum2 = buf2->b_ml.ml_line_count;
/macosx-10.10.1/tcl-105/tcl_ext/mk4tcl/metakit/src/
H A Dformat.cpp1191 c4_Bytes buf2;
1192 _data.FetchBytes(0, _data.ColSize(), buf2, true);
1193 changed = buf != buf2;

Completed in 256 milliseconds

1234567