Searched refs:buf2 (Results 51 - 75 of 85) sorted by relevance

1234

/freebsd-9.3-release/sbin/gbde/
H A Dgbde.c204 char buf2[BUFSIZ + SHA512_DIGEST_LENGTH]; local
221 memcpy(buf2, sc->sha2, SHA512_DIGEST_LENGTH);
244 buf2 + bpos, sizeof buf2 - bpos,
249 if (strcmp(buf1 + bpos, buf2 + bpos)) {
/freebsd-9.3-release/contrib/gdb/gdb/
H A Duw-thread.c274 static char *buf, buf1[80], buf2[80];
275 if (!buf || buf == buf2)
278 buf = buf2;
H A Dremote-e7000.c1963 char buf2[200]; local
1969 sprintf (buf2, ".PC %s\r", phex_nz (read_register (PC_REGNUM), 0));
1970 puts_e7000debug (buf2);
/freebsd-9.3-release/contrib/wpa/src/eap_server/
H A Deap_server_peap.c1177 struct wpabuf *buf, *buf2; local
1190 buf2 = eap_peapv2_tlv_eap_payload(buf);
1191 if (buf2 == NULL)
1194 wpa_hexdump_buf(MSG_DEBUG, "EAP-PEAPv2: Identity Request", buf2);
1197 buf2);
1198 wpabuf_free(buf2);
/freebsd-9.3-release/lib/libc/net/
H A Dgetaddrinfo.c2190 querybuf *buf, *buf2; local
2210 buf2 = malloc(sizeof(*buf2));
2211 if (!buf2) {
2228 q2.answer = buf2->buf;
2229 q2.anslen = sizeof(buf2->buf);
2247 free(buf2);
2255 free(buf2);
2261 free(buf2);
2266 ai = getanswer(buf2, q
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Ddst_api.c1037 unsigned char buf1[DST_KEY_MAXSIZE], buf2[DST_KEY_MAXSIZE]; local
1050 isc_buffer_init(&b2, buf2, sizeof(buf2));
1055 buf2[0] = buf2[1] = 0;
1069 memmove(&buf2[4], &buf2[6], r2.length - 6);
H A Drequest.c1039 isc_buffer_t *buf2 = NULL; local
1100 result = isc_buffer_allocate(mctx, &buf2, r.length + (tcp ? 2 : 0));
1104 isc_buffer_putuint16(buf2, (isc_uint16_t)r.length);
1105 result = isc_buffer_copyregion(buf2, &r);
1113 *bufferp = buf2;
1120 if (buf2 != NULL)
1121 isc_buffer_free(&buf2);
H A Dgen.c234 char buf1[TYPECLASSBUF], buf2[TYPECLASSBUF]; local
271 funname(tt->typename, buf2), args);
H A Dnsec3.c930 isc_buffer_t buf2; local
942 isc_buffer_init(&buf2, buf, (unsigned int)buflen);
946 &buf1, &dctx, 0, &buf2);
/freebsd-9.3-release/contrib/gcc/
H A Dvmsdbgout.c431 char buf2[256];
449 ASM_NAME_TO_STRING (buf2, buf1);
450 strcat (str, buf2);
455 ASM_NAME_TO_STRING (buf2, buf1);
456 strcat (str, buf2);
430 char buf2[256]; local
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp605 SmallString<256> buf2; local
606 llvm::raw_svector_ostream os2(buf2);
720 SmallString<256> buf2; local
721 llvm::raw_svector_ostream os2(buf2);
/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Daddr_families.c342 char buf[128], buf2[3]; local
352 snprintf(buf2, sizeof(buf2), "%02x", p[i]);
355 strlcat(buf, buf2, sizeof(buf));
/freebsd-9.3-release/contrib/tcpdump/
H A Daddrtoname.c482 char buf2[BUFSIZE]; local
490 if (ether_ntohost(buf2, (struct ether_addr *)ep) == 0) {
491 tp->e_name = strdup(buf2);
/freebsd-9.3-release/sys/dev/arcmsr/
H A Darcmsr.c1394 u_int32_t *iop_data, *buf2 = 0; local
1402 buf2 = (u_int32_t *)buf1;
1408 *buf2++ = *iop_data++;
1412 *buf2 = *iop_data;
1413 buf2 = (u_int32_t *)buf1;
1424 if(buf2)
1425 free( (u_int8_t *)buf2, M_DEVBUF);
1490 u_int32_t *iop_data, *buf2 = 0; local
1495 buf2 = (u_int32_t *)buf1;
1513 buf1 = (u_int8_t *)buf2;
[all...]
/freebsd-9.3-release/sys/dev/asmc/
H A Dasmc.c820 char buf2[8]; local
838 snprintf(buf2, sizeof(buf), " %02x", v[i]);
839 strlcat(buf, buf2, sizeof(buf));
/freebsd-9.3-release/usr.bin/xinstall/
H A Dxinstall.c1040 char buf2[MAXBSIZE]; local
1051 n2 = read(to_fd, buf2, n1);
1053 rv = memcmp(buf1, buf2, n1);
/freebsd-9.3-release/usr.sbin/route6d/
H A Droute6d.c2846 u_char buf[BUFSIZ], buf1[BUFSIZ], buf2[BUFSIZ]; local
2853 inet_ntop(AF_INET6, (void *)&ifcp->ifc_mylladdr, (char *)buf2, sizeof(buf2));
2856 np->rip6_metric - 1, buf2);
2860 np->rip6_metric - 1, buf2);
2916 u_char buf[BUFSIZ], buf2[BUFSIZ]; local
2921 inet_ntop(AF_INET6, (void *)gw, (char *)buf2, sizeof(buf2));
2923 np->rip6_plen, buf2);
2926 hms(), inet6_n2p(&np->rip6_dest), np->rip6_plen, buf2);
[all...]
/freebsd-9.3-release/sys/net/
H A Dieee8023ad_lacp.c1950 char buf2[LACP_STATESTR_MAX+1]; local
1955 lacp_format_state(du->ldu_actor.lip_state, buf2, sizeof(buf2)));
1959 lacp_format_state(du->ldu_partner.lip_state, buf2, sizeof(buf2)));
/freebsd-9.3-release/contrib/binutils/gas/
H A Dwrite.c1032 char buf[50], buf2[50]; local
1035 sprint_value (buf2, add_number);
1037 sprintf (buf2, "%ld", (long) add_number);
1040 buf2, fixP->fx_size, buf);
/freebsd-9.3-release/contrib/ofed/management/infiniband-diags/src/
H A Dsaquery.c319 char buf[2048], buf2[4096]; local
325 format_buf(buf, buf2, sizeof(buf2));
333 cl_ntoh16(pir->lid), pir->port_num, pir->resv, buf2);
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/
H A Dregress_dns.c797 char buf1[64], buf2[64]; local
806 evutil_snprintf(buf2, sizeof(buf2), "127.0.0.1:%d", (int)portnum2);
819 tt_assert(!evdns_base_nameserver_ip_add(dns, buf2));
/freebsd-9.3-release/contrib/nvi/build/
H A Dconfigure2887 char *buf1, *buf2, *buf3;
2893 buf2 = (char *)valloc(i);
2899 mmap(buf2, i, PROT_READ | PROT_WRITE, MAP_FIXED | MAP_PRIVATE, fd, 0);
2901 if (*(buf1 + j) != *(buf2 + j))
2904 read(fd, buf2, i); /* read into mapped memory -- file should not change */
/freebsd-9.3-release/sys/dev/fb/
H A Dvga.c468 static int comp_adpregs(u_char *buf1, u_char *buf2);
894 comp_adpregs(u_char *buf1, u_char *buf2) argument
918 if ((buf1 == NULL) || (buf2 == NULL))
924 if ((buf1[i] & params[i].mask) != (buf2[i] & params[i].mask))
926 if (buf1[i] != buf2[i])
/freebsd-9.3-release/sys/geom/journal/
H A Dg_journal.c1939 u_char *buf2; local
1945 buf2 = g_read_data(cp, offset, ent->je_length,
1947 if (buf2 == NULL)
1951 MD5Update(&ctx, buf2, ent->je_length);
1952 g_free(buf2);
/freebsd-9.3-release/sys/kern/
H A Dvfs_subr.c2951 char buf[256], buf2[16]; local
2993 snprintf(buf2, sizeof(buf2), "|VV(0x%lx)", flags);
2994 strlcat(buf, buf2, sizeof(buf));
3013 snprintf(buf2, sizeof(buf2), "|VI(0x%lx)", flags);
3014 strlcat(buf, buf2, sizeof(buf));

Completed in 293 milliseconds

1234