Lines Matching defs:aAtom
71 nsStaticAtomWrapper(const nsStaticAtom* aAtom) :
72 mStaticAtom(aAtom)
110 inline void SetAtomImpl(AtomImpl* aAtom) {
111 NS_ASSERTION(aAtom, "Setting null atom");
112 mAtom = PtrBits(aAtom);
115 inline void SetStaticAtomWrapper(nsStaticAtomWrapper* aAtom) {
116 NS_ASSERTION(aAtom, "Setting null atom");
117 NS_ASSERTION((PtrBits(aAtom) & ~0x1) == PtrBits(aAtom),
120 mAtom = PtrBits(aAtom) | 0x1;
250 void PromoteToPermanent(AtomImpl* aAtom)
254 nsrefcnt refcount = aAtom->GetRefCount();
256 NS_LOG_RELEASE(aAtom, --refcount, "AtomImpl");
260 aAtom = new (aAtom) PermanentAtomImpl();
351 void* PermanentAtomImpl::operator new ( size_t size, AtomImpl* aAtom ) CPP_THROW_NEW {
352 NS_ASSERTION(!aAtom->IsPermanent(),
356 return aAtom;
464 WrapStaticAtom(const nsStaticAtom* aAtom)
478 new (mem) nsStaticAtomWrapper(aAtom);