RefCountedAndGarbageCollected 705 Source/platform/heap/HeapTest.cpp class RefCountedAndGarbageCollected : public RefCountedGarbageCollected<RefCountedAndGarbageCollected> { RefCountedAndGarbageCollected 707 Source/platform/heap/HeapTest.cpp static PassRefPtr<RefCountedAndGarbageCollected> create() RefCountedAndGarbageCollected 709 Source/platform/heap/HeapTest.cpp return adoptRef(new RefCountedAndGarbageCollected()); RefCountedAndGarbageCollected 719 Source/platform/heap/HeapTest.cpp void ref() { RefCountedGarbageCollected<RefCountedAndGarbageCollected>::ref(); } RefCountedAndGarbageCollected 720 Source/platform/heap/HeapTest.cpp void deref() { RefCountedGarbageCollected<RefCountedAndGarbageCollected>::deref(); } RefCountedAndGarbageCollected 732 Source/platform/heap/HeapTest.cpp int RefCountedAndGarbageCollected::s_destructorCalls = 0; RefCountedAndGarbageCollected 2327 Source/platform/heap/HeapTest.cpp typedef HeapHashMap<WeakMember<IntWrapper>, RefPtr<RefCountedAndGarbageCollected> > RefMap; RefCountedAndGarbageCollected 2352 Source/platform/heap/HeapTest.cpp stackRefMap.add(IntWrapper::create(42), RefCountedAndGarbageCollected::create()); RefCountedAndGarbageCollected 2353 Source/platform/heap/HeapTest.cpp stackRefMap.add(luck, RefCountedAndGarbageCollected::create()); RefCountedAndGarbageCollected 2356 Source/platform/heap/HeapTest.cpp refBaseLine = RefCountedAndGarbageCollected::s_destructorCalls; RefCountedAndGarbageCollected 2368 Source/platform/heap/HeapTest.cpp EXPECT_EQ(refBaseLine + 2, RefCountedAndGarbageCollected::s_destructorCalls); RefCountedAndGarbageCollected 2375 Source/platform/heap/HeapTest.cpp refMap->add(IntWrapper::create(42), RefCountedAndGarbageCollected::create()); RefCountedAndGarbageCollected 2376 Source/platform/heap/HeapTest.cpp refMap->add(luck, RefCountedAndGarbageCollected::create()); RefCountedAndGarbageCollected 2379 Source/platform/heap/HeapTest.cpp refBaseLine = RefCountedAndGarbageCollected::s_destructorCalls; RefCountedAndGarbageCollected 2397 Source/platform/heap/HeapTest.cpp EXPECT_EQ(refBaseLine + 2, RefCountedAndGarbageCollected::s_destructorCalls); RefCountedAndGarbageCollected 2674 Source/platform/heap/HeapTest.cpp RefCountedAndGarbageCollected::s_destructorCalls = 0; RefCountedAndGarbageCollected 2676 Source/platform/heap/HeapTest.cpp RefPtr<RefCountedAndGarbageCollected> refPtr3; RefCountedAndGarbageCollected 2678 Source/platform/heap/HeapTest.cpp Persistent<RefCountedAndGarbageCollected> persistent; RefCountedAndGarbageCollected 2680 Source/platform/heap/HeapTest.cpp RefPtr<RefCountedAndGarbageCollected> refPtr1 = RefCountedAndGarbageCollected::create(); RefCountedAndGarbageCollected 2681 Source/platform/heap/HeapTest.cpp RefPtr<RefCountedAndGarbageCollected> refPtr2 = RefCountedAndGarbageCollected::create(); RefCountedAndGarbageCollected 2683 Source/platform/heap/HeapTest.cpp EXPECT_EQ(0, RefCountedAndGarbageCollected::s_destructorCalls); RefCountedAndGarbageCollected 2689 Source/platform/heap/HeapTest.cpp EXPECT_EQ(1, RefCountedAndGarbageCollected::s_destructorCalls); RefCountedAndGarbageCollected 2695 Source/platform/heap/HeapTest.cpp EXPECT_EQ(1, RefCountedAndGarbageCollected::s_destructorCalls); RefCountedAndGarbageCollected 2700 Source/platform/heap/HeapTest.cpp EXPECT_EQ(2, RefCountedAndGarbageCollected::s_destructorCalls); RefCountedAndGarbageCollected 2705 Source/platform/heap/HeapTest.cpp RefCountedAndGarbageCollected::s_destructorCalls = 0; RefCountedAndGarbageCollected 2708 Source/platform/heap/HeapTest.cpp RefCountedAndGarbageCollected* pointer1 = 0; RefCountedAndGarbageCollected 2711 Source/platform/heap/HeapTest.cpp RefPtr<RefCountedAndGarbageCollected> object1 = RefCountedAndGarbageCollected::create(); RefCountedAndGarbageCollected 2721 Source/platform/heap/HeapTest.cpp EXPECT_EQ(0, RefCountedAndGarbageCollected::s_destructorCalls); RefCountedAndGarbageCollected 2725 Source/platform/heap/HeapTest.cpp EXPECT_EQ(0, RefCountedAndGarbageCollected::s_destructorCalls); RefCountedAndGarbageCollected 2736 Source/platform/heap/HeapTest.cpp RefPtr<RefCountedAndGarbageCollected> object1(pointer1); RefCountedAndGarbageCollected 2744 Source/platform/heap/HeapTest.cpp EXPECT_EQ(0, RefCountedAndGarbageCollected::s_destructorCalls); RefCountedAndGarbageCollected 2749 Source/platform/heap/HeapTest.cpp EXPECT_EQ(0, RefCountedAndGarbageCollected::s_destructorCalls); RefCountedAndGarbageCollected 2754 Source/platform/heap/HeapTest.cpp EXPECT_EQ(1, RefCountedAndGarbageCollected::s_destructorCalls);