| /src/external/lgpl3/gmp/dist/printf/ |
| obprntffuns.c | 58 gmp_obstack_reps (struct obstack *ob, int c, int reps) 60 obstack_blank (ob, reps); 61 memset ((char *) obstack_next_free(ob) - reps, c, reps); 62 return reps;
|
| asprntffuns.c | 54 __gmp_asprintf_reps (struct gmp_asprintf_t *d, int c, int reps) 56 GMP_ASPRINTF_T_NEED (d, reps); 57 memset (d->buf + d->size, c, reps); 58 d->size += reps; 59 return reps;
|
| printffuns.c | 56 gmp_fprintf_reps (FILE *fp, int c, int reps) 60 ASSERT (reps >= 0); 62 memset (buf, c, MIN (reps, sizeof (buf))); 63 for (i = reps; i > 0; i -= sizeof (buf)) 72 return reps;
|
| sprintffuns.c | 72 gmp_sprintf_reps (char **bufp, int c, int reps) 75 ASSERT (reps >= 0); 76 *bufp = buf + reps; 77 memset (buf, c, reps); 78 return reps;
|
| snprntffuns.c | 127 gmp_snprintf_reps (struct gmp_snprintf_t *d, int c, int reps) 131 ASSERT (reps >= 0); 136 n = MIN (d->size-1, reps); 141 return reps;
|
| /src/usr.bin/jot/ |
| jot.c | 71 static long reps = REPS_DEF; variable 119 for (i = 1; i <= reps || reps == 0; i++) 120 putdata(random() * x + begin, reps - i); 129 for (i = 1; i <= reps || reps == 0; i++, x += step) 130 putdata(x, reps - i); 143 #define REPS 4 216 reps = strtoul(argv[0], &ep, 0); 217 if (*ep != 0 || reps < 0 [all...] |
| /src/external/lgpl3/gmp/dist/tests/mpn/ |
| t-mul.c | 54 int reps; local 58 reps = 1; 61 TESTS_REPS (reps, argv, argc); 63 /* Re-interpret reps argument as a size argument. */ 64 max_n = isqrt (reps * 25000);
|
| /src/external/lgpl3/gmp/dist/tests/mpf/ |
| t-set.c | 43 check_random (long reps) 58 for (test = 0; test < reps; test++) 102 long reps = 10000; local 105 TESTS_REPS (reps, argv, argc); 108 check_random (reps);
|
| t-add.c | 35 int reps = 20000; local 45 reps = strtol (argv[1], 0, 0); 64 for (i = 0; i < reps; i++)
|
| t-dm2exp.c | 33 int reps = 100000; local 45 reps = strtol (argv[1], 0, 0); 61 for (i = 0; i < reps; i++)
|
| t-muldiv.c | 35 int reps = 10000; local 47 reps = strtol (argv[1], 0, 0); 62 for (i = 0; i < reps; i++)
|
| /src/external/lgpl3/gmp/dist/tests/mpz/ |
| t-nextprime.c | 36 run (const char *start, int reps, const char *end, short diffs[]) 44 for (i = 0; i < reps; i++) 80 int reps = 20; local 109 TESTS_REPS (reps, argv, argc); 111 for (i = 0; i < reps; i++)
|
| t-perfsqr.c | 89 check_sqrt (int reps) 105 for (i = 0; i < reps; i++) 129 /* printf ("%d/%d perfect squares\n", cnt, reps); */ 141 int reps = 200000; local 147 reps = atoi (argv[1]); 150 check_sqrt (reps);
|
| t-cong_2exp.c | 109 check_random (int reps) 121 for (i = 0; i < reps; i++) 157 check_random_bits (int reps) 167 for (i = 0; i < reps; i++) 196 int reps = 5000; local 199 TESTS_REPS (reps, argv, argc); 202 check_random (reps); 203 check_random_bits (reps);
|
| dive.c | 33 int reps = 5000; local 39 TESTS_REPS (reps, argv, argc); 52 for (i = 0; i < reps; i++)
|
| dive_ui.c | 31 int reps = 500000; local 37 reps = atoi (argv[1]); 43 for (i = 0; i < reps; i++)
|
| t-divis.c | 115 check_random (int reps) 126 for (i = 0; i < reps; i++) 155 int reps = 100; local 159 TESTS_REPS (reps, argv, argc); 162 check_random (reps);
|
| t-pow.c | 160 check_random (int reps) 171 for (i = 0; i < reps; i++) 200 int reps = 5000; local 210 reps = atoi (argv[1]); 213 check_random (reps);
|
| t-invert.c | 35 int reps = 1000; local 38 TESTS_REPS (reps, argv, argc); 48 for (test = 0; test < reps; test++)
|
| t-lucm.c | 45 int reps = 1000; local 52 TESTS_REPS (reps, argv, argc); 66 for (i = 0; i < reps; i++) 106 if (res && ++reps)
|
| t-powm.c | 52 int reps = 1000; local 59 TESTS_REPS (reps, argv, argc); 76 reps += reps >> 3; 77 for (i = 0; i < reps || ! allsizes_seen (allsizes); i++)
|
| /src/external/lgpl3/gmp/dist/tests/mpq/ |
| io.c | 45 int reps = 10000; local 59 reps = atoi (argv[1]); 66 for (i = 0; i < reps; i++)
|
| t-cmp.c | 54 int reps = 10000; local 61 reps = atoi (argv[1]); 66 for (i = 0; i < reps; i++)
|
| t-cmp_ui.c | 54 int reps = 10000; local 62 reps = atoi (argv[1]); 67 for (i = 0; i < reps; i++)
|
| t-cmp_z.c | 104 int reps = 10000; local 111 reps = atoi (argv[1]); 116 for (i = 0; i < reps; i++)
|