/work/obj-fuzz/dist/include/nsQueryObject.h
Line | Count | Source (jump to first uncovered line) |
1 | | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
2 | | /* vim: set ts=8 sts=2 et sw=2 tw=80: */ |
3 | | /* This Source Code Form is subject to the terms of the Mozilla Public |
4 | | * License, v. 2.0. If a copy of the MPL was not distributed with this |
5 | | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
6 | | |
7 | | #ifndef nsQueryObject_h |
8 | | #define nsQueryObject_h |
9 | | |
10 | | #include "mozilla/Attributes.h" |
11 | | |
12 | | #include "nsCOMPtr.h" |
13 | | #include "mozilla/RefPtr.h" |
14 | | |
15 | | /*****************************************************************************/ |
16 | | |
17 | | template<class T> |
18 | | class MOZ_STACK_CLASS nsQueryObject final : public nsCOMPtr_helper |
19 | | { |
20 | | public: |
21 | | explicit nsQueryObject(T* aRawPtr) |
22 | | : mRawPtr(aRawPtr) |
23 | 102 | { |
24 | 102 | } Unexecuted instantiation: nsQueryObject<nsIRunnable>::nsQueryObject(nsIRunnable*) Unexecuted instantiation: nsQueryObject<nsIEventTarget>::nsQueryObject(nsIEventTarget*) Unexecuted instantiation: nsQueryObject<nsThreadShutdownAckEvent>::nsQueryObject(nsThreadShutdownAckEvent*) Unexecuted instantiation: nsQueryObject<nsStringBundleBase>::nsQueryObject(nsStringBundleBase*) Unexecuted instantiation: nsQueryObject<nsIStringBundle>::nsQueryObject(nsIStringBundle*) Unexecuted instantiation: nsQueryObject<nsIChannel>::nsQueryObject(nsIChannel*) Unexecuted instantiation: nsQueryObject<mozilla::net::nsProtocolProxyService>::nsQueryObject(mozilla::net::nsProtocolProxyService*) Unexecuted instantiation: nsQueryObject<mozilla::dom::TabParent>::nsQueryObject(mozilla::dom::TabParent*) Unexecuted instantiation: nsQueryObject<mozilla::net::NullHttpChannel>::nsQueryObject(mozilla::net::NullHttpChannel*) Unexecuted instantiation: nsQueryObject<mozilla::net::HttpBaseChannel>::nsQueryObject(mozilla::net::HttpBaseChannel*) Unexecuted instantiation: nsQueryObject<nsINetworkInterceptController>::nsQueryObject(nsINetworkInterceptController*) Unexecuted instantiation: nsQueryObject<nsIRequest>::nsQueryObject(nsIRequest*) Unexecuted instantiation: nsQueryObject<nsIStreamListener>::nsQueryObject(nsIStreamListener*) Unexecuted instantiation: nsQueryObject<nsIHttpChannel>::nsQueryObject(nsIHttpChannel*) Unexecuted instantiation: nsQueryObject<nsIParentChannel>::nsQueryObject(nsIParentChannel*) Unexecuted instantiation: nsQueryObject<nsIInterfaceRequestor>::nsQueryObject(nsIInterfaceRequestor*) Unexecuted instantiation: nsQueryObject<nsInputStreamPump>::nsQueryObject(nsInputStreamPump*) nsQueryObject<nsISupports>::nsQueryObject(nsISupports*) Line | Count | Source | 23 | 12 | { | 24 | 12 | } |
nsQueryObject<nsIURI>::nsQueryObject(nsIURI*) Line | Count | Source | 23 | 90 | { | 24 | 90 | } |
Unexecuted instantiation: nsQueryObject<nsIVariant>::nsQueryObject(nsIVariant*) Unexecuted instantiation: nsQueryObject<nsISupportsWeakReference>::nsQueryObject(nsISupportsWeakReference*) Unexecuted instantiation: nsQueryObject<nsGlobalWindowOuter>::nsQueryObject(nsGlobalWindowOuter*) Unexecuted instantiation: nsQueryObject<nsFrameMessageManager>::nsQueryObject(nsFrameMessageManager*) Unexecuted instantiation: nsQueryObject<mozilla::DOMEventTargetHelper>::nsQueryObject(mozilla::DOMEventTargetHelper*) Unexecuted instantiation: nsQueryObject<nsGlobalWindowInner>::nsQueryObject(nsGlobalWindowInner*) Unexecuted instantiation: nsQueryObject<mozilla::dom::Element>::nsQueryObject(mozilla::dom::Element*) Unexecuted instantiation: nsQueryObject<nsStyleLinkElement>::nsQueryObject(nsStyleLinkElement*) Unexecuted instantiation: nsQueryObject<nsIInputStream>::nsQueryObject(nsIInputStream*) Unexecuted instantiation: nsQueryObject<nsIContent>::nsQueryObject(nsIContent*) Unexecuted instantiation: nsQueryObject<mozilla::dom::File>::nsQueryObject(mozilla::dom::File*) Unexecuted instantiation: nsQueryObject<nsGenericHTMLFormElement>::nsQueryObject(nsGenericHTMLFormElement*) Unexecuted instantiation: nsQueryObject<mozilla::dom::RadioNodeList>::nsQueryObject(mozilla::dom::RadioNodeList*) Unexecuted instantiation: nsQueryObject<nsGenericHTMLElement>::nsQueryObject(nsGenericHTMLElement*) Unexecuted instantiation: nsQueryObject<nsIDocShell>::nsQueryObject(nsIDocShell*) Unexecuted instantiation: nsQueryObject<nsSVGElement>::nsQueryObject(nsSVGElement*) Unexecuted instantiation: nsQueryObject<nsIMutationObserver>::nsQueryObject(nsIMutationObserver*) Unexecuted instantiation: nsQueryObject<mozilla::dom::WorkerGlobalScope>::nsQueryObject(mozilla::dom::WorkerGlobalScope*) Unexecuted instantiation: nsQueryObject<mozilla::dom::IDBFileHandle>::nsQueryObject(mozilla::dom::IDBFileHandle*) Unexecuted instantiation: nsQueryObject<mozilla::dom::IDBTransaction>::nsQueryObject(mozilla::dom::IDBTransaction*) Unexecuted instantiation: nsQueryObject<nsXULElement>::nsQueryObject(nsXULElement*) Unexecuted instantiation: nsQueryObject<mozilla::dom::PresentationTCPSessionTransport>::nsQueryObject(mozilla::dom::PresentationTCPSessionTransport*) Unexecuted instantiation: nsQueryObject<nsITransaction>::nsQueryObject(nsITransaction*) Unexecuted instantiation: nsQueryObject<mozilla::dom::EventTarget>::nsQueryObject(mozilla::dom::EventTarget*) Unexecuted instantiation: nsQueryObject<mozilla::EditTransactionBase>::nsQueryObject(mozilla::EditTransactionBase*) Unexecuted instantiation: nsQueryObject<nsDocLoader>::nsQueryObject(nsDocLoader*) Unexecuted instantiation: nsQueryObject<nsXULWindow>::nsQueryObject(nsXULWindow*) Unexecuted instantiation: nsQueryObject<nsIAccessibleTextRange>::nsQueryObject(nsIAccessibleTextRange*) Unexecuted instantiation: nsQueryObject<mozilla::a11y::Accessible>::nsQueryObject(mozilla::a11y::Accessible*) Unexecuted instantiation: nsQueryObject<nsITraceableChannel>::nsQueryObject(nsITraceableChannel*) Unexecuted instantiation: nsQueryObject<nsINavHistoryQuery>::nsQueryObject(nsINavHistoryQuery*) Unexecuted instantiation: nsQueryObject<nsINavHistoryQueryOptions>::nsQueryObject(nsINavHistoryQueryOptions*) |
25 | | |
26 | | virtual nsresult NS_FASTCALL operator()(const nsIID& aIID, |
27 | | void** aResult) const override |
28 | 102 | { |
29 | 102 | nsresult status = mRawPtr ? mRawPtr->QueryInterface(aIID, aResult) |
30 | 102 | : NS_ERROR_NULL_POINTER; |
31 | 102 | return status; |
32 | 102 | } Unexecuted instantiation: nsQueryObject<nsIRunnable>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsIEventTarget>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsThreadShutdownAckEvent>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsStringBundleBase>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsIStringBundle>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsIChannel>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<mozilla::net::nsProtocolProxyService>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<mozilla::dom::TabParent>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<mozilla::net::NullHttpChannel>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<mozilla::net::HttpBaseChannel>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsINetworkInterceptController>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsIRequest>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsIStreamListener>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsIHttpChannel>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsIParentChannel>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsIInterfaceRequestor>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsInputStreamPump>::operator()(nsID const&, void**) const nsQueryObject<nsISupports>::operator()(nsID const&, void**) const Line | Count | Source | 28 | 12 | { | 29 | 12 | nsresult status = mRawPtr ? mRawPtr->QueryInterface(aIID, aResult) | 30 | 12 | : NS_ERROR_NULL_POINTER; | 31 | 12 | return status; | 32 | 12 | } |
nsQueryObject<nsIURI>::operator()(nsID const&, void**) const Line | Count | Source | 28 | 90 | { | 29 | 90 | nsresult status = mRawPtr ? mRawPtr->QueryInterface(aIID, aResult) | 30 | 90 | : NS_ERROR_NULL_POINTER; | 31 | 90 | return status; | 32 | 90 | } |
Unexecuted instantiation: nsQueryObject<nsIVariant>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsISupportsWeakReference>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsGlobalWindowOuter>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsFrameMessageManager>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<mozilla::DOMEventTargetHelper>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsGlobalWindowInner>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<mozilla::dom::Element>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsStyleLinkElement>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsIInputStream>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsIContent>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<mozilla::dom::File>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsGenericHTMLFormElement>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<mozilla::dom::RadioNodeList>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsGenericHTMLElement>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsIDocShell>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsSVGElement>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsIMutationObserver>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<mozilla::dom::WorkerGlobalScope>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<mozilla::dom::IDBFileHandle>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<mozilla::dom::IDBTransaction>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsXULElement>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<mozilla::dom::PresentationTCPSessionTransport>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsITransaction>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<mozilla::dom::EventTarget>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<mozilla::EditTransactionBase>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsDocLoader>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsXULWindow>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsIAccessibleTextRange>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<mozilla::a11y::Accessible>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsITraceableChannel>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsINavHistoryQuery>::operator()(nsID const&, void**) const Unexecuted instantiation: nsQueryObject<nsINavHistoryQueryOptions>::operator()(nsID const&, void**) const |
33 | | private: |
34 | | T* MOZ_NON_OWNING_REF mRawPtr; |
35 | | }; |
36 | | |
37 | | template<class T> |
38 | | class MOZ_STACK_CLASS nsQueryObjectWithError final : public nsCOMPtr_helper |
39 | | { |
40 | | public: |
41 | | nsQueryObjectWithError(T* aRawPtr, nsresult* aErrorPtr) |
42 | | : mRawPtr(aRawPtr), mErrorPtr(aErrorPtr) |
43 | 0 | { |
44 | 0 | } |
45 | | |
46 | | virtual nsresult NS_FASTCALL operator()(const nsIID& aIID, |
47 | | void** aResult) const override |
48 | 0 | { |
49 | 0 | nsresult status = mRawPtr ? mRawPtr->QueryInterface(aIID, aResult) |
50 | 0 | : NS_ERROR_NULL_POINTER; |
51 | 0 | if (mErrorPtr) { |
52 | 0 | *mErrorPtr = status; |
53 | 0 | } |
54 | 0 | return status; |
55 | 0 | } |
56 | | private: |
57 | | T* MOZ_NON_OWNING_REF mRawPtr; |
58 | | nsresult* mErrorPtr; |
59 | | }; |
60 | | |
61 | | /*****************************************************************************/ |
62 | | |
63 | | /*****************************************************************************/ |
64 | | |
65 | | template<class T> |
66 | | inline nsQueryObject<T> |
67 | | do_QueryObject(T* aRawPtr) |
68 | 102 | { |
69 | 102 | return nsQueryObject<T>(aRawPtr); |
70 | 102 | } Unexecuted instantiation: nsQueryObject<nsIRunnable> do_QueryObject<nsIRunnable>(nsIRunnable*) Unexecuted instantiation: nsQueryObject<nsIEventTarget> do_QueryObject<nsIEventTarget>(nsIEventTarget*) Unexecuted instantiation: nsQueryObject<nsThreadShutdownAckEvent> do_QueryObject<nsThreadShutdownAckEvent>(nsThreadShutdownAckEvent*) Unexecuted instantiation: nsQueryObject<nsStringBundleBase> do_QueryObject<nsStringBundleBase>(nsStringBundleBase*) Unexecuted instantiation: nsQueryObject<nsIChannel> do_QueryObject<nsIChannel>(nsIChannel*) Unexecuted instantiation: nsQueryObject<mozilla::net::nsProtocolProxyService> do_QueryObject<mozilla::net::nsProtocolProxyService>(mozilla::net::nsProtocolProxyService*) Unexecuted instantiation: nsQueryObject<nsIRequest> do_QueryObject<nsIRequest>(nsIRequest*) nsQueryObject<nsISupports> do_QueryObject<nsISupports>(nsISupports*) Line | Count | Source | 68 | 12 | { | 69 | 12 | return nsQueryObject<T>(aRawPtr); | 70 | 12 | } |
nsQueryObject<nsIURI> do_QueryObject<nsIURI>(nsIURI*) Line | Count | Source | 68 | 90 | { | 69 | 90 | return nsQueryObject<T>(aRawPtr); | 70 | 90 | } |
Unexecuted instantiation: nsQueryObject<nsIVariant> do_QueryObject<nsIVariant>(nsIVariant*) Unexecuted instantiation: nsQueryObject<nsGlobalWindowOuter> do_QueryObject<nsGlobalWindowOuter>(nsGlobalWindowOuter*) Unexecuted instantiation: nsQueryObject<nsFrameMessageManager> do_QueryObject<nsFrameMessageManager>(nsFrameMessageManager*) Unexecuted instantiation: nsQueryObject<mozilla::DOMEventTargetHelper> do_QueryObject<mozilla::DOMEventTargetHelper>(mozilla::DOMEventTargetHelper*) Unexecuted instantiation: nsQueryObject<mozilla::dom::Element> do_QueryObject<mozilla::dom::Element>(mozilla::dom::Element*) Unexecuted instantiation: nsQueryObject<nsStyleLinkElement> do_QueryObject<nsStyleLinkElement>(nsStyleLinkElement*) Unexecuted instantiation: nsQueryObject<nsGlobalWindowInner> do_QueryObject<nsGlobalWindowInner>(nsGlobalWindowInner*) Unexecuted instantiation: nsQueryObject<nsIInputStream> do_QueryObject<nsIInputStream>(nsIInputStream*) Unexecuted instantiation: nsQueryObject<nsIContent> do_QueryObject<nsIContent>(nsIContent*) Unexecuted instantiation: nsQueryObject<mozilla::dom::File> do_QueryObject<mozilla::dom::File>(mozilla::dom::File*) Unexecuted instantiation: nsQueryObject<nsGenericHTMLFormElement> do_QueryObject<nsGenericHTMLFormElement>(nsGenericHTMLFormElement*) Unexecuted instantiation: nsQueryObject<mozilla::dom::RadioNodeList> do_QueryObject<mozilla::dom::RadioNodeList>(mozilla::dom::RadioNodeList*) Unexecuted instantiation: nsQueryObject<nsGenericHTMLElement> do_QueryObject<nsGenericHTMLElement>(nsGenericHTMLElement*) Unexecuted instantiation: nsQueryObject<nsIDocShell> do_QueryObject<nsIDocShell>(nsIDocShell*) Unexecuted instantiation: nsQueryObject<nsSVGElement> do_QueryObject<nsSVGElement>(nsSVGElement*) Unexecuted instantiation: nsQueryObject<mozilla::dom::WorkerGlobalScope> do_QueryObject<mozilla::dom::WorkerGlobalScope>(mozilla::dom::WorkerGlobalScope*) Unexecuted instantiation: nsQueryObject<nsXULElement> do_QueryObject<nsXULElement>(nsXULElement*) Unexecuted instantiation: nsQueryObject<mozilla::dom::PresentationTCPSessionTransport> do_QueryObject<mozilla::dom::PresentationTCPSessionTransport>(mozilla::dom::PresentationTCPSessionTransport*) Unexecuted instantiation: nsQueryObject<nsITransaction> do_QueryObject<nsITransaction>(nsITransaction*) Unexecuted instantiation: nsQueryObject<mozilla::dom::EventTarget> do_QueryObject<mozilla::dom::EventTarget>(mozilla::dom::EventTarget*) Unexecuted instantiation: nsQueryObject<mozilla::EditTransactionBase> do_QueryObject<mozilla::EditTransactionBase>(mozilla::EditTransactionBase*) Unexecuted instantiation: nsQueryObject<nsDocLoader> do_QueryObject<nsDocLoader>(nsDocLoader*) Unexecuted instantiation: nsQueryObject<nsXULWindow> do_QueryObject<nsXULWindow>(nsXULWindow*) Unexecuted instantiation: nsQueryObject<nsIAccessibleTextRange> do_QueryObject<nsIAccessibleTextRange>(nsIAccessibleTextRange*) Unexecuted instantiation: nsQueryObject<mozilla::a11y::Accessible> do_QueryObject<mozilla::a11y::Accessible>(mozilla::a11y::Accessible*) Unexecuted instantiation: nsQueryObject<nsINavHistoryQuery> do_QueryObject<nsINavHistoryQuery>(nsINavHistoryQuery*) Unexecuted instantiation: nsQueryObject<nsINavHistoryQueryOptions> do_QueryObject<nsINavHistoryQueryOptions>(nsINavHistoryQueryOptions*) |
71 | | |
72 | | template<class T> |
73 | | inline nsQueryObject<T> |
74 | | do_QueryObject(nsCOMPtr<T>& aRawPtr) |
75 | 0 | { |
76 | 0 | return nsQueryObject<T>(aRawPtr); |
77 | 0 | } Unexecuted instantiation: nsQueryObject<nsIStringBundle> do_QueryObject<nsIStringBundle>(nsCOMPtr<nsIStringBundle>&) Unexecuted instantiation: nsQueryObject<nsIChannel> do_QueryObject<nsIChannel>(nsCOMPtr<nsIChannel>&) Unexecuted instantiation: nsQueryObject<nsINetworkInterceptController> do_QueryObject<nsINetworkInterceptController>(nsCOMPtr<nsINetworkInterceptController>&) Unexecuted instantiation: nsQueryObject<nsIStreamListener> do_QueryObject<nsIStreamListener>(nsCOMPtr<nsIStreamListener>&) Unexecuted instantiation: nsQueryObject<nsIHttpChannel> do_QueryObject<nsIHttpChannel>(nsCOMPtr<nsIHttpChannel>&) Unexecuted instantiation: nsQueryObject<nsIParentChannel> do_QueryObject<nsIParentChannel>(nsCOMPtr<nsIParentChannel>&) Unexecuted instantiation: nsQueryObject<nsIInterfaceRequestor> do_QueryObject<nsIInterfaceRequestor>(nsCOMPtr<nsIInterfaceRequestor>&) Unexecuted instantiation: nsQueryObject<nsISupportsWeakReference> do_QueryObject<nsISupportsWeakReference>(nsCOMPtr<nsISupportsWeakReference>&) Unexecuted instantiation: nsQueryObject<nsISupports> do_QueryObject<nsISupports>(nsCOMPtr<nsISupports>&) Unexecuted instantiation: nsQueryObject<nsIMutationObserver> do_QueryObject<nsIMutationObserver>(nsCOMPtr<nsIMutationObserver>&) Unexecuted instantiation: nsQueryObject<nsITraceableChannel> do_QueryObject<nsITraceableChannel>(nsCOMPtr<nsITraceableChannel>&) Unexecuted instantiation: nsQueryObject<nsINavHistoryQuery> do_QueryObject<nsINavHistoryQuery>(nsCOMPtr<nsINavHistoryQuery>&) Unexecuted instantiation: nsQueryObject<nsINavHistoryQueryOptions> do_QueryObject<nsINavHistoryQueryOptions>(nsCOMPtr<nsINavHistoryQueryOptions>&) |
78 | | |
79 | | template<class T> |
80 | | inline nsQueryObject<T> |
81 | | do_QueryObject(RefPtr<T>& aRawPtr) |
82 | 0 | { |
83 | 0 | return nsQueryObject<T>(aRawPtr); |
84 | 0 | } Unexecuted instantiation: nsQueryObject<mozilla::dom::TabParent> do_QueryObject<mozilla::dom::TabParent>(RefPtr<mozilla::dom::TabParent>&) Unexecuted instantiation: nsQueryObject<mozilla::net::NullHttpChannel> do_QueryObject<mozilla::net::NullHttpChannel>(RefPtr<mozilla::net::NullHttpChannel>&) Unexecuted instantiation: nsQueryObject<mozilla::net::HttpBaseChannel> do_QueryObject<mozilla::net::HttpBaseChannel>(RefPtr<mozilla::net::HttpBaseChannel>&) Unexecuted instantiation: nsQueryObject<nsInputStreamPump> do_QueryObject<nsInputStreamPump>(RefPtr<nsInputStreamPump>&) Unexecuted instantiation: nsQueryObject<nsGlobalWindowInner> do_QueryObject<nsGlobalWindowInner>(RefPtr<nsGlobalWindowInner>&) Unexecuted instantiation: nsQueryObject<mozilla::dom::File> do_QueryObject<mozilla::dom::File>(RefPtr<mozilla::dom::File>&) Unexecuted instantiation: nsQueryObject<nsGenericHTMLFormElement> do_QueryObject<nsGenericHTMLFormElement>(RefPtr<nsGenericHTMLFormElement>&) Unexecuted instantiation: nsQueryObject<mozilla::dom::IDBFileHandle> do_QueryObject<mozilla::dom::IDBFileHandle>(RefPtr<mozilla::dom::IDBFileHandle>&) Unexecuted instantiation: nsQueryObject<mozilla::dom::IDBTransaction> do_QueryObject<mozilla::dom::IDBTransaction>(RefPtr<mozilla::dom::IDBTransaction>&) |
85 | | |
86 | | template<class T> |
87 | | inline nsQueryObjectWithError<T> |
88 | | do_QueryObject(T* aRawPtr, nsresult* aErrorPtr) |
89 | | { |
90 | | return nsQueryObjectWithError<T>(aRawPtr, aErrorPtr); |
91 | | } |
92 | | |
93 | | template<class T> |
94 | | inline nsQueryObjectWithError<T> |
95 | | do_QueryObject(nsCOMPtr<T>& aRawPtr, nsresult* aErrorPtr) |
96 | 0 | { |
97 | 0 | return nsQueryObjectWithError<T>(aRawPtr, aErrorPtr); |
98 | 0 | } |
99 | | |
100 | | template<class T> |
101 | | inline nsQueryObjectWithError<T> |
102 | | do_QueryObject(RefPtr<T>& aRawPtr, nsresult* aErrorPtr) |
103 | | { |
104 | | return nsQueryObjectWithError<T>(aRawPtr, aErrorPtr); |
105 | | } |
106 | | |
107 | | /*****************************************************************************/ |
108 | | |
109 | | #endif // !defined(nsQueryObject_h) |