OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:IsPrime
(Results
1 - 12
of
12
) sorted by null
/external/google-breakpad/src/testing/gtest/samples/
sample1.cc
47
bool
IsPrime
(int n) {
prime_tables.h
48
virtual bool
IsPrime
(int n) const = 0;
58
virtual bool
IsPrime
(int n) const {
71
if (
IsPrime
(n)) return n;
89
virtual bool
IsPrime
(int n) const {
sample8_unittest.cc
62
virtual bool
IsPrime
(int n) const {
64
return precalc_impl_->
IsPrime
(n);
66
return on_the_fly_impl_->
IsPrime
(n);
122
EXPECT_FALSE(table_->
IsPrime
(-5));
123
EXPECT_FALSE(table_->
IsPrime
(0));
124
EXPECT_FALSE(table_->
IsPrime
(1));
125
EXPECT_FALSE(table_->
IsPrime
(4));
126
EXPECT_FALSE(table_->
IsPrime
(6));
127
EXPECT_FALSE(table_->
IsPrime
(100));
131
EXPECT_TRUE(table_->
IsPrime
(2))
[
all
...]
/external/protobuf/gtest/samples/
sample1.cc
47
bool
IsPrime
(int n) {
prime_tables.h
48
virtual bool
IsPrime
(int n) const = 0;
58
virtual bool
IsPrime
(int n) const {
71
if (
IsPrime
(n)) return n;
89
virtual bool
IsPrime
(int n) const {
sample8_unittest.cc
62
virtual bool
IsPrime
(int n) const {
64
return precalc_impl_->
IsPrime
(n);
66
return on_the_fly_impl_->
IsPrime
(n);
122
EXPECT_FALSE(table_->
IsPrime
(-5));
123
EXPECT_FALSE(table_->
IsPrime
(0));
124
EXPECT_FALSE(table_->
IsPrime
(1));
125
EXPECT_FALSE(table_->
IsPrime
(4));
126
EXPECT_FALSE(table_->
IsPrime
(6));
127
EXPECT_FALSE(table_->
IsPrime
(100));
131
EXPECT_TRUE(table_->
IsPrime
(2))
[
all
...]
/external/vulkan-validation-layers/tests/gtest-1.7.0/samples/
sample1.cc
47
bool
IsPrime
(int n) {
prime_tables.h
48
virtual bool
IsPrime
(int n) const = 0;
58
virtual bool
IsPrime
(int n) const {
71
if (
IsPrime
(n)) return n;
89
virtual bool
IsPrime
(int n) const {
sample8_unittest.cc
62
virtual bool
IsPrime
(int n) const {
64
return precalc_impl_->
IsPrime
(n);
66
return on_the_fly_impl_->
IsPrime
(n);
122
EXPECT_FALSE(table_->
IsPrime
(-5));
123
EXPECT_FALSE(table_->
IsPrime
(0));
124
EXPECT_FALSE(table_->
IsPrime
(1));
125
EXPECT_FALSE(table_->
IsPrime
(4));
126
EXPECT_FALSE(table_->
IsPrime
(6));
127
EXPECT_FALSE(table_->
IsPrime
(100));
131
EXPECT_TRUE(table_->
IsPrime
(2))
[
all
...]
/ndk/sources/third_party/googletest/googletest/samples/
sample1.cc
47
bool
IsPrime
(int n) {
prime_tables.h
48
virtual bool
IsPrime
(int n) const = 0;
58
virtual bool
IsPrime
(int n) const {
71
if (
IsPrime
(n)) return n;
89
virtual bool
IsPrime
(int n) const {
sample8_unittest.cc
62
virtual bool
IsPrime
(int n) const {
64
return precalc_impl_->
IsPrime
(n);
66
return on_the_fly_impl_->
IsPrime
(n);
122
EXPECT_FALSE(table_->
IsPrime
(-5));
123
EXPECT_FALSE(table_->
IsPrime
(0));
124
EXPECT_FALSE(table_->
IsPrime
(1));
125
EXPECT_FALSE(table_->
IsPrime
(4));
126
EXPECT_FALSE(table_->
IsPrime
(6));
127
EXPECT_FALSE(table_->
IsPrime
(100));
131
EXPECT_TRUE(table_->
IsPrime
(2))
[
all
...]
Completed in 438 milliseconds