Lines Matching refs:p
54 unsigned p; member
74 process_prime (struct prime *info, unsigned p) in process_prime() argument
77 info->p = p; in process_prime()
78 info->pinv = binvert (p); in process_prime()
79 info->lim = max / p; in process_prime()
122 unsigned p; in output_primes() local
136 for (i = 0, p = 2; i < nprimes; i++) in output_primes()
138 unsigned int d8 = i + 8 < nprimes ? primes[i + 8].p - primes[i].p : 0xff; in output_primes()
141 printf ("P (%u, %u,\n (", primes[i].p - p, d8); in output_primes()
143 printf ("),\n UINTMAX_MAX / %u)\n", primes[i].p); in output_primes()
144 p = primes[i].p; in output_primes()
152 p += 2; in output_primes()
155 if (primes[i].p * primes[i].p > p) in output_primes()
157 if (p * primes[i].pinv <= primes[i].lim) in output_primes()
166 printf ("#define FIRST_OMITTED_PRIME %u\n", p); in output_primes()
173 void *p = malloc (s); in xalloc() local
174 if (p) in xalloc()
175 return p; in xalloc()
216 unsigned p = 3 + 2 * i; in main() local
219 process_prime (&prime_list[nprimes++], p); in main()
221 for (j = (p * p - 3) / 2; j < size; j += p) in main()