Searched refs:scratch (Results 1 - 25 of 263) sorted by relevance

1234567891011

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.old-deja/g++.ext/
H A Dnamedret3.C19 int scratch[100];
22 scratch[i] = 0;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.old-deja/g++.ext/
H A Dnamedret3.C19 int scratch[100];
22 scratch[i] = 0;
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/mpn/generic/
H A Dinvert.c27 allocate and pass the scratch to the function. */
35 mpn_invert (mp_ptr ip, mp_srcptr dp, mp_size_t n, mp_ptr scratch) argument
40 ASSERT (! MPN_OVERLAP_P (ip, n, scratch, mpn_invertappr_itch(n)));
41 ASSERT (! MPN_OVERLAP_P (dp, n, scratch, mpn_invertappr_itch(n)));
49 if (scratch == NULL)
50 scratch = TMP_ALLOC_LIMBS (mpn_invert_itch (n));
54 /* Maximum scratch needed by this branch: 2*n */
58 xp = scratch; /* 2 * n limbs */
75 e = mpn_ni_invertappr (ip, dp, n, scratch);
79 mpn_mul_n (scratch, i
[all...]
H A Dmul.c165 mp_ptr scratch; local
168 scratch = TMP_SALLOC_LIMBS (ITCH);
182 mpn_toom42_mul (prodp, up, 2 * vn, vp, vn, scratch);
189 mpn_toom42_mul (ws, up, 2 * vn, vp, vn, scratch);
201 mpn_toom22_mul (ws, up, un, vp, vn, scratch);
203 mpn_toom32_mul (ws, up, un, vp, vn, scratch);
205 mpn_toom42_mul (ws, up, un, vp, vn, scratch);
214 mpn_toom22_mul (prodp, up, un, vp, vn, scratch);
216 mpn_toom32_mul (prodp, up, un, vp, vn, scratch);
218 mpn_toom42_mul (prodp, up, un, vp, vn, scratch);
232 mp_ptr scratch; local
318 mp_ptr scratch; local
[all...]
H A Dredc_n.c34 * Decrease scratch usage.
40 mp_ptr xp, yp, scratch; local
48 scratch = TMP_ALLOC_LIMBS (n + rn + mpn_mulmod_bnm1_itch (rn, n, n));
50 xp = scratch;
53 yp = scratch + n;
54 mpn_mulmod_bnm1 (yp, rn, xp, n, mp, n, scratch + n + rn);
H A Dmu_div_qr.c47 * The itch/scratch scheme isn't perhaps such a good idea as it once seemed,
48 demonstrated by the fact that the mpn_invertappr function's scratch needs
50 Things are worse as mpn_mul_fft does not accept any scratch parameter,
52 general, a peak scratch need in the beginning of a function isn't
53 well-handled by the itch/scratch scheme.
92 mp_ptr scratch)
113 scratch);
117 mpn_mul (scratch, dp, dn - (qn + 1), qp, qn); /* prod is dn-1 limbs */
119 mpn_mul (scratch, qp, qn, dp, dn - (qn + 1)); /* prod is dn-1 limbs */
122 cy = mpn_add_n (scratch
86 mpn_mu_div_qr(mp_ptr qp, mp_ptr rp, mp_srcptr np, mp_size_t nn, mp_srcptr dp, mp_size_t dn, mp_ptr scratch) argument
147 mpn_mu_div_qr2(mp_ptr qp, mp_ptr rp, mp_srcptr np, mp_size_t nn, mp_srcptr dp, mp_size_t dn, mp_ptr scratch) argument
223 mpn_preinv_mu_div_qr(mp_ptr qp, mp_ptr rp, mp_srcptr np, mp_size_t nn, mp_srcptr dp, mp_size_t dn, mp_srcptr ip, mp_size_t in, mp_ptr scratch) argument
[all...]
H A Dmu_div_q.c51 3. The allocations done here should be made from the scratch area, which
64 mp_ptr scratch)
98 MPN_COPY (scratch + 1, dp, in);
99 scratch[0] = 1;
100 mpn_invertappr (ip, scratch, in + 1, NULL);
105 cy = mpn_add_1 (scratch, dp + dn - (in + 1), in + 1, 1);
110 mpn_invertappr (ip, scratch, in + 1, NULL);
122 this_ip, this_in, scratch);
129 this_ip, this_in, scratch);
175 dp + dn - (qn + 1), qn + 1, scratch);
61 mpn_mu_div_q(mp_ptr qp, mp_srcptr np, mp_size_t nn, mp_srcptr dp, mp_size_t dn, mp_ptr scratch) argument
[all...]
H A Dmu_divappr_q.c43 * The itch/scratch scheme isn't perhaps such a good idea as it once seemed,
44 demonstrated by the fact that the mpn_invertappr function's scratch needs
46 Things are worse as mpn_mul_fft does not accept any scratch parameter,
48 general, a peak scratch need in the beginning of a function isn't
49 well-handled by the itch/scratch scheme.
70 mp_ptr scratch)
96 not adapted (3) mpn_invertappr scratch needs not met. */
97 ip = scratch;
98 tp = scratch + in + 1;
122 ip = scratch;
65 mpn_mu_divappr_q(mp_ptr qp, mp_srcptr np, mp_size_t nn, mp_srcptr dp, mp_size_t dn, mp_ptr scratch) argument
149 mpn_preinv_mu_divappr_q(mp_ptr qp, mp_srcptr np, mp_size_t nn, mp_srcptr dp, mp_size_t dn, mp_srcptr ip, mp_size_t in, mp_ptr scratch) argument
[all...]
H A Dinvertappr.c33 allocate and pass the scratch to the function. */
68 /* All the three functions mpn{,_bc,_ni}_invertappr (ip, dp, n, scratch), take
72 Let e = mpn*_invertappr (ip, dp, n, scratch) be the returned value; the
85 the function mpn_invert (ip, dp, n, scratch) should be used instead. */
87 /* Maximum scratch needed by this branch (at tp): 3*n + 2 */
151 FIXME: the scratch for mulmod_bnm1 does not currently fit in the scratch, it
157 mpn_ni_invertappr (mp_ptr ip, mp_srcptr dp, mp_size_t n, mp_ptr scratch) argument
165 #define rp scratch
170 ASSERT (! MPN_OVERLAP_P (ip, n, scratch, mpn_invertappr_itc
288 mpn_invertappr(mp_ptr ip, mp_srcptr dp, mp_size_t n, mp_ptr scratch) argument
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/modes/
H A Dxts128.c66 union { u64 u[2]; u32 d[4]; u8 c[16]; } tweak, scratch; local
79 memcpy(scratch.c,inp,16);
80 scratch.u[0] ^= tweak.u[0];
81 scratch.u[1] ^= tweak.u[1];
83 scratch.u[0] = ((u64*)inp)[0]^tweak.u[0];
84 scratch.u[1] = ((u64*)inp)[1]^tweak.u[1];
86 (*ctx->block1)(scratch.c,scratch.c,ctx->key1);
88 scratch.u[0] ^= tweak.u[0];
89 scratch
[all...]
H A Dccm128.c179 union { u64 u[2]; u8 c[16]; } scratch; local
211 (*block)(ctx->nonce.c,scratch.c,key);
214 temp.u[0] ^= scratch.u[0];
215 temp.u[1] ^= scratch.u[1];
218 ((u64*)out)[0] = scratch.u[0]^((u64*)inp)[0];
219 ((u64*)out)[1] = scratch.u[1]^((u64*)inp)[1];
229 (*block)(ctx->nonce.c,scratch.c,key);
230 for (i=0; i<len; ++i) out[i] = scratch.c[i]^inp[i];
236 (*block)(ctx->nonce.c,scratch.c,key);
237 ctx->cmac.u[0] ^= scratch
254 union { u64 u[2]; u8 c[16]; } scratch; local
333 union { u64 u[2]; u8 c[16]; } scratch; local
390 union { u64 u[2]; u8 c[16]; } scratch; local
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/bebox/stand/boot/
H A Dclock.c45 u_long scratch; local
49 : "=r"(tb), "=r"(scratch));
60 u_long tbh, tbl, scratch; local
68 : "=&r"(scratch) : "r"(tbh), "r"(tbl));
/netbsd-6-1-5-RELEASE/sys/arch/sparc64/sparc64/
H A Dnetbsd32_sigcode.s39 .register %g2,#scratch
40 .register %g3,#scratch
/netbsd-6-1-5-RELEASE/sys/arch/prep/stand/boot/
H A Dclock.c50 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-6-1-5-RELEASE/sys/arch/rs6000/stand/boot/
H A Dclock.c50 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-6-1-5-RELEASE/sys/arch/mac68k/dev/
H A Dadbsysasm.s41 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-6-1-5-RELEASE/external/lgpl3/gmp/dist/tests/mpn/
H A Dt-invert.c68 mp_ptr ip, dp, scratch; local
91 scratch
120 mpn_random2 (scratch-1, itch+2);
121 s_before = scratch[-1];
122 s_after = scratch[itch];
125 mpn_invert (ip, dp, n, scratch);
127 || scratch[-1] != s_before || scratch[itch] != s_after
142 if (scratch[-1] != s_before)
144 printf ("before scratch
[all...]
H A Dt-mullo.c43 mp_ptr ap, bp, refp, pp, scratch; local
70 scratch
99 mpn_random2 (scratch-1, itch+2);
100 s_before = scratch[-1];
101 s_after = scratch[itch];
106 || scratch[-1] != s_before || scratch[itch] != s_after
121 if (scratch[-1] != s_before)
123 printf ("before scratch:"); mpn_dump (scratch
[all...]
H A Dt-sqrmod_bnm1.c77 mp_ptr ap, refp, pp, scratch; local
103 scratch
149 mpn_random2 (scratch-1, itch+2);
150 s_before = scratch[-1];
151 s_after = scratch[itch];
153 mpn_sqrmod_bnm1 ( pp, n, ap, an, scratch);
156 || scratch[-1] != s_before || scratch[itch] != s_after
171 if (scratch[-1] != s_before)
173 printf ("before scratch
[all...]
H A Dtoom-shared.h57 mp_ptr ap, bp, refp, pp, scratch; local
82 scratch
114 mpn_random2 (scratch-1, itch+2);
115 s_before = scratch[-1];
116 s_after = scratch[itch];
118 mpn_toomMN_mul (pp, ap, an, bp, bn, scratch);
121 || scratch[-1] != s_before || scratch[itch] != s_after
136 if (scratch[-1] != s_before)
138 printf ("before scratch
[all...]
H A Dt-mulmod_bnm1.c81 mp_ptr ap, bp, refp, pp, scratch; local
108 scratch
175 mpn_random2 (scratch-1, itch+2);
176 s_before = scratch[-1];
177 s_after = scratch[itch];
179 mpn_mulmod_bnm1 ( pp, n, ap, an, bp, bn, scratch);
182 || scratch[-1] != s_before || scratch[itch] != s_after
197 if (scratch[-1] != s_before)
199 printf ("before scratch
[all...]
H A Dt-div.c148 mp_ptr scratch; local
187 scratch = __GMP_ALLOCATE_FUNC_LIMBS (alloc);
349 scratch = __GMP_REALLOCATE_FUNC_LIMBS (scratch, alloc, itch + 1);
352 scratch[itch] = ran;
356 qp[nn - dn] = mpn_mu_div_qr (qp, rp, np, nn, dp, dn, scratch);
357 ASSERT_ALWAYS (ran == scratch[itch]);
369 scratch = __GMP_REALLOCATE_FUNC_LIMBS (scratch, alloc, itch + 1);
372 scratch[itc
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/powerpc/include/
H A Dcpu_counter.h49 uint32_t rv, rtcu, scratch; local
74 : "=r"(scratch), "=r"(rv), "=r"(rtcu)
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/libdm/regex/
H A Dmatcher.c39 struct dm_pool *scratch, *mem; member in struct:dm_regex
76 n->firstpos = dm_bitset_create(m->scratch, m->num_nodes);
77 n->lastpos = dm_bitset_create(m->scratch, m->num_nodes);
78 n->followpos = dm_bitset_create(m->scratch, m->num_nodes);
197 struct ttree *tt = ttree_create(m->scratch, iwidth);
206 if (!(bs = dm_bitset_create(m->scratch, m->num_nodes)))
215 h = t = _create_state_queue(m->scratch, dfa, rx->firstpos);
245 _create_state_queue(m->scratch,
275 struct dm_pool *scratch = dm_pool_create("regex matcher", 10 * 1024); local
278 if (!scratch)
[all...]
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/filters/
H A Dfilter-regex.c94 struct dm_pool *scratch; local
100 if (!(scratch = dm_pool_create("filter dm_regex", 1024)))
118 if (!(regex = dm_pool_alloc(scratch, sizeof(*regex) * count)))
132 if (!_extract_pattern(scratch, v->v.str, regex, rf->accept, i)) {
146 dm_pool_destroy(scratch);

Completed in 169 milliseconds

1234567891011