Lines Matching refs:RefPtr
1797 # 1 "/home/fitzgen/stylo/obj-x86_64-pc-linux-gnu/dist/include/mozilla/RefPtr.h" 1
1798 # 10 "/home/fitzgen/stylo/obj-x86_64-pc-linux-gnu/dist/include/mozilla/RefPtr.h"
10698 # 11 "/home/fitzgen/stylo/obj-x86_64-pc-linux-gnu/dist/include/mozilla/RefPtr.h" 2
10711 # 33 "/home/fitzgen/stylo/obj-x86_64-pc-linux-gnu/dist/include/mozilla/RefPtr.h"
10726 class RefPtr
10754 ~RefPtr()
10763 RefPtr()
10769 RefPtr(const RefPtr<T>& aSmartPtr)
10778 RefPtr(RefPtr<T>&& aRefPtr)
10786 RefPtr(T* aRawPtr)
10794 RefPtr(decltype(nullptr))
10800 RefPtr(already_AddRefed<I>& aSmartPtr)
10807 RefPtr(already_AddRefed<I>&& aSmartPtr)
10814 RefPtr(const RefPtr<I>& aSmartPtr)
10824 RefPtr(RefPtr<I>&& aSmartPtr)
10830 RefPtr(const nsCOMPtr_helper& aHelper);
10834 RefPtr(const mozilla::OwningNonNull<U>& aOther);
10838 RefPtr(const mozilla::StaticRefPtr<U>& aOther);
10842 RefPtr<T>&
10849 RefPtr<T>&
10850 operator=(const RefPtr<T>& aRhs)
10858 RefPtr<T>&
10859 operator=(const RefPtr<I>& aRhs)
10866 RefPtr<T>&
10875 RefPtr<T>&
10884 RefPtr<T>&
10892 RefPtr<T>& operator=(const nsCOMPtr_helper& aHelper);
10894 RefPtr<T>&
10895 operator=(RefPtr<T> && aRefPtr)
10904 RefPtr<T>&
10909 RefPtr<T>&
10915 swap(RefPtr<T>& aRhs)
10967 # 296 "/home/fitzgen/stylo/obj-x86_64-pc-linux-gnu/dist/include/mozilla/RefPtr.h"
11018 RefPtr<T>*
11026 const RefPtr<T>*
11050 # 388 "/home/fitzgen/stylo/obj-x86_64-pc-linux-gnu/dist/include/mozilla/RefPtr.h"
11081 ImplCycleCollectionUnlink(RefPtr<T>& aField)
11089 RefPtr<T>& aField,
11097 inline RefPtr<T>*
11098 address_of(RefPtr<T>& aPtr)
11104 inline const RefPtr<T>*
11105 address_of(const RefPtr<T>& aPtr)
11112 # 466 "/home/fitzgen/stylo/obj-x86_64-pc-linux-gnu/dist/include/mozilla/RefPtr.h"
11116 RefPtrGetterAddRefs(RefPtr<T>& aSmartPtr)
11139 RefPtr<T>& mTargetSmartPtr;
11144 getter_AddRefs(RefPtr<T>& aSmartPtr)
11158 operator==(const RefPtr<T>& aLhs, const RefPtr<U>& aRhs)
11166 operator!=(const RefPtr<T>& aLhs, const RefPtr<U>& aRhs)
11176 operator==(const RefPtr<T>& aLhs, const U* aRhs)
11183 operator==(const U* aLhs, const RefPtr<T>& aRhs)
11190 operator!=(const RefPtr<T>& aLhs, const U* aRhs)
11197 operator!=(const U* aLhs, const RefPtr<T>& aRhs)
11204 operator==(const RefPtr<T>& aLhs, U* aRhs)
11211 operator==(U* aLhs, const RefPtr<T>& aRhs)
11218 operator!=(const RefPtr<T>& aLhs, U* aRhs)
11225 operator!=(U* aLhs, const RefPtr<T>& aRhs)
11234 operator==(const RefPtr<T>& aLhs, decltype(nullptr))
11241 operator==(decltype(nullptr), const RefPtr<T>& aRhs)
11248 operator!=(const RefPtr<T>& aLhs, decltype(nullptr))
11255 operator!=(decltype(nullptr), const RefPtr<T>& aRhs)
11266 RefPtr<T> ref(aObj);
11272 do_AddRef(const RefPtr<T>& aObj)
11274 RefPtr<T> ref(aObj);
11279 # 642 "/home/fitzgen/stylo/obj-x86_64-pc-linux-gnu/dist/include/mozilla/RefPtr.h"
11284 RefPtr<T> p(new T(Forward<Args>(aArgs)...));
45304 struct LinkedListElementTraits<RefPtr<T>>
45308 typedef RefPtr<T> ClientType;
45309 typedef RefPtr<const T> ConstClientType;
45311 static void enterList(LinkedListElement<RefPtr<T>>* elt) { elt->asT()->AddRef(); }
45312 static void exitList(LinkedListElement<RefPtr<T>>* elt) { elt->asT()->Release(); }
51871 CallQueryInterface(RefPtr<SourceType>& aSourcePtr, DestinationType** aDestPtr)
56524 struct nsTArray_SafeElementAtHelper<RefPtr<E>, Derived>
71124 "for types with IIDs. Either use RefPtr; add an IID to "
71997 RefPtr<T>::RefPtr(const nsCOMPtr_helper& aHelper)
72007 RefPtr<T>&
72008 RefPtr<T>::operator=(const nsCOMPtr_helper& aHelper)
72451 RefPtr<nsNodeInfoManager> mOwnerManager;
79187 RefPtr<T> mPtr;
79220 RefPtr<T>::RefPtr(const mozilla::OwningNonNull<U>& aOther)
79221 : RefPtr(aOther.get())
79225 RefPtr<T>&
79226 RefPtr<T>::operator=(const mozilla::OwningNonNull<U>& aOther)
79271 struct GCPolicy<RefPtr<T>>
79273 static RefPtr<T> initial() {
79274 return RefPtr<T>();
79277 static void trace(JSTracer* trc, RefPtr<T>* tp, const char* name)
79288 struct WrappedPtrOperations<RefPtr<T>, Wrapper>
84223 RefPtr<nsBindingManager> mBindingManager;
88228 RefPtr<nsChildContentList> mChildNodes;
88784 void GetBoundMutationObservers(nsTArray<RefPtr<nsDOMMutationObserver> >& aResult);
88911 nsTArray<RefPtr<DOMQuad> >& aResult,
89466 RefPtr<mozilla::dom::NodeInfo> mNodeInfo;
91974 RefPtr<T> mKey;
93209 RefPtr<mozilla::DeclarationBlock> mSMILOverrideStyleDeclaration;
93215 RefPtr<nsDOMAttributeMap> mAttributeMap;
93233 RefPtr<nsContentList> mChildrenList;
93238 RefPtr<nsDOMTokenList> mClassList;
93243 RefPtr<ShadowRoot> mShadowRoot;
93248 RefPtr<ShadowRoot> mContainingShadow;
93259 RefPtr<nsXBLBinding> mXBLBinding;
93269 RefPtr<CustomElementData> mCustomElementData;
93653 RefPtr<nsDOMAttributeMap> mAttrMap;
93880 : public nsBaseHashtable<KeyClass, RefPtr<PtrType>, PtrType*>
93885 typedef nsBaseHashtable<KeyClass, RefPtr<PtrType>, PtrType*> base_type;
93889 : nsBaseHashtable<KeyClass, RefPtr<PtrType>, PtrType*>(aInitLength)
94435 explicit WeakPtr(const RefPtr<WeakReference>& aOther) : mRef(aOther) {}
94437 RefPtr<WeakReference> mRef;
94993 RefPtr<T>::RefPtr(const mozilla::StaticRefPtr<U>& aOther)
94994 : RefPtr(aOther.get())
94998 RefPtr<T>&
94999 RefPtr<T>::operator=(const mozilla::StaticRefPtr<U>& aOther)
103059 extern RefPtr<WasmModule>
103065 extern RefPtr<WasmModule>
103402 using PerformanceGroupVector = mozilla::Vector<RefPtr<js::PerformanceGroup>, 8, SystemAllocPolicy>;
105993 RefPtr<StyleSheet>* sheetSlot;
106028 RefPtr<dom::MediaList> mMedia;
106030 RefPtr<StyleSheet> mNext;
106436 const nsTArray<RefPtr<StyleSheet>>& aNewSheets);
109331 RefPtr<T> newPtr(aSmartPtr);
109338 RefPtr<T> newPtr(aSmartPtr);
109362 RefPtr<T> mPtr;
113350 nsTArray<RefPtr<mozilla::StyleSheet>>& aSheets) = 0;
113356 const nsTArray<RefPtr<mozilla::StyleSheet>>& aSheets) = 0;
114020 RefPtr<nsPresContext> mPresContext;
114025 RefPtr<nsFrameSelection> mSelection;
114109 AutoTArray<RefPtr<mozilla::dom::Element>,1> mChangedScopeStyleRoots;
114808 RefPtr<gfxFontFeatureValueSet> featureValueLookup;
116733 RefPtr<T> ref(aObj);
116746 struct IsRefcountedSmartPointerHelper<RefPtr<Pointee>> : TrueType {};
116767 struct RemoveSmartPointerHelper<T, RefPtr<Pointee>>
116800 struct RemoveRawOrSmartPointerHelper<T, RefPtr<Pointee>>
116881 RefPtr<ClassType> mObj;
117015 typedef RefPtr<T> stored_type;
117451 RefPtr<T> event = aEvent;
117476 RefPtr<T> mEvent;
121673 RefPtr<nsStringBuffer> sharedBuffer = nsStringBuffer::FromString(aString);
121716 RefPtr<nsStringBuffer> buf = nsStringBuffer::Alloc((aLength + 1) * sizeof(nsString::char_type));
126038 RefPtr<mozilla::dom::Performance> mPerformance;
126103 RefPtr<mozilla::dom::TabGroup> mTabGroup;
127867 RefPtr<xpc::ErrorReport> mReport;
128025 RefPtr<CallbackObject> mHolder;
128322 RefPtr<XPCOMCallbackT> callback = GetXPCOMCallback();
128340 RefPtr<WebIDLCallbackT> callback = GetWebIDLCallback();
128435 static bool IsInitialized(RefPtr<U>& aRefPtr)
136160 RefPtr<IncrementalFinalizeRunnable> mFinalizeRunnable;
146318 RefPtr<ExpirationTrackerObserver> mObserver;
149103 nsTArray<RefPtr<mozilla::dom::AnonymousContent>>& GetAnonymousContents() {
149257 nsTArray<RefPtr<mozilla::StyleSheet>>& aOldSheets,
149258 nsTArray<RefPtr<mozilla::StyleSheet>>& aNewSheets) = 0;
149293 size_t FindDocStyleSheetInsertionPoint(const nsTArray<RefPtr<T>>& aDocSheets,
149846 nsTArray<RefPtr<mozilla::dom::Element>>& aElements) = 0;
150178 RefPtr<mozilla::StyleSheet>* aSheet) = 0;
150245 nsTArray<RefPtr<mozilla::dom::Animation>>& aAnimations) = 0;
150253 typedef nsTArray<RefPtr<mozilla::dom::FrameRequestCallback>> FrameRequestCallbackList;
150601 nsTArray<RefPtr<mozilla::dom::Element>>& aElements);
150896 RefPtr<mozilla::css::Loader> mCSSLoader;
150897 RefPtr<mozilla::css::ImageLoader> mStyleImageLoader;
150898 RefPtr<nsHTMLStyleSheet> mAttrStyleSheet;
150899 RefPtr<nsHTMLCSSStyleSheet> mStyleAttrStyleSheet;
150902 RefPtr<mozilla::dom::ImageTracker> mImageTracker;
150917 RefPtr<nsSMILAnimationController> mAnimationController;
150927 RefPtr<mozilla::dom::FontFaceSet> mFontFaceSet;
151220 RefPtr<mozilla::dom::XPathEvaluator> mXPathEvaluator;
151222 nsTArray<RefPtr<mozilla::dom::AnonymousContent>> mAnonymousContents;
151242 RefPtr<mozilla::dom::DocGroup> mDocGroup;
153191 RefPtr<nsXPCClassInfo> mXPCClassInfo;
153224 qsObjectHelper(RefPtr<T>& aObject, nsWrapperCache* aCache)
154459 WrapObject(JSContext* cx, const RefPtr<T>& p,
154468 WrapObject(JSContext* cx, const RefPtr<T>& p,
155664 typename Conditional<IsRefcounted<T>::value, RefPtr<T>, OwnedNative>::Type mNative;
155673 RefPtr<T>,
155687 AppendAndTake(SegmentedVector<RefPtr<U>>& smartPtrArray, U* ptr)
156015 inline RefPtr<T>
156038 RefPtr<T>, nsAutoPtr<T>>::Type Type;
156311 const RefPtr<T>& aArgument,
156699 UnionMember<RefPtr<nsPIDOMWindowOuter> > mWindowProxy;
156752 RefPtr<nsPIDOMWindowOuter>&
156755 RefPtr<nsPIDOMWindowOuter>&
156767 inline RefPtr<nsPIDOMWindowOuter>&
156774 inline RefPtr<nsPIDOMWindowOuter> const &
158877 RefPtr<nsDeviceContext> mDeviceContext;
158882 RefPtr<mozilla::EventStateManager> mEventManager;
158883 RefPtr<nsRefreshDriver> mRefreshDriver;
158884 RefPtr<mozilla::EffectCompositor> mEffectCompositor;
158885 RefPtr<nsTransitionManager> mTransitionManager;
158886 RefPtr<nsAnimationManager> mAnimationManager;
158887 RefPtr<mozilla::RestyleManager> mRestyleManager;
158888 RefPtr<mozilla::CounterStyleManager> mCounterStyleManager;
162476 nsTArray<RefPtr<DOMRect> > mArray;
163157 RefPtr<mozilla::dom::Element> mRoot;
167084 RefPtr<AbstractThread> mAbstractThreads[size_t(TaskCategory::Count)];
167149 RefPtr<T> doomed = aDoomed;
167338 RefPtr<nsMainThreadPtrHolder<T>> mPtr;
167461 RefPtr<nsIURI> mBaseURI;
167462 RefPtr<nsIURI> mReferrer;
167463 RefPtr<nsIPrincipal> mPrincipal;
167514 RefPtr<nsStringBuffer> mString;
167515 RefPtr<URLExtraData> mExtraData;
169220 RefPtr<DOMRect> aRootBounds,
169221 RefPtr<DOMRect> aBoundingClientRect,
169222 RefPtr<DOMRect> aIntersectionRect,
169287 RefPtr<DOMRect> mRootBounds;
169288 RefPtr<DOMRect> mBoundingClientRect;
169289 RefPtr<DOMRect> mIntersectionRect;
169291 RefPtr<Element> mTarget;
169348 void TakeRecords(nsTArray<RefPtr<DOMIntersectionObserverEntry>>& aRetVal);
169367 RefPtr<nsIDocument> mDocument;
169368 RefPtr<mozilla::dom::IntersectionCallback> mCallback;
169369 RefPtr<Element> mRoot;
169373 nsTArray<RefPtr<DOMIntersectionObserverEntry>> mQueuedEntries;
170294 void GetGridFragments(nsTArray<RefPtr<Grid>>& aResult);
170315 nsTArray<RefPtr<Animation>>& aAnimations);
170318 nsTArray<RefPtr<Animation>>& aAnimations);
170610 RefPtr<nsBindingManager> mManager;
170611 RefPtr<nsIContent> mContent;
170635 RefPtr<Element> mParent;
170724 RefPtr<dom::Element> mElement;
170813 RefPtr<dom::Element> mElement;
171052 static nsTArray<RefPtr<dom::Animation>>
172367 RefPtr<ImageURL> mURI;
172586 RefPtr<ImageURL> mURI;
172605 RefPtr<imgCacheEntry> mCacheEntry;
172637 RefPtr<ProgressTracker> mProgressTracker;
172638 RefPtr<Image> mImage;
172803 RefPtr<imgRequestProxy> mOwner;
172850 RefPtr<ImageURL> mURI;
173373 RefPtr<imgRequestProxy> mRequestProxy;
173374 RefPtr<mozilla::css::ImageValue> mImageValue;
173375 RefPtr<mozilla::dom::ImageTracker> mImageTracker;
173378 RefPtr<mozilla::dom::DocGroup> mDocGroup;
173703 RefPtr<mozilla::css::URLValueData> mSourceURI;
174424 RefPtr<nsStyleImageRequest> mListStyleImage;
174426 RefPtr<mozilla::CounterStyle> mCounterStyle;
174427 RefPtr<nsStyleQuoteValues> mQuotes;
174621 RefPtr<mozilla::css::GridTemplateAreasValue> mGridTemplateAreas;
174837 RefPtr<nsCSSShadowArray> mTextShadow;
175517 RefPtr<mozilla::css::URLValue> mPtr;
175609 RefPtr<nsCSSValueSharedList> mSpecifiedTransform;
176112 RefPtr<nsStyleImageRequest> mImage;
176328 RefPtr<mozilla::css::URLValue> mMarkerEnd;
176329 RefPtr<mozilla::css::URLValue> mMarkerMid;
176330 RefPtr<mozilla::css::URLValue> mMarkerStart;
176578 RefPtr<nsCSSShadowArray> mBoxShadow;
177600 void Servo_AnimationValue_GetTransform(RawServoAnimationValueBorrowed value, RefPtr<nsCSSValueSharedList>* list);