Lines Matching refs:AtomImpl
97 // the atomtableentry can contain either an AtomImpl or a
110 inline void SetAtomImpl(AtomImpl* aAtom) {
132 inline AtomImpl *GetAtomImpl() const {
133 NS_ASSERTION(!IsStaticAtom(), "This is a static atom, not an AtomImpl");
134 return (AtomImpl*) (mAtom & ~0x1);
138 NS_ASSERTION(IsStaticAtom(), "This is an AtomImpl, not a static atom");
195 AtomImpl *atom = he->GetAtomImpl();
196 // Normal |AtomImpl| atoms are deleted when their refcount hits 0, and
236 AtomImpl* atom = entry->GetAtomImpl();
250 void PromoteToPermanent(AtomImpl* aAtom)
256 NS_LOG_RELEASE(aAtom, --refcount, "AtomImpl");
287 AtomImpl::AtomImpl()
291 AtomImpl::~AtomImpl()
307 NS_IMPL_THREADSAFE_ISUPPORTS1(AtomImpl, nsIAtom)
320 AtomImpl::IsPermanent()
331 void* AtomImpl::operator new ( size_t size, const nsACString& aString ) CPP_THROW_NEW
343 AtomImpl* ii = NS_STATIC_CAST(AtomImpl*, ::operator new(size));
351 void* PermanentAtomImpl::operator new ( size_t size, AtomImpl* aAtom ) CPP_THROW_NEW {
360 AtomImpl::ToString(nsAString& aBuf)
367 AtomImpl::ToUTF8String(nsACString& aBuf)
374 AtomImpl::GetUTF8String(const char **aResult)
382 AtomImpl::EqualsUTF8(const nsACString& aString, PRBool* aResult)
389 AtomImpl::Equals(const nsAString& aString, PRBool* aResult)
555 AtomImpl* atom = new (aString) AtomImpl();
579 // either there is no atom and we'll create an AtomImpl,
580 // or there is an existing AtomImpl
581 AtomImpl* atom = he->GetAtomImpl();