HomeSort by: relevance | last modified time | path
    Searched defs:itch (Results 1 - 20 of 20) sorted by relevancy

  /src/external/lgpl3/gmp/dist/tests/mpn/
toom-sqr-shared.h 60 mp_size_t itch; local
71 itch = mpn_toomN_sqr_itch (an);
72 ASSERT_ALWAYS (itch <= mpn_toomN_sqr_itch (MAX_AN));
73 mpn_random2 (scratch-1, itch+2);
75 s_after = scratch[itch];
80 || scratch[-1] != s_before || scratch[itch] != s_after
100 if (scratch[itch] != s_after)
102 printf ("after scratch:"); mpn_dump (scratch + itch, 1);
t-invert.c 89 mp_size_t itch; local
108 itch = mpn_invert_itch (n);
109 ASSERT_ALWAYS (itch <= mpn_invert_itch (MAX_N));
110 mpn_random2 (scratch-1, itch+2);
112 s_after = scratch[itch];
117 || scratch[-1] != s_before || scratch[itch] != s_after
137 if (scratch[itch] != s_after)
139 printf ("after scratch:"); mpn_dump (scratch + itch, 1);
t-minvert.c 67 mp_size_t itch; local
132 itch = mpn_sec_invert_itch (n);
133 scratch[itch] = ran = urandom ();
141 if (rres != tres || (rres == 1 && !mpz_eq_mpn (tp, n, r)) || ran != scratch[itch])
152 if (ran != scratch[itch])
153 fprintf (stderr, "scratch[itch] changed.\n");
t-mullo.c 68 mp_size_t itch; local
87 itch = mpn_mullo_itch (n);
88 ASSERT_ALWAYS (itch <= mpn_mullo_itch (MAX_N));
89 mpn_random2 (scratch-1, itch+2);
91 s_after = scratch[itch];
96 || scratch[-1] != s_before || scratch[itch] != s_after
116 if (scratch[itch] != s_after)
118 printf ("after scratch:"); mpn_dump (scratch + itch, 1);
t-mulmod_bnm1.c 106 mp_size_t itch; local
163 itch = mpn_mulmod_bnm1_itch (n, an, bn);
164 ASSERT_ALWAYS (itch <= mpn_mulmod_bnm1_itch (MAX_N, MAX_N, MAX_N));
165 mpn_random2 (scratch-1, itch+2);
167 s_after = scratch[itch];
172 || scratch[-1] != s_before || scratch[itch] != s_after
192 if (scratch[itch] != s_after)
194 printf ("after scratch:"); mpn_dump (scratch + itch, 1);
t-sqrlo.c 67 mp_size_t itch; local
85 itch = mpn_sqrlo_itch (n);
86 ASSERT_ALWAYS (itch <= mpn_sqrlo_itch (MAX_N));
87 mpn_random2 (scratch-1, itch+2);
89 s_after = scratch[itch];
94 || scratch[-1] != s_before || scratch[itch] != s_after
114 if (scratch[itch] != s_after)
116 printf ("after scratch:"); mpn_dump (scratch + itch, 1);
t-sqrmod_bnm1.c 101 mp_size_t itch; local
137 itch = mpn_sqrmod_bnm1_itch (n, an);
138 ASSERT_ALWAYS (itch <= mpn_sqrmod_bnm1_itch (MAX_N, MAX_N));
139 mpn_random2 (scratch-1, itch+2);
141 s_after = scratch[itch];
146 || scratch[-1] != s_before || scratch[itch] != s_after
166 if (scratch[itch] != s_after)
168 printf ("after scratch:"); mpn_dump (scratch + itch, 1);
toom-shared.h 81 mp_size_t itch; local
102 itch = mpn_toomMN_mul_itch (an, bn);
103 ASSERT_ALWAYS (itch <= mpn_toomMN_mul_itch (MAX_AN, MAX_BN(MAX_AN)));
104 mpn_random2 (scratch-1, itch+2);
106 s_after = scratch[itch];
111 || scratch[-1] != s_before || scratch[itch] != s_after
131 if (scratch[itch] != s_after)
133 printf ("after scratch:"); mpn_dump (scratch + itch, 1);
t-bdiv.c 142 mp_size_t alloc, itch; local
291 itch = mpn_bdiv_qr_itch (nn, dn);
292 if (itch + 1 > alloc)
294 scratch = __GMP_REALLOCATE_FUNC_LIMBS (scratch, alloc, itch + 1);
295 alloc = itch + 1;
297 scratch[itch] = ran;
302 ASSERT_ALWAYS (ran == scratch[itch]);
313 itch = mpn_mu_bdiv_qr_itch (nn, dn);
314 if (itch + 1 > alloc)
316 scratch = __GMP_REALLOCATE_FUNC_LIMBS (scratch, alloc, itch + 1)
    [all...]
t-div.c 138 mp_size_t alloc, itch; local
290 itch = mpn_sec_div_qr_itch (nn, dn);
291 if (itch + 1 > alloc)
293 scratch = __GMP_REALLOCATE_FUNC_LIMBS (scratch, alloc, itch + 1);
294 alloc = itch + 1;
296 scratch[itch] = ran;
301 ASSERT_ALWAYS (ran == scratch[itch]);
305 itch = mpn_sec_div_r_itch (nn, dn);
306 if (itch + 1 > alloc)
308 scratch = __GMP_REALLOCATE_FUNC_LIMBS (scratch, alloc, itch + 1)
    [all...]
  /src/external/lgpl3/gmp/dist/mpn/generic/
hgcd_reduce.c 201 mp_size_t itch; local
204 itch = mpn_hgcd_itch (n-p);
208 if (itch < n + p - 1)
209 itch = n + p - 1;
213 itch = 2*(n-p) + mpn_hgcd_itch (n-p);
216 return itch;
div_q.c 167 mp_size_t itch = mpn_mu_div_q_itch (new_nn, dn, 0); local
168 mp_ptr scratch = TMP_ALLOC_LIMBS (itch);
201 mp_size_t itch = mpn_mu_div_q_itch (nn, dn, 0); local
202 mp_ptr scratch = TMP_ALLOC_LIMBS (itch);
251 mp_size_t itch = mpn_mu_divappr_q_itch (new_nn, qn + 1, 0); local
252 mp_ptr scratch = TMP_ALLOC_LIMBS (itch);
290 mp_size_t itch = mpn_mu_divappr_q_itch (new_nn, qn + 1, 0); local
291 mp_ptr scratch = TMP_ALLOC_LIMBS (itch);
tdiv_qr.c 151 mp_size_t itch = mpn_mu_div_qr_itch (nn, dn, 0); local
152 mp_ptr scratch = TMP_ALLOC_LIMBS (itch);
278 mp_size_t itch = mpn_mu_div_qr_itch (2 * qn, qn, 0); local
279 mp_ptr scratch = TMP_ALLOC_LIMBS (itch);
sec_powm.c 363 mp_size_t redcify_itch, itch; local
380 itch = (n << windowsize) + (4 * n);
382 return MAX (itch, redcify_itch);
sqrtrem.c 297 mp_size_t itch = mpn_mu_divappr_q_itch (nn, dn, 0); local
301 qh = mpn_mu_divappr_q (qp, np, nn, dp, dn, TMP_ALLOC_LIMBS (itch));
  /src/external/lgpl3/gmp/dist/mpz/
powm.c 68 mp_size_t rn, bn, es, en, itch; local
178 itch = 3 * n + MAX (itch_binvert, 2 * n);
184 itch = n + MAX (itch_binvert, 2 * n);
186 tp = TMP_ALLOC_LIMBS (itch);
powm_ui.c 89 mp_size_t itch; local
93 itch = mpn_mu_div_qr_itch (nn, dn, 0);
95 scratch = TMP_BALLOC_LIMBS (itch);
  /src/external/lgpl3/gmp/dist/tune/
common.c 1593 mp_size_t itch; local
1608 itch = mpn_matrix22_mul_itch (s->size, s->size);
1609 SPEED_TMP_ALLOC_LIMBS (tp, itch, s->align_wp2);
1614 speed_operand_dst (s, tp, itch);
tuneup.c 2070 mp_size_t itch; local
2083 winsize = 10; /* the itch function needs this */
2084 itch = mpn_sec_powm_itch (n_max, n_max * GMP_NUMB_BITS, n_max);
2090 tp = TMP_ALLOC_LIMBS (itch);
  /src/external/lgpl3/gmp/dist/
gmp-impl.h 1274 mp_size_t n, itch; local
1276 itch = rn + 4 +
1278 return itch;
1287 mp_size_t n, itch; local
1289 itch = rn + 3 +
1291 return itch;
5105 /* FIXME: Make these itch functions less conservative. Also consider making
5181 mp_size_t itch = 2 * n + 1;
5183 return itch;

Completed in 85 milliseconds