Lines Matching refs:count
90 NumberType count = 0; in find_primes_in_window() local
95 ++count; in find_primes_in_window()
98 return count; in find_primes_in_window()
156 NumberType count = n >= 2; in SerialCountPrimes() local
159 count += multiples.n_factor; in SerialCountPrimes()
166 count += multiples.find_primes_in_window(j, window_size); in SerialCountPrimes()
169 return count; in SerialCountPrimes()
243 NumberType count; member in Sieve
246 Sieve(NumberType n) : multiples(n), count(0) {} in Sieve()
268 count += multiples.find_primes_in_window(j, window_size); in operator ()()
272 count += other.count; in join()
279 count(0) {} in Sieve()
292 NumberType count = n >= 2; in ParallelCountPrimes() local
295 count += s.multiples.n_factor; in ParallelCountPrimes()
304 count += s.count; in ParallelCountPrimes()
306 return count; in ParallelCountPrimes()