Searched refs:WeakImpl (Results 1 - 12 of 12) sorted by relevance

/macosx-10.10/JavaScriptCore-7600.1.17/heap/
H A DWeakImpl.h35 class WeakImpl { class in namespace:JSC
48 WeakImpl();
49 WeakImpl(JSValue, WeakHandleOwner*, void* context);
58 static WeakImpl* asWeakImpl(JSValue*);
66 inline WeakImpl::WeakImpl() function in class:JSC::WeakImpl
73 inline WeakImpl::WeakImpl(JSValue jsValue, WeakHandleOwner* weakHandleOwner, void* context) function in class:JSC::WeakImpl
82 inline WeakImpl::State WeakImpl
[all...]
H A DWeak.cpp34 void weakClearSlowCase(WeakImpl*& impl)
H A DWeakBlock.h31 #include "WeakImpl.h"
61 static WeakImpl* asWeakImpl(FreeCell*);
74 static FreeCell* asFreeCell(WeakImpl*);
77 WeakImpl* firstWeakImpl();
78 void finalize(WeakImpl*);
79 WeakImpl* weakImpls();
81 void addToFreeList(FreeCell**, WeakImpl*);
98 inline WeakImpl* WeakBlock::asWeakImpl(FreeCell* freeCell)
100 return reinterpret_cast_ptr<WeakImpl*>(freeCell);
111 inline WeakBlock::FreeCell* WeakBlock::asFreeCell(WeakImpl* weakImp
[all...]
H A DWeakSetInlines.h33 inline WeakImpl* WeakSet::allocate(JSValue jsValue, WeakHandleOwner* weakHandleOwner, void* context)
41 WeakImpl* weakImpl = WeakBlock::asWeakImpl(allocator);
42 return new (NotNull, weakImpl) WeakImpl(jsValue, weakHandleOwner, context);
45 inline void WeakBlock::finalize(WeakImpl* weakImpl)
47 ASSERT(weakImpl->state() == WeakImpl::Dead);
48 weakImpl->setState(WeakImpl::Finalized);
H A DWeakBlock.cpp47 WeakImpl* weakImpl = &weakImpls()[i];
48 new (NotNull, weakImpl) WeakImpl;
58 WeakImpl* weakImpl = &weakImpls()[i];
59 if (weakImpl->state() >= WeakImpl::Finalized)
61 weakImpl->setState(WeakImpl::Dead);
74 WeakImpl* weakImpl = &weakImpls()[i];
75 if (weakImpl->state() == WeakImpl::Dead)
77 if (weakImpl->state() == WeakImpl::Deallocated)
96 WeakImpl* weakImpl = &weakImpls()[i];
97 if (weakImpl->state() != WeakImpl
[all...]
H A DWeak.h34 class WeakImpl;
38 JS_EXPORT_PRIVATE void weakClearSlowCase(WeakImpl*&);
81 WeakImpl* leakImpl() WARN_UNUSED_RETURN;
90 static WeakImpl* hashTableDeletedValue();
92 WeakImpl* m_impl;
H A DWeakSet.h34 class WeakImpl;
40 static WeakImpl* allocate(JSValue, WeakHandleOwner* = 0, void* context = 0);
41 static void deallocate(WeakImpl*);
92 inline void WeakSet::deallocate(WeakImpl* weakImpl)
94 weakImpl->setState(WeakImpl::Deallocated);
H A DWeakInlines.h75 ASSERT(m_impl && m_impl->state() == WeakImpl::Live);
81 ASSERT(m_impl && m_impl->state() == WeakImpl::Live);
87 if (!m_impl || m_impl->state() != WeakImpl::Live)
99 return !m_impl || !m_impl->jsValue() || m_impl->state() != WeakImpl::Live;
107 template<typename T> inline WeakImpl* Weak<T>::leakImpl()
109 WeakImpl* impl = m_impl;
114 template<typename T> inline WeakImpl* Weak<T>::hashTableDeletedValue()
116 return reinterpret_cast<WeakImpl*>(-1);
H A DHeap.cpp1317 WeakSet::deallocate(WeakImpl::asWeakImpl(slot));
/macosx-10.10/JavaScriptCore-7600.1.17/runtime/
H A DStructureTransitionTable.h127 WeakImpl* impl = this->weakImpl();
149 WeakImpl* weakImpl() const
152 return reinterpret_cast<WeakImpl*>(m_data & ~UsingSingleSlotFlag);
159 if (WeakImpl* impl = this->weakImpl())
171 if (WeakImpl* impl = this->weakImpl()) {
172 if (impl->state() == WeakImpl::Live)
181 if (WeakImpl* impl = this->weakImpl())
183 WeakImpl* impl = WeakSet::allocate(reinterpret_cast<JSCell*>(structure));
/macosx-10.10/JavaScriptCore-7600.1.17/API/
H A DJSCallbackObject.cpp72 WeakSet::deallocate(WeakImpl::asWeakImpl(handle.slot()));
H A DJSAPIWrapperObject.mm56 JSC::WeakSet::deallocate(JSC::WeakImpl::asWeakImpl(handle.slot()));

Completed in 195 milliseconds