Coverage Report

Created: 2018-09-25 14:53

/work/obj-fuzz/dist/include/nsClassHashtable.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 nsClassHashtable_h__
8
#define nsClassHashtable_h__
9
10
#include "mozilla/Move.h"
11
#include "nsBaseHashtable.h"
12
#include "nsHashKeys.h"
13
#include "nsAutoPtr.h"
14
15
/**
16
 * templated hashtable class maps keys to C++ object pointers.
17
 * See nsBaseHashtable for complete declaration.
18
 * @param KeyClass a wrapper-class for the hashtable key, see nsHashKeys.h
19
 *   for a complete specification.
20
 * @param Class the class-type being wrapped
21
 * @see nsInterfaceHashtable, nsClassHashtable
22
 */
23
template<class KeyClass, class T>
24
class nsClassHashtable
25
  : public nsBaseHashtable<KeyClass, nsAutoPtr<T>, T*>
26
{
27
public:
28
  typedef typename KeyClass::KeyType KeyType;
29
  typedef T* UserDataType;
30
  typedef nsBaseHashtable<KeyClass, nsAutoPtr<T>, T*> base_type;
31
32
  using base_type::IsEmpty;
33
  using base_type::Remove;
34
35
58
  nsClassHashtable() {}
Unexecuted instantiation: nsClassHashtable<nsCharPtrHashKey, nsINIParser_internal::INIValue>::nsClassHashtable()
nsClassHashtable<nsCStringHashKey, nsChromeRegistryChrome::PackageEntry>::nsClassHashtable()
Line
Count
Source
35
3
  nsClassHashtable() {}
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsChromeRegistryContent::PackageEntry>::nsClassHashtable()
nsClassHashtable<PrefCallback, PrefCallback>::nsClassHashtable()
Line
Count
Source
35
9
  nsClassHashtable() {}
Unexecuted instantiation: nsClassHashtable<mozilla::net::nsCookieKey, nsTArray<RefPtr<nsCookie> > >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsTArray<RefPtr<mozilla::net::DNSRequestChild> > >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsTArray<RefPtr<nsAtom> > >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, BFSTableData>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsTString<char> >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, mozilla::net::ChunkListeners>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::net::CacheEntryTable>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsPtrHashKey<mozilla::net::nsAHttpTransaction>, mozilla::net::Http2Stream>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsPreflightCache::CacheEntry>::nsClassHashtable()
nsClassHashtable<nsCStringHashKey, nsTArray<nsCOMPtr<nsIWeakReference> > >::nsClassHashtable()
Line
Count
Source
35
1
  nsClassHashtable() {}
nsClassHashtable<nsUint64HashKey, nsTArray<RefPtr<mozilla::net::nsHttpTransaction> > >::nsClassHashtable()
Line
Count
Source
35
2
  nsClassHashtable() {}
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, nsTArray<RefPtr<mozilla::net::nsHttpConnectionMgr::PendingTransactionInfo> > >::nsClassHashtable()
nsClassHashtable<nsUint64HashKey, mozilla::net::WebSocketEventService::WindowListener>::nsClassHashtable()
Line
Count
Source
35
1
  nsClassHashtable() {}
nsClassHashtable<nsCStringHashKey, ifaddrmsg>::nsClassHashtable()
Line
Count
Source
35
3
  nsClassHashtable() {}
Unexecuted instantiation: Unified_cpp_hal0.cpp:nsClassHashtable<nsStringHashKey, nsDataHashtable<nsUint64HashKey, (anonymous namespace)::LockCount> >::nsClassHashtable()
nsClassHashtable<nsCStringHashKey, mozilla::ScriptPreloader::CachedScript>::nsClassHashtable()
Line
Count
Source
35
6
  nsClassHashtable() {}
nsClassHashtable<nsGenericHashKey<mozilla::URLPreloader::CacheKey>, mozilla::URLPreloader::URLEntry>::nsClassHashtable()
Line
Count
Source
35
3
  nsClassHashtable() {}
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, mozilla::layers::AsyncImagePipelineManager::PipelineTexturesHolder>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, mozilla::layers::AsyncImagePipelineManager::AsyncImagePipeline>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, mozilla::layers::CompositorBridgeChild::SharedFrameMetricsData>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, mozilla::layers::AnimatedValue>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, nsTArray<mozilla::layers::Animation> >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<BlurCacheKey, BlurCacheData>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<mozilla::gfx::GradientCacheKey, mozilla::gfx::GradientCacheData>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, gfxSVGGlyphsDocument>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsPtrHashKey<nsINode>, nsTArray<nsAutoAnimationMutationBatch::Entry> >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsFloatHashKey, mozilla::Keyframe>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsStringHashKey, mozilla::dom::nsRadioGroupStruct>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsStringHashKey, AutoTArray<mozilla::dom::HTMLSlotElement*, 1ul> >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsISupportsHashKey, nsCOMArray<nsMutationReceiver> >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsISupportsHashKey, nsTArray<mozilla::css::ImageLoader::FrameWithFlags> >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsPtrHashKey<nsIFrame>, nsTArray<nsCOMPtr<imgIRequest> > >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsURIHashKey, nsExternalResourceMap::ExternalResource>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCharPtrHashKey, nsTArray<nsCOMPtr<nsIObserver> > >::nsClassHashtable()
nsClassHashtable<nsUint32HashKey, mozilla::PointerCaptureInfo>::nsClassHashtable()
Line
Count
Source
35
3
  nsClassHashtable() {}
nsClassHashtable<nsUint32HashKey, mozilla::PointerInfo>::nsClassHashtable()
Line
Count
Source
35
3
  nsClassHashtable() {}
nsClassHashtable<nsIDHashKey, mozilla::dom::IPCBlobInputStreamStorage::StreamData>::nsClassHashtable()
Line
Count
Source
35
3
  nsClassHashtable() {}
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::dom::DataInfo>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::dom::FileHandleThreadPool::DirectoryInfo>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, nsTArray<nsTString<char16_t> > >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, nsTArray<RefPtr<mozilla::MediaEngineSource> > >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, nsTArray<RefPtr<mozilla::MediaEngineDefaultAudioSource> > >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<mozilla::DDLifetimes::DDLogObjectHashKey, nsTArray<mozilla::DDLifetime> >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::gmp::GMPDiskStorage::Record>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::gmp::GMPMemoryStorage::Record>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, nsTArray<RefPtr<mozilla::GMPCrashHelper> > >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, mozilla::MessageField>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, mozilla::SkeletonState::nsKeyFrameIndex>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, mozilla::OggCodecState>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsRefPtrHashKey<mozilla::MediaRawData>, mozilla::MozPromiseRequestHolder<mozilla::MozPromise<mozilla::DecryptResult, mozilla::DecryptResult, true> > >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::media::OriginKeyStore::OriginKey>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, mozilla::media::MediaSystemResourceManagerParent::MediaSystemResourceRequest>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, mozilla::MediaSystemResourceService::MediaSystemResource>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, nsRefPtrHashtable<nsStringHashKey, mozilla::MediaEngineSource> >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsStringHashKey, mozilla::dom::MIDIMessageQueue>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::dom::quota::GroupInfoPair>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsTArray<mozilla::dom::quota::DirectoryLockImpl*> >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsRefPtrHashtable<nsCStringHashKey, mozilla::dom::SessionStorageCache> >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::dom::StorageDBThread::DBOperation>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsTArray<mozilla::dom::LocalStorageCacheParent*> >::nsClassHashtable()
Unexecuted instantiation: ActorsParent.cpp:nsClassHashtable<nsCStringHashKey, mozilla::dom::indexedDB::(anonymous namespace)::DatabaseActorInfo>::nsClassHashtable()
Unexecuted instantiation: ActorsParent.cpp:nsClassHashtable<nsCStringHashKey, mozilla::dom::indexedDB::(anonymous namespace)::ConnectionPool::DatabaseInfo>::nsClassHashtable()
Unexecuted instantiation: ActorsParent.cpp:nsClassHashtable<nsUint64HashKey, mozilla::dom::indexedDB::(anonymous namespace)::ConnectionPool::TransactionInfo>::nsClassHashtable()
Unexecuted instantiation: ActorsParent.cpp:nsClassHashtable<nsUint64HashKey, mozilla::dom::indexedDB::(anonymous namespace)::DatabaseConnection::UpdateRefcountFunction::FileInfoEntry>::nsClassHashtable()
Unexecuted instantiation: ActorsParent.cpp:nsClassHashtable<nsStringHashKey, mozilla::dom::indexedDB::(anonymous namespace)::ConnectionPool::TransactionInfoPair>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::dom::indexedDB::FileManagerInfo>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsRefPtrHashKey<mozilla::dom::indexedDB::FileManager>, nsTArray<long> >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, std::__1::function<void (PRFileDesc*)> >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsStringHashKey, nsTArray<mozilla::dom::ContentParent*> >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::dom::ipc::SharedMap::Entry>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, mozilla::dom::CoalescedMouseData>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::dom::workerinternals::RuntimeService::WorkerDomainInfo>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsPtrHashKey<nsPIDOMWindowInner>, nsTArray<mozilla::dom::WorkerPrivate*> >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsStringHashKey, nsTArray<mozilla::dom::BroadcastChannelParent*> >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsIDHashKey, mozilla::dom::MessagePortService::MessagePortServiceData>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsXBLPrototypeBinding>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsISupportsHashKey, nsWebBrowserPersist::OutputData>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsISupportsHashKey, nsWebBrowserPersist::UploadData>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsWebBrowserPersist::URIData>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::dom::ServiceWorkerManager::RegistrationDataPerPrincipal>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsIDHashKey, mozilla::dom::ServiceWorkerManager::ControlledClientData>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsStringHashKey, mozilla::dom::PresentationServiceBase<mozilla::dom::PresentationSessionInfo>::AvailabilityManager::AvailabilityEntry>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsISupportsHashKey, nsTArray<nsTString<char16_t> > >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsStringHashKey, mozilla::dom::PresentationServiceBase<mozilla::dom::PresentationContentSessionInfo>::AvailabilityManager::AvailabilityEntry>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsStringHashKey, WakeLockTopic>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, nsRefreshDriver::ImageStartData>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsRefPtrHashKey<mozilla::dom::Element>, mozilla::ServoElementSnapshot>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsStringHashKey, nsCounterList>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsPtrHashKey<nsDisplayItem>, nsTArray<nsIWidget::ThemeGeometry> >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsRefPtrHashKey<mozilla::a11y::Accessible>, nsTArray<nsCOMPtr<nsIContent> > >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsStringHashKey, nsTArray<nsAutoPtr<mozilla::a11y::DocAccessible::AttrRelProvider> > >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsPtrHashKey<mozilla::a11y::Accessible>, nsTArray<RefPtr<mozilla::a11y::Accessible> > >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsPtrHashKey<void>, nsTArray<JITFrameInfoForBufferRange::JITFrameKey> >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsGenericHashKey<JITFrameInfoForBufferRange::JITFrameKey>, nsTString<char> >::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsTHashtable<nsCStringHashKey> >::nsClassHashtable()
nsClassHashtable<nsCStringHashKey, mozilla::Telemetry::KeyedStackCapturer::StackFrequencyInfo>::nsClassHashtable()
Line
Count
Source
35
3
  nsClassHashtable() {}
TelemetryEvent.cpp:nsClassHashtable<nsUint32HashKey, nsTArray<(anonymous namespace)::EventRecord> >::nsClassHashtable()
Line
Count
Source
35
3
  nsClassHashtable() {}
Unexecuted instantiation: TelemetryScalar.cpp:nsClassHashtable<nsUint32HashKey, (anonymous namespace)::ScalarBase>::nsClassHashtable()
Unexecuted instantiation: TelemetryScalar.cpp:nsClassHashtable<nsUint32HashKey, (anonymous namespace)::KeyedScalar>::nsClassHashtable()
Unexecuted instantiation: TelemetryScalar.cpp:nsClassHashtable<nsCStringHashKey, (anonymous namespace)::ScalarBase>::nsClassHashtable()
TelemetryScalar.cpp:nsClassHashtable<nsUint32HashKey, nsClassHashtable<nsUint32HashKey, (anonymous namespace)::ScalarBase> >::nsClassHashtable()
Line
Count
Source
35
6
  nsClassHashtable() {}
TelemetryScalar.cpp:nsClassHashtable<nsUint32HashKey, nsClassHashtable<nsUint32HashKey, (anonymous namespace)::KeyedScalar> >::nsClassHashtable()
Line
Count
Source
35
6
  nsClassHashtable() {}
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, mozilla::safebrowsing::CachedFullHashResponse>::nsClassHashtable()
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, mozilla::safebrowsing::VLPrefixSet::PrefixString>::nsClassHashtable()
nsClassHashtable<nsCStringHashKey, mozilla::scache::CacheEntry>::nsClassHashtable()
Line
Count
Source
35
3
  nsClassHashtable() {}
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, nsTArray<nsTString<char> > >::nsClassHashtable()
36
  explicit nsClassHashtable(uint32_t aInitLength)
37
    : nsBaseHashtable<KeyClass, nsAutoPtr<T>, T*>(aInitLength)
38
11
  {
39
11
  }
nsClassHashtable<nsCStringHashKey, mozilla::net::nsHttpAuthNode>::nsClassHashtable(unsigned int)
Line
Count
Source
38
2
  {
39
2
  }
nsClassHashtable<nsCStringHashKey, mozJSComponentLoader::ModuleEntry>::nsClassHashtable(unsigned int)
Line
Count
Source
38
3
  {
39
3
  }
nsClassHashtable<nsCStringHashKey, nsTString<char> >::nsClassHashtable(unsigned int)
Line
Count
Source
38
3
  {
39
3
  }
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsTArray<RefPtr<gfxFontFamily> > >::nsClassHashtable(unsigned int)
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsTHashtable<mozilla::dom::LocalStorageManager::LocalStorageCacheHashKey> >::nsClassHashtable(unsigned int)
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, nsClassHashtable<nsRefPtrHashKey<nsAtom>, nsXBLAttributeEntry> >::nsClassHashtable(unsigned int)
Unexecuted instantiation: nsClassHashtable<nsRefPtrHashKey<nsAtom>, nsXBLAttributeEntry>::nsClassHashtable(unsigned int)
TelemetryEvent.cpp:nsClassHashtable<nsCStringHashKey, (anonymous namespace)::EventKey>::nsClassHashtable(unsigned int)
Line
Count
Source
38
3
  {
39
3
  }
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, TestHashtables::TestUniChar>::nsClassHashtable(unsigned int)
40
41
  /**
42
   * Looks up aKey in the hash table. If it doesn't exist a new object of
43
   * KeyClass will be created (using the arguments provided) and then returned.
44
   */
45
  template<typename... Args>
46
  UserDataType LookupOrAdd(KeyType aKey, Args&&... aConstructionArgs);
47
48
  /**
49
   * @copydoc nsBaseHashtable::Get
50
   * @param aData if the key doesn't exist, pData will be set to nullptr.
51
   */
52
  bool Get(KeyType aKey, UserDataType* aData) const;
53
54
  /**
55
   * @copydoc nsBaseHashtable::Get
56
   * @returns nullptr if the key is not present.
57
   */
58
  UserDataType Get(KeyType aKey) const;
59
};
60
61
template<typename K, typename T>
62
inline void
63
ImplCycleCollectionUnlink(nsClassHashtable<K, T>& aField)
64
{
65
  aField.Clear();
66
}
67
68
template<typename K, typename T>
69
inline void
70
ImplCycleCollectionTraverse(nsCycleCollectionTraversalCallback& aCallback,
71
                            const nsClassHashtable<K, T>& aField,
72
                            const char* aName,
73
                            uint32_t aFlags = 0)
74
{
75
  for (auto iter = aField.ConstIter(); !iter.Done(); iter.Next()) {
76
    ImplCycleCollectionTraverse(aCallback, *iter.UserData(), aName, aFlags);
77
  }
78
}
79
80
//
81
// nsClassHashtable definitions
82
//
83
84
template<class KeyClass, class T>
85
template<typename... Args>
86
T*
87
nsClassHashtable<KeyClass, T>::LookupOrAdd(KeyType aKey,
88
                                           Args&&... aConstructionArgs)
89
80
{
90
80
  auto count = this->Count();
91
80
  typename base_type::EntryType* ent = this->PutEntry(aKey);
92
80
  if (count != this->Count()) {
93
59
    ent->mData = new T(std::forward<Args>(aConstructionArgs)...);
94
59
  }
95
80
  return ent->mData;
96
80
}
Unexecuted instantiation: nsTArray<nsAutoAnimationMutationBatch::Entry>* nsClassHashtable<nsPtrHashKey<nsINode>, nsTArray<nsAutoAnimationMutationBatch::Entry> >::LookupOrAdd<>(nsINode*)
nsChromeRegistryChrome::PackageEntry* nsClassHashtable<nsCStringHashKey, nsChromeRegistryChrome::PackageEntry>::LookupOrAdd<>(nsTSubstring<char> const&)
Line
Count
Source
89
75
{
90
75
  auto count = this->Count();
91
75
  typename base_type::EntryType* ent = this->PutEntry(aKey);
92
75
  if (count != this->Count()) {
93
54
    ent->mData = new T(std::forward<Args>(aConstructionArgs)...);
94
54
  }
95
75
  return ent->mData;
96
75
}
Unexecuted instantiation: nsTArray<RefPtr<nsCookie> >* nsClassHashtable<mozilla::net::nsCookieKey, nsTArray<RefPtr<nsCookie> > >::LookupOrAdd<>(mozilla::net::nsCookieKey const&)
Unexecuted instantiation: nsTArray<RefPtr<mozilla::net::nsHttpTransaction> >* nsClassHashtable<nsUint64HashKey, nsTArray<RefPtr<mozilla::net::nsHttpTransaction> > >::LookupOrAdd<>(unsigned long const&)
mozilla::ScriptPreloader::CachedScript* nsClassHashtable<nsCStringHashKey, mozilla::ScriptPreloader::CachedScript>::LookupOrAdd<mozilla::ScriptPreloader&, nsTString<char> const&, nsTString<char> const&, JS::Handle<JSScript*>&>(nsTSubstring<char> const&, mozilla::ScriptPreloader&, nsTString<char> const&, nsTString<char> const&, JS::Handle<JSScript*>&)
Line
Count
Source
89
5
{
90
5
  auto count = this->Count();
91
5
  typename base_type::EntryType* ent = this->PutEntry(aKey);
92
5
  if (count != this->Count()) {
93
5
    ent->mData = new T(std::forward<Args>(aConstructionArgs)...);
94
5
  }
95
5
  return ent->mData;
96
5
}
Unexecuted instantiation: mozilla::ScriptPreloader::CachedScript* nsClassHashtable<nsCStringHashKey, mozilla::ScriptPreloader::CachedScript>::LookupOrAdd<mozilla::ScriptPreloader&, nsTString<char> const&, nsTString<char> const&, decltype(nullptr)>(nsTSubstring<char> const&, mozilla::ScriptPreloader&, nsTString<char> const&, nsTString<char> const&, decltype(nullptr)&&)
Unexecuted instantiation: mozilla::URLPreloader::URLEntry* nsClassHashtable<nsGenericHashKey<mozilla::URLPreloader::CacheKey>, mozilla::URLPreloader::URLEntry>::LookupOrAdd<mozilla::URLPreloader::CacheKey&>(mozilla::URLPreloader::CacheKey const&, mozilla::URLPreloader::CacheKey&)
Unexecuted instantiation: mozilla::URLPreloader::URLEntry* nsClassHashtable<nsGenericHashKey<mozilla::URLPreloader::CacheKey>, mozilla::URLPreloader::URLEntry>::LookupOrAdd<mozilla::URLPreloader::CacheKey const&>(mozilla::URLPreloader::CacheKey const&, mozilla::URLPreloader::CacheKey const&)
Unexecuted instantiation: mozilla::layers::AnimatedValue* nsClassHashtable<nsUint64HashKey, mozilla::layers::AnimatedValue>::LookupOrAdd<mozilla::gfx::Matrix4x4Typed<mozilla::gfx::UnknownUnits, mozilla::gfx::UnknownUnits>, mozilla::gfx::Matrix4x4Typed<mozilla::gfx::UnknownUnits, mozilla::gfx::UnknownUnits>, mozilla::layers::TransformData const&>(unsigned long const&, mozilla::gfx::Matrix4x4Typed<mozilla::gfx::UnknownUnits, mozilla::gfx::UnknownUnits>&&, mozilla::gfx::Matrix4x4Typed<mozilla::gfx::UnknownUnits, mozilla::gfx::UnknownUnits>&&, mozilla::layers::TransformData const&)
Unexecuted instantiation: mozilla::layers::AnimatedValue* nsClassHashtable<nsUint64HashKey, mozilla::layers::AnimatedValue>::LookupOrAdd<float const&>(unsigned long const&, float const&)
Unexecuted instantiation: nsTArray<nsIWidget::ThemeGeometry>* nsClassHashtable<nsPtrHashKey<nsDisplayItem>, nsTArray<nsIWidget::ThemeGeometry> >::LookupOrAdd<>(nsDisplayItem*)
Unexecuted instantiation: mozilla::Keyframe* nsClassHashtable<nsFloatHashKey, mozilla::Keyframe>::LookupOrAdd<>(float const&)
Unexecuted instantiation: AutoTArray<mozilla::dom::HTMLSlotElement*, 1ul>* nsClassHashtable<nsStringHashKey, AutoTArray<mozilla::dom::HTMLSlotElement*, 1ul> >::LookupOrAdd<>(nsTSubstring<char16_t> const&)
Unexecuted instantiation: nsTArray<mozilla::DDLifetime>* nsClassHashtable<mozilla::DDLifetimes::DDLogObjectHashKey, nsTArray<mozilla::DDLifetime> >::LookupOrAdd<int>(mozilla::DDLogObject const&, int&&)
Unexecuted instantiation: nsRefPtrHashtable<nsStringHashKey, mozilla::MediaEngineSource>* nsClassHashtable<nsUint64HashKey, nsRefPtrHashtable<nsStringHashKey, mozilla::MediaEngineSource> >::LookupOrAdd<>(unsigned long const&)
Unexecuted instantiation: nsTArray<RefPtr<mozilla::MediaEngineSource> >* nsClassHashtable<nsUint64HashKey, nsTArray<RefPtr<mozilla::MediaEngineSource> > >::LookupOrAdd<>(unsigned long const&)
Unexecuted instantiation: nsTArray<RefPtr<mozilla::MediaEngineDefaultAudioSource> >* nsClassHashtable<nsUint64HashKey, nsTArray<RefPtr<mozilla::MediaEngineDefaultAudioSource> > >::LookupOrAdd<>(unsigned long const&)
Unexecuted instantiation: mozilla::dom::MIDIMessageQueue* nsClassHashtable<nsStringHashKey, mozilla::dom::MIDIMessageQueue>::LookupOrAdd<>(nsTSubstring<char16_t> const&)
Unexecuted instantiation: nsTHashtable<mozilla::dom::LocalStorageManager::LocalStorageCacheHashKey>* nsClassHashtable<nsCStringHashKey, nsTHashtable<mozilla::dom::LocalStorageManager::LocalStorageCacheHashKey> >::LookupOrAdd<>(nsTSubstring<char> const&)
Unexecuted instantiation: std::__1::function<void (PRFileDesc*)>* nsClassHashtable<nsUint64HashKey, std::__1::function<void (PRFileDesc*)> >::LookupOrAdd<std::__1::function<void (PRFileDesc*)> const&>(unsigned long const&, std::__1::function<void (PRFileDesc*)> const&)
Unexecuted instantiation: nsTArray<mozilla::dom::ContentParent*>* nsClassHashtable<nsStringHashKey, nsTArray<mozilla::dom::ContentParent*> >::LookupOrAdd<>(nsTSubstring<char16_t> const&)
Unexecuted instantiation: mozilla::dom::ipc::SharedMap::Entry* nsClassHashtable<nsCStringHashKey, mozilla::dom::ipc::SharedMap::Entry>::LookupOrAdd<mozilla::dom::ipc::WritableSharedMap&, nsTSubstring<char> const&>(nsTSubstring<char> const&, mozilla::dom::ipc::WritableSharedMap&, nsTSubstring<char> const&)
Unexecuted instantiation: mozilla::ServoElementSnapshot* nsClassHashtable<nsRefPtrHashKey<mozilla::dom::Element>, mozilla::ServoElementSnapshot>::LookupOrAdd<mozilla::dom::Element&>(mozilla::dom::Element*, mozilla::dom::Element&)
Unexecuted instantiation: nsTArray<nsCOMPtr<nsIContent> >* nsClassHashtable<nsRefPtrHashKey<mozilla::a11y::Accessible>, nsTArray<nsCOMPtr<nsIContent> > >::LookupOrAdd<>(mozilla::a11y::Accessible*)
Unexecuted instantiation: nsTArray<RefPtr<mozilla::a11y::Accessible> >* nsClassHashtable<nsPtrHashKey<mozilla::a11y::Accessible>, nsTArray<RefPtr<mozilla::a11y::Accessible> > >::LookupOrAdd<>(mozilla::a11y::Accessible*)
Unexecuted instantiation: nsTArray<JITFrameInfoForBufferRange::JITFrameKey>* nsClassHashtable<nsPtrHashKey<void>, nsTArray<JITFrameInfoForBufferRange::JITFrameKey> >::LookupOrAdd<nsTArray<JITFrameInfoForBufferRange::JITFrameKey> const&>(void*, nsTArray<JITFrameInfoForBufferRange::JITFrameKey> const&)
Unexecuted instantiation: nsTString<char>* nsClassHashtable<nsGenericHashKey<JITFrameInfoForBufferRange::JITFrameKey>, nsTString<char> >::LookupOrAdd<nsTString<char> const&>(JITFrameInfoForBufferRange::JITFrameKey const&, nsTString<char> const&)
Unexecuted instantiation: nsTArray<JITFrameInfoForBufferRange::JITFrameKey>* nsClassHashtable<nsPtrHashKey<void>, nsTArray<JITFrameInfoForBufferRange::JITFrameKey> >::LookupOrAdd<>(void*)
Unexecuted instantiation: nsTString<char>* nsClassHashtable<nsGenericHashKey<JITFrameInfoForBufferRange::JITFrameKey>, nsTString<char> >::LookupOrAdd<>(JITFrameInfoForBufferRange::JITFrameKey const&)
Unexecuted instantiation: mozilla::safebrowsing::CachedFullHashResponse* nsClassHashtable<nsUint32HashKey, mozilla::safebrowsing::CachedFullHashResponse>::LookupOrAdd<>(unsigned int const&)
Unexecuted instantiation: nsTString<char>* nsClassHashtable<nsUint32HashKey, nsTString<char> >::LookupOrAdd<>(unsigned int const&)
97
98
template<class KeyClass, class T>
99
bool
100
nsClassHashtable<KeyClass, T>::Get(KeyType aKey, T** aRetVal) const
101
17
{
102
17
  typename base_type::EntryType* ent = this->GetEntry(aKey);
103
17
104
17
  if (ent) {
105
4
    if (aRetVal) {
106
4
      *aRetVal = ent->mData;
107
4
    }
108
4
109
4
    return true;
110
4
  }
111
13
112
13
  if (aRetVal) {
113
13
    *aRetVal = nullptr;
114
13
  }
115
13
116
13
  return false;
117
13
}
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsChromeRegistryChrome::PackageEntry>::Get(nsTSubstring<char> const&, nsChromeRegistryChrome::PackageEntry**) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsChromeRegistryContent::PackageEntry>::Get(nsTSubstring<char> const&, nsChromeRegistryContent::PackageEntry**) const
Unexecuted instantiation: nsClassHashtable<mozilla::net::nsCookieKey, nsTArray<RefPtr<nsCookie> > >::Get(mozilla::net::nsCookieKey const&, nsTArray<RefPtr<nsCookie> >**) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsTArray<RefPtr<mozilla::net::DNSRequestChild> > >::Get(nsTSubstring<char> const&, nsTArray<RefPtr<mozilla::net::DNSRequestChild> >**) const
nsClassHashtable<nsCStringHashKey, nsTString<char> >::Get(nsTSubstring<char> const&, nsTString<char>**) const
Line
Count
Source
101
4
{
102
4
  typename base_type::EntryType* ent = this->GetEntry(aKey);
103
4
104
4
  if (ent) {
105
0
    if (aRetVal) {
106
0
      *aRetVal = ent->mData;
107
0
    }
108
0
109
0
    return true;
110
0
  }
111
4
112
4
  if (aRetVal) {
113
4
    *aRetVal = nullptr;
114
4
  }
115
4
116
4
  return false;
117
4
}
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, mozilla::net::ChunkListeners>::Get(unsigned int const&, mozilla::net::ChunkListeners**) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::net::CacheEntryTable>::Get(nsTSubstring<char> const&, mozilla::net::CacheEntryTable**) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsPreflightCache::CacheEntry>::Get(nsTSubstring<char> const&, nsPreflightCache::CacheEntry**) const
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, nsTArray<RefPtr<mozilla::net::nsHttpConnectionMgr::PendingTransactionInfo> > >::Get(unsigned long const&, nsTArray<RefPtr<mozilla::net::nsHttpConnectionMgr::PendingTransactionInfo> >**) const
nsClassHashtable<nsCStringHashKey, mozJSComponentLoader::ModuleEntry>::Get(nsTSubstring<char> const&, mozJSComponentLoader::ModuleEntry**) const
Line
Count
Source
101
8
{
102
8
  typename base_type::EntryType* ent = this->GetEntry(aKey);
103
8
104
8
  if (ent) {
105
4
    if (aRetVal) {
106
4
      *aRetVal = ent->mData;
107
4
    }
108
4
109
4
    return true;
110
4
  }
111
4
112
4
  if (aRetVal) {
113
4
    *aRetVal = nullptr;
114
4
  }
115
4
116
4
  return false;
117
4
}
Unexecuted instantiation: nsClassHashtable<nsStringHashKey, mozilla::dom::nsRadioGroupStruct>::Get(nsTSubstring<char16_t> const&, mozilla::dom::nsRadioGroupStruct**) const
Unexecuted instantiation: nsClassHashtable<nsISupportsHashKey, nsCOMArray<nsMutationReceiver> >::Get(nsISupports*, nsCOMArray<nsMutationReceiver>**) const
Unexecuted instantiation: nsClassHashtable<nsURIHashKey, nsExternalResourceMap::ExternalResource>::Get(nsIURI*, nsExternalResourceMap::ExternalResource**) const
Unexecuted instantiation: nsClassHashtable<nsCharPtrHashKey, nsTArray<nsCOMPtr<nsIObserver> > >::Get(char const*, nsTArray<nsCOMPtr<nsIObserver> >**) const
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, mozilla::PointerCaptureInfo>::Get(unsigned int const&, mozilla::PointerCaptureInfo**) const
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, mozilla::PointerInfo>::Get(unsigned int const&, mozilla::PointerInfo**) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::dom::DataInfo>::Get(nsTSubstring<char> const&, mozilla::dom::DataInfo**) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::dom::FileHandleThreadPool::DirectoryInfo>::Get(nsTSubstring<char> const&, mozilla::dom::FileHandleThreadPool::DirectoryInfo**) const
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, nsTArray<nsTString<char16_t> > >::Get(unsigned long const&, nsTArray<nsTString<char16_t> >**) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::gmp::GMPDiskStorage::Record>::Get(nsTSubstring<char> const&, mozilla::gmp::GMPDiskStorage::Record**) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::gmp::GMPMemoryStorage::Record>::Get(nsTSubstring<char> const&, mozilla::gmp::GMPMemoryStorage::Record**) const
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, nsTArray<RefPtr<mozilla::GMPCrashHelper> > >::Get(unsigned int const&, nsTArray<RefPtr<mozilla::GMPCrashHelper> >**) const
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, mozilla::SkeletonState::nsKeyFrameIndex>::Get(unsigned int const&, mozilla::SkeletonState::nsKeyFrameIndex**) const
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, mozilla::OggCodecState>::Get(unsigned int const&, mozilla::OggCodecState**) const
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, mozilla::MessageField>::Get(unsigned int const&, mozilla::MessageField**) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::media::OriginKeyStore::OriginKey>::Get(nsTSubstring<char> const&, mozilla::media::OriginKeyStore::OriginKey**) const
Unexecuted instantiation: nsClassHashtable<nsStringHashKey, mozilla::dom::MIDIMessageQueue>::Get(nsTSubstring<char16_t> const&, mozilla::dom::MIDIMessageQueue**) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsTArray<mozilla::dom::quota::DirectoryLockImpl*> >::Get(nsTSubstring<char> const&, nsTArray<mozilla::dom::quota::DirectoryLockImpl*>**) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::dom::quota::GroupInfoPair>::Get(nsTSubstring<char> const&, mozilla::dom::quota::GroupInfoPair**) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsRefPtrHashtable<nsCStringHashKey, mozilla::dom::SessionStorageCache> >::Get(nsTSubstring<char> const&, nsRefPtrHashtable<nsCStringHashKey, mozilla::dom::SessionStorageCache>**) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::dom::StorageDBThread::DBOperation>::Get(nsTSubstring<char> const&, mozilla::dom::StorageDBThread::DBOperation**) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsTArray<mozilla::dom::LocalStorageCacheParent*> >::Get(nsTSubstring<char> const&, nsTArray<mozilla::dom::LocalStorageCacheParent*>**) const
Unexecuted instantiation: ActorsParent.cpp:nsClassHashtable<nsCStringHashKey, mozilla::dom::indexedDB::(anonymous namespace)::DatabaseActorInfo>::Get(nsTSubstring<char> const&, mozilla::dom::indexedDB::(anonymous namespace)::DatabaseActorInfo**) const
Unexecuted instantiation: ActorsParent.cpp:nsClassHashtable<nsUint64HashKey, mozilla::dom::indexedDB::(anonymous namespace)::DatabaseConnection::UpdateRefcountFunction::FileInfoEntry>::Get(unsigned long const&, mozilla::dom::indexedDB::(anonymous namespace)::DatabaseConnection::UpdateRefcountFunction::FileInfoEntry**) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::dom::indexedDB::FileManagerInfo>::Get(nsTSubstring<char> const&, mozilla::dom::indexedDB::FileManagerInfo**) const
Unexecuted instantiation: nsClassHashtable<nsRefPtrHashKey<mozilla::dom::indexedDB::FileManager>, nsTArray<long> >::Get(mozilla::dom::indexedDB::FileManager*, nsTArray<long>**) const
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, mozilla::dom::CoalescedMouseData>::Get(unsigned int const&, mozilla::dom::CoalescedMouseData**) const
Unexecuted instantiation: nsClassHashtable<nsStringHashKey, nsTArray<nsAutoPtr<mozilla::a11y::DocAccessible::AttrRelProvider> > >::Get(nsTSubstring<char16_t> const&, nsTArray<nsAutoPtr<mozilla::a11y::DocAccessible::AttrRelProvider> >**) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::dom::workerinternals::RuntimeService::WorkerDomainInfo>::Get(nsTSubstring<char> const&, mozilla::dom::workerinternals::RuntimeService::WorkerDomainInfo**) const
Unexecuted instantiation: nsClassHashtable<nsPtrHashKey<nsPIDOMWindowInner>, nsTArray<mozilla::dom::WorkerPrivate*> >::Get(nsPIDOMWindowInner*, nsTArray<mozilla::dom::WorkerPrivate*>**) const
Unexecuted instantiation: nsClassHashtable<nsStringHashKey, nsTArray<mozilla::dom::BroadcastChannelParent*> >::Get(nsTSubstring<char16_t> const&, nsTArray<mozilla::dom::BroadcastChannelParent*>**) const
Unexecuted instantiation: nsClassHashtable<nsIDHashKey, mozilla::dom::MessagePortService::MessagePortServiceData>::Get(nsID const&, mozilla::dom::MessagePortService::MessagePortServiceData**) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsWebBrowserPersist::URIData>::Get(nsTSubstring<char> const&, nsWebBrowserPersist::URIData**) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::dom::ServiceWorkerManager::RegistrationDataPerPrincipal>::Get(nsTSubstring<char> const&, mozilla::dom::ServiceWorkerManager::RegistrationDataPerPrincipal**) const
Unexecuted instantiation: nsClassHashtable<nsISupportsHashKey, nsTArray<nsTString<char16_t> > >::Get(nsISupports*, nsTArray<nsTString<char16_t> >**) const
Unexecuted instantiation: nsClassHashtable<nsStringHashKey, mozilla::dom::PresentationServiceBase<mozilla::dom::PresentationSessionInfo>::AvailabilityManager::AvailabilityEntry>::Get(nsTSubstring<char16_t> const&, mozilla::dom::PresentationServiceBase<mozilla::dom::PresentationSessionInfo>::AvailabilityManager::AvailabilityEntry**) const
Unexecuted instantiation: nsClassHashtable<nsStringHashKey, mozilla::dom::PresentationServiceBase<mozilla::dom::PresentationContentSessionInfo>::AvailabilityManager::AvailabilityEntry>::Get(nsTSubstring<char16_t> const&, mozilla::dom::PresentationServiceBase<mozilla::dom::PresentationContentSessionInfo>::AvailabilityManager::AvailabilityEntry**) const
Unexecuted instantiation: TelemetryEvent.cpp:nsClassHashtable<nsCStringHashKey, (anonymous namespace)::EventKey>::Get(nsTSubstring<char> const&, (anonymous namespace)::EventKey**) const
Unexecuted instantiation: TelemetryEvent.cpp:nsClassHashtable<nsUint32HashKey, nsTArray<(anonymous namespace)::EventRecord> >::Get(unsigned int const&, nsTArray<(anonymous namespace)::EventRecord>**) const
Unexecuted instantiation: TelemetryScalar.cpp:nsClassHashtable<nsCStringHashKey, (anonymous namespace)::ScalarBase>::Get(nsTSubstring<char> const&, (anonymous namespace)::ScalarBase**) const
Unexecuted instantiation: TelemetryScalar.cpp:nsClassHashtable<nsUint32HashKey, nsClassHashtable<nsUint32HashKey, (anonymous namespace)::ScalarBase> >::Get(unsigned int const&, nsClassHashtable<nsUint32HashKey, (anonymous namespace)::ScalarBase>**) const
Unexecuted instantiation: TelemetryScalar.cpp:nsClassHashtable<nsUint32HashKey, (anonymous namespace)::ScalarBase>::Get(unsigned int const&, (anonymous namespace)::ScalarBase**) const
Unexecuted instantiation: TelemetryScalar.cpp:nsClassHashtable<nsUint32HashKey, nsClassHashtable<nsUint32HashKey, (anonymous namespace)::KeyedScalar> >::Get(unsigned int const&, nsClassHashtable<nsUint32HashKey, (anonymous namespace)::KeyedScalar>**) const
Unexecuted instantiation: TelemetryScalar.cpp:nsClassHashtable<nsUint32HashKey, (anonymous namespace)::KeyedScalar>::Get(unsigned int const&, (anonymous namespace)::KeyedScalar**) const
nsClassHashtable<nsCStringHashKey, mozilla::scache::CacheEntry>::Get(nsTSubstring<char> const&, mozilla::scache::CacheEntry**) const
Line
Count
Source
101
5
{
102
5
  typename base_type::EntryType* ent = this->GetEntry(aKey);
103
5
104
5
  if (ent) {
105
0
    if (aRetVal) {
106
0
      *aRetVal = ent->mData;
107
0
    }
108
0
109
0
    return true;
110
0
  }
111
5
112
5
  if (aRetVal) {
113
5
    *aRetVal = nullptr;
114
5
  }
115
5
116
5
  return false;
117
5
}
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, TestHashtables::TestUniChar>::Get(nsTSubstring<char> const&, TestHashtables::TestUniChar**) const
118
119
template<class KeyClass, class T>
120
T*
121
nsClassHashtable<KeyClass, T>::Get(KeyType aKey) const
122
10
{
123
10
  typename base_type::EntryType* ent = this->GetEntry(aKey);
124
10
  if (!ent) {
125
10
    return nullptr;
126
10
  }
127
0
128
0
  return ent->mData;
129
0
}
Unexecuted instantiation: nsClassHashtable<nsPtrHashKey<nsINode>, nsTArray<nsAutoAnimationMutationBatch::Entry> >::Get(nsINode*) const
Unexecuted instantiation: nsClassHashtable<nsRefPtrHashKey<nsAtom>, nsTHashtable<nsRefPtrHashKey<nsIWeakReference> > >::Get(nsAtom*) const
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, mozilla::safebrowsing::CachedFullHashResponse>::Get(unsigned int const&) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsTArray<RefPtr<nsAtom> > >::Get(nsTSubstring<char> const&) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, BFSTableData>::Get(nsTSubstring<char> const&) const
Unexecuted instantiation: nsClassHashtable<nsPtrHashKey<mozilla::net::nsAHttpTransaction>, mozilla::net::Http2Stream>::Get(mozilla::net::nsAHttpTransaction*) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::net::nsHttpAuthNode>::Get(nsTSubstring<char> const&) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsTArray<nsCOMPtr<nsIWeakReference> > >::Get(nsTSubstring<char> const&) const
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, nsTArray<RefPtr<mozilla::net::nsHttpConnectionMgr::PendingTransactionInfo> > >::Get(unsigned long const&) const
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, nsTArray<RefPtr<mozilla::net::nsHttpTransaction> > >::Get(unsigned long const&) const
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, mozilla::net::WebSocketEventService::WindowListener>::Get(unsigned long const&) const
Unexecuted instantiation: Unified_cpp_hal0.cpp:nsClassHashtable<nsStringHashKey, nsDataHashtable<nsUint64HashKey, (anonymous namespace)::LockCount> >::Get(nsTSubstring<char16_t> const&) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozJSComponentLoader::ModuleEntry>::Get(nsTSubstring<char> const&) const
nsClassHashtable<nsCStringHashKey, mozilla::ScriptPreloader::CachedScript>::Get(nsTSubstring<char> const&) const
Line
Count
Source
122
10
{
123
10
  typename base_type::EntryType* ent = this->GetEntry(aKey);
124
10
  if (!ent) {
125
10
    return nullptr;
126
10
  }
127
0
128
0
  return ent->mData;
129
0
}
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, mozilla::layers::AnimatedValue>::Get(unsigned long const&) const
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, nsTArray<mozilla::layers::Animation> >::Get(unsigned long const&) const
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, mozilla::layers::AsyncImagePipelineManager::PipelineTexturesHolder>::Get(unsigned long const&) const
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, mozilla::layers::AsyncImagePipelineManager::AsyncImagePipeline>::Get(unsigned long const&) const
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, mozilla::layers::CompositorBridgeChild::SharedFrameMetricsData>::Get(unsigned long const&) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsTArray<RefPtr<gfxFontFamily> > >::Get(nsTSubstring<char> const&) const
Unexecuted instantiation: nsClassHashtable<BlurCacheKey, BlurCacheData>::Get(BlurCacheKey const&) const
Unexecuted instantiation: nsClassHashtable<mozilla::gfx::GradientCacheKey, mozilla::gfx::GradientCacheData>::Get(mozilla::gfx::GradientCacheKey const&) const
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, gfxSVGGlyphsDocument>::Get(unsigned int const&) const
Unexecuted instantiation: nsClassHashtable<nsStringHashKey, AutoTArray<mozilla::dom::HTMLSlotElement*, 1ul> >::Get(nsTSubstring<char16_t> const&) const
Unexecuted instantiation: nsClassHashtable<nsIDHashKey, mozilla::dom::IPCBlobInputStreamStorage::StreamData>::Get(nsID const&) const
Unexecuted instantiation: nsClassHashtable<mozilla::DDLifetimes::DDLogObjectHashKey, nsTArray<mozilla::DDLifetime> >::Get(mozilla::DDLogObject const&) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::gmp::GMPDiskStorage::Record>::Get(nsTSubstring<char> const&) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::gmp::GMPMemoryStorage::Record>::Get(nsTSubstring<char> const&) const
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, mozilla::OggCodecState>::Get(unsigned int const&) const
Unexecuted instantiation: nsClassHashtable<nsRefPtrHashKey<mozilla::MediaRawData>, mozilla::MozPromiseRequestHolder<mozilla::MozPromise<mozilla::DecryptResult, mozilla::DecryptResult, true> > >::Get(mozilla::MediaRawData*) const
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, mozilla::media::MediaSystemResourceManagerParent::MediaSystemResourceRequest>::Get(unsigned int const&) const
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, mozilla::MediaSystemResourceService::MediaSystemResource>::Get(unsigned int const&) const
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, nsRefPtrHashtable<nsStringHashKey, mozilla::MediaEngineSource> >::Get(unsigned long const&) const
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, nsTArray<RefPtr<mozilla::MediaEngineDefaultAudioSource> > >::Get(unsigned long const&) const
Unexecuted instantiation: nsClassHashtable<nsUint64HashKey, nsTArray<RefPtr<mozilla::MediaEngineSource> > >::Get(unsigned long const&) const
Unexecuted instantiation: nsClassHashtable<nsStringHashKey, mozilla::dom::MIDIMessageQueue>::Get(nsTSubstring<char16_t> const&) const
Unexecuted instantiation: ActorsParent.cpp:nsClassHashtable<nsCStringHashKey, mozilla::dom::indexedDB::(anonymous namespace)::ConnectionPool::DatabaseInfo>::Get(nsTSubstring<char> const&) const
Unexecuted instantiation: ActorsParent.cpp:nsClassHashtable<nsUint64HashKey, mozilla::dom::indexedDB::(anonymous namespace)::ConnectionPool::TransactionInfo>::Get(unsigned long const&) const
Unexecuted instantiation: ActorsParent.cpp:nsClassHashtable<nsStringHashKey, mozilla::dom::indexedDB::(anonymous namespace)::ConnectionPool::TransactionInfoPair>::Get(nsTSubstring<char16_t> const&) const
Unexecuted instantiation: nsClassHashtable<nsStringHashKey, nsTArray<mozilla::dom::ContentParent*> >::Get(nsTSubstring<char16_t> const&) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::dom::ipc::SharedMap::Entry>::Get(nsTSubstring<char> const&) const
Unexecuted instantiation: nsClassHashtable<nsPtrHashKey<mozilla::a11y::Accessible>, nsTArray<RefPtr<mozilla::a11y::Accessible> > >::Get(mozilla::a11y::Accessible*) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsXBLPrototypeBinding>::Get(nsTSubstring<char> const&) const
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, nsClassHashtable<nsRefPtrHashKey<nsAtom>, nsXBLAttributeEntry> >::Get(unsigned int const&) const
Unexecuted instantiation: nsClassHashtable<nsRefPtrHashKey<nsAtom>, nsXBLAttributeEntry>::Get(nsAtom*) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsTString<char> >::Get(nsTSubstring<char> const&) const
Unexecuted instantiation: nsClassHashtable<nsISupportsHashKey, nsWebBrowserPersist::OutputData>::Get(nsISupports*) const
Unexecuted instantiation: nsClassHashtable<nsISupportsHashKey, nsWebBrowserPersist::UploadData>::Get(nsISupports*) const
Unexecuted instantiation: nsClassHashtable<nsIDHashKey, mozilla::dom::ServiceWorkerManager::ControlledClientData>::Get(nsID const&) const
Unexecuted instantiation: nsClassHashtable<nsStringHashKey, WakeLockTopic>::Get(nsTSubstring<char16_t> const&) const
Unexecuted instantiation: nsClassHashtable<nsISupportsHashKey, nsTArray<mozilla::css::ImageLoader::FrameWithFlags> >::Get(nsISupports*) const
Unexecuted instantiation: nsClassHashtable<nsRefPtrHashKey<mozilla::dom::Element>, mozilla::ServoElementSnapshot>::Get(mozilla::dom::Element*) const
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, nsRefreshDriver::ImageStartData>::Get(unsigned int const&) const
Unexecuted instantiation: nsClassHashtable<nsPtrHashKey<gfxFontEntry>, mozilla::dom::InspectorFontFace>::Get(gfxFontEntry*) const
Unexecuted instantiation: nsClassHashtable<nsStringHashKey, nsTArray<nsAutoPtr<mozilla::a11y::DocAccessible::AttrRelProvider> > >::Get(nsTSubstring<char16_t> const&) const
Unexecuted instantiation: nsClassHashtable<nsPtrHashKey<void>, nsTArray<JITFrameInfoForBufferRange::JITFrameKey> >::Get(void*) const
Unexecuted instantiation: nsClassHashtable<nsGenericHashKey<JITFrameInfoForBufferRange::JITFrameKey>, nsTString<char> >::Get(JITFrameInfoForBufferRange::JITFrameKey const&) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, nsTHashtable<nsCStringHashKey> >::Get(nsTSubstring<char> const&) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::Telemetry::KeyedStackCapturer::StackFrequencyInfo>::Get(nsTSubstring<char> const&) const
Unexecuted instantiation: nsClassHashtable<nsCStringHashKey, mozilla::scache::CacheEntry>::Get(nsTSubstring<char> const&) const
Unexecuted instantiation: nsClassHashtable<nsUint32HashKey, nsTArray<nsTString<char> > >::Get(unsigned int const&) const
130
131
#endif // nsClassHashtable_h__