Home
last modified time | relevance | path

Searched refs:res1 (Results 1 – 25 of 72) sorted by relevance

123

/netbsd-src/external/lgpl3/gmp/dist/mini-gmp/tests/
H A Dt-reuse.c153 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/
H A Dreuse.c214 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/
H A Dreuse.c93 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/
H A Dreuse.c96 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 …]
H A Dtaway.c100 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 …]
H A Dtgmpop.c251 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 …]
H A Dtpow_z.c144 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()
/netbsd-src/crypto/external/bsd/netpgp/dist/bindings/perl/
H A Dnetpgpperl_wrap.c1785 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/
H A Dreuse.c99 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/
H A Dnetpgptcl_wrap.c1799 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/
H A Dnetpgppython_wrap.c2829 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/
H A Dmlyreg.h174 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 …]
H A Damrreg.h189 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
/netbsd-src/sys/arch/arm/pci/
H A Dpci_smccc.c53 register_t *res0, register_t *res1, register_t *res2, register_t *res3) in pci_smccc_call() argument
65 res0, res1, res2, res3); in pci_smccc_call()
110 register_t res1, res2; in pci_smccc_get_seg_info() local
114 NULL, &res1, &res2, NULL); in pci_smccc_get_seg_info()
116 *bus_start = __SHIFTOUT(res1, GET_SEG_INFO_BUS_START); in pci_smccc_get_seg_info()
117 *bus_end = __SHIFTOUT(res1, GET_SEG_INFO_BUS_END); in pci_smccc_get_seg_info()
/netbsd-src/sys/fs/nfs/nlm/
H A Dnlm_advlock.c575 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.old/dist/libgcc/config/libbid/
H A Dbid128_fma.c3910 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 …]
H A Dbid64_next.c338 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) {
H A Dbid128_next.c461 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/gpl3/gcc/dist/libgcc/config/libbid/
H A Dbid128_fma.c3910 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 …]
H A Dbid64_next.c338 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) {
H A Dbid128_next.c461 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/
H A Ddns_rr_eq_sa.c108 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/
H A Dsmccc.c105 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/
H A Daes-gcm-armv8_64.pl179 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/gpl2/groff/dist/src/preproc/grn/
H A Dhgraph.cpp977 int res1; in HGtline() local
1002 res1 = 0; in HGtline()
1015 if (res1 > res2) { in HGtline()
1017 res2 += dx - res1; in HGtline()
1018 res1 = 0; in HGtline()
1021 res1 += dy; in HGtline()
1034 if (res1 > res2) { in HGtline()
1036 res2 += dy - res1; in HGtline()
1037 res1 = 0; in HGtline()
1040 res1 += dx; in HGtline()

123