/external/chromium/testing/gtest/samples/ |
sample7_unittest.cc | 70 virtual ~PrimeTableTest() { delete table_; } 71 virtual void SetUp() { table_ = (*GetParam())(); } 73 delete table_; 74 table_ = NULL; 78 PrimeTable* table_; member in class:PrimeTableTest 82 EXPECT_FALSE(table_->IsPrime(-5)); 83 EXPECT_FALSE(table_->IsPrime(0)); 84 EXPECT_FALSE(table_->IsPrime(1)); 85 EXPECT_FALSE(table_->IsPrime(4)); 86 EXPECT_FALSE(table_->IsPrime(6)) [all...] |
sample6_unittest.cc | 63 PrimeTableTest() : table_(CreatePrimeTable<T>()) {} 65 virtual ~PrimeTableTest() { delete table_; } 74 PrimeTable* const table_; member in class:PrimeTableTest 108 EXPECT_FALSE(this->table_->IsPrime(-5)); 109 EXPECT_FALSE(this->table_->IsPrime(0)); 110 EXPECT_FALSE(this->table_->IsPrime(1)); 111 EXPECT_FALSE(this->table_->IsPrime(4)); 112 EXPECT_FALSE(this->table_->IsPrime(6)); 113 EXPECT_FALSE(this->table_->IsPrime(100)); 117 EXPECT_TRUE(this->table_->IsPrime(2)) [all...] |
sample8_unittest.cc | 106 table_ = new HybridPrimeTable(force_on_the_fly, max_precalculated); 109 delete table_; 110 table_ = NULL; 112 HybridPrimeTable* table_; member in class:PrimeTableTest 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)) [all...] |
/external/chromium_org/testing/gtest/samples/ |
sample7_unittest.cc | 70 virtual ~PrimeTableTest() { delete table_; } 71 virtual void SetUp() { table_ = (*GetParam())(); } 73 delete table_; 74 table_ = NULL; 78 PrimeTable* table_; member in class:PrimeTableTest 82 EXPECT_FALSE(table_->IsPrime(-5)); 83 EXPECT_FALSE(table_->IsPrime(0)); 84 EXPECT_FALSE(table_->IsPrime(1)); 85 EXPECT_FALSE(table_->IsPrime(4)); 86 EXPECT_FALSE(table_->IsPrime(6)) [all...] |
sample6_unittest.cc | 63 PrimeTableTest() : table_(CreatePrimeTable<T>()) {} 65 virtual ~PrimeTableTest() { delete table_; } 74 PrimeTable* const table_; member in class:PrimeTableTest 108 EXPECT_FALSE(this->table_->IsPrime(-5)); 109 EXPECT_FALSE(this->table_->IsPrime(0)); 110 EXPECT_FALSE(this->table_->IsPrime(1)); 111 EXPECT_FALSE(this->table_->IsPrime(4)); 112 EXPECT_FALSE(this->table_->IsPrime(6)); 113 EXPECT_FALSE(this->table_->IsPrime(100)); 117 EXPECT_TRUE(this->table_->IsPrime(2)) [all...] |
sample8_unittest.cc | 106 table_ = new HybridPrimeTable(force_on_the_fly, max_precalculated); 109 delete table_; 110 table_ = NULL; 112 HybridPrimeTable* table_; member in class:PrimeTableTest 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)) [all...] |
/external/gtest/samples/ |
sample7_unittest.cc | 70 virtual ~PrimeTableTest() { delete table_; } 71 virtual void SetUp() { table_ = (*GetParam())(); } 73 delete table_; 74 table_ = NULL; 78 PrimeTable* table_; member in class:PrimeTableTest 82 EXPECT_FALSE(table_->IsPrime(-5)); 83 EXPECT_FALSE(table_->IsPrime(0)); 84 EXPECT_FALSE(table_->IsPrime(1)); 85 EXPECT_FALSE(table_->IsPrime(4)); 86 EXPECT_FALSE(table_->IsPrime(6)) [all...] |
sample6_unittest.cc | 63 PrimeTableTest() : table_(CreatePrimeTable<T>()) {} 65 virtual ~PrimeTableTest() { delete table_; } 74 PrimeTable* const table_; member in class:PrimeTableTest 108 EXPECT_FALSE(this->table_->IsPrime(-5)); 109 EXPECT_FALSE(this->table_->IsPrime(0)); 110 EXPECT_FALSE(this->table_->IsPrime(1)); 111 EXPECT_FALSE(this->table_->IsPrime(4)); 112 EXPECT_FALSE(this->table_->IsPrime(6)); 113 EXPECT_FALSE(this->table_->IsPrime(100)); 117 EXPECT_TRUE(this->table_->IsPrime(2)) [all...] |
sample8_unittest.cc | 106 table_ = new HybridPrimeTable(force_on_the_fly, max_precalculated); 109 delete table_; 110 table_ = NULL; 112 HybridPrimeTable* table_; member in class:PrimeTableTest 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)) [all...] |
/external/protobuf/gtest/samples/ |
sample7_unittest.cc | 72 virtual ~PrimeTableTest() { delete table_; } 73 virtual void SetUp() { table_ = (*GetParam())(); } 75 delete table_; 76 table_ = NULL; 80 PrimeTable* table_; member in class:PrimeTableTest 84 EXPECT_FALSE(table_->IsPrime(-5)); 85 EXPECT_FALSE(table_->IsPrime(0)); 86 EXPECT_FALSE(table_->IsPrime(1)); 87 EXPECT_FALSE(table_->IsPrime(4)); 88 EXPECT_FALSE(table_->IsPrime(6)) [all...] |
sample6_unittest.cc | 63 PrimeTableTest() : table_(CreatePrimeTable<T>()) {} 65 virtual ~PrimeTableTest() { delete table_; } 74 PrimeTable* const table_; member in class:PrimeTableTest 108 EXPECT_FALSE(this->table_->IsPrime(-5)); 109 EXPECT_FALSE(this->table_->IsPrime(0)); 110 EXPECT_FALSE(this->table_->IsPrime(1)); 111 EXPECT_FALSE(this->table_->IsPrime(4)); 112 EXPECT_FALSE(this->table_->IsPrime(6)); 113 EXPECT_FALSE(this->table_->IsPrime(100)); 117 EXPECT_TRUE(this->table_->IsPrime(2)) [all...] |
sample8_unittest.cc | 106 table_ = new HybridPrimeTable(force_on_the_fly, max_precalculated); 109 delete table_; 110 table_ = NULL; 112 HybridPrimeTable* table_; member in class:PrimeTableTest 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)) [all...] |
/ndk/sources/third_party/googletest/googletest/samples/ |
sample7_unittest.cc | 70 virtual ~PrimeTableTest() { delete table_; } 71 virtual void SetUp() { table_ = (*GetParam())(); } 73 delete table_; 74 table_ = NULL; 78 PrimeTable* table_; member in class:PrimeTableTest 82 EXPECT_FALSE(table_->IsPrime(-5)); 83 EXPECT_FALSE(table_->IsPrime(0)); 84 EXPECT_FALSE(table_->IsPrime(1)); 85 EXPECT_FALSE(table_->IsPrime(4)); 86 EXPECT_FALSE(table_->IsPrime(6)) [all...] |
sample6_unittest.cc | 63 PrimeTableTest() : table_(CreatePrimeTable<T>()) {} 65 virtual ~PrimeTableTest() { delete table_; } 74 PrimeTable* const table_; member in class:PrimeTableTest 108 EXPECT_FALSE(this->table_->IsPrime(-5)); 109 EXPECT_FALSE(this->table_->IsPrime(0)); 110 EXPECT_FALSE(this->table_->IsPrime(1)); 111 EXPECT_FALSE(this->table_->IsPrime(4)); 112 EXPECT_FALSE(this->table_->IsPrime(6)); 113 EXPECT_FALSE(this->table_->IsPrime(100)); 117 EXPECT_TRUE(this->table_->IsPrime(2)) [all...] |
sample8_unittest.cc | 106 table_ = new HybridPrimeTable(force_on_the_fly, max_precalculated); 109 delete table_; 110 table_ = NULL; 112 HybridPrimeTable* table_; member in class:PrimeTableTest 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)) [all...] |
/external/chromium_org/ui/views/controls/table/ |
table_view_unittest.cc | 20 explicit TableViewTestHelper(TableView* table) : table_(table) {} 23 TableView::PaintRegion region(table_->GetPaintRegion(bounds)); 31 return table_->visible_columns().size(); 34 TableHeader* header() { return table_->header_; } 37 TableView* table_; member in class:views::TableViewTestHelper 173 TableViewTest() : table_(NULL) {} 183 table_ = new TestTableView(model_.get(), columns); 184 parent_.reset(table_->CreateParentIfNecessary()); 187 helper_.reset(new TableViewTestHelper(table_)); 191 const int y = row * table_->row_height() 224 TableView* table_; member in class:views::TableViewTest [all...] |
/external/chromium_org/chrome/browser/webdata/ |
token_service_table_unittest.cc | 25 table_.reset(new TokenServiceTable); 27 db_->AddTable(table_.get()); 33 scoped_ptr<TokenServiceTable> table_; member in class:TokenServiceTableTest 57 EXPECT_TRUE(table_->GetAllTokens(&out_map)); 61 EXPECT_TRUE(table_->SetTokenForService(service, "pepperoni")); 62 EXPECT_TRUE(table_->SetTokenForService(service2, "steak")); 63 EXPECT_TRUE(table_->GetAllTokens(&out_map)); 69 EXPECT_TRUE(table_->RemoveAllTokens()); 70 EXPECT_TRUE(table_->GetAllTokens(&out_map)); 74 EXPECT_TRUE(table_->SetTokenForService(service, "cheese")) [all...] |
web_apps_table_unittest.cc | 27 table_.reset(new WebAppsTable); 29 db_->AddTable(table_.get()); 35 scoped_ptr<WebAppsTable> table_; member in class:WebAppsTableTest 47 EXPECT_FALSE(table_->GetWebAppHasAllImages(url)); 50 EXPECT_TRUE(table_->SetWebAppHasAllImages(url, true)); 51 EXPECT_TRUE(table_->GetWebAppHasAllImages(url)); 54 EXPECT_TRUE(table_->RemoveWebApp(url)); 55 EXPECT_FALSE(table_->GetWebAppHasAllImages(url)); 63 ASSERT_TRUE(table_->GetWebAppImages(url, &images)); 71 ASSERT_TRUE(table_->SetWebAppImage(url, image)) [all...] |
/external/chromium_org/net/quic/congestion_control/ |
quic_max_sized_map.h | 34 return table_.size(); 40 table_.erase(*list_it); 43 TableIterator it = table_.insert(std::pair<Key, Value>(k, value)); 48 table_.clear(); 54 return table_.find(k); 58 return ConstIterator(table_.begin()); 62 return ConstIterator(table_.end()); 70 std::multimap<Key, Value> table_; member in class:net::QuicMaxSizedMap
|
/art/runtime/ |
mapping_table.h | 67 table_(table), element_(element), end_(table_->DexToPcSize()), encoded_table_ptr_(NULL), 70 encoded_table_ptr_ = table_->FirstDexToPcPtr(); 74 DCHECK_EQ(table_->DexToPcSize(), element); 91 CHECK(table_ == rhs.table_); 95 CHECK(table_ == rhs.table_); 100 const MappingTable* const table_; // The original table. member in class:art::MappingTable::DexToPcIterator 102 const uint32_t end_; // Equal to table_->DexToPcSize() 173 const MappingTable* const table_; \/\/ The original table. member in class:art::MappingTable::PcToDexIterator [all...] |
/external/v8/src/ |
objects-visiting-inl.h | 37 table_.Register(kVisitShortcutCandidate, 42 table_.Register(kVisitConsString, 47 table_.Register(kVisitSlicedString, 52 table_.Register(kVisitFixedArray, 57 table_.Register(kVisitFixedDoubleArray, &VisitFixedDoubleArray); 59 table_.Register(kVisitGlobalContext, 64 table_.Register(kVisitByteArray, &VisitByteArray); 66 table_.Register(kVisitSharedFunctionInfo, 71 table_.Register(kVisitSeqAsciiString, &VisitSeqAsciiString); 73 table_.Register(kVisitSeqTwoByteString, &VisitSeqTwoByteString) [all...] |
/external/sfntly/cpp/src/sfntly/table/ |
table_based_table_builder.cc | 40 table_ = NULL; 63 if (table_ == NULL) { 64 table_.Attach(down_cast<Table*>(SubBuildTable(InternalReadData()))); 66 return table_;
|
/external/chromium_org/chrome/browser/extensions/activity_log/ |
database_string_table.cc | 16 : table_(table) {} 21 if (!connection->DoesTableExist(table_.c_str())) { 25 table_.c_str(), 26 table_.c_str(), 27 table_.c_str()).c_str()); 47 StringPrintf("INSERT OR IGNORE INTO %s(value) VALUES (?)", table_.c_str()) 64 StringPrintf("SELECT id FROM %s WHERE value = ?", table_.c_str()) 86 StringPrintf("SELECT value FROM %s WHERE id = ?", table_.c_str())
|
/dalvik/vm/ |
IndirectRefTable.cpp | 37 table_ = (IndirectRefSlot*) malloc(initialCount * sizeof(IndirectRefSlot)); 38 if (table_ == NULL) { 41 memset(table_, 0xd1, initialCount * sizeof(IndirectRefSlot)); 56 free(table_); 57 table_ = NULL; 69 assert(table_ != NULL); 85 slot = &table_[topIndex - 1]; 88 assert(slot >= table_ + prevState.parts.topIndex); 108 (IndirectRefSlot*) realloc(table_, newSize * sizeof(IndirectRefSlot)); 109 if (table_ == NULL) [all...] |
/sdk/emulator/qtools/ |
hash_table.h | 35 entry_type **table_; member in class:HashTable 55 table_ = new entry_type*[size_]; 57 table_[ii] = NULL; 72 for (ptr = table_[ii]; ptr; ptr = next) { 78 delete[] table_; 103 for (entry_type *ptr = table_[pos]; ptr; ptr = ptr->next) { 119 ptr->next = table_[pos]; 120 table_[pos] = ptr; 134 for (entry_type *ptr = table_[pos]; ptr; prev = ptr, ptr = ptr->next) { 137 table_[pos] = ptr->next [all...] |