Home
last modified time | relevance | path

Searched refs:GetNextPrime (Results 1 – 20 of 20) sorted by relevance

/external/google-breakpad/src/testing/gtest/samples/
Dsample6_unittest.cc126 EXPECT_EQ(2, this->table_->GetNextPrime(0)); in TYPED_TEST()
127 EXPECT_EQ(3, this->table_->GetNextPrime(2)); in TYPED_TEST()
128 EXPECT_EQ(5, this->table_->GetNextPrime(3)); in TYPED_TEST()
129 EXPECT_EQ(7, this->table_->GetNextPrime(5)); in TYPED_TEST()
130 EXPECT_EQ(11, this->table_->GetNextPrime(7)); in TYPED_TEST()
131 EXPECT_EQ(131, this->table_->GetNextPrime(128)); in TYPED_TEST()
190 EXPECT_EQ(2, this->table_->GetNextPrime(0)); in TYPED_TEST_P()
191 EXPECT_EQ(3, this->table_->GetNextPrime(2)); in TYPED_TEST_P()
192 EXPECT_EQ(5, this->table_->GetNextPrime(3)); in TYPED_TEST_P()
193 EXPECT_EQ(7, this->table_->GetNextPrime(5)); in TYPED_TEST_P()
[all …]
Dsample8_unittest.cc69 virtual int GetNextPrime(int p) const { in GetNextPrime() function in HybridPrimeTable
72 next_prime = precalc_impl_->GetNextPrime(p); in GetNextPrime()
74 return next_prime != -1 ? next_prime : on_the_fly_impl_->GetNextPrime(p); in GetNextPrime()
140 EXPECT_EQ(2, table_->GetNextPrime(0)); in TEST_P()
141 EXPECT_EQ(3, table_->GetNextPrime(2)); in TEST_P()
142 EXPECT_EQ(5, table_->GetNextPrime(3)); in TEST_P()
143 EXPECT_EQ(7, table_->GetNextPrime(5)); in TEST_P()
144 EXPECT_EQ(11, table_->GetNextPrime(7)); in TEST_P()
145 EXPECT_EQ(131, table_->GetNextPrime(128)); in TEST_P()
Dsample7_unittest.cc100 EXPECT_EQ(2, table_->GetNextPrime(0)); in TEST_P()
101 EXPECT_EQ(3, table_->GetNextPrime(2)); in TEST_P()
102 EXPECT_EQ(5, table_->GetNextPrime(3)); in TEST_P()
103 EXPECT_EQ(7, table_->GetNextPrime(5)); in TEST_P()
104 EXPECT_EQ(11, table_->GetNextPrime(7)); in TEST_P()
105 EXPECT_EQ(131, table_->GetNextPrime(128)); in TEST_P()
Dprime_tables.h52 virtual int GetNextPrime(int p) const = 0;
69 virtual int GetNextPrime(int p) const { in GetNextPrime() function
93 virtual int GetNextPrime(int p) const { in GetNextPrime() function
/external/vulkan-validation-layers/tests/gtest-1.7.0/samples/
Dsample6_unittest.cc126 EXPECT_EQ(2, this->table_->GetNextPrime(0)); in TYPED_TEST()
127 EXPECT_EQ(3, this->table_->GetNextPrime(2)); in TYPED_TEST()
128 EXPECT_EQ(5, this->table_->GetNextPrime(3)); in TYPED_TEST()
129 EXPECT_EQ(7, this->table_->GetNextPrime(5)); in TYPED_TEST()
130 EXPECT_EQ(11, this->table_->GetNextPrime(7)); in TYPED_TEST()
131 EXPECT_EQ(131, this->table_->GetNextPrime(128)); in TYPED_TEST()
190 EXPECT_EQ(2, this->table_->GetNextPrime(0)); in TYPED_TEST_P()
191 EXPECT_EQ(3, this->table_->GetNextPrime(2)); in TYPED_TEST_P()
192 EXPECT_EQ(5, this->table_->GetNextPrime(3)); in TYPED_TEST_P()
193 EXPECT_EQ(7, this->table_->GetNextPrime(5)); in TYPED_TEST_P()
[all …]
Dsample8_unittest.cc69 virtual int GetNextPrime(int p) const { in GetNextPrime() function in HybridPrimeTable
72 next_prime = precalc_impl_->GetNextPrime(p); in GetNextPrime()
74 return next_prime != -1 ? next_prime : on_the_fly_impl_->GetNextPrime(p); in GetNextPrime()
140 EXPECT_EQ(2, table_->GetNextPrime(0)); in TEST_P()
141 EXPECT_EQ(3, table_->GetNextPrime(2)); in TEST_P()
142 EXPECT_EQ(5, table_->GetNextPrime(3)); in TEST_P()
143 EXPECT_EQ(7, table_->GetNextPrime(5)); in TEST_P()
144 EXPECT_EQ(11, table_->GetNextPrime(7)); in TEST_P()
145 EXPECT_EQ(131, table_->GetNextPrime(128)); in TEST_P()
Dsample7_unittest.cc100 EXPECT_EQ(2, table_->GetNextPrime(0)); in TEST_P()
101 EXPECT_EQ(3, table_->GetNextPrime(2)); in TEST_P()
102 EXPECT_EQ(5, table_->GetNextPrime(3)); in TEST_P()
103 EXPECT_EQ(7, table_->GetNextPrime(5)); in TEST_P()
104 EXPECT_EQ(11, table_->GetNextPrime(7)); in TEST_P()
105 EXPECT_EQ(131, table_->GetNextPrime(128)); in TEST_P()
Dprime_tables.h52 virtual int GetNextPrime(int p) const = 0;
69 virtual int GetNextPrime(int p) const { in GetNextPrime() function
93 virtual int GetNextPrime(int p) const { in GetNextPrime() function
/external/googletest/googletest/samples/
Dsample6_unittest.cc126 EXPECT_EQ(2, this->table_->GetNextPrime(0)); in TYPED_TEST()
127 EXPECT_EQ(3, this->table_->GetNextPrime(2)); in TYPED_TEST()
128 EXPECT_EQ(5, this->table_->GetNextPrime(3)); in TYPED_TEST()
129 EXPECT_EQ(7, this->table_->GetNextPrime(5)); in TYPED_TEST()
130 EXPECT_EQ(11, this->table_->GetNextPrime(7)); in TYPED_TEST()
131 EXPECT_EQ(131, this->table_->GetNextPrime(128)); in TYPED_TEST()
190 EXPECT_EQ(2, this->table_->GetNextPrime(0)); in TYPED_TEST_P()
191 EXPECT_EQ(3, this->table_->GetNextPrime(2)); in TYPED_TEST_P()
192 EXPECT_EQ(5, this->table_->GetNextPrime(3)); in TYPED_TEST_P()
193 EXPECT_EQ(7, this->table_->GetNextPrime(5)); in TYPED_TEST_P()
[all …]
Dsample8_unittest.cc69 virtual int GetNextPrime(int p) const { in GetNextPrime() function in HybridPrimeTable
72 next_prime = precalc_impl_->GetNextPrime(p); in GetNextPrime()
74 return next_prime != -1 ? next_prime : on_the_fly_impl_->GetNextPrime(p); in GetNextPrime()
140 EXPECT_EQ(2, table_->GetNextPrime(0)); in TEST_P()
141 EXPECT_EQ(3, table_->GetNextPrime(2)); in TEST_P()
142 EXPECT_EQ(5, table_->GetNextPrime(3)); in TEST_P()
143 EXPECT_EQ(7, table_->GetNextPrime(5)); in TEST_P()
144 EXPECT_EQ(11, table_->GetNextPrime(7)); in TEST_P()
145 EXPECT_EQ(131, table_->GetNextPrime(128)); in TEST_P()
Dsample7_unittest.cc100 EXPECT_EQ(2, table_->GetNextPrime(0)); in TEST_P()
101 EXPECT_EQ(3, table_->GetNextPrime(2)); in TEST_P()
102 EXPECT_EQ(5, table_->GetNextPrime(3)); in TEST_P()
103 EXPECT_EQ(7, table_->GetNextPrime(5)); in TEST_P()
104 EXPECT_EQ(11, table_->GetNextPrime(7)); in TEST_P()
105 EXPECT_EQ(131, table_->GetNextPrime(128)); in TEST_P()
Dprime_tables.h52 virtual int GetNextPrime(int p) const = 0;
69 virtual int GetNextPrime(int p) const { in GetNextPrime() function
93 virtual int GetNextPrime(int p) const { in GetNextPrime() function
/external/protobuf/gtest/samples/
Dsample6_unittest.cc126 EXPECT_EQ(2, this->table_->GetNextPrime(0)); in TYPED_TEST()
127 EXPECT_EQ(3, this->table_->GetNextPrime(2)); in TYPED_TEST()
128 EXPECT_EQ(5, this->table_->GetNextPrime(3)); in TYPED_TEST()
129 EXPECT_EQ(7, this->table_->GetNextPrime(5)); in TYPED_TEST()
130 EXPECT_EQ(11, this->table_->GetNextPrime(7)); in TYPED_TEST()
131 EXPECT_EQ(131, this->table_->GetNextPrime(128)); in TYPED_TEST()
190 EXPECT_EQ(2, this->table_->GetNextPrime(0)); in TYPED_TEST_P()
191 EXPECT_EQ(3, this->table_->GetNextPrime(2)); in TYPED_TEST_P()
192 EXPECT_EQ(5, this->table_->GetNextPrime(3)); in TYPED_TEST_P()
193 EXPECT_EQ(7, this->table_->GetNextPrime(5)); in TYPED_TEST_P()
[all …]
Dsample8_unittest.cc69 virtual int GetNextPrime(int p) const { in GetNextPrime() function in HybridPrimeTable
72 next_prime = precalc_impl_->GetNextPrime(p); in GetNextPrime()
74 return next_prime != -1 ? next_prime : on_the_fly_impl_->GetNextPrime(p); in GetNextPrime()
140 EXPECT_EQ(2, table_->GetNextPrime(0)); in TEST_P()
141 EXPECT_EQ(3, table_->GetNextPrime(2)); in TEST_P()
142 EXPECT_EQ(5, table_->GetNextPrime(3)); in TEST_P()
143 EXPECT_EQ(7, table_->GetNextPrime(5)); in TEST_P()
144 EXPECT_EQ(11, table_->GetNextPrime(7)); in TEST_P()
145 EXPECT_EQ(131, table_->GetNextPrime(128)); in TEST_P()
Dsample7_unittest.cc102 EXPECT_EQ(2, table_->GetNextPrime(0)); in TEST_P()
103 EXPECT_EQ(3, table_->GetNextPrime(2)); in TEST_P()
104 EXPECT_EQ(5, table_->GetNextPrime(3)); in TEST_P()
105 EXPECT_EQ(7, table_->GetNextPrime(5)); in TEST_P()
106 EXPECT_EQ(11, table_->GetNextPrime(7)); in TEST_P()
107 EXPECT_EQ(131, table_->GetNextPrime(128)); in TEST_P()
Dprime_tables.h52 virtual int GetNextPrime(int p) const = 0;
69 virtual int GetNextPrime(int p) const { in GetNextPrime() function
93 virtual int GetNextPrime(int p) const { in GetNextPrime() function
/external/v8/testing/gtest/samples/
Dsample6_unittest.cc126 EXPECT_EQ(2, this->table_->GetNextPrime(0)); in TYPED_TEST()
127 EXPECT_EQ(3, this->table_->GetNextPrime(2)); in TYPED_TEST()
128 EXPECT_EQ(5, this->table_->GetNextPrime(3)); in TYPED_TEST()
129 EXPECT_EQ(7, this->table_->GetNextPrime(5)); in TYPED_TEST()
130 EXPECT_EQ(11, this->table_->GetNextPrime(7)); in TYPED_TEST()
131 EXPECT_EQ(131, this->table_->GetNextPrime(128)); in TYPED_TEST()
190 EXPECT_EQ(2, this->table_->GetNextPrime(0)); in TYPED_TEST_P()
191 EXPECT_EQ(3, this->table_->GetNextPrime(2)); in TYPED_TEST_P()
192 EXPECT_EQ(5, this->table_->GetNextPrime(3)); in TYPED_TEST_P()
193 EXPECT_EQ(7, this->table_->GetNextPrime(5)); in TYPED_TEST_P()
[all …]
Dsample8_unittest.cc69 virtual int GetNextPrime(int p) const { in GetNextPrime() function in HybridPrimeTable
72 next_prime = precalc_impl_->GetNextPrime(p); in GetNextPrime()
74 return next_prime != -1 ? next_prime : on_the_fly_impl_->GetNextPrime(p); in GetNextPrime()
140 EXPECT_EQ(2, table_->GetNextPrime(0)); in TEST_P()
141 EXPECT_EQ(3, table_->GetNextPrime(2)); in TEST_P()
142 EXPECT_EQ(5, table_->GetNextPrime(3)); in TEST_P()
143 EXPECT_EQ(7, table_->GetNextPrime(5)); in TEST_P()
144 EXPECT_EQ(11, table_->GetNextPrime(7)); in TEST_P()
145 EXPECT_EQ(131, table_->GetNextPrime(128)); in TEST_P()
Dsample7_unittest.cc100 EXPECT_EQ(2, table_->GetNextPrime(0)); in TEST_P()
101 EXPECT_EQ(3, table_->GetNextPrime(2)); in TEST_P()
102 EXPECT_EQ(5, table_->GetNextPrime(3)); in TEST_P()
103 EXPECT_EQ(7, table_->GetNextPrime(5)); in TEST_P()
104 EXPECT_EQ(11, table_->GetNextPrime(7)); in TEST_P()
105 EXPECT_EQ(131, table_->GetNextPrime(128)); in TEST_P()
Dprime_tables.h52 virtual int GetNextPrime(int p) const = 0;
69 virtual int GetNextPrime(int p) const { in GetNextPrime() function
93 virtual int GetNextPrime(int p) const { in GetNextPrime() function