Lines Matching refs:CountedObject
54 class CountedObject { class
56 explicit CountedObject(int id) : id_(id) { ++count_; } in CountedObject() function in __anon5eaf7f720111::CountedObject
57 ~CountedObject() { --count_; } in ~CountedObject()
67 int CountedObject::count_;
71 typedef RangeMap< AddressType, linked_ptr<CountedObject> > TestMap;
106 linked_ptr<CountedObject> object(new CountedObject(range_test->id)); in StoreTest()
166 linked_ptr<CountedObject> object; in RetrieveTest()
210 linked_ptr<CountedObject> nearest_object; in RetrieveTest()
270 linked_ptr<CountedObject> object; in RetrieveIndexTest()
271 CountedObject *last_object = NULL; in RetrieveIndexTest()
337 linked_ptr<CountedObject> object(new CountedObject(object_id)); in RetriveAtIndexTest2()
342 linked_ptr<CountedObject> object; in RetriveAtIndexTest2()
486 if (CountedObject::count() != stored_count) { in RunTests()
490 CountedObject::count()); in RunTests()
525 if (CountedObject::count() != 0) { in RunTests()
530 CountedObject::count()); in RunTests()