| /src/external/mpl/bind/dist/tests/isc/ |
| safe_test.c | 61 char buf1[4] = { 1, 2, 3, 4 }; local 64 isc_safe_memwipe(buf1, sizeof(buf1)); 67 assert_int_equal(memcmp(buf1, buf2, sizeof(buf1)), 0); 74 char buf1[4] = { 1, 2, 3, 4 }; local 81 isc_safe_memwipe(buf1, 3); 84 assert_int_equal(memcmp(buf1, buf2, sizeof(buf1)), 0);
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.arch/ |
| aarch64-fp.c | 23 char buf1[] = {0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, local 35 addr = &buf1[0];
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.arch/ |
| aarch64-fp.c | 23 char buf1[] = {0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, local 35 addr = &buf1[0];
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.reverse/ |
| i386-sse-reverse.c | 25 char buf1[] = {16, 17, 18, 19, 20, 21, 22, 23, local 31 asm ("movupd %0, %%xmm1":"=m"(buf1)); 77 char buf1[] = {16, 17, 18, 19, 20, 21, 22, 23, local 83 asm ("movupd %0, %%xmm1":"=m"(buf1)); 96 char buf1[] = {16, 17, 18, 19, 20, 21, 22, 23, local 102 asm ("movupd %0, %%xmm1":"=m"(buf1));
|
| i386-avx-reverse.c | 40 char buf1[] = {0, 0, 0, 0, 0, 0, 0, 0, local 53 asm volatile ("vmovq %0, %%xmm15": : "m" (buf1)); 57 asm volatile ("vmovd %%xmm0, %0": "=m"(buf1)); 59 asm volatile ("vmovq %%xmm0, %0": "=m"(buf1)); 74 asm volatile ("vmovq %%xmm15, %0": "=m" (buf1)); 80 asm volatile ("vmovd %0, %%xmm15": "=m" (buf1)); 82 asm volatile ("vmovq %0, %%xmm15": "=m" (buf1)); 93 asm volatile ("vmovdqu %%ymm0, %0": "=m"(buf1));
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.reverse/ |
| i386-sse-reverse.c | 25 char buf1[] = {16, 17, 18, 19, 20, 21, 22, 23, local 31 asm ("movupd %0, %%xmm1":"=m"(buf1)); 77 char buf1[] = {16, 17, 18, 19, 20, 21, 22, 23, local 83 asm ("movupd %0, %%xmm1":"=m"(buf1)); 96 char buf1[] = {16, 17, 18, 19, 20, 21, 22, 23, local 102 asm ("movupd %0, %%xmm1":"=m"(buf1));
|
| /src/external/mit/libuv/dist/docs/code/tty/ |
| main.c | 13 uv_buf_t buf1; local 20 buf1.base = "\033[41;37m"; 21 buf1.len = strlen(buf1.base); 22 uv_write(&req1, (uv_stream_t*) &tty, &buf1, 1, NULL);
|
| /src/tests/crypto/opencrypto/ |
| h_comp.c | 48 unsigned char buf1[10000], buf2[100000]; local 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 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 69 co1.dst = buf1; 70 co1.dst_len = sizeof(buf1); 76 z.next_in = buf1;
|
| /src/crypto/external/apache2/openssl/dist/test/testutil/ |
| compare.c | 27 char buf1[8192], buf2[8192]; local 51 while (BIO_gets(file, buf1, sizeof(buf1)) > 0) { 58 strip_line_ends(buf1); 60 line_len = strlen(buf1); 61 if (line_len > 0 && buf1[line_len - 1] == '?') { 68 TEST_info("%s", buf1); 74 if (buf1[i] == '?') 77 if (!TEST_str_eq(buf1, buf2))
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.python/ |
| py-strfns.c | 22 const char buf1[] = { 0, 1, 2, 3 }; variable 45 bfunc (buf1);
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.python/ |
| py-strfns.c | 22 const char buf1[] = { 0, 1, 2, 3 }; variable 45 bfunc (buf1);
|
| /src/tests/lib/libc/string/ |
| t_strcat.c | 27 char buf1[64]; local 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 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 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 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/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
| auxv.c | 47 char *buf1; variable
|
| catch-syscall.c | 54 char buf1[2] = "a"; local 69 write (fd[1], buf1, sizeof (buf1));
|
| /src/external/gpl3/gdb/dist/libctf/testsuite/libctf-writable/ |
| ctf-nonroot-linking.c | 21 unsigned char *buf1, *buf2; local 53 if ((buf1 = ctf_write_mem (in1, &buf1_sz, -1)) == NULL) 60 s.cts_data = (void *) buf1; 112 free (buf1);
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/ |
| auxv.c | 47 char *buf1; variable
|
| catch-syscall.c | 54 char buf1[2] = "a"; local 69 write (fd[1], buf1, sizeof (buf1));
|
| /src/bin/stty/ |
| print.c | 62 char buf1[100], buf2[100]; local 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 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/sys/external/isc/libsodium/dist/test/default/ |
| codecs.c | 7 unsigned char buf1[1000]; local 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 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...] |