Home
last modified time | relevance | path

Searched refs:res2 (Results 1 – 25 of 78) sorted by relevance

1234

/netbsd-src/external/lgpl3/gmp/dist/mini-gmp/tests/
H A Dt-reuse.c153 mpz_t res1, res2, res3; in testmain() local
170 mpz_init (res2); in testmain()
235 (ddss_div_funcs[i]) (res1, res2, res1, in2); in testmain()
237 mpz_check_format (res2); in testmain()
238 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0) in testmain()
241 mpz_set (res2, in1); in testmain()
242 (ddss_div_funcs[i]) (res1, res2, res2, in2); in testmain()
244 mpz_check_format (res2); in testmain()
245 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0) in testmain()
249 (ddss_div_funcs[i]) (res1, res2, in1, res1); in testmain()
[all …]
/netbsd-src/external/lgpl3/gmp/dist/tests/mpz/
H A Dreuse.c214 mpz_t res1, res2, res3; in main() local
236 mpz_init (res2); in main()
241 mpz_set_ui (res2, 1); /* force allocation */ in main()
320 mpz_clobber (res2); in main()
321 INVOKE_RRSS (ddss_div[i], res1, res2, res1, in2); in main()
323 MPZ_CHECK_FORMAT (res2); in main()
324 if (mpz_cmp (ref1, res1) != 0 || mpz_cmp (ref2, res2) != 0) in main()
328 mpz_set (res2, in1); in main()
329 INVOKE_RRSS (ddss_div[i], res1, res2, res2, in2); in main()
331 MPZ_CHECK_FORMAT (res2); in main()
[all …]
/netbsd-src/external/lgpl3/gmp/dist/tests/mpf/
H A Dreuse.c99 mpf_t res1, res2, res3; in main() local
117 mpf_init (res2); in main()
135 mpf_set (res2, out1); in main()
141 if (mpf_cmp (res1, res2) != 0) in main()
142 dump_abort (dss_func_names[i], res1, res2); in main()
166 mpf_set (res2, out1); in main()
168 if (mpf_cmp (res1, res2) != 0) in main()
169 dump_abort (dsi_func_names[i], res1, res2); in main()
184 mpf_set (res2, out1); in main()
186 if (mpf_cmp (res1, res2) != 0) in main()
[all …]
/netbsd-src/crypto/external/bsd/netpgp/dist/bindings/perl/
H A Dnetpgpperl_wrap.c1919 int res2 = 0 ; in XS() local
1931 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 | 0 ); in XS()
1932 if (!SWIG_IsOK(res2)) { in XS()
1933 …SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_t_name_set" "', argument " "2"" of … in XS()
1985 int res2 = 0 ; in XS() local
1997 res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 | 0 ); in XS()
1998 if (!SWIG_IsOK(res2)) { in XS()
1999 …SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_t_value_set" "', argument " "2"" of… in XS()
2050 int res2 ; in XS() local
2062 res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN); in XS()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Dod-elf32_avr.c206 bfd_size_type res2; in elf32_avr_get_memory_usage() local
207 res2 = res + bootloadersize; in elf32_avr_get_memory_usage()
208 if (res2 < bootloadersize || res2 < res) in elf32_avr_get_memory_usage()
212 res2 = (bfd_size_type) -1; in elf32_avr_get_memory_usage()
214 res = res2; in elf32_avr_get_memory_usage()
227 bfd_size_type res2; in elf32_avr_get_memory_usage() local
229 res2 = res + noinitsize; in elf32_avr_get_memory_usage()
230 if (res2 < res || res2 < noinitsize) in elf32_avr_get_memory_usage()
234 res2 = (bfd_size_type) -1; in elf32_avr_get_memory_usage()
236 res = res2; in elf32_avr_get_memory_usage()
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Dod-elf32_avr.c206 bfd_size_type res2; in elf32_avr_get_memory_usage() local
207 res2 = res + bootloadersize; in elf32_avr_get_memory_usage()
208 if (res2 < bootloadersize || res2 < res) in elf32_avr_get_memory_usage()
212 res2 = (bfd_size_type) -1; in elf32_avr_get_memory_usage()
214 res = res2; in elf32_avr_get_memory_usage()
227 bfd_size_type res2; in elf32_avr_get_memory_usage() local
229 res2 = res + noinitsize; in elf32_avr_get_memory_usage()
230 if (res2 < res || res2 < noinitsize) in elf32_avr_get_memory_usage()
234 res2 = (bfd_size_type) -1; in elf32_avr_get_memory_usage()
236 res = res2; in elf32_avr_get_memory_usage()
/netbsd-src/external/lgpl3/gmp/dist/tests/mpq/
H A Dreuse.c93 mpq_t res1, res2; in main() local
106 mpq_init (res2); in main()
172 (dss_funcs[i]) (res2, in2, in2); in main()
173 MPQ_CHECK_FORMAT(res2); in main()
178 if (mpq_cmp (res1, res2) != 0) in main()
179 dump_abort (dss_func_names[i], res1, res2); in main()
230 mpq_clear (res2); in main()
237 dump_abort (const char *name, mpq_t res1, mpq_t res2) in dump_abort() argument
241 mpq_trace (" res2 ", res2); in dump_abort()
/netbsd-src/crypto/external/bsd/netpgp/dist/bindings/tcl/
H A Dnetpgptcl_wrap.c1901 int res2 = 0 ; in _wrap_netpgp_t_name_set() local
1909 res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_p_char, 0 | 0 ); in _wrap_netpgp_t_name_set()
1910 if (!SWIG_IsOK(res2)) { in _wrap_netpgp_t_name_set()
1911 …SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_t_name_set" "', argument " "2"" of … in _wrap_netpgp_t_name_set()
1951 int res2 = 0 ; in _wrap_netpgp_t_value_set() local
1959 res2 = SWIG_ConvertPtr(objv[2], &argp2,SWIGTYPE_p_p_char, 0 | 0 ); in _wrap_netpgp_t_value_set()
1960 if (!SWIG_IsOK(res2)) { in _wrap_netpgp_t_value_set()
1961 …SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_t_value_set" "', argument " "2"" of… in _wrap_netpgp_t_value_set()
2000 int res2 ; in _wrap_netpgp_t_pubring_set() local
2008 res2 = SWIG_ConvertPtr(objv[2],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN); in _wrap_netpgp_t_pubring_set()
[all …]
/netbsd-src/crypto/external/bsd/netpgp/dist/bindings/python/
H A Dnetpgppython_wrap.c2937 int res2 = 0 ; in _wrap_netpgp_t_name_set() local
2947 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_char, 0 | 0 ); in _wrap_netpgp_t_name_set()
2948 if (!SWIG_IsOK(res2)) { in _wrap_netpgp_t_name_set()
2949 …SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_t_name_set" "', argument " "2"" of … in _wrap_netpgp_t_name_set()
2990 int res2 = 0 ; in _wrap_netpgp_t_value_set() local
3000 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_p_char, 0 | 0 ); in _wrap_netpgp_t_value_set()
3001 if (!SWIG_IsOK(res2)) { in _wrap_netpgp_t_value_set()
3002 …SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "netpgp_t_value_set" "', argument " "2"" of… in _wrap_netpgp_t_value_set()
3042 int res2 ; in _wrap_netpgp_t_pubring_set() local
3052 res2 = SWIG_ConvertPtr(obj1,SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN); in _wrap_netpgp_t_pubring_set()
[all …]
/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()
118 *next_seg = (uint16_t)res2; in pci_smccc_get_seg_info()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Dtest_rsa.c82 unsigned char *res, *res2; in check_rsa() local
90 res2 = malloc(RSA_size(rsa)); in check_rsa()
91 if (res2 == NULL) in check_rsa()
103 keylen = RSA_public_decrypt(keylen, res, res2, rsa, padding); in check_rsa()
110 if (memcmp(res2, in, len) != 0) in check_rsa()
122 keylen = RSA_private_decrypt(keylen, res, res2, rsa, padding); in check_rsa()
129 if (memcmp(res2, in, len) != 0) in check_rsa()
141 free(res2); in check_rsa()
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/libbid/
H A Dbid64_next.c338 int res1, res2; local
412 bid64_quiet_greater (&res2, px,
418 res2 =
426 } else if (res2) { // x > y
458 bid64_quiet_not_equal (&res2, &x,
466 res2 =
472 if (res1 && res2) {
H A Dbid128_next.c461 int res1, res2; local
558 bid128_quiet_greater (&res2, &xnswp,
566 res2 =
579 } else if (res2) { // x > y
622 bid128_quiet_not_equal (&res2, &xnswp,
630 res2 =
636 if (res1 && res2) {
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/libbid/
H A Dbid64_next.c338 int res1, res2; local
412 bid64_quiet_greater (&res2, px,
418 res2 =
426 } else if (res2) { // x > y
458 bid64_quiet_not_equal (&res2, &x,
466 res2 =
472 if (res1 && res2) {
H A Dbid128_next.c461 int res1, res2; local
558 bid128_quiet_greater (&res2, &xnswp,
566 res2 =
579 } else if (res2) { // x > y
622 bid128_quiet_not_equal (&res2, &xnswp,
630 res2 =
636 if (res1 && res2) {
/netbsd-src/external/lgpl3/mpfr/dist/tests/
H A Dtpow_z.c144 int res1, res2; in check_integer() local
168 res2 = mpfr_pow_z (y2, x, z, rnd); in check_integer()
179 if (rnd != MPFR_RNDF && ! SAME_SIGN (res1, res2)) in check_integer()
186 printf ("Ypowz (inex = %2d) = ", res2); mpfr_dump (y2); in check_integer()
201 int res1, res2; in check_regression() local
209 res2 = mpfr_pow_ui (x, x, 2026876995UL, 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()
H A Dreuse.c473 mpfr_t res1, res2; in test3a() local
483 mpfr_init2 (res2, prec); in test3a()
494 testfunc (res1, res2, res1, rnd); in test3a()
495 if (! SAME_VAL (res1, ref1) || ! SAME_VAL (res2, ref2)) in test3a()
501 DISP("), got (", res1); DISP(",", res2); printf(")\n"); in test3a()
506 mpfr_set (res2, ref3, rnd); /* exact operation */ in test3a()
507 testfunc (res1, res2, res2, rnd); in test3a()
508 if (! SAME_VAL (res1, ref1) || ! SAME_VAL (res2, ref2)) in test3a()
513 DISP("), got (", res1); DISP(",", res2); printf(")\n"); in test3a()
522 mpfr_clear (res2); in test3a()
H A Dtaway.c333 mpfr_t res1, res2; in test3a() local
346 mpfr_init2 (res2, p2); in test3a()
352 inexa = testfunc (res1, res2, ref3, MPFR_RNDA); in test3a()
369 r = MPFR_IS_POS (res2) ? MPFR_RNDU : MPFR_RNDD; in test3a()
372 if (mpfr_compare (res2, ref2) || (inexa >> 2) != (inexd >> 2)) in test3a()
377 DISP("got ", res2); printf ("\n"); in test3a()
388 mpfr_clear (res2); in test3a()
H A Dtui_pow.c29 int res1, res2; in test1() local
59 res2 = mpfr_pow (a, x, y, MPFR_RNDD); in test1()
60 if (mpfr_cmp (z, a) || res1 != res2) in test1()
63 "Inexact1 = %d Inexact2 = %d\n", res1, res2); in test1()
H A Dtgmpop.c251 int res1, res2; in test_cmp_z() local
282 res2 = mpfr_cmp_z (x, y); 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
357 res2 = mpfr_cmp_q (x, y); in test_cmp_q()
358 if (res1 != res2) in test_cmp_q()
361 res2, res1); in test_cmp_q()
427 int res1, res2; in test_cmp_f() local
460 res2 = mpfr_cmp_f (x, y); in test_cmp_f()
[all …]
/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
145 if (res2) { in smccc_call()
146 *res2 = r2; in smccc_call()
/netbsd-src/sys/dev/pci/
H A Dmlyreg.h179 u_int8_t res2; member
208 u_int8_t res2[2]; /* N/A */ member
300 u_int8_t res2[3]; member
314 u_int8_t res2[8]; member
328 u_int32_t res2; /* N/A */ member
522 u_int64_t res2[2]; member
532 u_int8_t res2; /* N/A */ member
722 u_int8_t res2:2; /* N/A */ member
762 u_int8_t res2:1; /* N/A */ member
829 u_int8_t res2[2]; /* N/A */ member
[all …]
/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));
539 mov $t6d, $res2.d[1] @ GHASH block 4k+2 - mid
551 eor $t6.8b, $t6.8b, $res2.8b @ GHASH block 4k+2 - mid
578 pmull $t5.1q, $res2.1d, $h2.1d @ GHASH block 4k+2 - low
588 pmull2 $t4.1q, $res2.2d, $h2.2d @ GHASH block 4k+2 - high
763 mov $t6d, $res2.d[1] @ GHASH block 4k+2 - mid
772 eor $t6.8b, $t6.8b, $res2.8b @ GHASH block 4k+2 - mid
794 pmull2 $t4.1q, $res2.2d, $h2.2d @ GHASH block 4k+2 - high
799 pmull $t5.1q, $res2.1d, $h2.1d @ GHASH block 4k+2 - low
1427 pmull $t5.1q, $res2.1d, $h2.1d @ GHASH block 4k+2 - low
[all …]
/netbsd-src/external/gpl3/binutils/dist/gprofng/libcollector/
H A Dlibcol_util.h234 uint32_t res2 = 0; in __collector_cas_64p() local
237 : "=m" (r), "=m" (res1), "=m" (res2) /* output */ in __collector_cas_64p()
241 r = (((uint64_t) res2) << 32) | ((uint64_t) res1); in __collector_cas_64p()
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/libcollector/
H A Dlibcol_util.h234 uint32_t res2 = 0; in __collector_cas_64p() local
237 : "=m" (r), "=m" (res1), "=m" (res2) /* output */ in __collector_cas_64p()
241 r = (((uint64_t) res2) << 32) | ((uint64_t) res1); in __collector_cas_64p()

1234