IntWrapper 273 Source/platform/heap/HeapTest.cpp class IntWrapper : public GarbageCollectedFinalized<IntWrapper> { IntWrapper 275 Source/platform/heap/HeapTest.cpp static IntWrapper* create(int x) IntWrapper 277 Source/platform/heap/HeapTest.cpp return new IntWrapper(x); IntWrapper 290 Source/platform/heap/HeapTest.cpp bool operator==(const IntWrapper& other) const { return other.value() == value(); } IntWrapper 298 Source/platform/heap/HeapTest.cpp IntWrapper(); IntWrapper 302 Source/platform/heap/HeapTest.cpp USED_FROM_MULTIPLE_THREADS(IntWrapper); IntWrapper 304 Source/platform/heap/HeapTest.cpp int IntWrapper::s_destructorCalls = 0; IntWrapper 362 Source/platform/heap/HeapTest.cpp Persistent<IntWrapper> wrapper; IntWrapper 365 Source/platform/heap/HeapTest.cpp OwnPtr<GlobalIntWrapperPersistent> globalPersistent = adoptPtr(new GlobalIntWrapperPersistent(IntWrapper::create(0x0ed0cabb))); IntWrapper 368 Source/platform/heap/HeapTest.cpp wrapper = IntWrapper::create(0x0bbac0de); IntWrapper 370 Source/platform/heap/HeapTest.cpp globalPersistent = adoptPtr(new GlobalIntWrapperPersistent(IntWrapper::create(0x0ed0cabb))); IntWrapper 409 Source/platform/heap/HeapTest.cpp Persistent<HeapHashMap<ThreadMarker, WeakMember<IntWrapper> > > weakMap = new HeapHashMap<ThreadMarker, WeakMember<IntWrapper> >; IntWrapper 410 Source/platform/heap/HeapTest.cpp PersistentHeapHashMap<ThreadMarker, WeakMember<IntWrapper> > weakMap2; IntWrapper 413 Source/platform/heap/HeapTest.cpp weakMap->add(static_cast<unsigned>(i), IntWrapper::create(0)); IntWrapper 414 Source/platform/heap/HeapTest.cpp weakMap2.add(static_cast<unsigned>(i), IntWrapper::create(0)); IntWrapper 671 Source/platform/heap/HeapTest.cpp m_intWrapper = IntWrapper::create(42); IntWrapper 674 Source/platform/heap/HeapTest.cpp Member<IntWrapper> m_intWrapper; IntWrapper 697 Source/platform/heap/HeapTest.cpp m_intWrapper = IntWrapper::create(23); IntWrapper 699 Source/platform/heap/HeapTest.cpp Member<IntWrapper> m_intWrapper; IntWrapper 1211 Source/platform/heap/HeapTest.cpp TerminatedArrayItem(IntWrapper* payload) : m_payload(payload), m_isLast(false) { } IntWrapper 1218 Source/platform/heap/HeapTest.cpp IntWrapper* payload() const { return m_payload; } IntWrapper 1221 Source/platform/heap/HeapTest.cpp Member<IntWrapper> m_payload; IntWrapper 1278 Source/platform/heap/HeapTest.cpp FinalizationAllocator(Persistent<IntWrapper>* wrapper) IntWrapper 1286 Source/platform/heap/HeapTest.cpp *m_wrapper = IntWrapper::create(42); IntWrapper 1294 Source/platform/heap/HeapTest.cpp Persistent<IntWrapper>* m_wrapper; IntWrapper 1691 Source/platform/heap/HeapTest.cpp IntWrapper::s_destructorCalls = 0; IntWrapper 1698 Source/platform/heap/HeapTest.cpp DefaultHash<Member<IntWrapper> >::Hash, IntWrapper 1700 Source/platform/heap/HeapTest.cpp HashTraits<Member<IntWrapper> > > HeapObjectIdentityMap; IntWrapper 1716 Source/platform/heap/HeapTest.cpp IntWrapper* one(IntWrapper::create(1)); IntWrapper 1717 Source/platform/heap/HeapTest.cpp IntWrapper* anotherOne(IntWrapper::create(1)); IntWrapper 1749 Source/platform/heap/HeapTest.cpp IntWrapper* gotten(map->get(one)); IntWrapper 1757 Source/platform/heap/HeapTest.cpp IntWrapper* dozen = 0; IntWrapper 1760 Source/platform/heap/HeapTest.cpp IntWrapper* iWrapper(IntWrapper::create(i)); IntWrapper 1761 Source/platform/heap/HeapTest.cpp IntWrapper* iSquared(IntWrapper::create(i * i)); IntWrapper 1770 Source/platform/heap/HeapTest.cpp IntWrapper* gross(map->get(dozen)); IntWrapper 1782 Source/platform/heap/HeapTest.cpp EXPECT_EQ(IntWrapper::s_destructorCalls, 2000); IntWrapper 1804 Source/platform/heap/HeapTest.cpp IntWrapper::s_destructorCalls = 0; IntWrapper 1816 Source/platform/heap/HeapTest.cpp size_t expectedObjectSpace = sizeof(LargeObject) + sizeof(IntWrapper); IntWrapper 1830 Source/platform/heap/HeapTest.cpp EXPECT_EQ(0, IntWrapper::s_destructorCalls); IntWrapper 1838 Source/platform/heap/HeapTest.cpp EXPECT_EQ(10, IntWrapper::s_destructorCalls); IntWrapper 1844 Source/platform/heap/HeapTest.cpp EXPECT_EQ(11, IntWrapper::s_destructorCalls); IntWrapper 1850 Source/platform/heap/HeapTest.cpp typedef std::pair<int, Member<IntWrapper> > PairUnwrappedWrapped; IntWrapper 1851 Source/platform/heap/HeapTest.cpp typedef std::pair<WeakMember<IntWrapper>, Member<IntWrapper> > PairWeakStrong; IntWrapper 1852 Source/platform/heap/HeapTest.cpp typedef std::pair<Member<IntWrapper>, WeakMember<IntWrapper> > PairStrongWeak; IntWrapper 1854 Source/platform/heap/HeapTest.cpp typedef std::pair<int, WeakMember<IntWrapper> > PairUnwrappedWeak; IntWrapper 1859 Source/platform/heap/HeapTest.cpp HeapHashMap<Member<IntWrapper>, Member<IntWrapper> > map; IntWrapper 1860 Source/platform/heap/HeapTest.cpp HeapHashSet<Member<IntWrapper> > set; IntWrapper 1861 Source/platform/heap/HeapTest.cpp HeapHashSet<Member<IntWrapper> > set2; IntWrapper 1862 Source/platform/heap/HeapTest.cpp HeapVector<Member<IntWrapper>, 2> vector; IntWrapper 1875 Source/platform/heap/HeapTest.cpp explicit ShouldBeTraced(IntWrapper* wrapper) : m_wrapper(wrapper) { } IntWrapper 1877 Source/platform/heap/HeapTest.cpp Member<IntWrapper> m_wrapper; IntWrapper 1886 Source/platform/heap/HeapTest.cpp m_deque1.append(ShouldBeTraced(IntWrapper::create(1))); IntWrapper 1887 Source/platform/heap/HeapTest.cpp m_vector1.append(ShouldBeTraced(IntWrapper::create(2))); IntWrapper 1888 Source/platform/heap/HeapTest.cpp m_deque2.append(IntWrapper::create(3)); IntWrapper 1889 Source/platform/heap/HeapTest.cpp m_vector2.append(IntWrapper::create(4)); IntWrapper 1890 Source/platform/heap/HeapTest.cpp m_hashSet.add(IntWrapper::create(5)); IntWrapper 1891 Source/platform/heap/HeapTest.cpp m_hashMap.add(this, IntWrapper::create(6)); IntWrapper 1892 Source/platform/heap/HeapTest.cpp m_listHashSet.add(IntWrapper::create(7)); IntWrapper 1908 Source/platform/heap/HeapTest.cpp Deque<Member<IntWrapper> > m_deque2; IntWrapper 1909 Source/platform/heap/HeapTest.cpp Vector<Member<IntWrapper> > m_vector2; IntWrapper 1910 Source/platform/heap/HeapTest.cpp HashSet<Member<IntWrapper> > m_hashSet; IntWrapper 1911 Source/platform/heap/HeapTest.cpp HashMap<void*, Member<IntWrapper> > m_hashMap; IntWrapper 1912 Source/platform/heap/HeapTest.cpp ListHashSet<Member<IntWrapper> > m_listHashSet; IntWrapper 1930 Source/platform/heap/HeapTest.cpp IntWrapper* val = IntWrapper::create(1); IntWrapper 1931 Source/platform/heap/HeapTest.cpp HeapVector<Member<IntWrapper> > vector(10, val); IntWrapper 1939 Source/platform/heap/HeapTest.cpp IntWrapper* one = IntWrapper::create(1); IntWrapper 1940 Source/platform/heap/HeapTest.cpp IntWrapper* two = IntWrapper::create(2); IntWrapper 1941 Source/platform/heap/HeapTest.cpp IntWrapper* three = IntWrapper::create(3); IntWrapper 1942 Source/platform/heap/HeapTest.cpp IntWrapper* four = IntWrapper::create(4); IntWrapper 1943 Source/platform/heap/HeapTest.cpp IntWrapper* five = IntWrapper::create(5); IntWrapper 1944 Source/platform/heap/HeapTest.cpp IntWrapper* six = IntWrapper::create(6); IntWrapper 1946 Source/platform/heap/HeapTest.cpp HeapVector<Member<IntWrapper>, 2> vector; IntWrapper 1969 Source/platform/heap/HeapTest.cpp HeapVector<Member<IntWrapper>, 2> vector1; IntWrapper 1970 Source/platform/heap/HeapTest.cpp HeapVector<Member<IntWrapper>, 2> vector2; IntWrapper 1980 Source/platform/heap/HeapTest.cpp HeapVector<Member<IntWrapper>, 2> vector1; IntWrapper 1981 Source/platform/heap/HeapTest.cpp HeapVector<Member<IntWrapper>, 2> vector2; IntWrapper 2003 Source/platform/heap/HeapTest.cpp IntWrapper::s_destructorCalls = 0; IntWrapper 2005 Source/platform/heap/HeapTest.cpp typedef HeapHashMap<Member<IntWrapper>, Member<IntWrapper> > MemberMember; IntWrapper 2007 Source/platform/heap/HeapTest.cpp typedef HeapHashMap<int, Member<IntWrapper> > PrimitiveMember; IntWrapper 2009 Source/platform/heap/HeapTest.cpp typedef HeapHashSet<Member<IntWrapper> > MemberSet; IntWrapper 2010 Source/platform/heap/HeapTest.cpp typedef HeapHashSet<WeakMember<IntWrapper> > WeakMemberSet; IntWrapper 2034 Source/platform/heap/HeapTest.cpp Persistent<IntWrapper> one(IntWrapper::create(1)); IntWrapper 2035 Source/platform/heap/HeapTest.cpp Persistent<IntWrapper> two(IntWrapper::create(2)); IntWrapper 2036 Source/platform/heap/HeapTest.cpp Persistent<IntWrapper> oneB(IntWrapper::create(1)); IntWrapper 2037 Source/platform/heap/HeapTest.cpp Persistent<IntWrapper> twoB(IntWrapper::create(2)); IntWrapper 2038 Source/platform/heap/HeapTest.cpp Persistent<IntWrapper> oneC(IntWrapper::create(1)); IntWrapper 2039 Source/platform/heap/HeapTest.cpp Persistent<IntWrapper> oneD(IntWrapper::create(1)); IntWrapper 2041 Source/platform/heap/HeapTest.cpp IntWrapper* three(IntWrapper::create(3)); IntWrapper 2042 Source/platform/heap/HeapTest.cpp IntWrapper* four(IntWrapper::create(4)); IntWrapper 2043 Source/platform/heap/HeapTest.cpp IntWrapper* threeB(IntWrapper::create(3)); IntWrapper 2044 Source/platform/heap/HeapTest.cpp IntWrapper* fourB(IntWrapper::create(4)); IntWrapper 2045 Source/platform/heap/HeapTest.cpp IntWrapper* threeC(IntWrapper::create(3)); IntWrapper 2046 Source/platform/heap/HeapTest.cpp IntWrapper* fourC(IntWrapper::create(4)); IntWrapper 2047 Source/platform/heap/HeapTest.cpp IntWrapper* fiveC(IntWrapper::create(5)); IntWrapper 2048 Source/platform/heap/HeapTest.cpp IntWrapper* threeD(IntWrapper::create(3)); IntWrapper 2049 Source/platform/heap/HeapTest.cpp IntWrapper* fourD(IntWrapper::create(4)); IntWrapper 2050 Source/platform/heap/HeapTest.cpp IntWrapper* fiveD(IntWrapper::create(5)); IntWrapper 2235 Source/platform/heap/HeapTest.cpp IntWrapper::s_destructorCalls = 0; IntWrapper 2237 Source/platform/heap/HeapTest.cpp PersistentHeapVector<Member<IntWrapper> > keepNumbersAlive; IntWrapper 2239 Source/platform/heap/HeapTest.cpp typedef HeapHashMap<WeakMember<IntWrapper>, Member<IntWrapper> > WeakStrong; IntWrapper 2240 Source/platform/heap/HeapTest.cpp typedef HeapHashMap<Member<IntWrapper>, WeakMember<IntWrapper> > StrongWeak; IntWrapper 2241 Source/platform/heap/HeapTest.cpp typedef HeapHashMap<WeakMember<IntWrapper>, WeakMember<IntWrapper> > WeakWeak; IntWrapper 2242 Source/platform/heap/HeapTest.cpp typedef HeapHashSet<WeakMember<IntWrapper> > WeakSet; IntWrapper 2249 Source/platform/heap/HeapTest.cpp Persistent<IntWrapper> two = IntWrapper::create(2); IntWrapper 2251 Source/platform/heap/HeapTest.cpp keepNumbersAlive.append(IntWrapper::create(103)); IntWrapper 2252 Source/platform/heap/HeapTest.cpp keepNumbersAlive.append(IntWrapper::create(10)); IntWrapper 2255 Source/platform/heap/HeapTest.cpp weakStrong->add(IntWrapper::create(1), two); IntWrapper 2256 Source/platform/heap/HeapTest.cpp strongWeak->add(two, IntWrapper::create(1)); IntWrapper 2257 Source/platform/heap/HeapTest.cpp weakWeak->add(two, IntWrapper::create(42)); IntWrapper 2258 Source/platform/heap/HeapTest.cpp weakWeak->add(IntWrapper::create(42), two); IntWrapper 2259 Source/platform/heap/HeapTest.cpp weakSet->add(IntWrapper::create(0)); IntWrapper 2332 Source/platform/heap/HeapTest.cpp DefaultHash<WeakMember<IntWrapper> >::Hash, IntWrapper 2339 Source/platform/heap/HeapTest.cpp Persistent<IntWrapper> luck(IntWrapper::create(103)); IntWrapper 2350 Source/platform/heap/HeapTest.cpp stackMap.add(IntWrapper::create(42), ThingWithDestructor(1729)); IntWrapper 2352 Source/platform/heap/HeapTest.cpp stackRefMap.add(IntWrapper::create(42), RefCountedAndGarbageCollected::create()); IntWrapper 2373 Source/platform/heap/HeapTest.cpp map->add(IntWrapper::create(42), ThingWithDestructor(1729)); IntWrapper 2375 Source/platform/heap/HeapTest.cpp refMap->add(IntWrapper::create(42), RefCountedAndGarbageCollected::create()); IntWrapper 2417 Source/platform/heap/HeapTest.cpp Persistent<IntWrapper>& two) IntWrapper 2445 Source/platform/heap/HeapTest.cpp IntWrapper* nullWrapper = 0; IntWrapper 2471 Source/platform/heap/HeapTest.cpp IntWrapper::s_destructorCalls = 0; IntWrapper 2473 Source/platform/heap/HeapTest.cpp PersistentHeapVector<Member<IntWrapper> > keepNumbersAlive; IntWrapper 2480 Source/platform/heap/HeapTest.cpp Persistent<IntWrapper> two = IntWrapper::create(2); IntWrapper 2482 Source/platform/heap/HeapTest.cpp weakStrong->add(PairWeakStrong(IntWrapper::create(1), &*two)); IntWrapper 2484 Source/platform/heap/HeapTest.cpp strongWeak->add(PairStrongWeak(&*two, IntWrapper::create(1))); IntWrapper 2486 Source/platform/heap/HeapTest.cpp weakUnwrapped->add(PairWeakUnwrapped(IntWrapper::create(1), 2)); IntWrapper 2488 Source/platform/heap/HeapTest.cpp unwrappedWeak->add(PairUnwrappedWeak(2, IntWrapper::create(1))); IntWrapper 2500 Source/platform/heap/HeapTest.cpp IntWrapper::s_destructorCalls = 0; IntWrapper 2502 Source/platform/heap/HeapTest.cpp typedef HeapHashMap<WeakMember<IntWrapper>, Member<IntWrapper> > WeakStrong; IntWrapper 2503 Source/platform/heap/HeapTest.cpp typedef HeapHashMap<Member<IntWrapper>, WeakMember<IntWrapper> > StrongWeak; IntWrapper 2504 Source/platform/heap/HeapTest.cpp typedef HeapHashMap<WeakMember<IntWrapper>, WeakMember<IntWrapper> > WeakWeak; IntWrapper 2505 Source/platform/heap/HeapTest.cpp typedef HeapHashSet<WeakMember<IntWrapper> > WeakSet; IntWrapper 2535 Source/platform/heap/HeapTest.cpp PersistentHeapVector<Member<IntWrapper> > keepNumbersAlive; IntWrapper 2537 Source/platform/heap/HeapTest.cpp IntWrapper* wrapped = IntWrapper::create(i); IntWrapper 2538 Source/platform/heap/HeapTest.cpp IntWrapper* wrapped2 = IntWrapper::create(i + 1); IntWrapper 2562 Source/platform/heap/HeapTest.cpp IntWrapper* wrapped = keepNumbersAlive[i]; IntWrapper 2563 Source/platform/heap/HeapTest.cpp IntWrapper* wrapped2 = keepNumbersAlive[i + 1]; IntWrapper 2636 Source/platform/heap/HeapTest.cpp IntWrapper* wrapped = IntWrapper::create(i); IntWrapper 2899 Source/platform/heap/HeapTest.cpp IntWrapper::s_destructorCalls = 0; IntWrapper 2902 Source/platform/heap/HeapTest.cpp EXPECT_EQ(0, IntWrapper::s_destructorCalls); IntWrapper 2905 Source/platform/heap/HeapTest.cpp EXPECT_EQ(7, IntWrapper::s_destructorCalls); IntWrapper 2911 Source/platform/heap/HeapTest.cpp IntWrapper::s_destructorCalls = 0; IntWrapper 2913 Source/platform/heap/HeapTest.cpp typedef HeapVector<Member<IntWrapper> > Vec; IntWrapper 2914 Source/platform/heap/HeapTest.cpp typedef PersistentHeapVector<Member<IntWrapper> > PVec; IntWrapper 2915 Source/platform/heap/HeapTest.cpp typedef PersistentHeapHashSet<Member<IntWrapper> > PSet; IntWrapper 2916 Source/platform/heap/HeapTest.cpp typedef PersistentHeapHashMap<Member<IntWrapper>, Member<IntWrapper> > PMap; IntWrapper 2924 Source/platform/heap/HeapTest.cpp IntWrapper* one(IntWrapper::create(1)); IntWrapper 2925 Source/platform/heap/HeapTest.cpp IntWrapper* two(IntWrapper::create(2)); IntWrapper 2926 Source/platform/heap/HeapTest.cpp IntWrapper* three(IntWrapper::create(3)); IntWrapper 2927 Source/platform/heap/HeapTest.cpp IntWrapper* four(IntWrapper::create(4)); IntWrapper 2928 Source/platform/heap/HeapTest.cpp IntWrapper* five(IntWrapper::create(5)); IntWrapper 2929 Source/platform/heap/HeapTest.cpp IntWrapper* six(IntWrapper::create(6)); IntWrapper 2946 Source/platform/heap/HeapTest.cpp EXPECT_EQ(1, IntWrapper::s_destructorCalls); IntWrapper 2961 Source/platform/heap/HeapTest.cpp EXPECT_EQ(6, IntWrapper::s_destructorCalls); IntWrapper 2968 Source/platform/heap/HeapTest.cpp void* key = &IntWrapper::s_destructorCalls; IntWrapper 2969 Source/platform/heap/HeapTest.cpp IntWrapper::s_destructorCalls = 0; IntWrapper 2970 Source/platform/heap/HeapTest.cpp typedef HeapVector<Member<IntWrapper> > IntVector; IntWrapper 2978 Source/platform/heap/HeapTest.cpp it->value.append(IntWrapper::create(42)); IntWrapper 2984 Source/platform/heap/HeapTest.cpp EXPECT_EQ(0, IntWrapper::s_destructorCalls); IntWrapper 2988 Source/platform/heap/HeapTest.cpp EXPECT_EQ(1, IntWrapper::s_destructorCalls); IntWrapper 3016 Source/platform/heap/HeapTest.cpp void* key = &IntWrapper::s_destructorCalls; IntWrapper 3017 Source/platform/heap/HeapTest.cpp IntWrapper::s_destructorCalls = 0; IntWrapper 3018 Source/platform/heap/HeapTest.cpp typedef HeapHashSet<Member<IntWrapper> > IntSet; IntWrapper 3026 Source/platform/heap/HeapTest.cpp it->value.add(IntWrapper::create(42)); IntWrapper 3032 Source/platform/heap/HeapTest.cpp EXPECT_EQ(0, IntWrapper::s_destructorCalls); IntWrapper 3039 Source/platform/heap/HeapTest.cpp IntWrapper::s_destructorCalls = 0; IntWrapper 3040 Source/platform/heap/HeapTest.cpp typedef HeapVector<Member<IntWrapper> > IntVector; IntWrapper 3048 Source/platform/heap/HeapTest.cpp it->append(IntWrapper::create(42)); IntWrapper 3054 Source/platform/heap/HeapTest.cpp EXPECT_EQ(0, IntWrapper::s_destructorCalls); IntWrapper 3111 Source/platform/heap/HeapTest.cpp IntWrapper::s_destructorCalls = 0; IntWrapper 3122 Source/platform/heap/HeapTest.cpp builder.append(TerminatedArrayItem(IntWrapper::create(i))); IntWrapper 3127 Source/platform/heap/HeapTest.cpp EXPECT_EQ(0, IntWrapper::s_destructorCalls); IntWrapper 3136 Source/platform/heap/HeapTest.cpp builder.append(TerminatedArrayItem(IntWrapper::create(prefixSize + i))); IntWrapper 3141 Source/platform/heap/HeapTest.cpp EXPECT_EQ(0, IntWrapper::s_destructorCalls); IntWrapper 3151 Source/platform/heap/HeapTest.cpp EXPECT_EQ(0, IntWrapper::s_destructorCalls); IntWrapper 3159 Source/platform/heap/HeapTest.cpp EXPECT_EQ(8, IntWrapper::s_destructorCalls); IntWrapper 3166 Source/platform/heap/HeapTest.cpp IntWrapper::s_destructorCalls = 0; IntWrapper 3173 Source/platform/heap/HeapTest.cpp stack->push(TerminatedArrayItem(IntWrapper::create(i))); IntWrapper 3176 Source/platform/heap/HeapTest.cpp EXPECT_EQ(0, IntWrapper::s_destructorCalls); IntWrapper 3186 Source/platform/heap/HeapTest.cpp EXPECT_EQ(stackSize, static_cast<size_t>(IntWrapper::s_destructorCalls)); IntWrapper 3194 Source/platform/heap/HeapTest.cpp IntWrapper::s_destructorCalls = 0; IntWrapper 3197 Source/platform/heap/HeapTest.cpp Persistent<IntWrapper> wrapper; IntWrapper 3201 Source/platform/heap/HeapTest.cpp EXPECT_EQ(0, IntWrapper::s_destructorCalls); IntWrapper 3208 Source/platform/heap/HeapTest.cpp EXPECT_EQ(10, IntWrapper::s_destructorCalls);