Coverage Report

Created: 2018-09-25 14:53

/work/obj-fuzz/dist/include/nsDataHashtable.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 nsDataHashtable_h__
8
#define nsDataHashtable_h__
9
10
#include "nsHashKeys.h"
11
#include "nsBaseHashtable.h"
12
#include "mozilla/Maybe.h"
13
14
/**
15
 * templated hashtable class maps keys to simple datatypes.
16
 * See nsBaseHashtable for complete declaration
17
 * @param KeyClass a wrapper-class for the hashtable key, see nsHashKeys.h
18
 *   for a complete specification.
19
 * @param DataType the simple datatype being wrapped
20
 * @see nsInterfaceHashtable, nsClassHashtable
21
 */
22
template<class KeyClass, class DataType>
23
class nsDataHashtable
24
  : public nsBaseHashtable<KeyClass, DataType, DataType>
25
{
26
private:
27
  typedef nsBaseHashtable<KeyClass, DataType, DataType> BaseClass;
28
29
public:
30
  using typename BaseClass::KeyType;
31
  using typename BaseClass::EntryType;
32
33
929
  nsDataHashtable() {}
Unexecuted instantiation: nsDataHashtable<nsCStringHashKey, nsTString<char> >::nsDataHashtable()
nsDataHashtable<nsCStringHashKey, int>::nsDataHashtable()
Line
Count
Source
33
3
  nsDataHashtable() {}
nsDataHashtable<nsFuncPtrHashKey<bool (*)(unsigned int, void*)>, void*>::nsDataHashtable()
Line
Count
Source
33
3
  nsDataHashtable() {}
nsDataHashtable<nsCStringHashKey, mozilla::SharedThreadPool*>::nsDataHashtable()
Line
Count
Source
33
3
  nsDataHashtable() {}
Unexecuted instantiation: nsDataHashtable<nsCStringHashKey, mozilla::dom::ipc::StringTableBuilder<nsCStringHashKey, nsTString<char> >::Entry>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsUint32HashKey, mozilla::SharedPrefMapBuilder::ValueTableBuilder<nsUint32HashKey, unsigned int>::Entry>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsGenericHashKey<mozilla::dom::ipc::StringTableEntry>, mozilla::SharedPrefMapBuilder::ValueTableBuilder<nsGenericHashKey<mozilla::dom::ipc::StringTableEntry>, mozilla::dom::ipc::StringTableEntry>::Entry>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsCStringHashKey, unsigned int>::nsDataHashtable()
nsDataHashtable<nsCStringHashKey, TelemetryLoadData>::nsDataHashtable()
Line
Count
Source
33
3
  nsDataHashtable() {}
Unexecuted instantiation: nsDataHashtable<nsStringHashKey, mozilla::dom::ipc::StringTableBuilder<nsStringHashKey, nsTString<char16_t> >::Entry>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsCStringHashKey, mozilla::dom::ipc::SharedStringMap::Entry>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsCStringHashKey, mozilla::dom::IOActivityDataDictionary>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsCStringHashKey, mozilla::TimeStamp>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsCStringHashKey, mozilla::net::Http2PushedStream*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsUint32HashKey, mozilla::net::Http2Stream*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsCStringHashKey, bool>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsDepCharHashKey, mozilla::ipc::ChannelCountReporter::ChannelCounts>::nsDataHashtable()
Unexecuted instantiation: Unified_cpp_hal0.cpp:nsDataHashtable<nsUint64HashKey, (anonymous namespace)::LockCount>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsCStringHashKey, mozilla::storage::Connection::FunctionInfo>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsUint32HashKey, RefPtr<mozilla::layers::TextureClient> >::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsUint64HashKey, mozilla::layers::CompositableClient*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<mozilla::layers::ThreadSafeWeakPtrHashKey<mozilla::gfx::UnscaledFont>, mozilla::wr::FontKey>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<mozilla::layers::ThreadSafeWeakPtrHashKey<mozilla::gfx::ScaledFont>, mozilla::wr::FontInstanceKey>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<mozilla::layers::LayerMLGPU>, unsigned int>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsUint32HashKey, unsigned int>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<void const>, void*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsUint32HashKey, bool>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsUint32HashKey, hb_set_t*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<mozilla::image::IProgressObserver>, mozilla::WeakPtr<mozilla::image::IProgressObserver> >::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsStringHashKey, unsigned int>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsStringHashKey, nsMessageManagerScriptHolder*>::nsDataHashtable()
nsDataHashtable<nsUint64HashKey, nsGlobalWindowInner*>::nsDataHashtable()
Line
Count
Source
33
3
  nsDataHashtable() {}
nsDataHashtable<nsUint64HashKey, nsGlobalWindowOuter*>::nsDataHashtable()
Line
Count
Source
33
3
  nsDataHashtable() {}
Unexecuted instantiation: nsDataHashtable<nsRefPtrHashKey<mozilla::dom::DOMIntersectionObserver>, int>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<imgIRequest>, unsigned int>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsStringHashKey, TMimeType<char16_t>::ParameterValue>::nsDataHashtable()
nsDataHashtable<nsCStringHashKey, TMimeType<char>::ParameterValue>::nsDataHashtable()
Line
Count
Source
33
875
  nsDataHashtable() {}
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<RawServoStyleRule const>, mozilla::WeakPtr<mozilla::dom::CSSStyleRule> >::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsAtom>, bool>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsStringHashKey, mozilla::UniquePtr<RawServoSelectorList, mozilla::DefaultDelete<RawServoSelectorList> > >::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsURIHashKey, bool>::nsDataHashtable()
nsDataHashtable<nsRefPtrHashKey<nsAtom>, int>::nsDataHashtable()
Line
Count
Source
33
6
  nsDataHashtable() {}
nsDataHashtable<nsISupportsHashKey, mozilla::TimeStamp>::nsDataHashtable()
Line
Count
Source
33
3
  nsDataHashtable() {}
Unexecuted instantiation: nsDataHashtable<nsUint64HashKey, nsTString<char> >::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsIDHashKey, mozilla::dom::ClientSourceParent*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsISupportsHashKey, RefPtr<mozilla::EventListenerChange> >::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<mozilla::dom::BlobImpl>, unsigned int>::nsDataHashtable()
nsDataHashtable<nsUint32HashKey, mozilla::MediaStreamGraphImpl*>::nsDataHashtable()
Line
Count
Source
33
3
  nsDataHashtable() {}
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<void const>, nsTArray<RefPtr<mozilla::AudioDataListener> > >::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsCharPtrHashKey, bool>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsUint32HashKey, GMPTask*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsUint32HashKey, mozilla::MediaSystemResourceClient*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsStringHashKey, mozilla::dom::quota::QuotaObject*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsCStringHashKey, unsigned short>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsStringHashKey, nsTString<char16_t> >::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsCStringHashKey, RefPtr<mozilla::dom::StorageUsage> >::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsCStringHashKey, long>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<mozilla::SVGAnimatedLengthList>, mozilla::DOMSVGAnimatedLengthList*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<mozilla::SVGAnimatedNumberList>, mozilla::DOMSVGAnimatedNumberList*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsSVGLength2>, mozilla::DOMSVGLength*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<void>, mozilla::DOMSVGPathSegList*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<void>, mozilla::DOMSVGPointList*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<mozilla::SVGStringList>, mozilla::DOMSVGStringList*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<mozilla::SVGAnimatedPreserveAspectRatio>, mozilla::dom::DOMSVGPreserveAspectRatio*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<mozilla::SVGAnimatedPreserveAspectRatio>, mozilla::dom::DOMSVGAnimatedPreserveAspectRatio*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<mozilla::nsSVGAnimatedTransformList>, mozilla::dom::SVGAnimatedTransformList*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<mozilla::dom::SVGTransform>, mozilla::dom::SVGMatrix*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsSVGAngle>, mozilla::dom::SVGAngle*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsSVGAngle>, mozilla::dom::SVGAnimatedAngle*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsSVGBoolean>, mozilla::dom::SVGAnimatedBoolean*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsSVGEnum>, nsSVGEnum::DOMAnimatedEnum*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsSVGInteger>, nsSVGInteger::DOMAnimatedInteger*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsSVGIntegerPair>, nsSVGIntegerPair::DOMAnimatedInteger*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsSVGLength2>, mozilla::dom::SVGAnimatedLength*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsSVGNumber2>, nsSVGNumber2::DOMAnimatedNumber*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsSVGNumberPair>, nsSVGNumberPair::DOMAnimatedNumber*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsSVGString>, nsSVGString::DOMAnimatedString*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsSVGViewBox>, mozilla::dom::SVGAnimatedRect*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsSVGViewBox>, nsSVGViewBox::DOMBaseVal*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsSVGViewBox>, nsSVGViewBox::DOMAnimVal*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<NPObject>, mozilla::plugins::PluginScriptableObjectParent*>::nsDataHashtable()
nsDataHashtable<nsCStringHashKey, RefPtr<mozilla::plugins::PluginScriptableObjectChild::StoredIdentifier> >::nsDataHashtable()
Line
Count
Source
33
3
  nsDataHashtable() {}
Unexecuted instantiation: ActorsParent.cpp:nsDataHashtable<nsIDHashKey, mozilla::dom::indexedDB::(anonymous namespace)::DatabaseLoggingInfo*>::nsDataHashtable()
Unexecuted instantiation: ActorsParent.cpp:nsDataHashtable<nsUint64HashKey, mozilla::dom::indexedDB::(anonymous namespace)::DatabaseConnection::UpdateRefcountFunction::FileInfoEntry*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsUint64HashKey, bool>::nsDataHashtable()
Unexecuted instantiation: ActorsParent.cpp:nsDataHashtable<nsStringHashKey, mozilla::dom::indexedDB::(anonymous namespace)::DatabaseMaintenance*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsUint64HashKey, mozilla::dom::indexedDB::FileInfo*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsISupportsHashKey, mozilla::dom::indexedDB::PBackgroundIDBDatabaseFileChild*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsUint32HashKey, nsTString<char16_t> >::nsDataHashtable()
Unexecuted instantiation: Unified_cpp_dom_ipc0.cpp:nsDataHashtable<nsUint64HashKey, RefPtr<(anonymous namespace)::ParticularProcessPriorityManager> >::nsDataHashtable()
nsDataHashtable<nsUint64HashKey, mozilla::dom::TabParent*>::nsDataHashtable()
Line
Count
Source
33
3
  nsDataHashtable() {}
Unexecuted instantiation: nsDataHashtable<nsUint32HashKey, mozilla::dom::ContentParent*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsUint64HashKey, mozilla::a11y::DocAccessibleParent*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsUint64HashKey, mozilla::dom::TabChild*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsStringHashKey, double>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsRefPtrHashKey<mozilla::dom::PaymentRequest>, unsigned int>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsStringHashKey, unsigned long>::nsDataHashtable()
nsDataHashtable<nsUint64HashKey, nsCOMPtr<nsIObserver> >::nsDataHashtable()
Line
Count
Source
33
3
  nsDataHashtable() {}
Unexecuted instantiation: nsDataHashtable<nsRefPtrHashKey<nsAtom>, mozilla::CounterStyle*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<gfxFontFaceSrc const>, bool>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<RawServoFontFaceRule>, mozilla::dom::FontFace*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<mozilla::URIPrincipalReferrerPolicyAndCORSModeHashKey, mozilla::css::SheetLoadData*>::nsDataHashtable()
nsDataHashtable<nsCStringHashKey, nsCSSPropertyID>::nsDataHashtable()
Line
Count
Source
33
3
  nsDataHashtable() {}
Unexecuted instantiation: nsDataHashtable<nsStringHashKey, MiscContainer*>::nsDataHashtable()
nsDataHashtable<nsUint32HashKey, mozilla::TouchManager::TouchInfo>::nsDataHashtable()
Line
Count
Source
33
3
  nsDataHashtable() {}
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsIContent const>, int>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsIFrame>, nsGenConNode*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsCStringHashKey, mozilla::UniquePtr<mozilla::PresState, mozilla::DefaultDelete<mozilla::PresState> > >::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsUint64HashKey, nsIContent*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<mozilla::PseudoElementHashEntry, bool>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<void>, mozilla::ArenaObjectID>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<mozilla::DisplayItemClipChain const>, mozilla::DisplayItemClipChain const*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsStringHashKey, nsTreeImageCacheEntry>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsGenericHashKey<nsTreeStyleCache::Transition>, unsigned int>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsStringHashKey, OperatorData*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<AnimatedGeometryRoot>, mozilla::PaintedLayerDataNode*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsGenericHashKey<mozilla::ContainerState::MaskLayerKey>, RefPtr<mozilla::layers::ImageLayer> >::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsIFrame>, RetainedDisplayListData::FrameFlags>::nsDataHashtable()
nsDataHashtable<mozilla::FourFloatsHashKey, mozilla::BestDashLength>::nsDataHashtable()
Line
Count
Source
33
3
  nsDataHashtable() {}
nsDataHashtable<mozilla::FourFloatsHashKey, mozilla::BestOverlap>::nsDataHashtable()
Line
Count
Source
33
3
  nsDataHashtable() {}
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsIFrame>, RefPtr<AnimatedGeometryRoot> >::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsPresContext>, nsDisplayListBuilder::DocumentWillChangeBudget>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsIFrame>, nsDisplayListBuilder::FrameWillChangeBudget>::nsDataHashtable()
nsDataHashtable<nsUint64HashKey, mozilla::dom::BrowsingContext*>::nsDataHashtable()
Line
Count
Source
33
3
  nsDataHashtable() {}
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<mozilla::a11y::Accessible>, nsTArray<mozilla::a11y::AccTreeMutationEvent*> >::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsGenericHashKey<UniqueStacks::FrameKey>, unsigned int>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsGenericHashKey<UniqueStacks::StackKey>, unsigned int>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsCStringHashKey, mozilla::DataStorage::Entry>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsCStringHashKey, mozilla::psm::RememberCertErrorsTable::CertStateBits>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsCStringHashKey, nsSSLIOLayerHelpers::IntoleranceEntry>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsUint64HashKey, mozilla::extensions::WebRequestChannelEntry*>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsIDHashKey, mozilla::UniquePtr<mozilla::AggregatedResults, mozilla::DefaultDelete<mozilla::AggregatedResults> > >::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<mozilla::KeyboardHashKey, mozilla::SpoofingKeyboardCode const*>::nsDataHashtable()
Unexecuted instantiation: TelemetryHistogram.cpp:nsDataHashtable<nsCStringHashKey, (anonymous namespace)::HistogramSnapshotData>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsUint32HashKey, nsTArray<mozilla::Tuple<char const*, nsCOMPtr<nsIVariant>, unsigned int> > >::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsUint32HashKey, nsTArray<mozilla::Tuple<char const*, nsTArray<mozilla::Pair<nsTString<char>, nsCOMPtr<nsIVariant> > >, unsigned int> > >::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsUint32HashKey, nsTArray<mozilla::Pair<nsTString<char>, nsCOMPtr<nsIVariant> > > >::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsUint32HashKey, nsTArray<mozilla::Tuple<nsTString<char>, nsTString<char16_t>, nsCOMPtr<nsIVariant> > > >::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsINode const>, bool>::nsDataHashtable()
Unexecuted instantiation: nsDataHashtable<nsStringHashKey, nsAlertsIconListener*>::nsDataHashtable()
34
  explicit nsDataHashtable(uint32_t aInitLength)
35
    : BaseClass(aInitLength)
36
27
  {
37
27
  }
nsDataHashtable<nsPtrHashKey<void>, mozilla::JSHolderInfo*>::nsDataHashtable(unsigned int)
Line
Count
Source
36
3
  {
37
3
  }
Unexecuted instantiation: nsDataHashtable<nsCStringHashKey, bundleCacheEntry_t*>::nsDataHashtable(unsigned int)
nsDataHashtable<nsCStringHashKey, mozilla::net::SubstitutingProtocolHandler::SubstitutionEntry>::nsDataHashtable(unsigned int)
Line
Count
Source
36
3
  {
37
3
  }
nsDataHashtable<nsCStringHashKey, mozJSComponentLoader::ModuleEntry*>::nsDataHashtable(unsigned int)
Line
Count
Source
36
6
  {
37
6
  }
nsDataHashtable<nsStringHashKey, nsHTMLTag>::nsDataHashtable(unsigned int)
Line
Count
Source
36
3
  {
37
3
  }
nsDataHashtable<nsPtrHashKey<nsAtom>, nsHTMLTag>::nsDataHashtable(unsigned int)
Line
Count
Source
36
3
  {
37
3
  }
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<mozilla::layers::Layer>, unsigned int>::nsDataHashtable(unsigned int)
Unexecuted instantiation: nsDataHashtable<nsUint32HashKey, int>::nsDataHashtable(unsigned int)
Unexecuted instantiation: nsDataHashtable<nsCStringHashKey, nsTArray<FamilyAndGeneric> >::nsDataHashtable(unsigned int)
Unexecuted instantiation: nsDataHashtable<nsUint32HashKey, mozilla::unicode::Script>::nsDataHashtable(unsigned int)
nsDataHashtable<nsRefPtrHashKey<nsAtom>, EventNameMapping>::nsDataHashtable(unsigned int)
Line
Count
Source
36
3
  {
37
3
  }
nsDataHashtable<nsStringHashKey, EventNameMapping>::nsDataHashtable(unsigned int)
Line
Count
Source
36
3
  {
37
3
  }
Unexecuted instantiation: nsDataHashtable<nsNodeInfoManager::NodeInfoInnerKey, mozilla::dom::NodeInfo*>::nsDataHashtable(unsigned int)
Unexecuted instantiation: nsDataHashtable<nsStringCaseInsensitiveHashKey, unsigned int>::nsDataHashtable(unsigned int)
Unexecuted instantiation: nsDataHashtable<nsStringCaseInsensitiveHashKey, bool>::nsDataHashtable(unsigned int)
nsDataHashtable<nsPtrHashKey<nsAtom>, nsresult (*)(nsIContent**, already_AddRefed<mozilla::dom::NodeInfo>&&, mozilla::dom::FromParser)>::nsDataHashtable(unsigned int)
Line
Count
Source
36
3
  {
37
3
  }
Unexecuted instantiation: nsDataHashtable<nsStringHashKey, mozilla::KeyNameIndex>::nsDataHashtable(unsigned int)
Unexecuted instantiation: nsDataHashtable<nsStringHashKey, mozilla::CodeNameIndex>::nsDataHashtable(unsigned int)
Unexecuted instantiation: nsDataHashtable<nsStringHashKey, int>::nsDataHashtable(unsigned int)
Unexecuted instantiation: nsDataHashtable<nsUint32HashKey, double>::nsDataHashtable(unsigned int)
Unexecuted instantiation: nsDataHashtable<nsUint32HashKey, unsigned int>::nsDataHashtable(unsigned int)
Unexecuted instantiation: nsDataHashtable<nsUint32HashKey, nsTString<char16_t> >::nsDataHashtable(unsigned int)
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<void const>, mozilla::a11y::xpcAccessibleGeneric*>::nsDataHashtable(unsigned int)
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsAtom const>, mozilla::a11y::HTMLMarkupMapInfo const*>::nsDataHashtable(unsigned int)
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsAtom const>, mozilla::a11y::XULMarkupMapInfo const*>::nsDataHashtable(unsigned int)
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsINode const>, mozilla::a11y::Accessible*>::nsDataHashtable(unsigned int)
Unexecuted instantiation: nsDataHashtable<nsCStringHashKey, long>::nsDataHashtable(unsigned int)
Unexecuted instantiation: nsDataHashtable<nsCStringHashKey, nsTString<char> >::nsDataHashtable(unsigned int)
Unexecuted instantiation: nsDataHashtable<nsTrimInt64HashKey, nsTArray<RefPtr<nsNavHistoryFolderResultNode> >*>::nsDataHashtable(unsigned int)
Unexecuted instantiation: nsDataHashtable<nsUint32HashKey, char const*>::nsDataHashtable(unsigned int)
Unexecuted instantiation: nsDataHashtable<nsISupportsHashKey, unsigned int>::nsDataHashtable(unsigned int)
38
39
  /**
40
   * Retrieve a reference to the value for a key.
41
   *
42
   * @param aKey the key to retrieve.
43
   * @return a reference to the found value, or nullptr if no entry was found
44
   * with the given key.
45
   */
46
  DataType* GetValue(KeyType aKey)
47
0
  {
48
0
    if (EntryType* ent = this->GetEntry(aKey)) {
49
0
      return &ent->mData;
50
0
    }
51
0
    return nullptr;
52
0
  }
Unexecuted instantiation: nsDataHashtable<nsStringHashKey, mozilla::UniquePtr<RawServoSelectorList, mozilla::DefaultDelete<RawServoSelectorList> > >::GetValue(nsTSubstring<char16_t> const&)
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<void const>, nsTArray<RefPtr<mozilla::AudioDataListener> > >::GetValue(void const*)
Unexecuted instantiation: nsDataHashtable<nsStringHashKey, nsHTMLTag>::GetValue(nsTSubstring<char16_t> const&)
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsAtom>, nsHTMLTag>::GetValue(nsAtom*)
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<gfxFontFaceSrc const>, bool>::GetValue(gfxFontFaceSrc const*)
Unexecuted instantiation: nsDataHashtable<nsCStringHashKey, mozilla::UniquePtr<mozilla::PresState, mozilla::DefaultDelete<mozilla::PresState> > >::GetValue(nsTSubstring<char> const&)
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsIFrame>, nsDisplayListBuilder::FrameWillChangeBudget>::GetValue(nsIFrame*)
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsPresContext>, nsDisplayListBuilder::DocumentWillChangeBudget>::GetValue(nsPresContext*)
Unexecuted instantiation: nsDataHashtable<nsIDHashKey, mozilla::UniquePtr<mozilla::AggregatedResults, mozilla::DefaultDelete<mozilla::AggregatedResults> > >::GetValue(nsID const&)
53
54
  /**
55
   * Retrieve the value for a key and remove the corresponding entry at
56
   * the same time.
57
   *
58
   * @param aKey the key to retrieve and remove
59
   * @return the found value, or Nothing if no entry was found with the
60
   *   given key.
61
   */
62
  mozilla::Maybe<DataType> GetAndRemove(KeyType aKey)
63
0
  {
64
0
    mozilla::Maybe<DataType> value;
65
0
    if (EntryType* ent = this->GetEntry(aKey)) {
66
0
      value.emplace(std::move(ent->mData));
67
0
      this->RemoveEntry(ent);
68
0
    }
69
0
    return value;
70
0
  }
Unexecuted instantiation: nsDataHashtable<nsUint32HashKey, unsigned int>::GetAndRemove(unsigned int const&)
Unexecuted instantiation: nsDataHashtable<nsUint64HashKey, mozilla::dom::TabParent*>::GetAndRemove(unsigned long const&)
Unexecuted instantiation: nsDataHashtable<nsPtrHashKey<nsIFrame>, nsGenConNode*>::GetAndRemove(nsIFrame*)
71
};
72
73
#endif // nsDataHashtable_h__