Home
last modified time | relevance | path

Searched refs:buf1 (Results 1 – 12 of 12) sorted by relevance

/f-stack/freebsd/contrib/libsodium/test/default/
H A Dcodecs.c7 unsigned char buf1[1000]; in main() local
51 if (sodium_hex2bin(buf1, sizeof buf1, hex, 12U, ":", in main()
58 if (sodium_hex2bin(buf1, sizeof buf1, hex, 13U, ":", in main()
65 if (sodium_hex2bin(buf1, sizeof buf1, hex, 12U, ":", in main()
71 if (sodium_hex2bin(buf1, sizeof buf1, hex, 12U, ":", in main()
78 if (sodium_hex2bin(buf1, sizeof buf1, hex, 12U, ":", in main()
128 memset(buf1, '*', sizeof buf1); in main()
131 buf1[bin_len] = 0; in main()
135 memset(buf1, '*', sizeof buf1); in main()
138 buf1[bin_len] = 0; in main()
[all …]
H A Dsodium_utils.c22 randombytes_buf(buf1, sizeof buf1); in main()
24 printf("%d\n", sodium_memcmp(buf1, buf2, sizeof buf1)); in main()
26 printf("%d\n", sodium_memcmp(buf1, buf2, sizeof buf1)); in main()
27 sodium_memzero(buf1, sizeof buf1 / 2); in main()
28 printf("%d\n", sodium_memcmp(buf1, buf2, sizeof buf1)); in main()
31 printf("%d\n", sodium_memcmp(buf1, buf2, sizeof buf1)); in main()
74 memset(buf1, 0, sizeof buf1); in main()
75 if (sodium_is_zero(buf1, sizeof buf1) != 1) { in main()
79 buf1[i]++; in main()
80 if (sodium_is_zero(buf1, sizeof buf1) != 0) { in main()
[all …]
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/tmpfile/
H A Dtmpfile_001_pos.c45 char buf1[BSZ], buf2[BSZ] = {}; in main() local
60 fill_random(buf1, BSZ); in main()
68 if (write(fd, buf1, BSZ) < 0) { in main()
80 if (memcmp(buf1, buf2, BSZ) != 0) { in main()
88 if (fsetxattr(fd, "user.test", buf1, BSZ, 0) < 0) { in main()
100 if (memcmp(buf1, buf2, BSZ) != 0) { in main()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/get_diff/
H A Dget_diff.c48 char buf1[DEV_BSIZE], buf2[DEV_BSIZE]; in main() local
68 while ((bytes = pread(fd1, buf1, DEV_BSIZE, off)) > 0) { in main()
77 buf2[0] = ~buf1[0]; in main()
83 if (memcmp(buf1, buf2, bytes) == 0) { in main()
/f-stack/tools/netstat/
H A Dunix.c285 char buf1[33]; in unixdomainpr() local
320 snprintf(buf1, sizeof buf1, "%u/%u/%u", so->so_qlen, in unixdomainpr()
324 buf1, so->so_qlen, so->so_incqlen, so->so_qlimit); in unixdomainpr()
H A Dsctp.c392 char buf1[22]; in sctp_process_inpcb() local
394 snprintf(buf1, sizeof buf1, "%u/%u", in sctp_process_inpcb()
400 buf1, xinpcb->qlen, xinpcb->maxqlen); in sctp_process_inpcb()
H A Dinet.c417 char buf1[33]; in protopr() local
419 snprintf(buf1, sizeof buf1, "%u/%u/%u", so->so_qlen, in protopr()
421 xo_emit("{:listen-queue-sizes/%-32.32s} ", buf1); in protopr()
/f-stack/freebsd/contrib/libb2/
H A Dblake2s-round.h79 LOAD_MSG_ ##r ##_1(buf1); \
80 G1(row1,row2,row3,row4,buf1); \
H A Dblake2s.c276 __m128i buf1, buf2, buf3, buf4; in blake2s_compress() local
/f-stack/dpdk/app/test/
H A Dtest_compressdev.c1843 const char *buf1 = in test_deflate_decomp_finalize() local
1847 if (compare_buffers(buf1, strlen(buf1) + 1, in test_deflate_decomp_finalize()
1908 const char *buf1; in test_results_validation() local
1928 buf1 = test_data->use_external_mbufs ? in test_results_validation()
1933 strlen(buf1) + 1; in test_results_validation()
1944 if (compare_buffers(buf1, data_size, in test_results_validation()
/f-stack/app/redis-5.0.5/src/
H A Dcluster.c5240 char buf1[1024]; /* Select reply. */ in migrateCommand() local
5248 if (select && syncReadLine(cs->fd, buf1, sizeof(buf1), timeout) <= 0) in migrateCommand()
5268 (select && buf1[0] == '-') || in migrateCommand()
5276 else if (select && buf1[0] == '-') errbuf = buf1; in migrateCommand()
/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs_sendrecv.c4904 char buf1[64]; in zfs_receive_one() local
4910 zfs_nicebytes(bytes, buf1, sizeof (buf1)); in zfs_receive_one()
4911 zfs_nicebytes(bytes/delta, buf2, sizeof (buf1)); in zfs_receive_one()
4914 buf1, (longlong_t)delta, buf2); in zfs_receive_one()