| /netbsd/src/external/lgpl3/gmp/dist/mini-gmp/tests/ |
| D | t-reuse.c | 153 mpz_t res1, res2, res3; in testmain() local 169 mpz_init (res1); in testmain() 210 mpz_set (res1, in1); in testmain() 211 (dss_funcs[i]) (res1, res1, in2); in testmain() 212 mpz_check_format (res1); in testmain() 213 if (mpz_cmp (ref1, res1) != 0) in testmain() 216 mpz_set (res1, in2); in testmain() 217 (dss_funcs[i]) (res1, in1, res1); in testmain() 218 mpz_check_format (res1); in testmain() 219 if (mpz_cmp (ref1, res1) != 0) in testmain() [all …]
|
| /netbsd/src/external/lgpl3/gmp/dist/tests/mpz/ |
| D | reuse.c | 214 mpz_t res1, res2, res3; in main() local 235 mpz_init (res1); in main() 240 mpz_set_ui (res1, 1); /* force allocation */ in main() 297 mpz_set (res1, in1); in main() 298 INVOKE_RSS (dss[i], res1, res1, in2); in main() 299 MPZ_CHECK_FORMAT (res1); in main() 300 if (mpz_cmp (ref1, res1) != 0) in main() 303 mpz_set (res1, in2); in main() 304 INVOKE_RSS (dss[i], res1, in1, res1); in main() 305 MPZ_CHECK_FORMAT (res1); in main() [all …]
|
| /netbsd/src/external/lgpl3/gmp/dist/tests/mpq/ |
| D | reuse.c | 93 mpq_t res1, res2; in main() local 105 mpq_init (res1); in main() 146 mpq_clear (res1); in main() 147 mpq_init (res1); in main() 151 (dss_funcs[i]) (res1, in1, in2); in main() 152 MPQ_CHECK_FORMAT(res1); in main() 158 if (mpq_cmp (res1, out1) != 0) in main() 159 dump_abort (dss_func_names[i], res1, out1); in main() 165 if (mpq_cmp (res1, out1) != 0) in main() 166 dump_abort (dss_func_names[i], res1, out1); in main() [all …]
|
| /netbsd/src/external/lgpl3/mpfr/dist/tests/ |
| D | reuse.c | 96 mpfr_t res1; in test3() local 105 mpfr_init2 (res1, prec); in test3() 118 mpfr_set (res1, ref2, rnd); /* exact operation */ in test3() 119 testfunc (res1, res1, ref3, rnd); in test3() 121 if (! SAME_VAL (res1, ref1)) in test3() 127 printf ("got "); mpfr_dump (res1); in test3() 132 mpfr_set (res1, ref3, rnd); in test3() 133 testfunc (res1, ref2, res1, rnd); in test3() 134 if (! SAME_VAL (res1, ref1)) in test3() 139 printf ("got "); mpfr_dump (res1); in test3() [all …]
|
| D | taway.c | 100 mpfr_t res1; in test3() local 112 mpfr_init2 (res1, p1); in test3() 121 inexa = testfunc (res1, ref2, ref3, MPFR_RNDA); in test3() 122 r = MPFR_IS_POS (res1) ? MPFR_RNDU : MPFR_RNDD; in test3() 125 if (mpfr_compare (res1, ref1) || inexa != inexd) in test3() 131 printf ("got "); mpfr_dump (res1); in test3() 139 mpfr_clear (res1); in test3() 205 mpfr_t res1; in test2ui() local 215 mpfr_init2 (res1, p1); in test2ui() 224 inexa = testfunc (res1, ref2, ref3, MPFR_RNDA); in test2ui() [all …]
|
| D | tgmpop.c | 251 int res1, res2; in test_cmp_z() local 262 res1 = mpfr_cmp_z (x, y); in test_cmp_z() 263 if (res1 != 0 || mpfr_erangeflag_p () == 0) in test_cmp_z() 266 printf ("Return value: expected 0, got %d\n", res1); in test_cmp_z() 281 res1 = (mpfr_sgn) (z); in test_cmp_z() 283 if (res1 != res2) in test_cmp_z() 286 res2, res1); in test_cmp_z() 303 int res1, res2; in test_cmp_q() local 315 res1 = mpfr_cmp_q (x, y); in test_cmp_q() 316 if (res1 != 0 || __gmpfr_flags != MPFR_FLAGS_ERANGE) in test_cmp_q() [all …]
|
| D | tpow_z.c | 144 int res1, res2; in check_integer() local 166 res1 = mpfr_pow_si (y1, x, n, rnd); in check_integer() 179 if (rnd != MPFR_RNDF && ! SAME_SIGN (res1, res2)) in check_integer() 185 printf ("Ypowsi(inex = %2d) = ", res1); mpfr_dump (y1); in check_integer() 201 int res1, res2; in check_regression() local 208 res1 = mpfr_pow_z (y, x, z, MPFR_RNDU); in check_regression() 210 if (! mpfr_equal_p (x, y) || ! SAME_SIGN (res1, res2)) in check_regression() 212 printf ("Regression (1) tested failed (%d=?%d)\n",res1, res2); in check_regression()
|
| D | tui_pow.c | 29 int res1, res2; in test1() local 56 res1 = mpfr_ui_pow_ui (z, 17, 42, MPFR_RNDD); in test1() 60 if (mpfr_cmp (z, a) || res1 != res2) in test1() 63 "Inexact1 = %d Inexact2 = %d\n", res1, res2); in test1()
|
| /netbsd/src/crypto/external/bsd/netpgp/dist/bindings/perl/ |
| D | netpgpperl_wrap.c | 1785 int res1 = 0 ; in XS() local 1794 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_netpgp_t, 0 | 0 ); in XS() 1795 if (!SWIG_IsOK(res1)) { in XS() 1796 …SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "netpgp_t_c_set" "', argument " "1"" of typ… in XS() 1823 int res1 = 0 ; in XS() local 1830 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_netpgp_t, 0 | 0 ); in XS() 1831 if (!SWIG_IsOK(res1)) { in XS() 1832 …SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "netpgp_t_c_get" "', argument " "1"" of typ… in XS() 1851 int res1 = 0 ; in XS() local 1860 res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_netpgp_t, 0 | 0 ); in XS() [all …]
|
| /netbsd/src/external/lgpl3/gmp/dist/tests/mpf/ |
| D | reuse.c | 99 mpf_t res1, res2, res3; in main() local 116 mpf_init (res1); in main() 131 (dss_funcs[i]) (res1, in1, in2); in main() 141 if (mpf_cmp (res1, res2) != 0) in main() 142 dump_abort (dss_func_names[i], res1, res2); in main() 143 if (mpf_cmp (res1, res3) != 0) in main() 144 dump_abort (dss_func_names[i], res1, res3); in main() 162 (dsi_funcs[i]) (res1, in1, this_in2i); in main() 168 if (mpf_cmp (res1, res2) != 0) in main() 169 dump_abort (dsi_func_names[i], res1, res2); in main() [all …]
|
| /netbsd/src/crypto/external/bsd/netpgp/dist/bindings/tcl/ |
| D | netpgptcl_wrap.c | 1799 int res1 = 0 ; in _wrap_netpgp_t_c_set() local 1804 res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_netpgp_t, 0 | 0 ); in _wrap_netpgp_t_c_set() 1805 if (!SWIG_IsOK(res1)) { in _wrap_netpgp_t_c_set() 1806 …SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "netpgp_t_c_set" "', argument " "1"" of typ… in _wrap_netpgp_t_c_set() 1828 int res1 = 0 ; in _wrap_netpgp_t_c_get() local 1831 res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_netpgp_t, 0 | 0 ); in _wrap_netpgp_t_c_get() 1832 if (!SWIG_IsOK(res1)) { in _wrap_netpgp_t_c_get() 1833 …SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "netpgp_t_c_get" "', argument " "1"" of typ… in _wrap_netpgp_t_c_get() 1849 int res1 = 0 ; in _wrap_netpgp_t_size_set() local 1854 res1 = SWIG_ConvertPtr(objv[1], &argp1,SWIGTYPE_p_netpgp_t, 0 | 0 ); in _wrap_netpgp_t_size_set() [all …]
|
| /netbsd/src/crypto/external/bsd/netpgp/dist/bindings/python/ |
| D | netpgppython_wrap.c | 2829 int res1 = 0 ; in _wrap_netpgp_t_c_set() local 2836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_netpgp_t, 0 | 0 ); in _wrap_netpgp_t_c_set() 2837 if (!SWIG_IsOK(res1)) { in _wrap_netpgp_t_c_set() 2838 …SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "netpgp_t_c_set" "', argument " "1"" of typ… in _wrap_netpgp_t_c_set() 2860 int res1 = 0 ; in _wrap_netpgp_t_c_get() local 2864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_netpgp_t, 0 | 0 ); in _wrap_netpgp_t_c_get() 2865 if (!SWIG_IsOK(res1)) { in _wrap_netpgp_t_c_get() 2866 …SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "netpgp_t_c_get" "', argument " "1"" of typ… in _wrap_netpgp_t_c_get() 2882 int res1 = 0 ; in _wrap_netpgp_t_size_set() local 2889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_netpgp_t, 0 | 0 ); in _wrap_netpgp_t_size_set() [all …]
|
| /netbsd/src/sys/dev/pci/ |
| D | mlyreg.h | 174 u_int8_t res1:4; member 206 u_int8_t res1:1; /* N/A */ member 299 u_int8_t res1:7; member 310 u_int8_t res1; member 326 u_int32_t res1; /* N/A */ member 472 u_int16_t res1; member 518 u_int8_t res1; member 529 u_int8_t res1; /* N/A */ member 634 u_int8_t res1[12]; /* N/A */ member 707 u_int8_t res1; /* N/A */ member [all …]
|
| D | amrreg.h | 189 u_int8_t res1[AMR_8LD_MAXDRIVES]; /* x 2 */ member 249 u_int8_t res1[3]; member 319 u_int8_t res1[263]; /* pad to 1024 bytes */ member 334 u_int8_t res1; member 363 u_int8_t res1; member
|
| D | twareg.h | 250 uint8_t res1:3; member 280 uint8_t res1:3; member 308 uint8_t res1:3; member 339 uint8_t res1:3; member
|
| /netbsd/src/sys/fs/nfs/nlm/ |
| D | nlm_advlock.c | 575 nlm_testres res1; in nlm_test_rpc() local 581 memset(&res1, 0, sizeof(res1)); in nlm_test_rpc() 583 stat = nlm_test_1(&args1, &res1, client, ext, timo); in nlm_test_rpc() 586 res->cookie = res1.cookie; in nlm_test_rpc() 587 res->stat.stat = (enum nlm4_stats) res1.stat.stat; in nlm_test_rpc() 588 if (res1.stat.stat == nlm_denied) in nlm_test_rpc() 591 &res1.stat.nlm_testrply_u.holder); in nlm_test_rpc() 606 nlm_res res1; in nlm_lock_rpc() local 615 memset(&res1, 0, sizeof(res1)); in nlm_lock_rpc() 617 stat = nlm_lock_1(&args1, &res1, client, ext, timo); in nlm_lock_rpc() [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/libgcc/config/libbid/ |
| D | bid128_fma.c | 3910 UINT64 res1 = 0xbaddbaddbaddbaddull; local 3916 bid64qqq_fma (&res1, &x1, &y1, pz 3922 res1 = bid64qqq_fma (x1, y1, z 3926 BID_RETURN (res1); 3945 UINT64 res1 = 0xbaddbaddbaddbaddull; local 3951 bid64qqq_fma (&res1, &x1, py, &z1 3957 res1 = bid64qqq_fma (x1, y, z1 3961 BID_RETURN (res1); 3980 UINT64 res1 = 0xbaddbaddbaddbaddull; local 3985 bid64qqq_fma (&res1, &x1, py, pz [all …]
|
| D | bid64_next.c | 338 int res1, res2; local 410 bid64_quiet_equal (&res1, px, 415 res1 = 423 if (res1) { // x = y 455 bid64_quiet_greater (&res1, &tmp1, 462 res1 = 472 if (res1 && res2) {
|
| D | bid128_next.c | 461 int res1, res2; local 555 bid128_quiet_equal (&res1, &xnswp, 562 res1 = 573 if (res1) { // x = y 619 bid128_quiet_greater (&res1, &tmp1, 626 res1 = 636 if (res1 && res2) {
|
| /netbsd/src/external/ibm-public/postfix/dist/src/dns/ |
| D | dns_rr_eq_sa.c | 108 struct addrinfo *res1; in main() local 125 if ((aierr = hostaddr_to_sockaddr(argv[1], (char *) 0, 0, &res1)) != 0) in main() 127 if ((rr = dns_sa_to_rr(argv[1], DNS_RR_NOPREF, res1->ai_addr)) == 0) in main() 129 freeaddrinfo(res1); in main()
|
| /netbsd/src/sys/arch/arm/arm/ |
| D | smccc.c | 105 register_t *res0, register_t *res1, register_t *res2, register_t *res3) in smccc_call() argument 142 if (res1) { in smccc_call() 143 *res1 = r1; in smccc_call()
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/modes/asm/ |
| D | aes-gcm-armv8_64.pl | 179 my ($ctr0,$ctr1,$ctr2,$ctr3,$res0,$res1,$res2,$res3)=map("v$_",(0..7)); 542 mov $t3d, $res1.d[1] @ GHASH block 4k+1 - mid 550 pmull2 $t1.1q, $res1.2d, $h3.2d @ GHASH block 4k+1 - high 560 eor $t3.8b, $t3.8b, $res1.8b @ GHASH block 4k+1 - mid 585 pmull $t2.1q, $res1.1d, $h3.1d @ GHASH block 4k+1 - low 750 pmull $t2.1q, $res1.1d, $h3.1d @ GHASH block 4k+1 - low 755 pmull2 $t1.1q, $res1.2d, $h3.2d @ GHASH block 4k+1 - high 758 mov $t3d, $res1.d[1] @ GHASH block 4k+1 - mid 767 eor $t3.8b, $t3.8b, $res1.8b @ GHASH block 4k+1 - mid 949 fmov $res1.d[1], $input_h0 @ AES final-2 block - mov high [all …]
|
| /netbsd/src/external/bsd/ntp/dist/sntp/libevent/test/ |
| D | regress_bufferevent.c | 985 struct timeout_cb_result res1, res2; in test_bufferevent_timeouts() local 987 memset(&res1, 0, sizeof(res1)); in test_bufferevent_timeouts() 1028 bev_timeout_event_cb, &res1); in test_bufferevent_timeouts() 1051 tt_want(res1.total_calls == 2); in test_bufferevent_timeouts() 1052 tt_want(res1.n_read_timeouts == 1); in test_bufferevent_timeouts() 1053 tt_want(res1.n_write_timeouts == 1); in test_bufferevent_timeouts() 1058 test_timeval_diff_eq(&started_at, &res1.read_timeout_at, 150); in test_bufferevent_timeouts() 1059 test_timeval_diff_eq(&started_at, &res1.write_timeout_at, 100); in test_bufferevent_timeouts() 1065 tt_assert_timeval_empty(res1.last_read_at); in test_bufferevent_timeouts()
|
| /netbsd/src/crypto/dist/ipsec-tools/src/racoon/ |
| D | eaytest.c | 601 vchar_t *buf, *iv, *res1, *res2; in ciphertest_1() local 617 res1 = (encrypt)(buf, key, iv); in ciphertest_1() 618 if (res1 == NULL) { in ciphertest_1() 623 PVDUMP(res1); in ciphertest_1() 626 res2 = (decrypt)(res1, key, iv); in ciphertest_1() 640 vfree(res1); in ciphertest_1()
|
| /netbsd/src/external/bsd/libevent/dist/test/ |
| D | regress_bufferevent.c | 987 struct timeout_cb_result res1, res2; in test_bufferevent_timeouts() local 989 memset(&res1, 0, sizeof(res1)); in test_bufferevent_timeouts() 1030 bev_timeout_event_cb, &res1); in test_bufferevent_timeouts() 1053 tt_want(res1.total_calls == 2); in test_bufferevent_timeouts() 1054 tt_want(res1.n_read_timeouts == 1); in test_bufferevent_timeouts() 1055 tt_want(res1.n_write_timeouts == 1); in test_bufferevent_timeouts() 1060 test_timeval_diff_eq(&started_at, &res1.read_timeout_at, 150); in test_bufferevent_timeouts() 1061 test_timeval_diff_eq(&started_at, &res1.write_timeout_at, 100); in test_bufferevent_timeouts() 1067 tt_assert_timeval_empty(res1.last_read_at); in test_bufferevent_timeouts()
|