Home
last modified time | relevance | path

Searched refs:object_counter_ (Results 1 – 2 of 2) sorted by relevance

/external/sfntly/cpp/src/test/
Dsmart_pointer_test.cc36 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); in TestSmartPointer()
42 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); in TestSmartPointer()
49 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); in TestSmartPointer()
55 EXPECT_EQ(size_t(2), RefCounted<Foo>::object_counter_); in TestSmartPointer()
60 EXPECT_EQ(size_t(2), RefCounted<Foo>::object_counter_); in TestSmartPointer()
63 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); in TestSmartPointer()
67 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); in TestSmartPointer()
71 EXPECT_EQ(size_t(1), RefCounted<Foo>::object_counter_); in TestSmartPointer()
73 EXPECT_EQ(size_t(0), RefCounted<Foo>::object_counter_); in TestSmartPointer()
/external/sfntly/cpp/src/sfntly/port/
Drefcount.h89 typeid(this).name(), object_counter_, object_id_, ref_count_)
124 AtomicIncrement(&object_counter_); in RefCounted()
131 AtomicDecrement(&object_counter_); in ~RefCounted()
161 static size_t object_counter_; variable
168 template <typename TDerived> size_t RefCounted<TDerived>::object_counter_ = 0;