Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Dscopedptrcollection_unittest.cc21 : num_instances_(num_instances) { in InstanceCounter()
22 ++(*num_instances_); in InstanceCounter()
25 --(*num_instances_); in ~InstanceCounter()
29 int* num_instances_; member in rtc::__anon83d0b5250111::InstanceCounter
39 : num_instances_(0), in ScopedPtrCollectionTest()
43 int num_instances_; member in rtc::ScopedPtrCollectionTest
49 EXPECT_EQ(0, num_instances_); in TEST_F()
52 collection_->PushBack(new InstanceCounter(&num_instances_)); in TEST_F()
55 EXPECT_EQ(kNum, num_instances_); in TEST_F()
57 EXPECT_EQ(0, num_instances_); in TEST_F()
[all …]
/external/libchrome/mojo/public/cpp/bindings/tests/
Dcontainer_test_util.cc11 size_t CopyableType::num_instances_ = 0; member in mojo::CopyableType
12 size_t MoveOnlyType::num_instances_ = 0; member in mojo::MoveOnlyType
15 num_instances_++; in CopyableType()
20 num_instances_++; in CopyableType()
30 num_instances_--; in ~CopyableType()
34 num_instances_++; in MoveOnlyType()
39 num_instances_++; in MoveOnlyType()
49 num_instances_--; in ~MoveOnlyType()
Dcontainer_test_util.h22 static size_t num_instances() { return num_instances_; } in num_instances()
28 static size_t num_instances_; variable
41 static size_t num_instances() { return num_instances_; } in num_instances()
47 static size_t num_instances_; variable
Dinterface_ptr_unittest.cc109 ++num_instances_; in SelfDestructingMathCalculatorUI()
120 static int num_instances() { return num_instances_; } in num_instances()
136 ~SelfDestructingMathCalculatorUI() { --num_instances_; } in ~SelfDestructingMathCalculatorUI()
140 static int num_instances_; member in mojo::test::__anon0d706bfc0111::SelfDestructingMathCalculatorUI
144 int SelfDestructingMathCalculatorUI::num_instances_ = 0; member in mojo::test::__anon0d706bfc0111::SelfDestructingMathCalculatorUI