Home
last modified time | relevance | path

Searched refs:is_prime (Results 1 – 2 of 2) sorted by relevance

/coreutils/src/
Dmake-prime-list.c123 int is_prime; in output_primes() local
153 for (i = 0, is_prime = 1; is_prime; i++) in output_primes()
159 is_prime = 0; in output_primes()
164 while (!is_prime); in output_primes()
Dfactor.c1202 bool is_prime; in prime_p() local
1239 is_prime = true; in prime_p()
1240 for (int i = 0; i < factors.nfactors && is_prime; i++) in prime_p()
1242 is_prime in prime_p()
1249 is_prime = (r == MR_REPS - 1); in prime_p()
1252 if (is_prime) in prime_p()
1331 bool is_prime; in prime2_p() local
1336 is_prime = true; in prime2_p()
1344 is_prime = (y[0] != one[0] || y[1] != one[1]); in prime2_p()
1346 for (int i = 0; i < factors.nfactors && is_prime; i++) in prime2_p()
[all …]