Home
last modified time | relevance | path

Searched refs:__next_prime (Results 1 – 4 of 4) sorted by relevance

/external/libcxx/test/std/containers/unord/
Dnext_prime.pass.cpp42 assert(std::__next_prime(0) == 0); in main()
45 std::size_t p = std::__next_prime(n); in main()
/external/libcxx/src/
Ddebug.cpp152 size_t nc = __next_prime(2*static_cast<size_t>(__cend_ - __cbeg_) + 1); in __insert_c()
501 size_t nc = __next_prime(2*static_cast<size_t>(__iend_ - __ibeg_) + 1); in __insert_iterator()
Dhash.cpp179 __next_prime(size_t n) in __next_prime() function
/external/libcxx/include/
D__hash_table33 size_t __next_prime(size_t __n);
1941 __n = __next_prime(__n);
1951__next_prime(size_t(ceil(float(size()) / max_load_factor())))