| /freebsd/crypto/openssl/crypto/aes/asm/ |
| H A D | aesni-mb-x86_64.pl | 102 @out=map("%xmm$_",(2..5)); 191 movdqu `$inp_elm_size*$i+2*$ptr_size+8-$inp_elm_size*2`($inp),@out[$i] 201 pxor $zero,@out[0] 203 pxor $zero,@out[1] 205 pxor $zero,@out[2] 207 pxor $zero,@out[3] 209 pxor @inp[0],@out[0] 211 pxor @inp[1],@out[1] 213 pxor @inp[2],@out[2] 214 pxor @inp[3],@out[3] [all …]
|
| /freebsd/crypto/openssl/crypto/ec/asm/ |
| H A D | ecp_nistp521-ppc64.pl | 152 my @out = map("v$_",(55..63)); 176 vmsumudm $out[0],$in1[0],$in2[0],$vzero 180 vmsumudm $out[1],$t1,$t2,$vzero 183 vmsumudm $out[2],$t1,$t2,$vzero 184 vmsumudm $out[2],$in1[2],$in2[0],$out[2] 187 vmsumudm $out[3],$t1,$t2,$vzero 190 vmsumudm $out[3],$t3,$t4,$out[3] 193 vmsumudm $out[4],$t1,$t2,$vzero 195 vmsumudm $out[4],$t3,$t4,$out[4] 196 vmsumudm $out[4],$in1[4],$in2[0],$out[4] [all …]
|
| /freebsd/sys/contrib/libsodium/test/default/ |
| H A D | chacha20.c | 25 unsigned char out[160]; in tv() local 37 crypto_stream_chacha20(out, sizeof out, nonce, key); in tv() 38 sodium_bin2hex(out_hex, sizeof out_hex, out, sizeof out); in tv() 40 for (plen = 1U; plen < sizeof out; plen++) { in tv() 42 crypto_stream_chacha20_xor(part, out, plen, nonce, key); in tv() 49 assert(66 <= sizeof out); in tv() 51 memset(out, (int) (plen & 0xff), sizeof out); in tv() 52 crypto_stream_chacha20(out, plen, nonce, key); in tv() 53 sodium_bin2hex(out_hex, sizeof out_hex, out, sizeof out); in tv() 56 randombytes_buf(out, sizeof out); in tv() [all …]
|
| H A D | xchacha20.c | 8 const char out[crypto_core_hchacha20_OUTPUTBYTES * 2 + 1]; member 36 unsigned char *out; in tv_hchacha20() local 43 out = (unsigned char *) sodium_malloc(crypto_core_hchacha20_OUTPUTBYTES); in tv_hchacha20() 51 sodium_hex2bin(out, crypto_core_hchacha20_OUTPUTBYTES, in tv_hchacha20() 52 tv->out, strlen(tv->out), NULL, NULL, NULL); in tv_hchacha20() 54 assert(memcmp(out, out2, crypto_core_hchacha20_OUTPUTBYTES) == 0); in tv_hchacha20() 60 sodium_hex2bin(out, crypto_core_hchacha20_OUTPUTBYTES, in tv_hchacha20() 65 assert(memcmp(out, out2, crypto_core_hchacha20_OUTPUTBYTES) == 0); in tv_hchacha20() 68 sodium_free(out); in tv_hchacha20() 86 const char out[XCHACHA20_OUT_MAX * 2 + 1]; member [all …]
|
| /freebsd/contrib/arm-optimized-routines/math/test/rtest/ |
| H A D | semi.c | 11 static void test_rint(uint32 *in, uint32 *out, in test_rint() argument 22 out[0] = in[0]; in test_rint() 23 out[1] = in[1]; in test_rint() 32 out[0] = sign | (roundup ? 0x3FF00000 : 0); in test_rint() 33 out[1] = 0; in test_rint() 60 out[0] = xh; in test_rint() 61 out[1] = xl; in test_rint() 64 char *test_ceil(uint32 *in, uint32 *out) { in test_ceil() argument 65 test_rint(in, out, 0, 1); in test_ceil() 69 char *test_floor(uint32 *in, uint32 *out) { in test_floor() argument [all …]
|
| H A D | semi.h | 13 char *test_ceil(uint32 *in, uint32 *out); 14 char *test_floor(uint32 *in, uint32 *out); 15 char *test_fmod(uint32 *a, uint32 *b, uint32 *out); 16 char *test_ldexp(uint32 *x, uint32 *n, uint32 *out); 17 char *test_frexp(uint32 *x, uint32 *out, uint32 *nout); 19 char *test_ceilf(uint32 *in, uint32 *out); 20 char *test_floorf(uint32 *in, uint32 *out); 21 char *test_fmodf(uint32 *a, uint32 *b, uint32 *out); 22 char *test_ldexpf(uint32 *x, uint32 *n, uint32 *out); 23 char *test_frexpf(uint32 *x, uint32 *out, uint32 *nout); [all …]
|
| /freebsd/tests/sys/fs/fusefs/ |
| H A D | nfs.cc | 83 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F() argument 84 SET_OUT_HEADER_LEN(out, entry); in TEST_F() 85 out.body.entry.attr.mode = mode; in TEST_F() 86 out.body.entry.nodeid = ino; in TEST_F() 87 out.body.entry.attr.ino = ino; in TEST_F() 88 out.body.entry.generation = 1; in TEST_F() 89 out.body.entry.attr_valid = UINT64_MAX; in TEST_F() 90 out.body.entry.entry_valid = 0; in TEST_F() 95 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F() argument 96 SET_OUT_HEADER_LEN(out, entry); in TEST_F() [all …]
|
| H A D | lookup.cc | 75 .WillOnce(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F() argument 76 SET_OUT_HEADER_LEN(out, entry); in TEST_F() 77 out.body.entry.nodeid = ino; in TEST_F() 78 out.body.entry.attr_valid = UINT64_MAX; in TEST_F() 79 out.body.entry.attr.ino = ino; // Must match nodeid in TEST_F() 80 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F() 81 out.body.entry.attr.size = 1; in TEST_F() 82 out.body.entry.attr.blocks = 2; in TEST_F() 83 out.body.entry.attr.atime = 3; in TEST_F() 84 out.body.entry.attr.mtime = 4; in TEST_F() [all …]
|
| H A D | setattr.cc | 89 .WillRepeatedly(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in TEST_F() argument 90 SET_OUT_HEADER_LEN(out, entry); in TEST_F() 91 out.body.entry.attr.mode = S_IFREG | 0644; in TEST_F() 92 out.body.entry.nodeid = ino; in TEST_F() 93 out.body.entry.entry_valid = UINT64_MAX; in TEST_F() 102 ).WillOnce(Invoke(ReturnImmediate([](auto in __unused, auto& out) { in TEST_F() argument 103 SET_OUT_HEADER_LEN(out, attr); in TEST_F() 104 out.body.attr.attr.ino = ino; // Must match nodeid in TEST_F() 105 out.body.attr.attr.mode = S_IFREG | newmode; in TEST_F() 106 out.body.attr.attr_valid = UINT64_MAX; in TEST_F() [all …]
|
| H A D | getattr.cc | 49 .WillRepeatedly(Invoke(ReturnImmediate([=](auto in __unused, auto& out) { in expect_lookup() argument 50 SET_OUT_HEADER_LEN(out, entry); in expect_lookup() 51 out.body.entry.attr.mode = mode; in expect_lookup() 52 out.body.entry.nodeid = ino; in expect_lookup() 53 out.body.entry.attr.nlink = 1; in expect_lookup() 54 out.body.entry.attr_valid = attr_valid; in expect_lookup() 55 out.body.entry.attr_valid_nsec = attr_valid_nsec; in expect_lookup() 56 out.body.entry.attr.size = size; in expect_lookup() 57 out.body.entry.entry_valid = UINT64_MAX; in expect_lookup() 82 .WillRepeatedly(Invoke(ReturnImmediate([=](auto i __unused, auto& out) { in TEST_F() argument [all …]
|
| /freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/json/ |
| H A D | tst.general.d.out | 5 out |<NULL>| 10 out |1| 12 out |<NULL>| 14 out |<NULL>| 16 out |<NULL>| 21 out |<NULL>| 26 out |1.5001| 31 out |16.3e10| 36 out |5| 41 out |16E10| [all …]
|
| /freebsd/usr.bin/jot/tests/ |
| H A D | Makefile | 5 ${PACKAGE}FILES+= regress.ascii.out 6 ${PACKAGE}FILES+= regress.block.out 7 ${PACKAGE}FILES+= regress.dddd.out 8 ${PACKAGE}FILES+= regress.dddh.out 9 ${PACKAGE}FILES+= regress.ddhd.out 10 ${PACKAGE}FILES+= regress.ddhd2.out 11 ${PACKAGE}FILES+= regress.ddhh.out 12 ${PACKAGE}FILES+= regress.ddhh2.out 13 ${PACKAGE}FILES+= regress.dhdd.out 14 ${PACKAGE}FILES+= regress.dhdh.out [all …]
|
| /freebsd/usr.bin/ncal/tests/ |
| H A D | Makefile | 5 ${PACKAGE}FILES+= regress.b-3m200901-jd-nhl.out 6 ${PACKAGE}FILES+= regress.b-3m200901-md-nhl.out 7 ${PACKAGE}FILES+= regress.b-3m200902-jd-nhl.out 8 ${PACKAGE}FILES+= regress.b-3m200902-md-nhl.out 9 ${PACKAGE}FILES+= regress.b-3m200903-jd-nhl.out 10 ${PACKAGE}FILES+= regress.b-3m200903-md-nhl.out 11 ${PACKAGE}FILES+= regress.b-3m200904-jd-nhl.out 12 ${PACKAGE}FILES+= regress.b-3m200904-md-nhl.out 13 ${PACKAGE}FILES+= regress.b-3m200905-jd-nhl.out 14 ${PACKAGE}FILES+= regress.b-3m200905-md-nhl.out [all …]
|
| /freebsd/crypto/openssl/crypto/x509/ |
| H A D | v3_timespec.c | 129 BIO *out, int indent) 132 if (!BIO_puts(out, "Any time between ")) 134 if (!ossl_asn1_time_print_ex(out, time->startTime, 0)) 136 if (!BIO_puts(out, " and ")) 138 if (!ossl_asn1_time_print_ex(out, time->endTime, 0)) 141 if (!BIO_puts(out, "Any time after ")) 143 if (!ossl_asn1_time_print_ex(out, time->startTime, 0)) 145 if (BIO_printf(out, "%.*s", time->startTime->length, time->startTime->data) <= 0) 148 if (!BIO_puts(out, "Any time until ")) 150 if (!ossl_asn1_time_print_ex(out, time->endTime, 0)) [all …]
|
| H A D | v3_ac_tgt.c | 24 BIO *out, int indent); 27 BIO *out, int indent); 30 BIO *out, int indent); 33 BIO *out, int indent); 36 BIO *out, int indent); 77 BIO *out, int indent) 80 BIO_printf(out, "%*sIssuer Names:\n", indent, ""); 81 OSSL_GENERAL_NAMES_print(out, iss->issuer, indent); 82 BIO_puts(out, "\n"); 84 BIO_printf(out, "%*sIssuer Names: <none>\n", indent, ""); [all …]
|
| /freebsd/crypto/openssl/crypto/ec/ |
| H A D | ecp_nistp521.c | 143 static void bin66_to_felem(felem out, const u8 in[66]) in bin66_to_felem() argument 145 out[0] = (*((limb *) & in[0])) & bottom58bits; in bin66_to_felem() 146 out[1] = (*((limb_aX *) & in[7]) >> 2) & bottom58bits; in bin66_to_felem() 147 out[2] = (*((limb_aX *) & in[14]) >> 4) & bottom58bits; in bin66_to_felem() 148 out[3] = (*((limb_aX *) & in[21]) >> 6) & bottom58bits; in bin66_to_felem() 149 out[4] = (*((limb_aX *) & in[29])) & bottom58bits; in bin66_to_felem() 150 out[5] = (*((limb_aX *) & in[36]) >> 2) & bottom58bits; in bin66_to_felem() 151 out[6] = (*((limb_aX *) & in[43]) >> 4) & bottom58bits; in bin66_to_felem() 152 out[7] = (*((limb_aX *) & in[50]) >> 6) & bottom58bits; in bin66_to_felem() 153 out[8] = (*((limb_aX *) & in[58])) & bottom57bits; in bin66_to_felem() [all …]
|
| /freebsd/crypto/openssl/crypto/ |
| H A D | ppccpuid.pl | 220 my ($out,$cnt,$max)=("r3","r4","r5"); 233 dcbf 0,$out # flush cache line 234 lwarx $tick,0,$out # load and lock 236 stwcx. $tick,0,$out 237 stwx $tick,0,$out 242 dcbf 0,$out # flush cache line 243 lwarx $tick,0,$out # load and lock 245 stwcx. $tick,0,$out 246 stwx $tick,0,$out 247 addi $out,$out,4 # ++$out [all …]
|
| /freebsd/contrib/ofed/opensm/opensm/ |
| H A D | osm_console.c | 68 void (*help_function) (FILE * out, int detail); 70 FILE * out); 77 void (*loop_function) (osm_opensm_t * p_osm, FILE * out); 95 static void help_command(FILE * out, int detail) in help_command() argument 99 fprintf(out, "Supported commands and syntax:\n"); in help_command() 100 fprintf(out, "help [<command>]\n"); in help_command() 103 console_cmds[i].help_function(out, 0); in help_command() 106 static void help_quit(FILE * out, int detail) in help_quit() argument 108 fprintf(out, "quit (not valid in local mode; use ctl-c)\n"); in help_quit() 111 static void help_loglevel(FILE * out, int detail) in help_loglevel() argument [all …]
|
| /freebsd/lib/libxo/tests/ |
| H A D | Makefile | 11 .SUFFIXES: .c .err .o .out .sh 16 .PATH.out: ${LIBXOSRC}/tests/core/saved 18 .c.out .o.out: 25 ${PACKAGE}FILES+= test_01.E.out 27 ${PACKAGE}FILES+= test_01.H.out 29 ${PACKAGE}FILES+= test_01.HIPx.out 31 ${PACKAGE}FILES+= test_01.HP.out 33 ${PACKAGE}FILES+= test_01.J.out 35 ${PACKAGE}FILES+= test_01.JP.out 37 ${PACKAGE}FILES+= test_01.T.out [all …]
|
| /freebsd/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_port.c | 40 u32 *out = NULL; in mlx5_core_access_reg() local 45 out = mlx5_vzalloc(outlen); in mlx5_core_access_reg() 46 if (!in || !out) in mlx5_core_access_reg() 47 goto out; in mlx5_core_access_reg() 57 err = mlx5_cmd_exec(dev, in, inlen, out, outlen); in mlx5_core_access_reg() 59 goto out; in mlx5_core_access_reg() 60 data = MLX5_ADDR_OF(access_register_out, out, register_data); in mlx5_core_access_reg() 63 out: in mlx5_core_access_reg() 64 kvfree(out); in mlx5_core_access_reg() 132 struct mlx5_reg_pcap out; in mlx5_set_port_caps() local [all …]
|
| H A D | mlx5_transobj.c | 36 u32 out[MLX5_ST_SZ_DW(alloc_transport_domain_out)] = {0}; in mlx5_alloc_transport_domain() local 43 err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in mlx5_alloc_transport_domain() 45 *tdn = MLX5_GET(alloc_transport_domain_out, out, in mlx5_alloc_transport_domain() 54 u32 out[MLX5_ST_SZ_DW(dealloc_transport_domain_out)] = {0}; in mlx5_dealloc_transport_domain() local 61 mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); in mlx5_dealloc_transport_domain() 66 u32 out[MLX5_ST_SZ_DW(create_rq_out)] = {0}; in mlx5_core_create_rq() local 71 err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in mlx5_core_create_rq() 73 *rqn = MLX5_GET(create_rq_out, out, rqn); in mlx5_core_create_rq() 80 u32 out[MLX5_ST_SZ_DW(modify_rq_out)] = {0}; in mlx5_core_modify_rq() local 84 return mlx5_cmd_exec(dev, in, inlen, out, sizeof(out)); in mlx5_core_modify_rq() [all …]
|
| /freebsd/usr.bin/hexdump/tests/ |
| H A D | Makefile | 9 ${PACKAGE}FILES+= d_hexdump_bflag_a.out 10 ${PACKAGE}FILES+= d_hexdump_bflag_b.out 11 ${PACKAGE}FILES+= d_hexdump_bflag_c.out 12 ${PACKAGE}FILES+= d_hexdump_cflag_a.out 13 ${PACKAGE}FILES+= d_hexdump_cflag_b.out 14 ${PACKAGE}FILES+= d_hexdump_cflag_c.out 15 ${PACKAGE}FILES+= d_hexdump_dflag_a_el.out 16 ${PACKAGE}FILES+= d_hexdump_dflag_b_el.out 17 ${PACKAGE}FILES+= d_hexdump_dflag_c_el.out 18 ${PACKAGE}FILES+= d_hexdump_dflag_a_eb.out [all …]
|
| /freebsd/bin/dd/ |
| H A D | dd.c | 68 IO in, out; /* input/output state */ variable 116 if (close(out.fd) == -1 && errno != EINTR) in main() 165 if (out.name == NULL) { in setup() 167 out.fd = STDOUT_FILENO; in setup() 168 out.name = "stdout"; in setup() 170 oflags = fcntl(out.fd, F_GETFL); in setup() 174 if (fcntl(out.fd, F_SETFL, oflags) == -1) in setup() 186 out.fd = open(out.name, O_RDWR | oflags, DEFFILEMODE); in setup() 193 if (out.fd == -1) { in setup() 195 out.fd = open(out.name, O_WRONLY | oflags, DEFFILEMODE); in setup() [all …]
|
| /freebsd/crypto/openssl/test/ |
| H A D | byteorder_test.c | 10 unsigned char out[8]; in test_byteorder() local 17 memset(out, 0xff, sizeof(out)); in test_byteorder() 19 restout = OPENSSL_store_u16_le(out, u16); in test_byteorder() 21 && memcmp(in, out, (size_t) 2) == 0 in test_byteorder() 23 && restout == out + 2)) { in test_byteorder() 28 memset(out, 0xff, sizeof(out)); in test_byteorder() 30 restout = OPENSSL_store_u16_be(out, u16); in test_byteorder() 32 && memcmp(in, out, (size_t) 2) == 0 in test_byteorder() 34 && restout == out + 2)) { in test_byteorder() 39 memset(out, 0xff, sizeof(out)); in test_byteorder() [all …]
|
| /freebsd/crypto/libecc/src/nn/ |
| H A D | nn_add.c | 60 ATTRIBUTE_WARN_UNUSED_RET static int _nn_cnd_add(int cnd, nn_t out, nn_src_t in1, nn_src_t in2, in _nn_cnd_add() argument 74 if ((out != in1) && (out != in2)) { in _nn_cnd_add() 75 ret = nn_init(out, (u16)(loop_wlen * WORD_BYTES)); EG(ret, err); in _nn_cnd_add() 77 ret = nn_set_wlen(out, loop_wlen); EG(ret, err); in _nn_cnd_add() 84 out->val[i] = (word_t)(tmp + _carry); in _nn_cnd_add() 85 carry2 = (word_t)(out->val[i] < tmp); in _nn_cnd_add() 119 int nn_cnd_add(int cnd, nn_t out, nn_src_t in1, nn_src_t in2) in nn_cnd_add() argument 124 ret = _nn_cnd_add(cnd, out, in1, in2, &carry); EG(ret, err); in nn_cnd_add() 127 MUST_HAVE(((out->wlen != NN_MAX_WORD_LEN) || (!carry)), ret, err); in nn_cnd_add() 129 if (out->wlen != NN_MAX_WORD_LEN) { in nn_cnd_add() [all …]
|