Coverage Report

Created: 2018-09-25 14:53

/work/obj-fuzz/dist/include/mozilla/NotNull.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 mozilla_NotNull_h
8
#define mozilla_NotNull_h
9
10
// It's often unclear if a particular pointer, be it raw (T*) or smart
11
// (RefPtr<T>, nsCOMPtr<T>, etc.) can be null. This leads to missing null
12
// checks (which can cause crashes) and unnecessary null checks (which clutter
13
// the code).
14
//
15
// C++ has a built-in alternative that avoids these problems: references. This
16
// module defines another alternative, NotNull, which can be used in cases
17
// where references are not suitable.
18
//
19
// In the comments below we use the word "handle" to cover all varieties of
20
// pointers and references.
21
//
22
// References
23
// ----------
24
// References are always non-null. (You can do |T& r = *p;| where |p| is null,
25
// but that's undefined behaviour. C++ doesn't provide any built-in, ironclad
26
// guarantee of non-nullness.)
27
//
28
// A reference works well when you need a temporary handle to an existing
29
// single object, e.g. for passing a handle to a function, or as a local handle
30
// within another object. (In Rust parlance, this is a "borrow".)
31
//
32
// A reference is less appropriate in the following cases.
33
//
34
// - As a primary handle to an object. E.g. code such as this is possible but
35
//   strange: |T& t = *new T(); ...; delete &t;|
36
//
37
// - As a handle to an array. It's common for |T*| to refer to either a single
38
//   |T| or an array of |T|, but |T&| cannot refer to an array of |T| because
39
//   you can't index off a reference (at least, not without first converting it
40
//   to a pointer).
41
//
42
// - When the handle identity is meaningful, e.g. if you have a hashtable of
43
//   handles, because you have to use |&| on the reference to convert it to a
44
//   pointer.
45
//
46
// - Some people don't like using non-const references as function parameters,
47
//   because it is not clear at the call site that the argument might be
48
//   modified.
49
//
50
// - When you need "smart" behaviour. E.g. we lack reference equivalents to
51
//   RefPtr and nsCOMPtr.
52
//
53
// - When interfacing with code that uses pointers a lot, sometimes using a
54
//   reference just feels like an odd fit.
55
//
56
// Furthermore, a reference is impossible in the following cases.
57
//
58
// - When the handle is rebound to another object. References don't allow this.
59
//
60
// - When the handle has type |void|. |void&| is not allowed.
61
//
62
// NotNull is an alternative that can be used in any of the above cases except
63
// for the last one, where the handle type is |void|. See below.
64
65
#include "mozilla/Assertions.h"
66
#include "mozilla/Move.h"
67
#include <stddef.h>
68
69
namespace mozilla {
70
71
// NotNull can be used to wrap a "base" pointer (raw or smart) to indicate it
72
// is not null. Some examples:
73
//
74
// - NotNull<char*>
75
// - NotNull<RefPtr<Event>>
76
// - NotNull<nsCOMPtr<Event>>
77
//
78
// NotNull has the following notable properties.
79
//
80
// - It has zero space overhead.
81
//
82
// - It must be initialized explicitly. There is no default initialization.
83
//
84
// - It auto-converts to the base pointer type.
85
//
86
// - It does not auto-convert from a base pointer. Implicit conversion from a
87
//   less-constrained type (e.g. T*) to a more-constrained type (e.g.
88
//   NotNull<T*>) is dangerous. Creation and assignment from a base pointer can
89
//   only be done with WrapNotNull() or MakeNotNull<>(), which makes them
90
//   impossible to overlook, both when writing and reading code.
91
//
92
// - When initialized (or assigned) it is checked, and if it is null we abort.
93
//   This guarantees that it cannot be null.
94
//
95
// - |operator bool()| is deleted. This means you cannot check a NotNull in a
96
//   boolean context, which eliminates the possibility of unnecessary null
97
//   checks.
98
//
99
// NotNull currently doesn't work with UniquePtr. See
100
// https://github.com/Microsoft/GSL/issues/89 for some discussion.
101
//
102
template <typename T>
103
class NotNull
104
{
105
  template <typename U> friend constexpr NotNull<U> WrapNotNull(U aBasePtr);
106
  template<typename U, typename... Args>
107
  friend constexpr NotNull<U> MakeNotNull(Args&&... aArgs);
108
109
  T mBasePtr;
110
111
  // This constructor is only used by WrapNotNull() and MakeNotNull<U>().
112
  template <typename U>
113
67
  constexpr explicit NotNull(U aBasePtr) : mBasePtr(aBasePtr) {}
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::detail::SchedulerEventQueue> >::NotNull<RefPtr<mozilla::detail::SchedulerEventQueue> >(RefPtr<mozilla::detail::SchedulerEventQueue>)
Unexecuted instantiation: mozilla::NotNull<nsThreadShutdownContext*>::NotNull<nsThreadShutdownContext*>(nsThreadShutdownContext*)
Unexecuted instantiation: mozilla::NotNull<nsThread*>::NotNull<nsThread*>(nsThread*)
Unexecuted instantiation: mozilla::NotNull<RefPtr<nsThread> >::NotNull<RefPtr<nsThread> >(RefPtr<nsThread>)
Unexecuted instantiation: mozilla::NotNull<mozilla::SynchronizedEventQueue*>::NotNull<mozilla::SynchronizedEventQueue*>(mozilla::SynchronizedEventQueue*)
mozilla::NotNull<RefPtr<mozilla::ThreadEventQueue<mozilla::EventQueue> > >::NotNull<RefPtr<mozilla::ThreadEventQueue<mozilla::EventQueue> > >(RefPtr<mozilla::ThreadEventQueue<mozilla::EventQueue> >)
Line
Count
Source
113
43
  constexpr explicit NotNull(U aBasePtr) : mBasePtr(aBasePtr) {}
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::ThreadEventQueue<mozilla::PrioritizedEventQueue<mozilla::LabeledEventQueue> > > >::NotNull<RefPtr<mozilla::ThreadEventQueue<mozilla::PrioritizedEventQueue<mozilla::LabeledEventQueue> > > >(RefPtr<mozilla::ThreadEventQueue<mozilla::PrioritizedEventQueue<mozilla::LabeledEventQueue> > >)
mozilla::NotNull<RefPtr<mozilla::ThreadEventQueue<mozilla::PrioritizedEventQueue<mozilla::EventQueue> > > >::NotNull<RefPtr<mozilla::ThreadEventQueue<mozilla::PrioritizedEventQueue<mozilla::EventQueue> > > >(RefPtr<mozilla::ThreadEventQueue<mozilla::PrioritizedEventQueue<mozilla::EventQueue> > >)
Line
Count
Source
113
3
  constexpr explicit NotNull(U aBasePtr) : mBasePtr(aBasePtr) {}
Unexecuted instantiation: mozilla::NotNull<mozilla::Encoding const*>::NotNull<mozilla::Encoding const*>(mozilla::Encoding const*)
Unexecuted instantiation: mozilla::NotNull<mozilla::net::CookieServiceParent*>::NotNull<mozilla::net::CookieServiceParent*>(mozilla::net::CookieServiceParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::net::DNSRequestChild*>::NotNull<mozilla::net::DNSRequestChild*>(mozilla::net::DNSRequestChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::net::FTPChannelChild*>::NotNull<mozilla::net::FTPChannelChild*>(mozilla::net::FTPChannelChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::net::FTPChannelParent*>::NotNull<mozilla::net::FTPChannelParent*>(mozilla::net::FTPChannelParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::net::HttpChannelParent*>::NotNull<mozilla::net::HttpChannelParent*>(mozilla::net::HttpChannelParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::ipc::IProtocol*>(mozilla::ipc::IProtocol*)
Unexecuted instantiation: mozilla::NotNull<mozilla::net::WebSocketChannelParent*>::NotNull<mozilla::net::WebSocketChannelParent*>(mozilla::net::WebSocketChannelParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::net::WyciwygChannelParent*>::NotNull<mozilla::net::WyciwygChannelParent*>(mozilla::net::WyciwygChannelParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::net::NeckoChild*>::NotNull<mozilla::net::NeckoChild*>(mozilla::net::NeckoChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::net::NeckoParent*>::NotNull<mozilla::net::NeckoParent*>(mozilla::net::NeckoParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::BackgroundParentImpl*>::NotNull<mozilla::ipc::BackgroundParentImpl*>(mozilla::ipc::BackgroundParentImpl*)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::TestShellChild*>::NotNull<mozilla::ipc::TestShellChild*>(mozilla::ipc::TestShellChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::TestShellCommandParent*>::NotNull<mozilla::ipc::TestShellCommandParent*>(mozilla::ipc::TestShellCommandParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::jsipc::JavaScriptBase<mozilla::jsipc::PJavaScriptChild>*>::NotNull<mozilla::jsipc::JavaScriptBase<mozilla::jsipc::PJavaScriptChild>*>(mozilla::jsipc::JavaScriptBase<mozilla::jsipc::PJavaScriptChild>*)
Unexecuted instantiation: mozilla::NotNull<mozilla::jsipc::JavaScriptBase<mozilla::jsipc::PJavaScriptParent>*>::NotNull<mozilla::jsipc::JavaScriptBase<mozilla::jsipc::PJavaScriptParent>*>(mozilla::jsipc::JavaScriptBase<mozilla::jsipc::PJavaScriptParent>*)
Unexecuted instantiation: mozilla::NotNull<mozilla::loader::ScriptCacheParent*>::NotNull<mozilla::loader::ScriptCacheParent*>(mozilla::loader::ScriptCacheParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::WebrtcGlobalParent*>::NotNull<mozilla::dom::WebrtcGlobalParent*>(mozilla::dom::WebrtcGlobalParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::WebrtcGlobalChild*>::NotNull<mozilla::dom::WebrtcGlobalChild*>(mozilla::dom::WebrtcGlobalChild*)
mozilla::NotNull<mozilla::SharedFontList*>::NotNull<mozilla::SharedFontList*>(mozilla::SharedFontList*)
Line
Count
Source
113
21
  constexpr explicit NotNull(U aBasePtr) : mBasePtr(aBasePtr) {}
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::WebRenderBridgeParent*>::NotNull<mozilla::layers::WebRenderBridgeParent*>(mozilla::layers::WebRenderBridgeParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::APZCTreeManagerParent*>::NotNull<mozilla::layers::APZCTreeManagerParent*>(mozilla::layers::APZCTreeManagerParent*)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::layers::CompositableHost> >::NotNull<RefPtr<mozilla::layers::CompositableHost> >(RefPtr<mozilla::layers::CompositableHost>)
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::CompositorBridgeChild*>::NotNull<mozilla::layers::CompositorBridgeChild*>(mozilla::layers::CompositorBridgeChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::CompositorBridgeParent*>::NotNull<mozilla::layers::CompositorBridgeParent*>(mozilla::layers::CompositorBridgeParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::CrossProcessCompositorBridgeParent*>::NotNull<mozilla::layers::CrossProcessCompositorBridgeParent*>(mozilla::layers::CrossProcessCompositorBridgeParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::ImageBridgeChild*>::NotNull<mozilla::layers::ImageBridgeChild*>(mozilla::layers::ImageBridgeChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::ImageBridgeParent*>::NotNull<mozilla::layers::ImageBridgeParent*>(mozilla::layers::ImageBridgeParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::LayerTransactionParent*>::NotNull<mozilla::layers::LayerTransactionParent*>(mozilla::layers::LayerTransactionParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gfx::GPUParent*>::NotNull<mozilla::gfx::GPUParent*>(mozilla::gfx::GPUParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gfx::VRManagerParent*>::NotNull<mozilla::gfx::VRManagerParent*>(mozilla::gfx::VRManagerParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gfx::VRParent*>::NotNull<mozilla::gfx::VRParent*>(mozilla::gfx::VRParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::AnimationSurfaceProvider*>::NotNull<mozilla::image::AnimationSurfaceProvider*>(mozilla::image::AnimationSurfaceProvider*)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::RasterImage> >::NotNull<RefPtr<mozilla::image::RasterImage> >(RefPtr<mozilla::image::RasterImage>)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::Decoder> >::NotNull<RefPtr<mozilla::image::Decoder> >(RefPtr<mozilla::image::Decoder>)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::DecodedSurfaceProvider*>::NotNull<mozilla::image::DecodedSurfaceProvider*>(mozilla::image::DecodedSurfaceProvider*)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::imgFrame> >::NotNull<mozilla::image::imgFrame*>(mozilla::image::imgFrame*)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::DecodedSurfaceProvider> >::NotNull<mozilla::image::DecodedSurfaceProvider*>(mozilla::image::DecodedSurfaceProvider*)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::AnimationSurfaceProvider> >::NotNull<mozilla::image::AnimationSurfaceProvider*>(mozilla::image::AnimationSurfaceProvider*)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::MetadataDecodingTask*>::NotNull<mozilla::image::MetadataDecodingTask*>(mozilla::image::MetadataDecodingTask*)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::RasterImage*>::NotNull<mozilla::image::RasterImage*>(mozilla::image::RasterImage*)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::AnonymousDecodingTask*>::NotNull<mozilla::image::AnonymousDecodingTask*>(mozilla::image::AnonymousDecodingTask*)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::ImageResource*>::NotNull<mozilla::image::ImageResource*>(mozilla::image::ImageResource*)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::SourceBuffer> >::NotNull<RefPtr<mozilla::image::SourceBuffer> >(RefPtr<mozilla::image::SourceBuffer>)
Unexecuted instantiation: mozilla::NotNull<nsCOMPtr<nsIEventTarget> >::NotNull<nsCOMPtr<nsIEventTarget> >(nsCOMPtr<nsIEventTarget>)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::SourceBuffer*>::NotNull<mozilla::image::SourceBuffer*>(mozilla::image::SourceBuffer*)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::CachedSurface*>::NotNull<mozilla::image::CachedSurface*>(mozilla::image::CachedSurface*)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::CachedSurface> >::NotNull<RefPtr<mozilla::image::CachedSurface> >(RefPtr<mozilla::image::CachedSurface>)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::ImageSurfaceCache> >::NotNull<RefPtr<mozilla::image::ImageSurfaceCache> >(RefPtr<mozilla::image::ImageSurfaceCache>)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::CachedSurface> >::NotNull<mozilla::image::CachedSurface*>(mozilla::image::CachedSurface*)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::SimpleSurfaceProvider*>::NotNull<mozilla::image::SimpleSurfaceProvider*>(mozilla::image::SimpleSurfaceProvider*)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::VectorImage*>::NotNull<mozilla::image::VectorImage*>(mozilla::image::VectorImage*)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::nsICODecoder*>::NotNull<mozilla::image::nsICODecoder*>(mozilla::image::nsICODecoder*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::ContentPermissionRequestParent*>::NotNull<mozilla::dom::ContentPermissionRequestParent*>(mozilla::dom::ContentPermissionRequestParent*)
Unexecuted instantiation: mozilla::NotNull<RemotePermissionRequest*>::NotNull<RemotePermissionRequest*>(RemotePermissionRequest*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::IPCBlobInputStreamParent*>::NotNull<mozilla::dom::IPCBlobInputStreamParent*>(mozilla::dom::IPCBlobInputStreamParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::FileHandle*>::NotNull<mozilla::dom::FileHandle*>(mozilla::dom::FileHandle*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::GamepadEventChannelParent*>::NotNull<mozilla::dom::GamepadEventChannelParent*>(mozilla::dom::GamepadEventChannelParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::GamepadTestChannelParent*>::NotNull<mozilla::dom::GamepadTestChannelParent*>(mozilla::dom::GamepadTestChannelParent*)
Unexecuted instantiation: AsmJSCache.cpp:mozilla::NotNull<mozilla::dom::asmjscache::(anonymous namespace)::ChildRunnable*>::NotNull<mozilla::dom::asmjscache::(anonymous namespace)::ChildRunnable*>(mozilla::dom::asmjscache::(anonymous namespace)::ChildRunnable*)
Unexecuted instantiation: mozilla::NotNull<mozilla::MediaFormatReader*>::NotNull<mozilla::MediaFormatReader*>(mozilla::MediaFormatReader*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPChild*>::NotNull<mozilla::gmp::GMPChild*>(mozilla::gmp::GMPChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPContentChild*>::NotNull<mozilla::gmp::GMPContentChild*>(mozilla::gmp::GMPContentChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPParent*>::NotNull<mozilla::gmp::GMPParent*>(mozilla::gmp::GMPParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPServiceParent*>::NotNull<mozilla::gmp::GMPServiceParent*>(mozilla::gmp::GMPServiceParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPStorageParent*>::NotNull<mozilla::gmp::GMPStorageParent*>(mozilla::gmp::GMPStorageParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPVideoDecoderChild*>::NotNull<mozilla::gmp::GMPVideoDecoderChild*>(mozilla::gmp::GMPVideoDecoderChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPVideoDecoderParent*>::NotNull<mozilla::gmp::GMPVideoDecoderParent*>(mozilla::gmp::GMPVideoDecoderParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPVideoEncoderChild*>::NotNull<mozilla::gmp::GMPVideoEncoderChild*>(mozilla::gmp::GMPVideoEncoderChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPVideoEncoderParent*>::NotNull<mozilla::gmp::GMPVideoEncoderParent*>(mozilla::gmp::GMPVideoEncoderParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::TaskQueue*>::NotNull<mozilla::TaskQueue*>(mozilla::TaskQueue*)
Unexecuted instantiation: mozilla::NotNull<mozilla::camera::CamerasParent*>::NotNull<mozilla::camera::CamerasParent*>(mozilla::camera::CamerasParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::media::Child*>::NotNull<mozilla::media::Child*>(mozilla::media::Child*)
Unexecuted instantiation: mozilla::NotNull<mozilla::media::Parent<mozilla::media::PMediaParent>*>::NotNull<mozilla::media::Parent<mozilla::media::PMediaParent>*>(mozilla::media::Parent<mozilla::media::PMediaParent>*)
Unexecuted instantiation: Unified_cpp_dom_quota0.cpp:mozilla::NotNull<mozilla::dom::quota::(anonymous namespace)::Quota*>::NotNull<mozilla::dom::quota::(anonymous namespace)::Quota*>(mozilla::dom::quota::(anonymous namespace)::Quota*)
Unexecuted instantiation: Unified_cpp_dom_quota0.cpp:mozilla::NotNull<mozilla::dom::quota::(anonymous namespace)::QuotaUsageRequestBase*>::NotNull<mozilla::dom::quota::(anonymous namespace)::QuotaUsageRequestBase*>(mozilla::dom::quota::(anonymous namespace)::QuotaUsageRequestBase*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::LocalStorageCacheChild*>::NotNull<mozilla::dom::LocalStorageCacheChild*>(mozilla::dom::LocalStorageCacheChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::StorageDBParent*>::NotNull<mozilla::dom::StorageDBParent*>(mozilla::dom::StorageDBParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::TCPSocketParent*>::NotNull<mozilla::dom::TCPSocketParent*>(mozilla::dom::TCPSocketParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::UDPSocketParent*>::NotNull<mozilla::dom::UDPSocketParent*>(mozilla::dom::UDPSocketParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::plugins::PluginInstanceChild*>::NotNull<mozilla::plugins::PluginInstanceChild*>(mozilla::plugins::PluginInstanceChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::plugins::BrowserStreamParent*>::NotNull<mozilla::plugins::BrowserStreamParent*>(mozilla::plugins::BrowserStreamParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::plugins::FunctionBrokerParent*>::NotNull<mozilla::plugins::FunctionBrokerParent*>(mozilla::plugins::FunctionBrokerParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::plugins::PluginInstanceParent*>::NotNull<mozilla::plugins::PluginInstanceParent*>(mozilla::plugins::PluginInstanceParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::plugins::PluginModuleChild*>::NotNull<mozilla::plugins::PluginModuleChild*>(mozilla::plugins::PluginModuleChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::plugins::PluginModuleParent*>::NotNull<mozilla::plugins::PluginModuleParent*>(mozilla::plugins::PluginModuleParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::plugins::PluginScriptableObjectParent*>::NotNull<mozilla::plugins::PluginScriptableObjectParent*>(mozilla::plugins::PluginScriptableObjectParent*)
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::Database*>::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::Database*>(mozilla::dom::indexedDB::(anonymous namespace)::Database*)
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::MutableFile*>::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::MutableFile*>(mozilla::dom::indexedDB::(anonymous namespace)::MutableFile*)
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::NormalTransaction*>::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::NormalTransaction*>(mozilla::dom::indexedDB::(anonymous namespace)::NormalTransaction*)
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::Cursor*>::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::Cursor*>(mozilla::dom::indexedDB::(anonymous namespace)::Cursor*)
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::VersionChangeTransaction*>::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::VersionChangeTransaction*>(mozilla::dom::indexedDB::(anonymous namespace)::VersionChangeTransaction*)
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::Utils*>::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::Utils*>(mozilla::dom::indexedDB::(anonymous namespace)::Utils*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::indexedDB::BackgroundFactoryRequestChild*>::NotNull<mozilla::dom::indexedDB::BackgroundFactoryRequestChild*>(mozilla::dom::indexedDB::BackgroundFactoryRequestChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::indexedDB::BackgroundDatabaseRequestChild*>::NotNull<mozilla::dom::indexedDB::BackgroundDatabaseRequestChild*>(mozilla::dom::indexedDB::BackgroundDatabaseRequestChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::indexedDB::BackgroundRequestChild*>::NotNull<mozilla::dom::indexedDB::BackgroundRequestChild*>(mozilla::dom::indexedDB::BackgroundRequestChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::ContentChild*>::NotNull<mozilla::dom::ContentChild*>(mozilla::dom::ContentChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::ContentParent*>::NotNull<mozilla::dom::ContentParent*>(mozilla::dom::ContentParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::TabChild*>::NotNull<mozilla::dom::TabChild*>(mozilla::dom::TabChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::TabParent*>::NotNull<mozilla::dom::TabParent*>(mozilla::dom::TabParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::ThreadEventQueue<mozilla::EventQueue>*>::NotNull<mozilla::ThreadEventQueue<mozilla::EventQueue>*>(mozilla::ThreadEventQueue<mozilla::EventQueue>*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::BroadcastChannelParent*>::NotNull<mozilla::dom::BroadcastChannelParent*>(mozilla::dom::BroadcastChannelParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::MessagePortParent*>::NotNull<mozilla::dom::MessagePortParent*>(mozilla::dom::MessagePortParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::WebAuthnTransactionChild*>::NotNull<mozilla::dom::WebAuthnTransactionChild*>(mozilla::dom::WebAuthnTransactionChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::WebBrowserPersistDocumentParent*>::NotNull<mozilla::WebBrowserPersistDocumentParent*>(mozilla::WebBrowserPersistDocumentParent*)
Unexecuted instantiation: mozilla::NotNull<nsCOMPtr<nsIHttpChannel> >::NotNull<nsCOMPtr<nsIHttpChannel> >(nsCOMPtr<nsIHttpChannel>)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::PaymentRequestChild*>::NotNull<mozilla::dom::PaymentRequestChild*>(mozilla::dom::PaymentRequestChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::PaymentRequestParent*>::NotNull<mozilla::dom::PaymentRequestParent*>(mozilla::dom::PaymentRequestParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::ServiceWorkerManagerParent*>::NotNull<mozilla::dom::ServiceWorkerManagerParent*>(mozilla::dom::ServiceWorkerManagerParent*)
Unexecuted instantiation: Unified_cpp_dom_simpledb0.cpp:mozilla::NotNull<mozilla::dom::(anonymous namespace)::Connection*>::NotNull<mozilla::dom::(anonymous namespace)::Connection*>(mozilla::dom::(anonymous namespace)::Connection*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::PresentationBuilderChild*>::NotNull<mozilla::dom::PresentationBuilderChild*>(mozilla::dom::PresentationBuilderChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::PresentationBuilderParent*>::NotNull<mozilla::dom::PresentationBuilderParent*>(mozilla::dom::PresentationBuilderParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::PresentationChild*>::NotNull<mozilla::dom::PresentationChild*>(mozilla::dom::PresentationChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::PresentationParent*>::NotNull<mozilla::dom::PresentationParent*>(mozilla::dom::PresentationParent*)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::gfx::DataSourceSurface> >::NotNull<RefPtr<mozilla::gfx::DataSourceSurface> >(RefPtr<mozilla::gfx::DataSourceSurface>)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::DeclarationBlock> >::NotNull<RefPtr<mozilla::DeclarationBlock> >(RefPtr<mozilla::DeclarationBlock>)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::dom::Promise> >::NotNull<RefPtr<mozilla::dom::Promise> >(RefPtr<mozilla::dom::Promise>)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::gfx::DrawTarget> >::NotNull<RefPtr<mozilla::gfx::DrawTarget> >(RefPtr<mozilla::gfx::DrawTarget>)
Unexecuted instantiation: mozilla::NotNull<mozilla::layout::VsyncParent*>::NotNull<mozilla::layout::VsyncParent*>(mozilla::layout::VsyncParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::a11y::DocAccessibleParent*>::NotNull<mozilla::a11y::DocAccessibleParent*>(mozilla::a11y::DocAccessibleParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::a11y::DocAccessibleChild*>::NotNull<mozilla::a11y::DocAccessibleChild*>(mozilla::a11y::DocAccessibleChild*)
Unexecuted instantiation: mozilla::NotNull<nsCOMPtr<nsIMutableArray> >::NotNull<nsCOMPtr<nsIMutableArray> >(nsCOMPtr<nsIMutableArray>)
Unexecuted instantiation: mozilla::NotNull<mozilla::extensions::StreamFilterChild*>::NotNull<mozilla::extensions::StreamFilterChild*>(mozilla::extensions::StreamFilterChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::devtools::HeapSnapshotTempFileHelperParent*>::NotNull<mozilla::devtools::HeapSnapshotTempFileHelperParent*>(mozilla::devtools::HeapSnapshotTempFileHelperParent*)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::SourceBuffer> >::NotNull<mozilla::image::SourceBuffer*>(mozilla::image::SourceBuffer*)
114
115
public:
116
  // Disallow default construction.
117
  NotNull() = delete;
118
119
  // Construct/assign from another NotNull with a compatible base pointer type.
120
  template <typename U>
121
  constexpr MOZ_IMPLICIT NotNull(const NotNull<U>& aOther)
122
    : mBasePtr(aOther.get())
123
67
  {
124
67
    static_assert(sizeof(T) == sizeof(NotNull<T>),
125
67
                  "NotNull must have zero space overhead.");
126
67
    static_assert(offsetof(NotNull<T>, mBasePtr) == 0,
127
67
                  "mBasePtr must have zero offset.");
128
67
  }
Unexecuted instantiation: mozilla::NotNull<mozilla::SynchronizedEventQueue*>::NotNull<RefPtr<mozilla::detail::SchedulerEventQueue> >(mozilla::NotNull<RefPtr<mozilla::detail::SchedulerEventQueue> > const&)
Unexecuted instantiation: mozilla::NotNull<RefPtr<nsThread> >::NotNull<nsThread*>(mozilla::NotNull<nsThread*> const&)
Unexecuted instantiation: mozilla::NotNull<nsThread*>::NotNull<RefPtr<nsThread> >(mozilla::NotNull<RefPtr<nsThread> > const&)
mozilla::NotNull<mozilla::SynchronizedEventQueue*>::NotNull<RefPtr<mozilla::ThreadEventQueue<mozilla::EventQueue> > >(mozilla::NotNull<RefPtr<mozilla::ThreadEventQueue<mozilla::EventQueue> > > const&)
Line
Count
Source
123
43
  {
124
43
    static_assert(sizeof(T) == sizeof(NotNull<T>),
125
43
                  "NotNull must have zero space overhead.");
126
43
    static_assert(offsetof(NotNull<T>, mBasePtr) == 0,
127
43
                  "mBasePtr must have zero offset.");
128
43
  }
Unexecuted instantiation: mozilla::NotNull<mozilla::SynchronizedEventQueue*>::NotNull<RefPtr<mozilla::ThreadEventQueue<mozilla::PrioritizedEventQueue<mozilla::LabeledEventQueue> > > >(mozilla::NotNull<RefPtr<mozilla::ThreadEventQueue<mozilla::PrioritizedEventQueue<mozilla::LabeledEventQueue> > > > const&)
mozilla::NotNull<mozilla::SynchronizedEventQueue*>::NotNull<RefPtr<mozilla::ThreadEventQueue<mozilla::PrioritizedEventQueue<mozilla::EventQueue> > > >(mozilla::NotNull<RefPtr<mozilla::ThreadEventQueue<mozilla::PrioritizedEventQueue<mozilla::EventQueue> > > > const&)
Line
Count
Source
123
3
  {
124
3
    static_assert(sizeof(T) == sizeof(NotNull<T>),
125
3
                  "NotNull must have zero space overhead.");
126
3
    static_assert(offsetof(NotNull<T>, mBasePtr) == 0,
127
3
                  "mBasePtr must have zero offset.");
128
3
  }
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::net::CookieServiceParent*>(mozilla::NotNull<mozilla::net::CookieServiceParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::net::DNSRequestChild*>(mozilla::NotNull<mozilla::net::DNSRequestChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::net::FTPChannelChild*>(mozilla::NotNull<mozilla::net::FTPChannelChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::net::FTPChannelParent*>(mozilla::NotNull<mozilla::net::FTPChannelParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::net::HttpChannelParent*>(mozilla::NotNull<mozilla::net::HttpChannelParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::net::WebSocketChannelParent*>(mozilla::NotNull<mozilla::net::WebSocketChannelParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::net::WyciwygChannelParent*>(mozilla::NotNull<mozilla::net::WyciwygChannelParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::net::NeckoChild*>(mozilla::NotNull<mozilla::net::NeckoChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::net::NeckoParent*>(mozilla::NotNull<mozilla::net::NeckoParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::ipc::BackgroundParentImpl*>(mozilla::NotNull<mozilla::ipc::BackgroundParentImpl*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::ipc::TestShellChild*>(mozilla::NotNull<mozilla::ipc::TestShellChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::ipc::TestShellCommandParent*>(mozilla::NotNull<mozilla::ipc::TestShellCommandParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::jsipc::JavaScriptBase<mozilla::jsipc::PJavaScriptChild>*>(mozilla::NotNull<mozilla::jsipc::JavaScriptBase<mozilla::jsipc::PJavaScriptChild>*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::jsipc::JavaScriptBase<mozilla::jsipc::PJavaScriptParent>*>(mozilla::NotNull<mozilla::jsipc::JavaScriptBase<mozilla::jsipc::PJavaScriptParent>*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::loader::ScriptCacheParent*>(mozilla::NotNull<mozilla::loader::ScriptCacheParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::WebrtcGlobalParent*>(mozilla::NotNull<mozilla::dom::WebrtcGlobalParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::WebrtcGlobalChild*>(mozilla::NotNull<mozilla::dom::WebrtcGlobalChild*> const&)
mozilla::NotNull<RefPtr<mozilla::SharedFontList> >::NotNull<mozilla::SharedFontList*>(mozilla::NotNull<mozilla::SharedFontList*> const&)
Line
Count
Source
123
21
  {
124
21
    static_assert(sizeof(T) == sizeof(NotNull<T>),
125
21
                  "NotNull must have zero space overhead.");
126
21
    static_assert(offsetof(NotNull<T>, mBasePtr) == 0,
127
21
                  "mBasePtr must have zero offset.");
128
21
  }
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::layers::WebRenderBridgeParent*>(mozilla::NotNull<mozilla::layers::WebRenderBridgeParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::layers::APZCTreeManagerParent*>(mozilla::NotNull<mozilla::layers::APZCTreeManagerParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::CompositableHost*>::NotNull<RefPtr<mozilla::layers::CompositableHost> >(mozilla::NotNull<RefPtr<mozilla::layers::CompositableHost> > const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::layers::CompositorBridgeChild*>(mozilla::NotNull<mozilla::layers::CompositorBridgeChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::layers::CompositorBridgeParent*>(mozilla::NotNull<mozilla::layers::CompositorBridgeParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::layers::CrossProcessCompositorBridgeParent*>(mozilla::NotNull<mozilla::layers::CrossProcessCompositorBridgeParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::layers::ImageBridgeChild*>(mozilla::NotNull<mozilla::layers::ImageBridgeChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::layers::ImageBridgeParent*>(mozilla::NotNull<mozilla::layers::ImageBridgeParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::layers::LayerTransactionParent*>(mozilla::NotNull<mozilla::layers::LayerTransactionParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::SharedFontList*>::NotNull<RefPtr<mozilla::SharedFontList> >(mozilla::NotNull<RefPtr<mozilla::SharedFontList> > const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::gfx::GPUParent*>(mozilla::NotNull<mozilla::gfx::GPUParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::gfx::VRManagerParent*>(mozilla::NotNull<mozilla::gfx::VRManagerParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::gfx::VRParent*>(mozilla::NotNull<mozilla::gfx::VRParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::RasterImage*>::NotNull<RefPtr<mozilla::image::RasterImage> >(mozilla::NotNull<RefPtr<mozilla::image::RasterImage> > const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::Decoder*>::NotNull<RefPtr<mozilla::image::Decoder> >(mozilla::NotNull<RefPtr<mozilla::image::Decoder> > const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::ISurfaceProvider*>::NotNull<mozilla::image::AnimationSurfaceProvider*>(mozilla::NotNull<mozilla::image::AnimationSurfaceProvider*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::ISurfaceProvider*>::NotNull<mozilla::image::DecodedSurfaceProvider*>(mozilla::NotNull<mozilla::image::DecodedSurfaceProvider*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::ISurfaceProvider*>::NotNull<RefPtr<mozilla::image::DecodedSurfaceProvider> >(mozilla::NotNull<RefPtr<mozilla::image::DecodedSurfaceProvider> > const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::ISurfaceProvider*>::NotNull<RefPtr<mozilla::image::AnimationSurfaceProvider> >(mozilla::NotNull<RefPtr<mozilla::image::AnimationSurfaceProvider> > const&)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::RasterImage> >::NotNull<mozilla::image::RasterImage*>(mozilla::NotNull<mozilla::image::RasterImage*> const&)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::Decoder> >::NotNull<mozilla::image::Decoder*>(mozilla::NotNull<mozilla::image::Decoder*> const&)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::ImageResource> >::NotNull<mozilla::image::ImageResource*>(mozilla::NotNull<mozilla::image::ImageResource*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::SourceBuffer*>::NotNull<RefPtr<mozilla::image::SourceBuffer> >(mozilla::NotNull<RefPtr<mozilla::image::SourceBuffer> > const&)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::SourceBuffer> >::NotNull<mozilla::image::SourceBuffer*>(mozilla::NotNull<mozilla::image::SourceBuffer*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::CachedSurface*>::NotNull<RefPtr<mozilla::image::CachedSurface> >(mozilla::NotNull<RefPtr<mozilla::image::CachedSurface> > const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::ImageSurfaceCache*>::NotNull<RefPtr<mozilla::image::ImageSurfaceCache> >(mozilla::NotNull<RefPtr<mozilla::image::ImageSurfaceCache> > const&)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::ISurfaceProvider> >::NotNull<mozilla::image::ISurfaceProvider*>(mozilla::NotNull<mozilla::image::ISurfaceProvider*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::imgFrame*>::NotNull<RefPtr<mozilla::image::imgFrame> >(mozilla::NotNull<RefPtr<mozilla::image::imgFrame> > const&)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::imgFrame> >::NotNull<mozilla::image::imgFrame*>(mozilla::NotNull<mozilla::image::imgFrame*> const&)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::ISurfaceProvider> >::NotNull<mozilla::image::SimpleSurfaceProvider*>(mozilla::NotNull<mozilla::image::SimpleSurfaceProvider*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::ISurfaceProvider*>::NotNull<RefPtr<mozilla::image::ISurfaceProvider> >(mozilla::NotNull<RefPtr<mozilla::image::ISurfaceProvider> > const&)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::VectorImage> >::NotNull<mozilla::image::VectorImage*>(mozilla::NotNull<mozilla::image::VectorImage*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::ContentPermissionRequestParent*>(mozilla::NotNull<mozilla::dom::ContentPermissionRequestParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<RemotePermissionRequest*>(mozilla::NotNull<RemotePermissionRequest*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::IPCBlobInputStreamParent*>(mozilla::NotNull<mozilla::dom::IPCBlobInputStreamParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::FileHandle*>(mozilla::NotNull<mozilla::dom::FileHandle*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::GamepadEventChannelParent*>(mozilla::NotNull<mozilla::dom::GamepadEventChannelParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::GamepadTestChannelParent*>(mozilla::NotNull<mozilla::dom::GamepadTestChannelParent*> const&)
Unexecuted instantiation: AsmJSCache.cpp:mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::asmjscache::(anonymous namespace)::ChildRunnable*>(mozilla::NotNull<mozilla::dom::asmjscache::(anonymous namespace)::ChildRunnable*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::gmp::GMPChild*>(mozilla::NotNull<mozilla::gmp::GMPChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::gmp::GMPContentChild*>(mozilla::NotNull<mozilla::gmp::GMPContentChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::gmp::GMPParent*>(mozilla::NotNull<mozilla::gmp::GMPParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::gmp::GMPServiceParent*>(mozilla::NotNull<mozilla::gmp::GMPServiceParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::gmp::GMPStorageParent*>(mozilla::NotNull<mozilla::gmp::GMPStorageParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::gmp::GMPVideoDecoderChild*>(mozilla::NotNull<mozilla::gmp::GMPVideoDecoderChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::gmp::GMPVideoDecoderParent*>(mozilla::NotNull<mozilla::gmp::GMPVideoDecoderParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::gmp::GMPVideoEncoderChild*>(mozilla::NotNull<mozilla::gmp::GMPVideoEncoderChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::gmp::GMPVideoEncoderParent*>(mozilla::NotNull<mozilla::gmp::GMPVideoEncoderParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::AbstractThread*>::NotNull<mozilla::TaskQueue*>(mozilla::NotNull<mozilla::TaskQueue*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::camera::CamerasParent*>(mozilla::NotNull<mozilla::camera::CamerasParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::media::Child*>(mozilla::NotNull<mozilla::media::Child*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::media::Parent<mozilla::media::PMediaParent>*>(mozilla::NotNull<mozilla::media::Parent<mozilla::media::PMediaParent>*> const&)
Unexecuted instantiation: Unified_cpp_dom_quota0.cpp:mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::quota::(anonymous namespace)::Quota*>(mozilla::NotNull<mozilla::dom::quota::(anonymous namespace)::Quota*> const&)
Unexecuted instantiation: Unified_cpp_dom_quota0.cpp:mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::quota::(anonymous namespace)::QuotaUsageRequestBase*>(mozilla::NotNull<mozilla::dom::quota::(anonymous namespace)::QuotaUsageRequestBase*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::LocalStorageCacheChild*>(mozilla::NotNull<mozilla::dom::LocalStorageCacheChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::StorageDBParent*>(mozilla::NotNull<mozilla::dom::StorageDBParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::TCPSocketParent*>(mozilla::NotNull<mozilla::dom::TCPSocketParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::UDPSocketParent*>(mozilla::NotNull<mozilla::dom::UDPSocketParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::plugins::PluginInstanceChild*>(mozilla::NotNull<mozilla::plugins::PluginInstanceChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::plugins::BrowserStreamParent*>(mozilla::NotNull<mozilla::plugins::BrowserStreamParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::plugins::FunctionBrokerParent*>(mozilla::NotNull<mozilla::plugins::FunctionBrokerParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::plugins::PluginInstanceParent*>(mozilla::NotNull<mozilla::plugins::PluginInstanceParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::plugins::PluginModuleChild*>(mozilla::NotNull<mozilla::plugins::PluginModuleChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::plugins::PluginModuleParent*>(mozilla::NotNull<mozilla::plugins::PluginModuleParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::plugins::PluginScriptableObjectParent*>(mozilla::NotNull<mozilla::plugins::PluginScriptableObjectParent*> const&)
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::Database*>(mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::Database*> const&)
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::MutableFile*>(mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::MutableFile*> const&)
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::NormalTransaction*>(mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::NormalTransaction*> const&)
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::Cursor*>(mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::Cursor*> const&)
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::VersionChangeTransaction*>(mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::VersionChangeTransaction*> const&)
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::Utils*>(mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::Utils*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::indexedDB::BackgroundFactoryRequestChild*>(mozilla::NotNull<mozilla::dom::indexedDB::BackgroundFactoryRequestChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::indexedDB::BackgroundDatabaseRequestChild*>(mozilla::NotNull<mozilla::dom::indexedDB::BackgroundDatabaseRequestChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::indexedDB::BackgroundRequestChild*>(mozilla::NotNull<mozilla::dom::indexedDB::BackgroundRequestChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::ContentChild*>(mozilla::NotNull<mozilla::dom::ContentChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::ContentParent*>(mozilla::NotNull<mozilla::dom::ContentParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::TabChild*>(mozilla::NotNull<mozilla::dom::TabChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::TabParent*>(mozilla::NotNull<mozilla::dom::TabParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::SynchronizedEventQueue*>::NotNull<mozilla::ThreadEventQueue<mozilla::EventQueue>*>(mozilla::NotNull<mozilla::ThreadEventQueue<mozilla::EventQueue>*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::BroadcastChannelParent*>(mozilla::NotNull<mozilla::dom::BroadcastChannelParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::MessagePortParent*>(mozilla::NotNull<mozilla::dom::MessagePortParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::WebAuthnTransactionChild*>(mozilla::NotNull<mozilla::dom::WebAuthnTransactionChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::WebBrowserPersistDocumentParent*>(mozilla::NotNull<mozilla::WebBrowserPersistDocumentParent*> const&)
Unexecuted instantiation: mozilla::NotNull<nsIHttpChannel*>::NotNull<nsCOMPtr<nsIHttpChannel> >(mozilla::NotNull<nsCOMPtr<nsIHttpChannel> > const&)
Unexecuted instantiation: mozilla::NotNull<nsCOMPtr<nsIHttpChannel> >::NotNull<nsIHttpChannel*>(mozilla::NotNull<nsIHttpChannel*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::PaymentRequestChild*>(mozilla::NotNull<mozilla::dom::PaymentRequestChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::PaymentRequestParent*>(mozilla::NotNull<mozilla::dom::PaymentRequestParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::ServiceWorkerManagerParent*>(mozilla::NotNull<mozilla::dom::ServiceWorkerManagerParent*> const&)
Unexecuted instantiation: Unified_cpp_dom_simpledb0.cpp:mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::(anonymous namespace)::Connection*>(mozilla::NotNull<mozilla::dom::(anonymous namespace)::Connection*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::PresentationBuilderChild*>(mozilla::NotNull<mozilla::dom::PresentationBuilderChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::PresentationBuilderParent*>(mozilla::NotNull<mozilla::dom::PresentationBuilderParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::PresentationChild*>(mozilla::NotNull<mozilla::dom::PresentationChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::dom::PresentationParent*>(mozilla::NotNull<mozilla::dom::PresentationParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::gfx::DataSourceSurface*>::NotNull<RefPtr<mozilla::gfx::DataSourceSurface> >(mozilla::NotNull<RefPtr<mozilla::gfx::DataSourceSurface> > const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::DeclarationBlock*>::NotNull<RefPtr<mozilla::DeclarationBlock> >(mozilla::NotNull<RefPtr<mozilla::DeclarationBlock> > const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::Promise*>::NotNull<RefPtr<mozilla::dom::Promise> >(mozilla::NotNull<RefPtr<mozilla::dom::Promise> > const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::gfx::DrawTarget*>::NotNull<RefPtr<mozilla::gfx::DrawTarget> >(mozilla::NotNull<RefPtr<mozilla::gfx::DrawTarget> > const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::layout::VsyncParent*>(mozilla::NotNull<mozilla::layout::VsyncParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::a11y::DocAccessibleParent*>(mozilla::NotNull<mozilla::a11y::DocAccessibleParent*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::a11y::DocAccessibleChild*>(mozilla::NotNull<mozilla::a11y::DocAccessibleChild*> const&)
Unexecuted instantiation: mozilla::NotNull<nsIArray*>::NotNull<nsCOMPtr<nsIMutableArray> >(mozilla::NotNull<nsCOMPtr<nsIMutableArray> > const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::extensions::StreamFilterChild*>(mozilla::NotNull<mozilla::extensions::StreamFilterChild*> const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::NotNull<mozilla::devtools::HeapSnapshotTempFileHelperParent*>(mozilla::NotNull<mozilla::devtools::HeapSnapshotTempFileHelperParent*> const&)
129
130
  // Default copy/move construction and assignment.
131
0
  NotNull(const NotNull<T>&) = default;
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::SharedFontList> >::NotNull(mozilla::NotNull<RefPtr<mozilla::SharedFontList> > const&)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::RasterImage> >::NotNull(mozilla::NotNull<RefPtr<mozilla::image::RasterImage> > const&)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::ImageResource> >::NotNull(mozilla::NotNull<RefPtr<mozilla::image::ImageResource> > const&)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::VectorImage> >::NotNull(mozilla::NotNull<RefPtr<mozilla::image::VectorImage> > const&)
132
0
  NotNull<T>& operator=(const NotNull<T>&) = default;
133
0
  NotNull(NotNull<T>&&) = default;
Unexecuted instantiation: mozilla::NotNull<RefPtr<nsThread> >::NotNull(mozilla::NotNull<RefPtr<nsThread> >&&)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::RasterImage> >::NotNull(mozilla::NotNull<RefPtr<mozilla::image::RasterImage> >&&)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::ImageResource> >::NotNull(mozilla::NotNull<RefPtr<mozilla::image::ImageResource> >&&)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::VectorImage> >::NotNull(mozilla::NotNull<RefPtr<mozilla::image::VectorImage> >&&)
134
0
  NotNull<T>& operator=(NotNull<T>&&) = default;
Unexecuted instantiation: mozilla::NotNull<nsCOMPtr<nsIEventTarget> >::operator=(mozilla::NotNull<nsCOMPtr<nsIEventTarget> >&&)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::SharedFontList> >::operator=(mozilla::NotNull<RefPtr<mozilla::SharedFontList> >&&)
135
136
  // Disallow null checks, which are unnecessary for this type.
137
  explicit operator bool() const = delete;
138
139
  // Explicit conversion to a base pointer. Use only to resolve ambiguity or to
140
  // get a castable pointer.
141
5.62M
  constexpr const T& get() const { return mBasePtr; }
mozilla::NotNull<mozilla::SharedFontList*>::get() const
Line
Count
Source
141
21
  constexpr const T& get() const { return mBasePtr; }
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::SharedFontList> >::get() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::detail::SchedulerEventQueue> >::get() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<nsThread> >::get() const
Unexecuted instantiation: mozilla::NotNull<nsThreadShutdownContext*>::get() const
Unexecuted instantiation: mozilla::NotNull<nsThread*>::get() const
mozilla::NotNull<mozilla::SynchronizedEventQueue*>::get() const
Line
Count
Source
141
46
  constexpr const T& get() const { return mBasePtr; }
mozilla::NotNull<RefPtr<mozilla::ThreadEventQueue<mozilla::EventQueue> > >::get() const
Line
Count
Source
141
43
  constexpr const T& get() const { return mBasePtr; }
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::ThreadEventQueue<mozilla::PrioritizedEventQueue<mozilla::LabeledEventQueue> > > >::get() const
mozilla::NotNull<RefPtr<mozilla::ThreadEventQueue<mozilla::PrioritizedEventQueue<mozilla::EventQueue> > > >::get() const
Line
Count
Source
141
3
  constexpr const T& get() const { return mBasePtr; }
mozilla::NotNull<mozilla::Encoding const*>::get() const
Line
Count
Source
141
5.62M
  constexpr const T& get() const { return mBasePtr; }
Unexecuted instantiation: mozilla::NotNull<mozilla::net::CookieServiceParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::net::DNSRequestChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::net::FTPChannelChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::net::FTPChannelParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::net::HttpChannelParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::net::WebSocketChannelParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::net::WyciwygChannelParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::net::NeckoChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::net::NeckoParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::BackgroundParentImpl*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::media::Parent<mozilla::media::PMediaParent>*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::TestShellChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::TestShellCommandParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::jsipc::JavaScriptBase<mozilla::jsipc::PJavaScriptChild>*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::jsipc::JavaScriptBase<mozilla::jsipc::PJavaScriptParent>*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::loader::ScriptCacheParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::WebrtcGlobalParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::WebrtcGlobalChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::WebRenderBridgeParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::APZCTreeManagerParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::layers::CompositableHost> >::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::CompositableHost*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::CompositorBridgeChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::CompositorBridgeParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::CrossProcessCompositorBridgeParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::ImageBridgeChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::ImageBridgeParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::LayerTransactionParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::gfx::GPUParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::gfx::VRManagerParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::gfx::VRParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::RasterImage*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::Decoder*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::AnimationSurfaceProvider*>::get() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::RasterImage> >::get() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::Decoder> >::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::DecodedSurfaceProvider*>::get() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::imgFrame> >::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::SourceBuffer*>::get() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::DecodedSurfaceProvider> >::get() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::AnimationSurfaceProvider> >::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::nsICODecoder*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::MetadataDecodingTask*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::AnonymousDecodingTask*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::ImageResource*>::get() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::SourceBuffer> >::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::ISurfaceProvider*>::get() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::ImageResource> >::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::imgFrame*>::get() const
Unexecuted instantiation: mozilla::NotNull<nsCOMPtr<nsIEventTarget> >::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::CachedSurface*>::get() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::ISurfaceProvider> >::get() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::CachedSurface> >::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::ImageSurfaceCache*>::get() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::ImageSurfaceCache> >::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::SimpleSurfaceProvider*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::VectorImage*>::get() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::VectorImage> >::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::gfx::DataSourceSurface*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::Promise*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::ContentPermissionRequestParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<RemotePermissionRequest*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::DeclarationBlock*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::TaskQueue*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::AbstractThread*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::gfx::DrawTarget*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::IPCBlobInputStreamParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::FileHandle*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::GamepadEventChannelParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::GamepadTestChannelParent*>::get() const
Unexecuted instantiation: AsmJSCache.cpp:mozilla::NotNull<mozilla::dom::asmjscache::(anonymous namespace)::ChildRunnable*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::MediaFormatReader*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPContentChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPServiceParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPStorageParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPVideoDecoderChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPVideoDecoderParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPVideoEncoderChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPVideoEncoderParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::camera::CamerasParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::media::Child*>::get() const
Unexecuted instantiation: Unified_cpp_dom_quota0.cpp:mozilla::NotNull<mozilla::dom::quota::(anonymous namespace)::Quota*>::get() const
Unexecuted instantiation: Unified_cpp_dom_quota0.cpp:mozilla::NotNull<mozilla::dom::quota::(anonymous namespace)::QuotaUsageRequestBase*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::LocalStorageCacheChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::StorageDBParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::TCPSocketParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::UDPSocketParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::plugins::PluginInstanceChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::plugins::BrowserStreamParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::plugins::FunctionBrokerParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::plugins::PluginInstanceParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::plugins::PluginModuleChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::plugins::PluginModuleParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::plugins::PluginScriptableObjectParent*>::get() const
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::Database*>::get() const
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::MutableFile*>::get() const
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::NormalTransaction*>::get() const
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::Cursor*>::get() const
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::VersionChangeTransaction*>::get() const
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::Utils*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::indexedDB::BackgroundFactoryRequestChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::indexedDB::BackgroundDatabaseRequestChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::indexedDB::BackgroundRequestChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::ContentChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::ContentParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::TabChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::TabParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::ThreadEventQueue<mozilla::EventQueue>*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::BroadcastChannelParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::MessagePortParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::WebAuthnTransactionChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::WebBrowserPersistDocumentParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<nsIHttpChannel*>::get() const
Unexecuted instantiation: mozilla::NotNull<nsCOMPtr<nsIHttpChannel> >::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::PaymentRequestChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::PaymentRequestParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::ServiceWorkerManagerParent*>::get() const
Unexecuted instantiation: Unified_cpp_dom_simpledb0.cpp:mozilla::NotNull<mozilla::dom::(anonymous namespace)::Connection*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::PresentationBuilderChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::PresentationBuilderParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::PresentationChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::PresentationParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::gfx::DataSourceSurface> >::get() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::DeclarationBlock> >::get() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::dom::Promise> >::get() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::gfx::DrawTarget> >::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::layout::VsyncParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::a11y::DocAccessibleParent*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::a11y::DocAccessibleChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<nsIArray*>::get() const
Unexecuted instantiation: mozilla::NotNull<nsCOMPtr<nsIMutableArray> >::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::extensions::StreamFilterChild*>::get() const
Unexecuted instantiation: mozilla::NotNull<mozilla::devtools::HeapSnapshotTempFileHelperParent*>::get() const
142
143
  // Implicit conversion to a base pointer. Preferable to get().
144
102
  constexpr operator const T&() const { return get(); }
Unexecuted instantiation: mozilla::NotNull<nsThreadShutdownContext*>::operator nsThreadShutdownContext* const&() const
Unexecuted instantiation: mozilla::NotNull<nsThread*>::operator nsThread* const&() const
mozilla::NotNull<mozilla::Encoding const*>::operator mozilla::Encoding const* const&() const
Line
Count
Source
144
102
  constexpr operator const T&() const { return get(); }
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::CompositableHost*>::operator mozilla::layers::CompositableHost* const&() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::AnimationSurfaceProvider*>::operator mozilla::image::AnimationSurfaceProvider* const&() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::DecodedSurfaceProvider*>::operator mozilla::image::DecodedSurfaceProvider* const&() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::RasterImage*>::operator mozilla::image::RasterImage* const&() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::MetadataDecodingTask*>::operator mozilla::image::MetadataDecodingTask* const&() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::AnonymousDecodingTask*>::operator mozilla::image::AnonymousDecodingTask* const&() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::ISurfaceProvider*>::operator mozilla::image::ISurfaceProvider* const&() const
Unexecuted instantiation: mozilla::NotNull<nsCOMPtr<nsIEventTarget> >::operator nsCOMPtr<nsIEventTarget> const&() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::CachedSurface*>::operator mozilla::image::CachedSurface* const&() const
Unexecuted instantiation: mozilla::NotNull<mozilla::gfx::DataSourceSurface*>::operator mozilla::gfx::DataSourceSurface* const&() const
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::Promise*>::operator mozilla::dom::Promise* const&() const
Unexecuted instantiation: mozilla::NotNull<mozilla::DeclarationBlock*>::operator mozilla::DeclarationBlock* const&() const
Unexecuted instantiation: mozilla::NotNull<mozilla::gfx::DrawTarget*>::operator mozilla::gfx::DrawTarget* const&() const
Unexecuted instantiation: mozilla::NotNull<mozilla::AbstractThread*>::operator mozilla::AbstractThread* const&() const
Unexecuted instantiation: mozilla::NotNull<nsIArray*>::operator nsIArray* const&() const
145
146
  // Dereference operators.
147
0
  constexpr const T& operator->() const { return get(); }
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::SharedFontList> >::operator->() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<nsThread> >::operator->() const
Unexecuted instantiation: mozilla::NotNull<nsThreadShutdownContext*>::operator->() const
Unexecuted instantiation: mozilla::NotNull<nsThread*>::operator->() const
Unexecuted instantiation: mozilla::NotNull<mozilla::Encoding const*>::operator->() const
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*>::operator->() const
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::CompositableHost*>::operator->() const
Unexecuted instantiation: mozilla::NotNull<mozilla::SharedFontList*>::operator->() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::Decoder*>::operator->() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::imgFrame> >::operator->() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::SourceBuffer*>::operator->() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::DecodedSurfaceProvider> >::operator->() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::nsICODecoder*>::operator->() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::RasterImage*>::operator->() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::Decoder> >::operator->() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::RasterImage> >::operator->() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::ImageResource> >::operator->() const
Unexecuted instantiation: mozilla::NotNull<nsCOMPtr<nsIEventTarget> >::operator->() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::SourceBuffer> >::operator->() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::CachedSurface*>::operator->() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::ISurfaceProvider> >::operator->() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::ImageSurfaceCache*>::operator->() const
Unexecuted instantiation: mozilla::NotNull<mozilla::image::ISurfaceProvider*>::operator->() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::CachedSurface> >::operator->() const
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::VectorImage> >::operator->() const
Unexecuted instantiation: mozilla::NotNull<mozilla::AbstractThread*>::operator->() const
Unexecuted instantiation: mozilla::NotNull<mozilla::gfx::DrawTarget*>::operator->() const
Unexecuted instantiation: mozilla::NotNull<mozilla::MediaFormatReader*>::operator->() const
Unexecuted instantiation: mozilla::NotNull<nsIHttpChannel*>::operator->() const
Unexecuted instantiation: mozilla::NotNull<nsIArray*>::operator->() const
148
  constexpr decltype(*mBasePtr) operator*() const { return *mBasePtr; }
149
};
150
151
template <typename T>
152
constexpr NotNull<T>
153
WrapNotNull(const T aBasePtr)
154
49
{
155
49
  NotNull<T> notNull(aBasePtr);
156
49
  MOZ_RELEASE_ASSERT(aBasePtr);
157
49
  return notNull;
158
49
}
mozilla::NotNull<mozilla::SharedFontList*> mozilla::WrapNotNull<mozilla::SharedFontList*>(mozilla::SharedFontList*)
Line
Count
Source
154
3
{
155
3
  NotNull<T> notNull(aBasePtr);
156
3
  MOZ_RELEASE_ASSERT(aBasePtr);
157
3
  return notNull;
158
3
}
Unexecuted instantiation: mozilla::NotNull<mozilla::Encoding const*> mozilla::WrapNotNull<mozilla::Encoding const*>(mozilla::Encoding const*)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::detail::SchedulerEventQueue> > mozilla::WrapNotNull<RefPtr<mozilla::detail::SchedulerEventQueue> >(RefPtr<mozilla::detail::SchedulerEventQueue>)
Unexecuted instantiation: mozilla::NotNull<nsThreadShutdownContext*> mozilla::WrapNotNull<nsThreadShutdownContext*>(nsThreadShutdownContext*)
Unexecuted instantiation: mozilla::NotNull<nsThread*> mozilla::WrapNotNull<nsThread*>(nsThread*)
Unexecuted instantiation: mozilla::NotNull<RefPtr<nsThread> > mozilla::WrapNotNull<RefPtr<nsThread> >(RefPtr<nsThread>)
Unexecuted instantiation: mozilla::NotNull<mozilla::SynchronizedEventQueue*> mozilla::WrapNotNull<mozilla::SynchronizedEventQueue*>(mozilla::SynchronizedEventQueue*)
mozilla::NotNull<RefPtr<mozilla::ThreadEventQueue<mozilla::EventQueue> > > mozilla::WrapNotNull<RefPtr<mozilla::ThreadEventQueue<mozilla::EventQueue> > >(RefPtr<mozilla::ThreadEventQueue<mozilla::EventQueue> >)
Line
Count
Source
154
43
{
155
43
  NotNull<T> notNull(aBasePtr);
156
43
  MOZ_RELEASE_ASSERT(aBasePtr);
157
43
  return notNull;
158
43
}
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::ThreadEventQueue<mozilla::PrioritizedEventQueue<mozilla::LabeledEventQueue> > > > mozilla::WrapNotNull<RefPtr<mozilla::ThreadEventQueue<mozilla::PrioritizedEventQueue<mozilla::LabeledEventQueue> > > >(RefPtr<mozilla::ThreadEventQueue<mozilla::PrioritizedEventQueue<mozilla::LabeledEventQueue> > >)
mozilla::NotNull<RefPtr<mozilla::ThreadEventQueue<mozilla::PrioritizedEventQueue<mozilla::EventQueue> > > > mozilla::WrapNotNull<RefPtr<mozilla::ThreadEventQueue<mozilla::PrioritizedEventQueue<mozilla::EventQueue> > > >(RefPtr<mozilla::ThreadEventQueue<mozilla::PrioritizedEventQueue<mozilla::EventQueue> > >)
Line
Count
Source
154
3
{
155
3
  NotNull<T> notNull(aBasePtr);
156
3
  MOZ_RELEASE_ASSERT(aBasePtr);
157
3
  return notNull;
158
3
}
Unexecuted instantiation: mozilla::NotNull<mozilla::net::CookieServiceParent*> mozilla::WrapNotNull<mozilla::net::CookieServiceParent*>(mozilla::net::CookieServiceParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::net::DNSRequestChild*> mozilla::WrapNotNull<mozilla::net::DNSRequestChild*>(mozilla::net::DNSRequestChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::net::FTPChannelChild*> mozilla::WrapNotNull<mozilla::net::FTPChannelChild*>(mozilla::net::FTPChannelChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::net::FTPChannelParent*> mozilla::WrapNotNull<mozilla::net::FTPChannelParent*>(mozilla::net::FTPChannelParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::net::HttpChannelParent*> mozilla::WrapNotNull<mozilla::net::HttpChannelParent*>(mozilla::net::HttpChannelParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::IProtocol*> mozilla::WrapNotNull<mozilla::ipc::IProtocol*>(mozilla::ipc::IProtocol*)
Unexecuted instantiation: mozilla::NotNull<mozilla::net::WebSocketChannelParent*> mozilla::WrapNotNull<mozilla::net::WebSocketChannelParent*>(mozilla::net::WebSocketChannelParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::net::WyciwygChannelParent*> mozilla::WrapNotNull<mozilla::net::WyciwygChannelParent*>(mozilla::net::WyciwygChannelParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::net::NeckoChild*> mozilla::WrapNotNull<mozilla::net::NeckoChild*>(mozilla::net::NeckoChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::net::NeckoParent*> mozilla::WrapNotNull<mozilla::net::NeckoParent*>(mozilla::net::NeckoParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::BackgroundParentImpl*> mozilla::WrapNotNull<mozilla::ipc::BackgroundParentImpl*>(mozilla::ipc::BackgroundParentImpl*)
Unexecuted instantiation: mozilla::NotNull<mozilla::media::Parent<mozilla::media::PMediaParent>*> mozilla::WrapNotNull<mozilla::media::Parent<mozilla::media::PMediaParent>*>(mozilla::media::Parent<mozilla::media::PMediaParent>*)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::TestShellChild*> mozilla::WrapNotNull<mozilla::ipc::TestShellChild*>(mozilla::ipc::TestShellChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::ipc::TestShellCommandParent*> mozilla::WrapNotNull<mozilla::ipc::TestShellCommandParent*>(mozilla::ipc::TestShellCommandParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::jsipc::JavaScriptBase<mozilla::jsipc::PJavaScriptChild>*> mozilla::WrapNotNull<mozilla::jsipc::JavaScriptBase<mozilla::jsipc::PJavaScriptChild>*>(mozilla::jsipc::JavaScriptBase<mozilla::jsipc::PJavaScriptChild>*)
Unexecuted instantiation: mozilla::NotNull<mozilla::jsipc::JavaScriptBase<mozilla::jsipc::PJavaScriptParent>*> mozilla::WrapNotNull<mozilla::jsipc::JavaScriptBase<mozilla::jsipc::PJavaScriptParent>*>(mozilla::jsipc::JavaScriptBase<mozilla::jsipc::PJavaScriptParent>*)
Unexecuted instantiation: mozilla::NotNull<mozilla::loader::ScriptCacheParent*> mozilla::WrapNotNull<mozilla::loader::ScriptCacheParent*>(mozilla::loader::ScriptCacheParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::WebrtcGlobalParent*> mozilla::WrapNotNull<mozilla::dom::WebrtcGlobalParent*>(mozilla::dom::WebrtcGlobalParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::WebrtcGlobalChild*> mozilla::WrapNotNull<mozilla::dom::WebrtcGlobalChild*>(mozilla::dom::WebrtcGlobalChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::WebRenderBridgeParent*> mozilla::WrapNotNull<mozilla::layers::WebRenderBridgeParent*>(mozilla::layers::WebRenderBridgeParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::APZCTreeManagerParent*> mozilla::WrapNotNull<mozilla::layers::APZCTreeManagerParent*>(mozilla::layers::APZCTreeManagerParent*)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::layers::CompositableHost> > mozilla::WrapNotNull<RefPtr<mozilla::layers::CompositableHost> >(RefPtr<mozilla::layers::CompositableHost>)
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::CompositorBridgeChild*> mozilla::WrapNotNull<mozilla::layers::CompositorBridgeChild*>(mozilla::layers::CompositorBridgeChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::CompositorBridgeParent*> mozilla::WrapNotNull<mozilla::layers::CompositorBridgeParent*>(mozilla::layers::CompositorBridgeParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::CrossProcessCompositorBridgeParent*> mozilla::WrapNotNull<mozilla::layers::CrossProcessCompositorBridgeParent*>(mozilla::layers::CrossProcessCompositorBridgeParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::ImageBridgeChild*> mozilla::WrapNotNull<mozilla::layers::ImageBridgeChild*>(mozilla::layers::ImageBridgeChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::ImageBridgeParent*> mozilla::WrapNotNull<mozilla::layers::ImageBridgeParent*>(mozilla::layers::ImageBridgeParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::layers::LayerTransactionParent*> mozilla::WrapNotNull<mozilla::layers::LayerTransactionParent*>(mozilla::layers::LayerTransactionParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gfx::GPUParent*> mozilla::WrapNotNull<mozilla::gfx::GPUParent*>(mozilla::gfx::GPUParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gfx::VRManagerParent*> mozilla::WrapNotNull<mozilla::gfx::VRManagerParent*>(mozilla::gfx::VRManagerParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gfx::VRParent*> mozilla::WrapNotNull<mozilla::gfx::VRParent*>(mozilla::gfx::VRParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::AnimationSurfaceProvider*> mozilla::WrapNotNull<mozilla::image::AnimationSurfaceProvider*>(mozilla::image::AnimationSurfaceProvider*)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::RasterImage> > mozilla::WrapNotNull<RefPtr<mozilla::image::RasterImage> >(RefPtr<mozilla::image::RasterImage>)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::Decoder> > mozilla::WrapNotNull<RefPtr<mozilla::image::Decoder> >(RefPtr<mozilla::image::Decoder>)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::DecodedSurfaceProvider*> mozilla::WrapNotNull<mozilla::image::DecodedSurfaceProvider*>(mozilla::image::DecodedSurfaceProvider*)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::MetadataDecodingTask*> mozilla::WrapNotNull<mozilla::image::MetadataDecodingTask*>(mozilla::image::MetadataDecodingTask*)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::RasterImage*> mozilla::WrapNotNull<mozilla::image::RasterImage*>(mozilla::image::RasterImage*)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::AnonymousDecodingTask*> mozilla::WrapNotNull<mozilla::image::AnonymousDecodingTask*>(mozilla::image::AnonymousDecodingTask*)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::ImageResource*> mozilla::WrapNotNull<mozilla::image::ImageResource*>(mozilla::image::ImageResource*)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::SourceBuffer> > mozilla::WrapNotNull<RefPtr<mozilla::image::SourceBuffer> >(RefPtr<mozilla::image::SourceBuffer>)
Unexecuted instantiation: mozilla::NotNull<nsCOMPtr<nsIEventTarget> > mozilla::WrapNotNull<nsCOMPtr<nsIEventTarget> >(nsCOMPtr<nsIEventTarget>)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::CachedSurface*> mozilla::WrapNotNull<mozilla::image::CachedSurface*>(mozilla::image::CachedSurface*)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::CachedSurface> > mozilla::WrapNotNull<RefPtr<mozilla::image::CachedSurface> >(RefPtr<mozilla::image::CachedSurface>)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::ImageSurfaceCache> > mozilla::WrapNotNull<RefPtr<mozilla::image::ImageSurfaceCache> >(RefPtr<mozilla::image::ImageSurfaceCache>)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::VectorImage*> mozilla::WrapNotNull<mozilla::image::VectorImage*>(mozilla::image::VectorImage*)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::nsICODecoder*> mozilla::WrapNotNull<mozilla::image::nsICODecoder*>(mozilla::image::nsICODecoder*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::ContentPermissionRequestParent*> mozilla::WrapNotNull<mozilla::dom::ContentPermissionRequestParent*>(mozilla::dom::ContentPermissionRequestParent*)
Unexecuted instantiation: mozilla::NotNull<RemotePermissionRequest*> mozilla::WrapNotNull<RemotePermissionRequest*>(RemotePermissionRequest*)
Unexecuted instantiation: mozilla::NotNull<mozilla::TaskQueue*> mozilla::WrapNotNull<mozilla::TaskQueue*>(mozilla::TaskQueue*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::IPCBlobInputStreamParent*> mozilla::WrapNotNull<mozilla::dom::IPCBlobInputStreamParent*>(mozilla::dom::IPCBlobInputStreamParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::FileHandle*> mozilla::WrapNotNull<mozilla::dom::FileHandle*>(mozilla::dom::FileHandle*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::GamepadEventChannelParent*> mozilla::WrapNotNull<mozilla::dom::GamepadEventChannelParent*>(mozilla::dom::GamepadEventChannelParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::GamepadTestChannelParent*> mozilla::WrapNotNull<mozilla::dom::GamepadTestChannelParent*>(mozilla::dom::GamepadTestChannelParent*)
Unexecuted instantiation: AsmJSCache.cpp:mozilla::NotNull<mozilla::dom::asmjscache::(anonymous namespace)::ChildRunnable*> mozilla::WrapNotNull<mozilla::dom::asmjscache::(anonymous namespace)::ChildRunnable*>(mozilla::dom::asmjscache::(anonymous namespace)::ChildRunnable*)
Unexecuted instantiation: mozilla::NotNull<mozilla::MediaFormatReader*> mozilla::WrapNotNull<mozilla::MediaFormatReader*>(mozilla::MediaFormatReader*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPChild*> mozilla::WrapNotNull<mozilla::gmp::GMPChild*>(mozilla::gmp::GMPChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPContentChild*> mozilla::WrapNotNull<mozilla::gmp::GMPContentChild*>(mozilla::gmp::GMPContentChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPParent*> mozilla::WrapNotNull<mozilla::gmp::GMPParent*>(mozilla::gmp::GMPParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPServiceParent*> mozilla::WrapNotNull<mozilla::gmp::GMPServiceParent*>(mozilla::gmp::GMPServiceParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPStorageParent*> mozilla::WrapNotNull<mozilla::gmp::GMPStorageParent*>(mozilla::gmp::GMPStorageParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPVideoDecoderChild*> mozilla::WrapNotNull<mozilla::gmp::GMPVideoDecoderChild*>(mozilla::gmp::GMPVideoDecoderChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPVideoDecoderParent*> mozilla::WrapNotNull<mozilla::gmp::GMPVideoDecoderParent*>(mozilla::gmp::GMPVideoDecoderParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPVideoEncoderChild*> mozilla::WrapNotNull<mozilla::gmp::GMPVideoEncoderChild*>(mozilla::gmp::GMPVideoEncoderChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::gmp::GMPVideoEncoderParent*> mozilla::WrapNotNull<mozilla::gmp::GMPVideoEncoderParent*>(mozilla::gmp::GMPVideoEncoderParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::camera::CamerasParent*> mozilla::WrapNotNull<mozilla::camera::CamerasParent*>(mozilla::camera::CamerasParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::media::Child*> mozilla::WrapNotNull<mozilla::media::Child*>(mozilla::media::Child*)
Unexecuted instantiation: Unified_cpp_dom_quota0.cpp:mozilla::NotNull<mozilla::dom::quota::(anonymous namespace)::Quota*> mozilla::WrapNotNull<mozilla::dom::quota::(anonymous namespace)::Quota*>(mozilla::dom::quota::(anonymous namespace)::Quota*)
Unexecuted instantiation: Unified_cpp_dom_quota0.cpp:mozilla::NotNull<mozilla::dom::quota::(anonymous namespace)::QuotaUsageRequestBase*> mozilla::WrapNotNull<mozilla::dom::quota::(anonymous namespace)::QuotaUsageRequestBase*>(mozilla::dom::quota::(anonymous namespace)::QuotaUsageRequestBase*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::LocalStorageCacheChild*> mozilla::WrapNotNull<mozilla::dom::LocalStorageCacheChild*>(mozilla::dom::LocalStorageCacheChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::StorageDBParent*> mozilla::WrapNotNull<mozilla::dom::StorageDBParent*>(mozilla::dom::StorageDBParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::TCPSocketParent*> mozilla::WrapNotNull<mozilla::dom::TCPSocketParent*>(mozilla::dom::TCPSocketParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::UDPSocketParent*> mozilla::WrapNotNull<mozilla::dom::UDPSocketParent*>(mozilla::dom::UDPSocketParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::plugins::PluginInstanceChild*> mozilla::WrapNotNull<mozilla::plugins::PluginInstanceChild*>(mozilla::plugins::PluginInstanceChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::plugins::BrowserStreamParent*> mozilla::WrapNotNull<mozilla::plugins::BrowserStreamParent*>(mozilla::plugins::BrowserStreamParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::plugins::FunctionBrokerParent*> mozilla::WrapNotNull<mozilla::plugins::FunctionBrokerParent*>(mozilla::plugins::FunctionBrokerParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::plugins::PluginInstanceParent*> mozilla::WrapNotNull<mozilla::plugins::PluginInstanceParent*>(mozilla::plugins::PluginInstanceParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::plugins::PluginModuleChild*> mozilla::WrapNotNull<mozilla::plugins::PluginModuleChild*>(mozilla::plugins::PluginModuleChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::plugins::PluginModuleParent*> mozilla::WrapNotNull<mozilla::plugins::PluginModuleParent*>(mozilla::plugins::PluginModuleParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::plugins::PluginScriptableObjectParent*> mozilla::WrapNotNull<mozilla::plugins::PluginScriptableObjectParent*>(mozilla::plugins::PluginScriptableObjectParent*)
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::Database*> mozilla::WrapNotNull<mozilla::dom::indexedDB::(anonymous namespace)::Database*>(mozilla::dom::indexedDB::(anonymous namespace)::Database*)
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::MutableFile*> mozilla::WrapNotNull<mozilla::dom::indexedDB::(anonymous namespace)::MutableFile*>(mozilla::dom::indexedDB::(anonymous namespace)::MutableFile*)
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::NormalTransaction*> mozilla::WrapNotNull<mozilla::dom::indexedDB::(anonymous namespace)::NormalTransaction*>(mozilla::dom::indexedDB::(anonymous namespace)::NormalTransaction*)
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::Cursor*> mozilla::WrapNotNull<mozilla::dom::indexedDB::(anonymous namespace)::Cursor*>(mozilla::dom::indexedDB::(anonymous namespace)::Cursor*)
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::VersionChangeTransaction*> mozilla::WrapNotNull<mozilla::dom::indexedDB::(anonymous namespace)::VersionChangeTransaction*>(mozilla::dom::indexedDB::(anonymous namespace)::VersionChangeTransaction*)
Unexecuted instantiation: ActorsParent.cpp:mozilla::NotNull<mozilla::dom::indexedDB::(anonymous namespace)::Utils*> mozilla::WrapNotNull<mozilla::dom::indexedDB::(anonymous namespace)::Utils*>(mozilla::dom::indexedDB::(anonymous namespace)::Utils*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::indexedDB::BackgroundFactoryRequestChild*> mozilla::WrapNotNull<mozilla::dom::indexedDB::BackgroundFactoryRequestChild*>(mozilla::dom::indexedDB::BackgroundFactoryRequestChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::indexedDB::BackgroundDatabaseRequestChild*> mozilla::WrapNotNull<mozilla::dom::indexedDB::BackgroundDatabaseRequestChild*>(mozilla::dom::indexedDB::BackgroundDatabaseRequestChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::indexedDB::BackgroundRequestChild*> mozilla::WrapNotNull<mozilla::dom::indexedDB::BackgroundRequestChild*>(mozilla::dom::indexedDB::BackgroundRequestChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::ContentChild*> mozilla::WrapNotNull<mozilla::dom::ContentChild*>(mozilla::dom::ContentChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::ContentParent*> mozilla::WrapNotNull<mozilla::dom::ContentParent*>(mozilla::dom::ContentParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::TabChild*> mozilla::WrapNotNull<mozilla::dom::TabChild*>(mozilla::dom::TabChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::TabParent*> mozilla::WrapNotNull<mozilla::dom::TabParent*>(mozilla::dom::TabParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::BroadcastChannelParent*> mozilla::WrapNotNull<mozilla::dom::BroadcastChannelParent*>(mozilla::dom::BroadcastChannelParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::MessagePortParent*> mozilla::WrapNotNull<mozilla::dom::MessagePortParent*>(mozilla::dom::MessagePortParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::WebAuthnTransactionChild*> mozilla::WrapNotNull<mozilla::dom::WebAuthnTransactionChild*>(mozilla::dom::WebAuthnTransactionChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::WebBrowserPersistDocumentParent*> mozilla::WrapNotNull<mozilla::WebBrowserPersistDocumentParent*>(mozilla::WebBrowserPersistDocumentParent*)
Unexecuted instantiation: mozilla::NotNull<nsCOMPtr<nsIHttpChannel> > mozilla::WrapNotNull<nsCOMPtr<nsIHttpChannel> >(nsCOMPtr<nsIHttpChannel>)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::PaymentRequestChild*> mozilla::WrapNotNull<mozilla::dom::PaymentRequestChild*>(mozilla::dom::PaymentRequestChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::PaymentRequestParent*> mozilla::WrapNotNull<mozilla::dom::PaymentRequestParent*>(mozilla::dom::PaymentRequestParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::ServiceWorkerManagerParent*> mozilla::WrapNotNull<mozilla::dom::ServiceWorkerManagerParent*>(mozilla::dom::ServiceWorkerManagerParent*)
Unexecuted instantiation: Unified_cpp_dom_simpledb0.cpp:mozilla::NotNull<mozilla::dom::(anonymous namespace)::Connection*> mozilla::WrapNotNull<mozilla::dom::(anonymous namespace)::Connection*>(mozilla::dom::(anonymous namespace)::Connection*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::PresentationBuilderChild*> mozilla::WrapNotNull<mozilla::dom::PresentationBuilderChild*>(mozilla::dom::PresentationBuilderChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::PresentationBuilderParent*> mozilla::WrapNotNull<mozilla::dom::PresentationBuilderParent*>(mozilla::dom::PresentationBuilderParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::PresentationChild*> mozilla::WrapNotNull<mozilla::dom::PresentationChild*>(mozilla::dom::PresentationChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::dom::PresentationParent*> mozilla::WrapNotNull<mozilla::dom::PresentationParent*>(mozilla::dom::PresentationParent*)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::gfx::DataSourceSurface> > mozilla::WrapNotNull<RefPtr<mozilla::gfx::DataSourceSurface> >(RefPtr<mozilla::gfx::DataSourceSurface>)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::DeclarationBlock> > mozilla::WrapNotNull<RefPtr<mozilla::DeclarationBlock> >(RefPtr<mozilla::DeclarationBlock>)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::dom::Promise> > mozilla::WrapNotNull<RefPtr<mozilla::dom::Promise> >(RefPtr<mozilla::dom::Promise>)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::gfx::DrawTarget> > mozilla::WrapNotNull<RefPtr<mozilla::gfx::DrawTarget> >(RefPtr<mozilla::gfx::DrawTarget>)
Unexecuted instantiation: mozilla::NotNull<mozilla::layout::VsyncParent*> mozilla::WrapNotNull<mozilla::layout::VsyncParent*>(mozilla::layout::VsyncParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::a11y::DocAccessibleParent*> mozilla::WrapNotNull<mozilla::a11y::DocAccessibleParent*>(mozilla::a11y::DocAccessibleParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::a11y::DocAccessibleChild*> mozilla::WrapNotNull<mozilla::a11y::DocAccessibleChild*>(mozilla::a11y::DocAccessibleChild*)
Unexecuted instantiation: mozilla::NotNull<nsCOMPtr<nsIMutableArray> > mozilla::WrapNotNull<nsCOMPtr<nsIMutableArray> >(nsCOMPtr<nsIMutableArray>)
Unexecuted instantiation: mozilla::NotNull<mozilla::extensions::StreamFilterChild*> mozilla::WrapNotNull<mozilla::extensions::StreamFilterChild*>(mozilla::extensions::StreamFilterChild*)
Unexecuted instantiation: mozilla::NotNull<mozilla::devtools::HeapSnapshotTempFileHelperParent*> mozilla::WrapNotNull<mozilla::devtools::HeapSnapshotTempFileHelperParent*>(mozilla::devtools::HeapSnapshotTempFileHelperParent*)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::SourceBuffer*> mozilla::WrapNotNull<mozilla::image::SourceBuffer*>(mozilla::image::SourceBuffer*)
159
160
namespace detail {
161
162
// Extract the pointed-to type from a pointer type (be it raw or smart).
163
// The default implementation uses the dereferencing operator of the pointer
164
// type to find what it's pointing to.
165
template<typename Pointer>
166
struct PointedTo
167
{
168
  // Remove the reference that dereferencing operators may return.
169
  using Type = typename RemoveReference<decltype(*DeclVal<Pointer>())>::Type;
170
  using NonConstType = typename RemoveConst<Type>::Type;
171
};
172
173
// Specializations for raw pointers.
174
// This is especially required because VS 2017 15.6 (March 2018) started
175
// rejecting the above `decltype(*DeclVal<Pointer>())` trick for raw pointers.
176
// See bug 1443367.
177
template<typename T>
178
struct PointedTo<T*>
179
{
180
  using Type = T;
181
  using NonConstType = T;
182
};
183
184
template<typename T>
185
struct PointedTo<const T*>
186
{
187
  using Type = const T;
188
  using NonConstType = T;
189
};
190
191
} // namespace detail
192
193
// Allocate an object with infallible new, and wrap its pointer in NotNull.
194
// |MakeNotNull<Ptr<Ob>>(args...)| will run |new Ob(args...)|
195
// and return NotNull<Ptr<Ob>>.
196
template<typename T, typename... Args>
197
constexpr NotNull<T>
198
MakeNotNull(Args&&... aArgs)
199
18
{
200
18
  using Pointee = typename detail::PointedTo<T>::NonConstType;
201
18
  static_assert(!IsArray<Pointee>::value,
202
18
                "MakeNotNull cannot construct an array");
203
18
  return NotNull<T>(new Pointee(std::forward<Args>(aArgs)...));
204
18
}
mozilla::NotNull<mozilla::SharedFontList*> mozilla::MakeNotNull<mozilla::SharedFontList*, mozilla::FontFamilyType&>(mozilla::FontFamilyType&)
Line
Count
Source
199
18
{
200
18
  using Pointee = typename detail::PointedTo<T>::NonConstType;
201
18
  static_assert(!IsArray<Pointee>::value,
202
18
                "MakeNotNull cannot construct an array");
203
18
  return NotNull<T>(new Pointee(std::forward<Args>(aArgs)...));
204
18
}
Unexecuted instantiation: mozilla::NotNull<mozilla::SharedFontList*> mozilla::MakeNotNull<mozilla::SharedFontList*, nsAtom*&, mozilla::QuotedName&>(nsAtom*&, mozilla::QuotedName&)
Unexecuted instantiation: mozilla::NotNull<mozilla::SharedFontList*> mozilla::MakeNotNull<mozilla::SharedFontList*, nsTSubstring<char> const&, mozilla::QuotedName&>(nsTSubstring<char> const&, mozilla::QuotedName&)
Unexecuted instantiation: mozilla::NotNull<mozilla::SharedFontList*> mozilla::MakeNotNull<mozilla::SharedFontList*, mozilla::FontFamilyName const&>(mozilla::FontFamilyName const&)
Unexecuted instantiation: mozilla::NotNull<mozilla::SharedFontList*> mozilla::MakeNotNull<mozilla::SharedFontList*, nsTArray<mozilla::FontFamilyName> >(nsTArray<mozilla::FontFamilyName>&&)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::imgFrame> > mozilla::MakeNotNull<RefPtr<mozilla::image::imgFrame>>()
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::DecodedSurfaceProvider> > mozilla::MakeNotNull<RefPtr<mozilla::image::DecodedSurfaceProvider>, mozilla::NotNull<mozilla::image::RasterImage*>&, mozilla::image::SurfaceKey&, mozilla::NotNull<RefPtr<mozilla::image::Decoder> > >(mozilla::NotNull<mozilla::image::RasterImage*>&, mozilla::image::SurfaceKey&, mozilla::NotNull<RefPtr<mozilla::image::Decoder> >&&)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::AnimationSurfaceProvider> > mozilla::MakeNotNull<RefPtr<mozilla::image::AnimationSurfaceProvider>, mozilla::NotNull<mozilla::image::RasterImage*>&, mozilla::image::SurfaceKey&, mozilla::NotNull<RefPtr<mozilla::image::Decoder> >, unsigned long&>(mozilla::NotNull<mozilla::image::RasterImage*>&, mozilla::image::SurfaceKey&, mozilla::NotNull<RefPtr<mozilla::image::Decoder> >&&, unsigned long&)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::SourceBuffer*> mozilla::MakeNotNull<mozilla::image::SourceBuffer*>()
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::CachedSurface> > mozilla::MakeNotNull<RefPtr<mozilla::image::CachedSurface>, mozilla::NotNull<mozilla::image::ISurfaceProvider*>&>(mozilla::NotNull<mozilla::image::ISurfaceProvider*>&)
Unexecuted instantiation: mozilla::NotNull<mozilla::image::SimpleSurfaceProvider*> mozilla::MakeNotNull<mozilla::image::SimpleSurfaceProvider*, mozilla::image::Image*, mozilla::image::SurfaceKey&, mozilla::NotNull<RefPtr<mozilla::image::imgFrame> >&>(mozilla::image::Image*&&, mozilla::image::SurfaceKey&, mozilla::NotNull<RefPtr<mozilla::image::imgFrame> >&)
Unexecuted instantiation: mozilla::NotNull<mozilla::ThreadEventQueue<mozilla::EventQueue>*> mozilla::MakeNotNull<mozilla::ThreadEventQueue<mozilla::EventQueue>*, mozilla::UniquePtr<mozilla::EventQueue, mozilla::DefaultDelete<mozilla::EventQueue> > >(mozilla::UniquePtr<mozilla::EventQueue, mozilla::DefaultDelete<mozilla::EventQueue> >&&)
Unexecuted instantiation: mozilla::NotNull<RefPtr<mozilla::image::SourceBuffer> > mozilla::MakeNotNull<RefPtr<mozilla::image::SourceBuffer>>()
205
206
// Compare two NotNulls.
207
template <typename T, typename U>
208
constexpr bool
209
operator==(const NotNull<T>& aLhs, const NotNull<U>& aRhs)
210
0
{
211
0
  return aLhs.get() == aRhs.get();
212
0
}
Unexecuted instantiation: bool mozilla::operator==<RefPtr<mozilla::SharedFontList>, RefPtr<mozilla::SharedFontList> >(mozilla::NotNull<RefPtr<mozilla::SharedFontList> > const&, mozilla::NotNull<RefPtr<mozilla::SharedFontList> > const&)
Unexecuted instantiation: bool mozilla::operator==<mozilla::Encoding const*, mozilla::Encoding const*>(mozilla::NotNull<mozilla::Encoding const*> const&, mozilla::NotNull<mozilla::Encoding const*> const&)
Unexecuted instantiation: bool mozilla::operator==<mozilla::image::CachedSurface*, mozilla::image::CachedSurface*>(mozilla::NotNull<mozilla::image::CachedSurface*> const&, mozilla::NotNull<mozilla::image::CachedSurface*> const&)
213
template <typename T, typename U>
214
constexpr bool
215
operator!=(const NotNull<T>& aLhs, const NotNull<U>& aRhs)
216
0
{
217
0
  return aLhs.get() != aRhs.get();
218
0
}
219
220
// Compare a NotNull to a base pointer.
221
template <typename T, typename U>
222
constexpr bool
223
operator==(const NotNull<T>& aLhs, const U& aRhs)
224
0
{
225
0
  return aLhs.get() == aRhs;
226
0
}
227
template <typename T, typename U>
228
constexpr bool
229
operator!=(const NotNull<T>& aLhs, const U& aRhs)
230
{
231
  return aLhs.get() != aRhs;
232
}
233
234
// Compare a base pointer to a NotNull.
235
template <typename T, typename U>
236
constexpr bool
237
operator==(const T& aLhs, const NotNull<U>& aRhs)
238
5.62M
{
239
5.62M
  return aLhs == aRhs.get();
240
5.62M
}
Unexecuted instantiation: bool mozilla::operator==<nsAutoPtr<nsThreadShutdownContext>, nsThreadShutdownContext*>(nsAutoPtr<nsThreadShutdownContext> const&, mozilla::NotNull<nsThreadShutdownContext*> const&)
bool mozilla::operator==<mozilla::Encoding const*, mozilla::Encoding const*>(mozilla::Encoding const* const&, mozilla::NotNull<mozilla::Encoding const*> const&)
Line
Count
Source
238
5.62M
{
239
5.62M
  return aLhs == aRhs.get();
240
5.62M
}
241
template <typename T, typename U>
242
constexpr bool
243
operator!=(const T& aLhs, const NotNull<U>& aRhs)
244
0
{
245
0
  return aLhs != aRhs.get();
246
0
}
247
248
// Disallow comparing a NotNull to a nullptr.
249
template <typename T>
250
bool
251
operator==(const NotNull<T>&, decltype(nullptr)) = delete;
252
template <typename T>
253
bool
254
operator!=(const NotNull<T>&, decltype(nullptr)) = delete;
255
256
// Disallow comparing a nullptr to a NotNull.
257
template <typename T>
258
bool
259
operator==(decltype(nullptr), const NotNull<T>&) = delete;
260
template <typename T>
261
bool
262
operator!=(decltype(nullptr), const NotNull<T>&) = delete;
263
264
} // namespace mozilla
265
266
#endif /* mozilla_NotNull_h */