Home
last modified time | relevance | path

Searched refs:divn (Results 1 – 3 of 3) sorted by relevance

/glibc-2.36/locale/programs/
Dsimple-hash.c279 unsigned long int divn = 3; in is_prime() local
280 unsigned long int sq = divn * divn; in is_prime()
282 while (sq < candidate && candidate % divn != 0) in is_prime()
284 ++divn; in is_prime()
285 sq += 4 * divn; in is_prime()
286 ++divn; in is_prime()
289 return candidate % divn != 0; in is_prime()
/glibc-2.36/nss/
Dmakedb.c593 size_t divn = 3; in is_prime() local
594 size_t sq = divn * divn; in is_prime()
598 while (sq < candidate && candidate % divn != 0) in is_prime()
600 ++divn; in is_prime()
601 sq += 4 * divn; in is_prime()
602 ++divn; in is_prime()
605 return candidate % divn != 0; in is_prime()
/glibc-2.36/iconv/
Diconvconfig.c913 unsigned long int divn = 3; in is_prime() local
914 unsigned long int sq = divn * divn; in is_prime()
916 while (sq < candidate && candidate % divn != 0) in is_prime()
918 ++divn; in is_prime()
919 sq += 4 * divn; in is_prime()
920 ++divn; in is_prime()
923 return candidate % divn != 0; in is_prime()