HomeSort by: relevance | last modified time | path
    Searched defs:buf2 (Results 1 - 25 of 90) sorted by relevancy

1 2 3 4

  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
sanitizer_printf_test.cc 112 char buf2[1024]; local in function:__sanitizer::TestAgainstLibc
113 snprintf(buf2, sizeof(buf2), fmt, arg1, arg2);
115 EXPECT_STREQ(buf2, buf);
sanitizer_printf_test.cc 112 char buf2[1024]; local in function:__sanitizer::TestAgainstLibc
113 snprintf(buf2, sizeof(buf2), fmt, arg1, arg2);
115 EXPECT_STREQ(buf2, buf);
  /src/tests/crypto/opencrypto/
h_comp.c 48 unsigned char buf1[10000], buf2[100000]; local in function:main
79 co2.dst = buf2;
80 co2.dst_len = sizeof(buf2);
81 buf2[10] = 0x33;
83 fprintf(stderr, "canary: %x\n", buf2[10]);
87 if (memcmp(text, buf2, co2.dst_len))
h_comp_zlib.c 47 unsigned char buf1[10000], buf2[10000]; local in function:main
77 z.next_out = buf2;
78 z.avail_out = sizeof(buf2);
89 if (memcmp(buf2, text, sizeof(text)))
h_comp_zlib_rnd.c 49 unsigned char buf1[10000], buf2[10000]; local in function:main
81 z.next_out = buf2;
82 z.avail_out = sizeof(buf2);
93 if (memcmp(buf2, text, sizeof(text)))
h_comp.c 48 unsigned char buf1[10000], buf2[100000]; local in function:main
79 co2.dst = buf2;
80 co2.dst_len = sizeof(buf2);
81 buf2[10] = 0x33;
83 fprintf(stderr, "canary: %x\n", buf2[10]);
87 if (memcmp(text, buf2, co2.dst_len))
h_comp_zlib.c 47 unsigned char buf1[10000], buf2[10000]; local in function:main
77 z.next_out = buf2;
78 z.avail_out = sizeof(buf2);
89 if (memcmp(buf2, text, sizeof(text)))
h_comp_zlib_rnd.c 49 unsigned char buf1[10000], buf2[10000]; local in function:main
81 z.next_out = buf2;
82 z.avail_out = sizeof(buf2);
93 if (memcmp(buf2, text, sizeof(text)))
h_cbc3des.c 57 unsigned char buf[16], buf2[16]; local in function:main
87 memset(&buf2, 0, sizeof(buf2));
92 co2.dst = buf2;
93 co2.dst_len = sizeof(buf2);
h_cbc3des.c 57 unsigned char buf[16], buf2[16]; local in function:main
87 memset(&buf2, 0, sizeof(buf2));
92 co2.dst = buf2;
93 co2.dst_len = sizeof(buf2);
  /src/regress/sys/arch/i386/ioperm/
ioperm.c 94 unsigned long buf2[32]; local in function:main
113 memset(buf2, 0x00, sizeof(buf2));
114 strcpy((char *)buf2, "foobarbaz");
115 buf2[PORT / 8 / sizeof(unsigned long)] &=
117 ret = i386_set_ioperm(buf2);
125 if (memcmp(buf, buf2, sizeof(buf))) {
133 buf2[PORT / 8 / sizeof(unsigned long)] |=
135 ret = i386_set_ioperm(buf2);
ioperm.c 94 unsigned long buf2[32]; local in function:main
113 memset(buf2, 0x00, sizeof(buf2));
114 strcpy((char *)buf2, "foobarbaz");
115 buf2[PORT / 8 / sizeof(unsigned long)] &=
117 ret = i386_set_ioperm(buf2);
125 if (memcmp(buf, buf2, sizeof(buf))) {
133 buf2[PORT / 8 / sizeof(unsigned long)] |=
135 ret = i386_set_ioperm(buf2);
  /src/tests/lib/libc/string/
t_strcmp.c 109 char buf2[10] = "xxy"; local in function:ATF_TC_BODY
112 ATF_CHECK(strcmp(buf2, buf2) == 0);
118 ATF_CHECK(strcmp(buf1 + 0, buf2 + 0) < 0);
119 ATF_CHECK(strcmp(buf1 + 1, buf2 + 1) < 0);
120 ATF_CHECK(strcmp(buf1 + 2, buf2 + 2) < 0);
121 ATF_CHECK(strcmp(buf1 + 3, buf2 + 3) == 0);
123 ATF_CHECK(strcmp(buf2 + 0, buf1 + 0) > 0);
124 ATF_CHECK(strcmp(buf2 + 1, buf1 + 1) > 0);
125 ATF_CHECK(strcmp(buf2 + 2, buf1 + 2) > 0)
    [all...]
t_strcmp.c 109 char buf2[10] = "xxy"; local in function:ATF_TC_BODY
112 ATF_CHECK(strcmp(buf2, buf2) == 0);
118 ATF_CHECK(strcmp(buf1 + 0, buf2 + 0) < 0);
119 ATF_CHECK(strcmp(buf1 + 1, buf2 + 1) < 0);
120 ATF_CHECK(strcmp(buf1 + 2, buf2 + 2) < 0);
121 ATF_CHECK(strcmp(buf1 + 3, buf2 + 3) == 0);
123 ATF_CHECK(strcmp(buf2 + 0, buf1 + 0) > 0);
124 ATF_CHECK(strcmp(buf2 + 1, buf1 + 1) > 0);
125 ATF_CHECK(strcmp(buf2 + 2, buf1 + 2) > 0)
    [all...]
  /src/usr.bin/locate/bigram/
locate.bigram.c 64 static char buf2[MAXPATHLEN]; variable in typeref:typename:char[]
97 char *oldpath = buf1, *path = buf2;
108 while ( fgets ( path, sizeof(buf2), stdin ) != NULL ) {
122 path = buf2, oldpath = buf1;
124 path = buf1, oldpath = buf2;
locate.bigram.c 64 static char buf2[MAXPATHLEN]; variable in typeref:typename:char[]
97 char *oldpath = buf1, *path = buf2;
108 while ( fgets ( path, sizeof(buf2), stdin ) != NULL ) {
122 path = buf2, oldpath = buf1;
124 path = buf1, oldpath = buf2;
  /src/bin/stty/
print.c 62 char buf1[100], buf2[100]; local in function:print
182 (void)snprintf(buf2 + cnt * 8, 9, WD, ccval(p, cc[p->sub]));
186 (void)printf("%s\n", buf2);
191 (void)printf("%s\n", buf2);
print.c 62 char buf1[100], buf2[100]; local in function:print
182 (void)snprintf(buf2 + cnt * 8, 9, WD, ccval(p, cc[p->sub]));
186 (void)printf("%s\n", buf2);
191 (void)printf("%s\n", buf2);
  /src/sys/external/isc/libsodium/dist/test/default/
sodium_utils.c 9 unsigned char buf2[1000]; local in function:main
23 memcpy(buf2, buf1, sizeof buf2);
24 printf("%d\n", sodium_memcmp(buf1, buf2, sizeof buf1));
26 printf("%d\n", sodium_memcmp(buf1, buf2, sizeof buf1));
28 printf("%d\n", sodium_memcmp(buf1, buf2, sizeof buf1));
29 printf("%d\n", sodium_memcmp(buf1, buf2, 0U));
30 sodium_memzero(buf2, sizeof buf2 / 2);
31 printf("%d\n", sodium_memcmp(buf1, buf2, sizeof buf1))
    [all...]
sodium_utils.c 9 unsigned char buf2[1000]; local in function:main
23 memcpy(buf2, buf1, sizeof buf2);
24 printf("%d\n", sodium_memcmp(buf1, buf2, sizeof buf1));
26 printf("%d\n", sodium_memcmp(buf1, buf2, sizeof buf1));
28 printf("%d\n", sodium_memcmp(buf1, buf2, sizeof buf1));
29 printf("%d\n", sodium_memcmp(buf1, buf2, 0U));
30 sodium_memzero(buf2, sizeof buf2 / 2);
31 printf("%d\n", sodium_memcmp(buf1, buf2, sizeof buf1))
    [all...]
  /src/sys/net/agr/
ieee8023ad_lacp_debug.c 157 char buf2[LACP_STATESTR_MAX+1]; local in function:lacp_dump_lacpdu
162 lacp_format_state(du->ldu_actor.lip_state, buf2, sizeof(buf2)));
166 lacp_format_state(du->ldu_partner.lip_state, buf2, sizeof(buf2)));
  /src/usr.bin/locate/code/
locate.code.c 97 static char buf2[MAXPATHLEN]; variable in typeref:typename:char[]
128 path = buf2;
130 while (fgets(path, sizeof(buf2), stdin) != NULL) {
176 path = buf2;
180 oldpath = buf2;
  /src/usr.bin/uuencode/
uuencode.c 136 char buf2[sizeof(buf) * 2 + 1]; local in function:base64_encode
144 rv = b64_ntop(buf, n, buf2, (sizeof(buf2) / sizeof(buf2[0])));
147 printf("%s%s", buf2, (sequence % GROUPS) ? "" : "\n");
  /src/usr.sbin/eeprom/
prephandlers.c 186 char buf1[BUFSIZE], buf2[BUFSIZE], buf3[BUFSIZE], buf4[BUFSIZE]; local in function:prep_dump
203 memset(buf2, 0, sizeof(buf2));
207 nvio1.pnv_buf = buf2;
211 nvio1.pnv_buflen = sizeof(buf2);
238 memset(nvio1.pnv_buf, 0, sizeof(buf2));
  /src/sbin/nvmectl/
util.c 127 char buf2[64]; local in function:print_bignum1
159 buf2[0] = '\0';
166 unit_string(bn, unit, scale, buf2, sizeof(buf2));
171 printf("%-31s %s%s\n", title, buf, buf2);

Completed in 60 milliseconds

1 2 3 4