Home
last modified time | relevance | path

Searched refs:counter_ (Results 1 – 17 of 17) sorted by relevance

/external/libunwind/tests/
DLtest-cxx-exceptions.cxx38 Test() { ++counter_; } in Test()
39 ~Test() { -- counter_; } in ~Test()
40 Test(const Test&) { ++counter_; } in Test()
43 static int counter_; member
46 int Test::counter_ = 0; member in Test
72 if (Test::counter_ != 0) in main()
74 return Test::counter_; in main()
/external/v8/src/base/platform/
Dcondition-variable-unittest.cc227 counter_(counter), in LoopIncrementThread()
240 int count = *counter_; in Run()
243 count = *counter_; in Run()
246 EXPECT_EQ(*counter_, count); in Run()
251 *counter_ = count; in Run()
259 int* counter_; member in v8::base::__anonda8074fe0311::FINAL
/external/google-breakpad/src/testing/gtest/samples/
Dsample4.cc40 return counter_++; in Increment()
45 printf("%d", counter_); in Print()
Dsample4.h40 int counter_;
44 Counter() : counter_(0) {} in Counter()
/external/protobuf/gtest/samples/
Dsample4.cc40 return counter_++; in Increment()
45 printf("%d", counter_); in Print()
Dsample4.h40 int counter_;
44 Counter() : counter_(0) {} in Counter()
/external/webrtc/src/system_wrappers/source/
Ddata_log.cc322 : counter_(1), in DataLogImpl()
348 ++instance_->counter_; in CreateLog()
374 if (instance_ && instance_->counter_ > 1) { in ReturnLog()
375 --instance_->counter_; in ReturnLog()
/external/protobuf/src/google/protobuf/io/
Dtokenizer_unittest.cc125 : array_stream_(data, size, block_size), counter_(0) {} in TestInputStream()
132 if (counter_ % 3 == 0 || counter_ % 5 == 0) { in Next()
135 ++counter_; in Next()
138 ++counter_; in Next()
149 int counter_; member in google::protobuf::io::__anon646777a90111::TestInputStream
/external/mesa3d/src/gallium/drivers/i915/
Di915_state_emit.c544 static int counter_##atom = 0;\ in i915_validate_state()
547 counter_##atom += tmp;\ in i915_validate_state()
549 …printf("%s: \t%d/%d \t%2.2f\n",#atom, counter_##atom, counter_total, counter_##atom*100.f/counter_… in i915_validate_state()
/external/webrtc/src/system_wrappers/interface/
Ddata_log_impl.h148 int counter_; variable
/external/v8/src/heap/
Dheap.h2133 explicit AllSpaces(Heap* heap) : heap_(heap), counter_(FIRST_SPACE) {} in AllSpaces()
2138 int counter_; variable
2147 explicit OldSpaces(Heap* heap) : heap_(heap), counter_(OLD_POINTER_SPACE) {} in OldSpaces()
2152 int counter_; variable
2161 explicit PagedSpaces(Heap* heap) : heap_(heap), counter_(OLD_POINTER_SPACE) {} in PagedSpaces()
2166 int counter_; variable
Dheap.cc5402 switch (counter_++) { in next()
5426 switch (counter_++) { in next()
5446 switch (counter_++) { in next()
/external/protobuf/gtest/test/
Dgtest_unittest.cc4968 counter_++; in SetUpTestCase()
4971 EXPECT_EQ(1, counter_); in SetUpTestCase()
4980 counter_--; in TearDownTestCase()
4983 EXPECT_EQ(0, counter_); in TearDownTestCase()
4993 EXPECT_EQ(1, counter_); in SetUp()
4997 static int counter_; member in testing::SetUpTestCaseTest
5003 int SetUpTestCaseTest::counter_ = 0; member in testing::SetUpTestCaseTest
/external/gtest/test/
Dgtest_unittest.cc5228 counter_++; in SetUpTestCase()
5231 EXPECT_EQ(1, counter_); in SetUpTestCase()
5240 counter_--; in TearDownTestCase()
5243 EXPECT_EQ(0, counter_); in TearDownTestCase()
5253 EXPECT_EQ(1, counter_); in SetUp()
5257 static int counter_; member in testing::SetUpTestCaseTest
5263 int SetUpTestCaseTest::counter_ = 0; member in testing::SetUpTestCaseTest
/external/google-breakpad/src/testing/gtest/test/
Dgtest_unittest.cc5373 counter_++; in SetUpTestCase()
5376 EXPECT_EQ(1, counter_); in SetUpTestCase()
5385 counter_--; in TearDownTestCase()
5388 EXPECT_EQ(0, counter_); in TearDownTestCase()
5398 EXPECT_EQ(1, counter_); in SetUp()
5402 static int counter_; member in testing::SetUpTestCaseTest
5408 int SetUpTestCaseTest::counter_ = 0; member in testing::SetUpTestCaseTest
/external/v8/src/
Djsregexp.cc973 CharacterFrequency() : counter_(0), character_(-1) { } in CharacterFrequency()
975 : counter_(0), character_(character) { } in CharacterFrequency()
977 void Increment() { counter_++; } in Increment()
978 int counter() { return counter_; } in counter()
982 int counter_; member in v8::internal::FrequencyCollator::CharacterFrequency
/external/v8/test/cctest/
Dtest-api.cc415 : data_(data), length_(0), counter_(counter), owning_data_(owning_data) { in TestResource()
421 if (counter_ != NULL) ++*counter_; in ~TestResource()
435 int* counter_; member in TestResource
447 counter_(counter) {} in TestOneByteResource()
451 if (counter_ != NULL) ++*counter_; in ~TestOneByteResource()
466 int* counter_; member in TestOneByteResource
19832 : counter_(0), object_(object) { } in Visitor42()
19845 ++counter_; in VisitPersistentHandle()
19848 int counter_; member in Visitor42
19864 CHECK_EQ(1, visitor.counter_); in TEST()
[all …]