/netbsd-current/external/lgpl3/gmp/dist/mpn/generic/ |
H A D | sec_aors_1.c | 46 /* It's annoying to that we need scratch space */ 54 FNAME (mp_ptr rp, mp_srcptr ap, mp_size_t n, mp_limb_t b, mp_ptr scratch) argument 56 scratch[0] = b; 57 MPN_ZERO (scratch + 1, n-1); 58 return OP_N (rp, ap, scratch, n);
|
H A D | invert.c | 41 mpn_invert (mp_ptr ip, mp_srcptr dp, mp_size_t n, mp_ptr scratch) argument 46 ASSERT (! MPN_OVERLAP_P (ip, n, scratch, mpn_invertappr_itch(n))); 47 ASSERT (! MPN_OVERLAP_P (dp, n, scratch, mpn_invertappr_itch(n))); 53 /* Maximum scratch needed by this branch: 2*n */ 56 xp = scratch; /* 2 * n limbs */ 73 e = mpn_ni_invertappr (ip, dp, n, scratch); 77 mpn_mul_n (scratch, ip, dp, n); 78 e = mpn_add_n (scratch, scratch, dp, n); /* FIXME: we only need e.*/ 80 e = mpn_add_nc (scratch [all...] |
H A D | strongfibo.c | 79 The scratch pointed by sp, needs a space of at least 3 * mn + 1 limbs. 109 and scratch should have room for mn*2+1 limbs. 118 mpn_lucm (mp_ptr lp, mp_srcptr np, mp_size_t nn, mp_srcptr mp, mp_size_t mn, mp_ptr scratch) argument 123 ASSERT (! MPN_OVERLAP_P (lp, MAX(2*mn+1,5), scratch, MAX(2*mn+1,5))); 126 neg = mpn_fib2m (lp, scratch, np, nn, mp, mn); 128 /* F[n] = +/-{lp, mn}, F[n-1] = +/-{scratch, mn} */ 136 cy = mpn_rsblsh1_n (lp, lp, scratch, mn); /* L[n] = +/-(2F[n-1]-(-F[n])) */ 138 cy = mpn_sublsh1_n (lp, lp, scratch, mn); /* L[n] = -/+(F[n]-(-2F[n-1])) */ 145 cy = mpn_lshift (scratch, scratch, m 170 mpn_strongfibo(mp_srcptr mp, mp_size_t mn, mp_ptr scratch) argument [all...] |
H A D | mulmid_n.c | 54 mp_ptr scratch; local 57 scratch = TMP_ALLOC_LIMBS (mpn_toom42_mulmid_itch (n)); 58 mpn_toom42_mulmid (rp, ap, bp, n, scratch);
|
H A D | sec_invert.c | 48 mp_ptr scratch) 50 mpn_lshift (scratch, ap, n, 1); 51 mpn_cnd_sub_n (cnd, rp, ap, scratch, n); 84 mp_ptr scratch) 90 #define bp (scratch + n) 91 #define up (scratch + 2*n) 92 #define m1hp (scratch + 3*n) 112 ASSERT_NOCARRY (mpn_sec_add_1 (m1hp, m1hp, n, 1, scratch)); 157 mpn_cnd_neg (swap, ap, ap, n, scratch); 47 mpn_cnd_neg(int cnd, mp_limb_t *rp, const mp_limb_t *ap, mp_size_t n, mp_ptr scratch) argument 82 mpn_sec_invert(mp_ptr vp, mp_ptr ap, mp_srcptr mp, mp_size_t n, mp_bitcnt_t bit_size, mp_ptr scratch) argument
|
H A D | redc_n.c | 44 * Decrease scratch usage. 52 mp_ptr xp, yp, scratch; local 62 scratch = TMP_ALLOC_LIMBS (n + rn + mpn_mulmod_bnm1_itch (rn, n, n)); 64 xp = scratch; 67 yp = scratch + n; 68 mpn_mulmod_bnm1 (yp, rn, xp, n, mp, n, scratch + n + rn);
|
H A D | mul.c | 209 mp_ptr scratch; local 213 scratch = TMP_SALLOC_LIMBS (ITCH_TOOMX2); 231 mpn_toom42_mul (prodp, up, 2 * vn, vp, vn, scratch); 238 mpn_toom42_mul (ws, up, 2 * vn, vp, vn, scratch); 250 mpn_toom22_mul (ws, up, un, vp, vn, scratch); 252 mpn_toom32_mul (ws, up, un, vp, vn, scratch); 254 mpn_toom42_mul (ws, up, un, vp, vn, scratch); 263 mpn_toom22_mul (prodp, up, un, vp, vn, scratch); 265 mpn_toom32_mul (prodp, up, un, vp, vn, scratch); 267 mpn_toom42_mul (prodp, up, un, vp, vn, scratch); 281 mp_ptr scratch; local 375 mp_ptr scratch; local [all...] |
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/modes/ |
H A D | xts128.c | 37 } tweak, scratch; local 52 memcpy(scratch.c, inp, 16); 53 scratch.u[0] ^= tweak.u[0]; 54 scratch.u[1] ^= tweak.u[1]; 56 scratch.u[0] = ((u64_a1 *)inp)[0] ^ tweak.u[0]; 57 scratch.u[1] = ((u64_a1 *)inp)[1] ^ tweak.u[1]; 59 (*ctx->block1) (scratch.c, scratch.c, ctx->key1); 61 scratch.u[0] ^= tweak.u[0]; 62 scratch [all...] |
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/modes/ |
H A D | xts128.c | 33 } tweak, scratch; local 48 memcpy(scratch.c, inp, 16); 49 scratch.u[0] ^= tweak.u[0]; 50 scratch.u[1] ^= tweak.u[1]; 52 scratch.u[0] = ((u64_a1 *)inp)[0] ^ tweak.u[0]; 53 scratch.u[1] = ((u64_a1 *)inp)[1] ^ tweak.u[1]; 55 (*ctx->block1) (scratch.c, scratch.c, ctx->key1); 57 scratch.u[0] ^= tweak.u[0]; 58 scratch [all...] |
/netbsd-current/external/mit/libuv/dist/test/ |
H A D | test-random.c | 27 static char scratch[256]; variable 32 char zero[sizeof(scratch)]; 37 ASSERT(buf == (void*) scratch); 41 ASSERT(0 == memcmp(scratch, zero, sizeof(zero))); 43 ASSERT(buflen == sizeof(scratch)); 45 ASSERT(0 != memcmp(scratch, zero, sizeof(zero))); 57 ASSERT(UV_EINVAL == uv_random(loop, &req, scratch, sizeof(scratch), -1, 59 ASSERT(UV_E2BIG == uv_random(loop, &req, scratch, -1, -1, random_cb)); 61 ASSERT(0 == uv_random(loop, &req, scratch, [all...] |
/netbsd-current/external/lgpl3/gmp/dist/tests/mpn/ |
H A D | toom-sqr-shared.h | 37 mp_ptr ap, refp, pp, scratch; local 54 scratch 73 mpn_random2 (scratch-1, itch+2); 74 s_before = scratch[-1]; 75 s_after = scratch[itch]; 77 mpn_toomN_sqr (pp, ap, an, scratch); 80 || scratch[-1] != s_before || scratch[itch] != s_after 95 if (scratch[-1] != s_before) 97 printf ("before scratch [all...] |
H A D | toom-shared.h | 56 mp_ptr ap, bp, refp, pp, scratch; local 72 scratch 104 mpn_random2 (scratch-1, itch+2); 105 s_before = scratch[-1]; 106 s_after = scratch[itch]; 108 mpn_toomMN_mul (pp, ap, an, bp, bn, scratch); 111 || scratch[-1] != s_before || scratch[itch] != s_after 126 if (scratch[-1] != s_before) 128 printf ("before scratch [all...] |
H A D | t-invert.c | 67 mp_ptr ip, dp, scratch; local 81 scratch 110 mpn_random2 (scratch-1, itch+2); 111 s_before = scratch[-1]; 112 s_after = scratch[itch]; 115 mpn_invert (ip, dp, n, scratch); 117 || scratch[-1] != s_before || scratch[itch] != s_after 132 if (scratch[-1] != s_before) 134 printf ("before scratch [all...] |
H A D | t-mullo.c | 42 mp_ptr ap, bp, refp, pp, scratch; local 60 scratch 89 mpn_random2 (scratch-1, itch+2); 90 s_before = scratch[-1]; 91 s_after = scratch[itch]; 96 || scratch[-1] != s_before || scratch[itch] != s_after 111 if (scratch[-1] != s_before) 113 printf ("before scratch:"); mpn_dump (scratch [all...] |
H A D | t-sqrlo.c | 42 mp_ptr ap, refp, pp, scratch; local 59 scratch 87 mpn_random2 (scratch-1, itch+2); 88 s_before = scratch[-1]; 89 s_after = scratch[itch]; 94 || scratch[-1] != s_before || scratch[itch] != s_after 109 if (scratch[-1] != s_before) 111 printf ("before scratch:"); mpn_dump (scratch [all...] |
H A D | t-sqrmod_bnm1.c | 76 mp_ptr ap, refp, pp, scratch; local 93 scratch 139 mpn_random2 (scratch-1, itch+2); 140 s_before = scratch[-1]; 141 s_after = scratch[itch]; 143 mpn_sqrmod_bnm1 ( pp, n, ap, an, scratch); 146 || scratch[-1] != s_before || scratch[itch] != s_after 161 if (scratch[-1] != s_before) 163 printf ("before scratch [all...] |
/netbsd-current/sys/arch/bebox/stand/boot/ |
H A D | clock.c | 45 u_long scratch; local 49 : "=r"(tb), "=r"(scratch)); 60 u_long tbh, tbl, scratch; local 68 : "=&r"(scratch) : "r"(tbh), "r"(tbl));
|
/netbsd-current/external/gpl3/gdb/dist/gdbserver/ |
H A D | linux-arc-low.cc | 178 collect_register_by_name (regcache, "r0", &(regbuf->scratch.r0)); 179 collect_register_by_name (regcache, "r1", &(regbuf->scratch.r1)); 180 collect_register_by_name (regcache, "r2", &(regbuf->scratch.r2)); 181 collect_register_by_name (regcache, "r3", &(regbuf->scratch.r3)); 182 collect_register_by_name (regcache, "r4", &(regbuf->scratch.r4)); 183 collect_register_by_name (regcache, "r5", &(regbuf->scratch.r5)); 184 collect_register_by_name (regcache, "r6", &(regbuf->scratch.r6)); 185 collect_register_by_name (regcache, "r7", &(regbuf->scratch.r7)); 186 collect_register_by_name (regcache, "r8", &(regbuf->scratch.r8)); 187 collect_register_by_name (regcache, "r9", &(regbuf->scratch [all...] |
/netbsd-current/sys/arch/sparc64/sparc64/ |
H A D | netbsd32_sigcode.s | 39 .register %g2,#scratch 40 .register %g3,#scratch
|
/netbsd-current/sys/arch/prep/stand/boot/ |
H A D | clock.c | 50 u_long scratch; local 54 : "=r"(tb), "=r"(scratch)); 61 u_long scratch; local 65 : "=r"(*up), "=r"(*lp), "=r"(scratch) 76 u_long tbh, tbl, scratch; local 95 : "=&r"(scratch) 104 : "=&r"(scratch)
|
/netbsd-current/sys/arch/rs6000/stand/boot/ |
H A D | clock.c | 50 u_long scratch; local 54 : "=r"(tb), "=r"(scratch)); 61 u_long scratch; local 65 : "=r"(*up), "=r"(*lp), "=r"(scratch) 76 u_long tbh, tbl, scratch; local 96 : "=&r"(scratch) 105 : "=&r"(scratch)
|
/netbsd-current/sys/arch/mac68k/dev/ |
H A D | adbsysasm.s | 41 moveml #0x80e0,%sp@- | save scratch regs 48 moveml %sp@+,#0x0701 | restore scratch regs 56 moveml #0x80e0,%sp@- | save scratch regs 63 moveml %sp@+,#0x0701 | restore scratch regs 75 moveml #0xc0c0,%sp@- | save scratch regs 79 moveml %sp@+,#0x0303 | restore scratch regs
|
/netbsd-current/sys/arch/powerpc/include/ |
H A D | cpu_counter.h | 53 uint32_t rv, rtcu, scratch; local 78 : "=r"(scratch), "=r"(rv), "=r"(rtcu)
|
/netbsd-current/external/gpl3/gdb.old/dist/sim/testsuite/sim/bfin/ |
H A D | vit_max2.s | 8 loadsym P0, scratch 52 scratch: label
|
/netbsd-current/lib/csu/arch/sparc64/ |
H A D | crt0.S | 45 .register %g3,#scratch 46 .register %g2,#scratch
|