/src/tests/crypto/opencrypto/ |
h_comp.c | 48 unsigned char buf1[10000], buf2[100000]; local in function:main 64 co1.dst = buf1; 65 co1.dst_len = sizeof(buf1); 71 buf1[co1.dst_len - 8]++; /* modify CRC */ 73 write(1, buf1, co1.dst_len); 78 co2.src = buf1;
|
h_comp_zlib.c | 47 unsigned char buf1[10000], buf2[10000]; local in function:main 64 co1.dst = buf1; 65 co1.dst_len = sizeof(buf1); 72 z.next_in = buf1;
|
h_comp_zlib_rnd.c | 49 unsigned char buf1[10000], buf2[10000]; local in function:main 69 co1.dst = buf1; 70 co1.dst_len = sizeof(buf1); 76 z.next_in = buf1;
|
h_comp.c | 48 unsigned char buf1[10000], buf2[100000]; local in function:main 64 co1.dst = buf1; 65 co1.dst_len = sizeof(buf1); 71 buf1[co1.dst_len - 8]++; /* modify CRC */ 73 write(1, buf1, co1.dst_len); 78 co2.src = buf1;
|
h_comp_zlib.c | 47 unsigned char buf1[10000], buf2[10000]; local in function:main 64 co1.dst = buf1; 65 co1.dst_len = sizeof(buf1); 72 z.next_in = buf1;
|
h_comp_zlib_rnd.c | 49 unsigned char buf1[10000], buf2[10000]; local in function:main 69 co1.dst = buf1; 70 co1.dst_len = sizeof(buf1); 76 z.next_in = buf1;
|
/src/sys/external/isc/libsodium/dist/test/default/ |
codecs.c | 7 unsigned char buf1[1000]; local in function:main 37 if (sodium_hex2bin(buf1, 1U, hex, 8U, NULL, &bin_len, &hex_end) != -1) { 43 if (sodium_hex2bin(buf1, 4U, hex, 12U, ":", &bin_len, &hex_end) != -1) { 51 if (sodium_hex2bin(buf1, sizeof buf1, hex, 12U, ":", 58 if (sodium_hex2bin(buf1, sizeof buf1, hex, 13U, ":", 65 if (sodium_hex2bin(buf1, sizeof buf1, hex, 12U, ":", 71 if (sodium_hex2bin(buf1, sizeof buf1, hex, 12U, ":" [all...] |
codecs.c | 7 unsigned char buf1[1000]; local in function:main 37 if (sodium_hex2bin(buf1, 1U, hex, 8U, NULL, &bin_len, &hex_end) != -1) { 43 if (sodium_hex2bin(buf1, 4U, hex, 12U, ":", &bin_len, &hex_end) != -1) { 51 if (sodium_hex2bin(buf1, sizeof buf1, hex, 12U, ":", 58 if (sodium_hex2bin(buf1, sizeof buf1, hex, 13U, ":", 65 if (sodium_hex2bin(buf1, sizeof buf1, hex, 12U, ":", 71 if (sodium_hex2bin(buf1, sizeof buf1, hex, 12U, ":" [all...] |
sodium_utils.c | 8 unsigned char buf1[1000]; local in function:main 22 randombytes_buf(buf1, sizeof buf1); 23 memcpy(buf2, buf1, sizeof buf2); 24 printf("%d\n", sodium_memcmp(buf1, buf2, sizeof buf1)); 25 sodium_memzero(buf1, 0U); 26 printf("%d\n", sodium_memcmp(buf1, buf2, sizeof buf1)); 27 sodium_memzero(buf1, sizeof buf1 / 2) [all...] |
sodium_utils.c | 8 unsigned char buf1[1000]; local in function:main 22 randombytes_buf(buf1, sizeof buf1); 23 memcpy(buf2, buf1, sizeof buf2); 24 printf("%d\n", sodium_memcmp(buf1, buf2, sizeof buf1)); 25 sodium_memzero(buf1, 0U); 26 printf("%d\n", sodium_memcmp(buf1, buf2, sizeof buf1)); 27 sodium_memzero(buf1, sizeof buf1 / 2) [all...] |
/src/tests/lib/libc/string/ |
t_strcat.c | 27 char buf1[64]; local in function:ATF_TC_BODY 93 memcpy(&buf1[a1], tab[t1].val, 96 ret = f(&buf0[a0], &buf1[a1]); 112 &buf1[a1],
|
t_strcmp.c | 27 char buf1[64]; local in function:ATF_TC_BODY 81 memcpy(&buf1[a1], tab[t].val1, 84 ret = f(&buf0[a0], &buf1[a1]); 92 &buf0[a0], &buf1[a1], ret); 108 char buf1[10] = "xxx"; local in function:ATF_TC_BODY 111 ATF_CHECK(strcmp(buf1, buf1) == 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) [all...] |
t_strcpy.c | 27 char buf1[64]; local in function:ATF_TC_BODY 90 memcpy(&buf1[a1], tab[t].val, tab[t].len + 1); 91 ret = f(&buf0[a0], &buf1[a1]); 107 if (memcmp(&buf0[a0], &buf1[a1],
|
t_strcat.c | 27 char buf1[64]; local in function:ATF_TC_BODY 93 memcpy(&buf1[a1], tab[t1].val, 96 ret = f(&buf0[a0], &buf1[a1]); 112 &buf1[a1],
|
t_strcmp.c | 27 char buf1[64]; local in function:ATF_TC_BODY 81 memcpy(&buf1[a1], tab[t].val1, 84 ret = f(&buf0[a0], &buf1[a1]); 92 &buf0[a0], &buf1[a1], ret); 108 char buf1[10] = "xxx"; local in function:ATF_TC_BODY 111 ATF_CHECK(strcmp(buf1, buf1) == 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) [all...] |
t_strcpy.c | 27 char buf1[64]; local in function:ATF_TC_BODY 90 memcpy(&buf1[a1], tab[t].val, tab[t].len + 1); 91 ret = f(&buf0[a0], &buf1[a1]); 107 if (memcmp(&buf0[a0], &buf1[a1],
|
/src/usr.bin/locate/bigram/ |
locate.bigram.c | 63 static char buf1[MAXPATHLEN] = " "; variable in typeref:typename:char[] 97 char *oldpath = buf1, *path = buf2; 121 if (path == buf1) /* swap pointers */ 122 path = buf2, oldpath = buf1; 124 path = buf1, oldpath = buf2;
|
locate.bigram.c | 63 static char buf1[MAXPATHLEN] = " "; variable in typeref:typename:char[] 97 char *oldpath = buf1, *path = buf2; 121 if (path == buf1) /* swap pointers */ 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 170 (void)snprintf(buf1, sizeof(buf1), "%s = %s;", 172 bput(buf1); 181 (void)snprintf(buf1 + cnt * 8, 9, WD, p->name); 185 (void)printf("%s\n", buf1); 190 (void)printf("%s\n", buf1);
|
print.c | 62 char buf1[100], buf2[100]; local in function:print 170 (void)snprintf(buf1, sizeof(buf1), "%s = %s;", 172 bput(buf1); 181 (void)snprintf(buf1 + cnt * 8, 9, WD, p->name); 185 (void)printf("%s\n", buf1); 190 (void)printf("%s\n", buf1);
|
/src/lib/libform/ |
type_ipv4.c | 63 char *buf, *buf1, *keeper, *p, *slash; local in function:ipv4_check_field 130 buf1 = NULL; 137 if (asprintf(&buf1, "%d.%d.%d.%d", vals[0], vals[1], 146 if (asprintf(&buf1, "%d.%d.%d.%d", vals[0], vals[1], 154 if (asprintf(&buf1, "%d.%d.%d.%d", vals[0], vals[1], 168 set_field_buffer(field, 1, buf1); 172 _formi_dbg_printf("%s: buf1 set to %s\n", __func__, buf1); 175 free(buf1);
|
type_ipv4.c | 63 char *buf, *buf1, *keeper, *p, *slash; local in function:ipv4_check_field 130 buf1 = NULL; 137 if (asprintf(&buf1, "%d.%d.%d.%d", vals[0], vals[1], 146 if (asprintf(&buf1, "%d.%d.%d.%d", vals[0], vals[1], 154 if (asprintf(&buf1, "%d.%d.%d.%d", vals[0], vals[1], 168 set_field_buffer(field, 1, buf1); 172 _formi_dbg_printf("%s: buf1 set to %s\n", __func__, buf1); 175 free(buf1);
|
/src/usr.bin/locate/code/ |
locate.code.c | 96 static char buf1[MAXPATHLEN] = " "; variable in typeref:typename:char[] 127 oldpath = buf1; 175 if (path == buf1) { /* swap pointers */ 177 oldpath = buf1; 179 path = buf1;
|
locate.code.c | 96 static char buf1[MAXPATHLEN] = " "; variable in typeref:typename:char[] 127 oldpath = buf1; 175 if (path == buf1) { /* swap pointers */ 177 oldpath = buf1; 179 path = buf1;
|
/src/usr.sbin/eeprom/ |
prephandlers.c | 186 char buf1[BUFSIZE], buf2[BUFSIZE], buf3[BUFSIZE], buf4[BUFSIZE]; local in function:prep_dump 202 memset(buf1, 0, sizeof(buf1)); 217 nvio1.pnv_name = buf1; 237 memset(nvio1.pnv_name, 0, sizeof(buf1));
|