/freebsd-11-stable/contrib/ntp/sntp/libevent/test/ |
H A D | regress_buffer.c | 1613 struct evbuffer *buf1 = NULL, *buf2 = NULL; local 1648 buf2 = evbuffer_new(); 1649 tt_assert(buf2); 1651 evbuffer_add(buf2, "I ", 2); 1653 evbuffer_add_buffer(buf2, buf1); 1655 evbuffer_remove(buf2, tmp, 16); 1657 evbuffer_drain(buf2, evbuffer_get_length(buf2)); 1660 evbuffer_validate(buf2); 1676 if (buf2) 1689 struct evbuffer *buf1 = NULL, *buf2 = NULL; local 1757 struct evbuffer *buf1 = NULL, *buf2 = NULL; local 1789 struct evbuffer *buf1 = NULL, *buf2 = NULL; local [all...] |
/freebsd-11-stable/usr.sbin/pwd_mkdb/ |
H A D | pwd_mkdb.c | 112 char buf2[MAXPATHLEN]; local 227 (void)snprintf(buf2, sizeof(buf2), "%s/%s", prefix, _MP_DB); 231 cp(buf2, buf, PERM_INSECURE); 619 (void)snprintf(buf2, sizeof(buf2), "%s/%s", prefix, _MP_DB); 620 mv(buf, buf2); 622 (void)snprintf(buf2, sizeof(buf2), "%s/%s", prefix, _SMP_DB); 623 mv(buf, buf2); [all...] |
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | snprintf-test.c | 42 char buf1[256], buf2[256]; local 50 vsprintf (buf2, format, ap); 51 ret = strcmp (buf1, buf2); 54 format, buf1, buf2);
|
/freebsd-11-stable/crypto/openssl/crypto/asn1/ |
H A D | asn1_lib.c | 457 char buf1[DECIMAL_SIZE(address) + 1], buf2[DECIMAL_SIZE(offset) + 1]; local 460 BIO_snprintf(buf2, sizeof(buf2), "%d", offset); 461 ERR_add_error_data(4, "address=", buf1, " offset=", buf2);
|
/freebsd-11-stable/contrib/subversion/subversion/include/private/ |
H A D | svn_utf_private.h | 135 svn_membuf_t *buf1, svn_membuf_t *buf2);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/net/ |
H A D | h_dns_server.c | 282 char buf1[1024], buf2[1024]; local 369 name2str(dp->qname, buf2, sizeof(buf2)));
|
/freebsd-11-stable/libexec/comsat/ |
H A D | comsat.c | 129 char buf2[sizeof(_PATH_MAILDIR) + sizeof(utp->ut_user) + 1]; local 142 sprintf(buf2, "%s/%.*s", _PATH_MAILDIR, 144 file = buf2;
|
/freebsd-11-stable/crypto/openssl/engines/ccgost/ |
H A D | gost89.c | 521 byte buf2[8]; local 526 memset(buf2, 0, 8); 527 memcpy(buf2, data + i, data_len - i); 528 mac_block(ctx, buffer, buf2); 532 memset(buf2, 0, 8); 533 mac_block(ctx, buffer, buf2); 545 byte buf2[8]; local 551 memset(buf2, 0, 8); 552 memcpy(buf2, data + i, data_len - i); 553 mac_block(ctx, buffer, buf2); [all...] |
/freebsd-11-stable/crypto/openssl/crypto/rc2/ |
H A D | rc2test.c | 152 unsigned char buf[8], buf2[8]; local 171 RC2_ecb_encrypt(buf, buf2, &key, RC2_DECRYPT); 172 if (memcmp(&(RC2plain[n][0]), buf2, 8) != 0) {
|
/freebsd-11-stable/contrib/netbsd-tests/fs/vfs/ |
H A D | t_io.c | 175 char buf[TBSIZE], buf2[TBSIZE]; local 192 ATF_REQUIRE_EQ(rump_sys_read(fd, buf2, TBSIZE), TBSIZE); 193 ATF_REQUIRE_EQ(memcmp(buf, buf2, TBSIZE), 0);
|
/freebsd-11-stable/crypto/openssl/crypto/rc5/ |
H A D | rc5test.c | 243 unsigned char buf[8], buf2[8], ivb[8]; local 262 RC5_32_ecb_encrypt(buf, buf2, &key, RC5_DECRYPT); 263 if (memcmp(&(RC5plain[n][0]), buf2, 8) != 0) { 267 printf("%02X ", buf2[i]); 304 RC5_32_cbc_encrypt(buf, buf2, 8, &key, &(ivb[0]), RC5_DECRYPT); 305 if (memcmp(&(rc5_cbc_plain[n][0]), buf2, 8) != 0) { 309 printf("%02X ", buf2[i]);
|
/freebsd-11-stable/crypto/heimdal/kuser/ |
H A D | klist.c | 395 char buf1[20], buf2[20]; local 426 strlcpy (buf2, printable_time(ct.EndTimestamp), 427 sizeof(buf2)); 429 strlcpy (buf2, N_(">>> Expired <<<", ""), sizeof(buf2)); 431 printf("%s %s ", buf1, buf2);
|
/freebsd-11-stable/crypto/heimdal/lib/asn1/ |
H A D | check-common.c | 206 unsigned char *buf, *buf2; local 282 buf2 = map_alloc(OVERRUN, buf, sz, &buf2_map); 285 ret = (*decode) (buf2, sz, data, &consumed_sz);
|
/freebsd-11-stable/lib/libc/iconv/ |
H A D | citrus_csmapper.c | 345 char buf1[PATH_MAX], buf2[PATH_MAX], key[PATH_MAX], pivot[PATH_MAX]; local 357 realdst = _lookup_alias(CS_ALIAS, dst, buf2, sizeof(buf2),
|
H A D | citrus_esdb.c | 196 char buf1[PATH_MAX], buf2[PATH_MAX], path[PATH_MAX]; local 204 encfile = _lookup_simple(path, realname, buf2, sizeof(buf2),
|
/freebsd-11-stable/contrib/wpa/src/utils/ |
H A D | xml-utils.c | 126 char *buf, *buf2, *start; local 132 buf2 = os_realloc(buf, len + 1); 133 if (buf2 == NULL) { 137 buf = buf2;
|
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | snprintf.c | 2066 char buf1[1024], buf2[1024]; local 2090 r2 = snprintf(buf2, sizeof(buf2), fmt[i], val[j]); \ 2091 if (strcmp(buf1, buf2) != 0 || r1 != r2) { \ 2096 fmt[i], buf1, r1, buf2, r2); \ 2122 (void)snprintf(buf2, sizeof(buf2), "%.1f", value); 2123 if (strcmp(buf1, buf2) != 0) {
|
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | remote-sds.c | 734 char buf2[PBUFSIZ], buf3[PBUFSIZ]; 752 p = buf2; 788 fprintf_unfiltered (gdb_stdlog, "Sending encoded: \"%s\"", buf2); 794 if (serial_write (sds_desc, buf2, p - buf2)) 727 char buf2[PBUFSIZ], buf3[PBUFSIZ]; local
|
/freebsd-11-stable/contrib/top/ |
H A D | top.c | 190 char *buf2 = buf; local 207 ++buf2; 210 if ((uid = userid(buf2)) == -1) 212 new_message(MT_standout, " %s: unknown user", buf2); 217 if (buf2 == buf)
|
/freebsd-11-stable/sbin/routed/ |
H A D | parms.c | 575 char buf[BUFSIZ], buf2[BUFSIZ]; local 801 buf2, sizeof(buf2)) 802 || !gethost(buf2,&addr)) 815 buf2, sizeof(buf2)) 816 || !getnet(buf2, &tg->tgate_nets[i].net,
|
/freebsd-11-stable/crypto/openssl/ssl/ |
H A D | s2_srvr.c | 949 unsigned char *p, *p2, *buf2; local 1097 buf2 = OPENSSL_malloc((unsigned int)i); 1098 if (buf2 == NULL) { 1102 p2 = buf2; 1104 if (!EVP_VerifyUpdate(&ctx, buf2, (unsigned int)i)) { 1105 OPENSSL_free(buf2); 1108 OPENSSL_free(buf2);
|
/freebsd-11-stable/usr.bin/diff/ |
H A D | diffreg.c | 489 char buf1[BUFSIZ], buf2[BUFSIZ]; local 497 j = fread(buf2, 1, sizeof(buf2), f2); 504 if (memcmp(buf1, buf2, i) != 0) 1616 char buf2[256]; local 1630 strftime(buf2, 256, time_format, tm_ptr2); 1635 sprintf(buf2, "%s.%.9d %s", buf2, nsec2, end2); 1648 file2, buf2);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libdes/ |
H A D | t_des.c | 375 char buf2[128]; local 376 snprintf(buf2, sizeof(buf2), "%s /", pt(&(cfb_buf1[i]))); 377 strlcat(buf, buf2, sizeof(buf)); 506 char buf2[16]; local 507 snprintf(buf2, sizeof(buf2), " %02x", cbc_data[n]); 508 strlcat(buf, buf2, sizeof(buf)); 512 char buf2[16]; local 513 snprintf(buf2, sizeo [all...] |
/freebsd-11-stable/contrib/atf/atf-c/detail/ |
H A D | map_test.c | 241 char buf2[] = "2nd test string"; local 261 RE(atf_map_insert(&map, "K3", buf2, false)); 266 ATF_REQUIRE_EQ(ptr, buf2);
|
/freebsd-11-stable/contrib/gcc/ |
H A D | c-cppbuiltin.c | 698 char dec_str[64], buf1[256], buf2[256]; local 716 sprintf (buf2, fp_cast, buf1); 717 sprintf (buf1, "%s=%s", macro, buf2);
|