Coverage Report

Created: 2018-09-25 14:53

/work/obj-fuzz/dist/include/mozilla/Array.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
/* A compile-time constant-length array with bounds-checking assertions. */
8
9
#ifndef mozilla_Array_h
10
#define mozilla_Array_h
11
12
#include "mozilla/Assertions.h"
13
#include "mozilla/Attributes.h"
14
#include "mozilla/Move.h"
15
#include "mozilla/ReverseIterator.h"
16
17
#include <stddef.h>
18
19
namespace mozilla {
20
21
template<typename T, size_t Length>
22
class Array
23
{
24
  T mArr[Length];
25
26
public:
27
2.79k
  Array() {}
mozilla::Array<mozilla::StaticAutoPtr<mozilla::LinkedList<mozilla::ClearOnShutdown_Internal::ShutdownObserver> >, 6ul>::Array()
Line
Count
Source
27
3
  Array() {}
Unexecuted instantiation: mozilla::Array<mozilla::UniquePtr<mozilla::CooperativeThreadPool::CooperativeThread, mozilla::DefaultDelete<mozilla::CooperativeThreadPool::CooperativeThread> >, 16ul>::Array()
Unexecuted instantiation: mozilla::Array<mozilla::Atomic<unsigned int, (mozilla::MemoryOrdering)2, (mozilla::recordreplay::Behavior)1, void>, 10ul>::Array()
mozilla::Array<char, 1000ul>::Array()
Line
Count
Source
27
21
  Array() {}
Unexecuted instantiation: mozilla::Array<nsTString<char>, 137ul>::Array()
Unexecuted instantiation: mozilla::Array<JS::Heap<JSObject*>, 1624ul>::Array()
mozilla::Array<mozilla::Array<JS::Heap<JSObject*>, 16ul>*, 102ul>::Array()
Line
Count
Source
27
6
  Array() {}
Unexecuted instantiation: mozilla::Array<nsAutoPtr<mozilla::layers::ImageBackendData>, 6ul>::Array()
Unexecuted instantiation: mozilla::Array<RefPtr<mozilla::layers::Effect>, 3ul>::Array()
Unexecuted instantiation: mozilla::Array<mozilla::UniquePtr<mozilla::layers::TextRenderer::FontCache, mozilla::DefaultDelete<mozilla::layers::TextRenderer::FontCache> >, 2ul>::Array()
Unexecuted instantiation: mozilla::Array<RefPtr<mozilla::layers::MLGBuffer>, 2ul>::Array()
Unexecuted instantiation: mozilla::Array<mozilla::RangedArray<mozilla::UniquePtr<nsTArray<RefPtr<gfxFontFamily> >, mozilla::DefaultDelete<nsTArray<RefPtr<gfxFontFamily> > > >, 3ul, 5ul>, 29ul>::Array()
Unexecuted instantiation: mozilla::Array<mozilla::UniquePtr<nsTArray<RefPtr<gfxFontFamily> >, mozilla::DefaultDelete<nsTArray<RefPtr<gfxFontFamily> > > >, 5ul>::Array()
mozilla::Array<JS::Heap<JSObject*>, 16ul>::Array()
Line
Count
Source
27
3
  Array() {}
Unexecuted instantiation: mozilla::Array<RefPtr<mozilla::dom::CanvasGradient>, 2ul>::Array()
Unexecuted instantiation: mozilla::Array<RefPtr<mozilla::dom::CanvasPattern>, 2ul>::Array()
Unexecuted instantiation: mozilla::Array<unsigned int, 2ul>::Array()
Unexecuted instantiation: mozilla::Array<RefPtr<mozilla::WebGLExtensionBase>, 30ul>::Array()
Unexecuted instantiation: mozilla::Array<char const*, 30ul>::Array()
Unexecuted instantiation: mozilla::Array<unsigned char, 7ul>::Array()
mozilla::Array<txEXSLTFunctionDescriptor, 19ul>::Array()
Line
Count
Source
27
3
  Array() {}
Unexecuted instantiation: mozilla::Array<nsTArray<RefPtr<mozilla::StyleSheet> >, 8ul>::Array()
Unexecuted instantiation: mozilla::Array<RefPtr<mozilla::ComputedStyle>, 7ul>::Array()
Unexecuted instantiation: mozilla::Array<nsDataHashtable<mozilla::PseudoElementHashEntry, bool>, 2ul>::Array()
Unexecuted instantiation: mozilla::Array<nsTArray<RefPtr<mozilla::StyleSheet> >, 3ul>::Array()
mozilla::Array<double, 4ul>::Array()
Line
Count
Source
27
3
  Array() {}
mozilla::Array<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>, 106ul>::Array()
Line
Count
Source
27
533
  Array() {}
mozilla::Array<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>, 68ul>::Array()
Line
Count
Source
27
75
  Array() {}
mozilla::Array<mozilla::TimeStamp, 106ul>::Array()
Line
Count
Source
27
3
  Array() {}
mozilla::Array<mozilla::Atomic<unsigned int, (mozilla::MemoryOrdering)1, (mozilla::recordreplay::Behavior)0, void>, 5ul>::Array()
Line
Count
Source
27
3
  Array() {}
mozilla::Array<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>, 12ul>::Array()
Line
Count
Source
27
3
  Array() {}
mozilla::Array<JSString*, 4ul>::Array()
Line
Count
Source
27
9
  Array() {}
mozilla::Array<js::FunctionToStringCache::Entry, 2ul>::Array()
Line
Count
Source
27
9
  Array() {}
mozilla::Array<js::jit::MUse, 2ul>::Array()
Line
Count
Source
27
51
  Array() {}
Unexecuted instantiation: mozilla::Array<js::jit::Label, 3ul>::Array()
mozilla::Array<js::jit::MUse, 1ul>::Array()
Line
Count
Source
27
486
  Array() {}
mozilla::Array<js::jit::BacktrackingAllocator::PhysicalRegister, 64ul>::Array()
Line
Count
Source
27
14
  Array() {}
Unexecuted instantiation: mozilla::Array<js::jit::StupidAllocator::AllocatedRegister, 64ul>::Array()
Unexecuted instantiation: mozilla::Array<js::jit::MUse, 3ul>::Array()
mozilla::Array<js::jit::CFGBlock*, 1ul>::Array()
Line
Count
Source
27
36
  Array() {}
mozilla::Array<js::jit::CFGBlock*, 2ul>::Array()
Line
Count
Source
27
18
  Array() {}
mozilla::Array<js::jit::JitRealm::BailoutReturnStubInfo, 5ul>::Array()
Line
Count
Source
27
4
  Array() {}
mozilla::Array<js::ReadBarriered<js::jit::JitCode*>, 4ul>::Array()
Line
Count
Source
27
4
  Array() {}
mozilla::Array<js::jit::MBasicBlock*, 2ul>::Array()
Line
Count
Source
27
28
  Array() {}
mozilla::Array<mozilla::Maybe<mozilla::Vector<void*, 0ul, js::jit::JitAllocPolicy> >, 14ul>::Array()
Line
Count
Source
27
14
  Array() {}
Unexecuted instantiation: mozilla::Array<js::jit::MUse, 4ul>::Array()
mozilla::Array<js::jit::Registers::RegisterContent*, 16ul>::Array()
Line
Count
Source
27
24
  Array() {}
mozilla::Array<js::jit::FloatRegisters::RegisterContent*, 48ul>::Array()
Line
Count
Source
27
24
  Array() {}
mozilla::Array<js::jit::OptimizationInfo, 2ul>::Array()
Line
Count
Source
27
3
  Array() {}
Unexecuted instantiation: mozilla::Array<js::jit::PcScriptCacheEntry, 73ul>::Array()
mozilla::Array<js::jit::LDefinition, 1ul>::Array()
Line
Count
Source
27
341
  Array() {}
mozilla::Array<js::jit::LAllocation, 1ul>::Array()
Line
Count
Source
27
514
  Array() {}
mozilla::Array<js::jit::MBasicBlock*, 1ul>::Array()
Line
Count
Source
27
56
  Array() {}
mozilla::Array<js::jit::LAllocation, 2ul>::Array()
Line
Count
Source
27
51
  Array() {}
mozilla::Array<js::jit::LDefinition, 2ul>::Array()
Line
Count
Source
27
140
  Array() {}
mozilla::Array<js::jit::LDefinition, 3ul>::Array()
Line
Count
Source
27
42
  Array() {}
Unexecuted instantiation: mozilla::Array<js::jit::LAllocation, 3ul>::Array()
Unexecuted instantiation: mozilla::Array<js::jit::LDefinition, 4ul>::Array()
mozilla::Array<js::jit::LDefinition, 5ul>::Array()
Line
Count
Source
27
14
  Array() {}
Unexecuted instantiation: mozilla::Array<js::jit::LAllocation, 4ul>::Array()
Unexecuted instantiation: mozilla::Array<js::jit::LDefinition, 6ul>::Array()
mozilla::Array<mozilla::Vector<js::wasm::TrapSite, 0ul, js::SystemAllocPolicy>, 12ul>::Array()
Line
Count
Source
27
141
  Array() {}
mozilla::Array<unsigned int, 512ul>::Array()
Line
Count
Source
27
3
  Array() {}
mozilla::Array<unsigned long, 2ul>::Array()
Line
Count
Source
27
9
  Array() {}
Unexecuted instantiation: mozilla::Array<js::jit::LDefinition, 7ul>::Array()
mozilla::Array<JS::Rooted<void*>*, 14ul>::Array()
Line
Count
Source
27
27
  Array() {}
Unexecuted instantiation: mozilla::Array<char const*, 10ul>::Array()
Unexecuted instantiation: mozilla::Array<unsigned long, 10ul>::Array()
mozilla::Array<mozilla::LinkedList<JS::PersistentRooted<void*> >, 14ul>::Array()
Line
Count
Source
27
3
  Array() {}
mozilla::Array<unsigned long, 512ul>::Array()
Line
Count
Source
27
4
  Array() {}
Unexecuted instantiation: mozilla::Array<js::wasm::RegI32, 1ul>::Array()
Unexecuted instantiation: mozilla::Array<unsigned int, 59ul>::Array()
Unexecuted instantiation: mozilla::Array<mozilla::Vector<unsigned int, 0ul, js::SystemAllocPolicy>, 59ul>::Array()
Unexecuted instantiation: mozilla::Array<js::gc::Arena**, 29ul>::Array()
mozilla::Array<js::gc::FreeSpan*, 29ul>::Array()
Line
Count
Source
27
33
  Array() {}
mozilla::Array<js::gc::ArenaList, 29ul>::Array()
Line
Count
Source
27
9
  Array() {}
mozilla::Array<js::gc::Arena*, 29ul>::Array()
Line
Count
Source
27
9
  Array() {}
mozilla::Array<mozilla::Atomic<js::gc::ArenaLists::ConcurrentUse, (mozilla::MemoryOrdering)2, (mozilla::recordreplay::Behavior)0, void>, 29ul>::Array()
Line
Count
Source
27
9
  Array() {}
mozilla::Array<mozilla::TimeStamp, 19ul>::Array()
Line
Count
Source
27
3
  Array() {}
mozilla::Array<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>, 19ul>::Array()
Line
Count
Source
27
6
  Array() {}
mozilla::Array<unsigned long, 4ul>::Array()
Line
Count
Source
27
4
  Array() {}
28
29
  template <typename... Args>
30
  MOZ_IMPLICIT Array(Args&&... aArgs)
31
    : mArr{std::forward<Args>(aArgs)...}
32
12
  {
33
12
    static_assert(sizeof...(aArgs) == Length,
34
12
                  "The number of arguments should be equal to the template parameter Length");
35
12
  }
mozilla::Array<char const*, 1ul>::Array<char const (&) [16]>(char const (&) [16])
Line
Count
Source
32
3
  {
33
3
    static_assert(sizeof...(aArgs) == Length,
34
3
                  "The number of arguments should be equal to the template parameter Length");
35
3
  }
Unexecuted instantiation: mozilla::Array<char const*, 2ul>::Array<char const (&) [1], char const (&) [8]>(char const (&) [1], char const (&) [8])
Unexecuted instantiation: mozilla::Array<char const*, 7ul>::Array<char const (&) [9], char const (&) [7], char const (&) [7], char const (&) [17], char const (&) [17], char const (&) [7], char const (&) [7]>(char const (&) [9], char const (&) [7], char const (&) [7], char const (&) [17], char const (&) [17], char const (&) [7], char const (&) [7])
mozilla::Array<char const*, 3ul>::Array<char const (&) [8], char const (&) [8], char const (&) [7]>(char const (&) [8], char const (&) [8], char const (&) [7])
Line
Count
Source
32
3
  {
33
3
    static_assert(sizeof...(aArgs) == Length,
34
3
                  "The number of arguments should be equal to the template parameter Length");
35
3
  }
Unexecuted instantiation: mozilla::Array<nsresult (nsIGfxInfo::*)(nsTSubstring<char16_t>&), 2ul>::Array<nsresult (nsIGfxInfo::*)(nsTSubstring<char16_t>&), nsresult (nsIGfxInfo::*)(nsTSubstring<char16_t>&)>(nsresult (nsIGfxInfo::*&&)(nsTSubstring<char16_t>&), nsresult (nsIGfxInfo::*&&)(nsTSubstring<char16_t>&))
Unexecuted instantiation: mozilla::Array<float, 3ul>::Array<float, float, float>(float&&, float&&, float&&)
Unexecuted instantiation: mozilla::Array<char const*, 9ul>::Array<char const (&) [1], char const (&) [6], char const (&) [8], char const (&) [17], char const (&) [6], char const (&) [6], char const (&) [20], char const (&) [7], char const (&) [8]>(char const (&) [1], char const (&) [6], char const (&) [8], char const (&) [17], char const (&) [6], char const (&) [6], char const (&) [20], char const (&) [7], char const (&) [8])
Unexecuted instantiation: mozilla::Array<int, 4ul>::Array<int, int, int, int>(int&&, int&&, int&&, int&&)
Unexecuted instantiation: mozilla::Array<int const, 4ul>::Array<int, int, int, int>(int&&, int&&, int&&, int&&)
mozilla::Array<PhaseKindInfo, 68ul>::Array<PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo, PhaseKindInfo>(PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&, PhaseKindInfo&&)
Line
Count
Source
32
3
  {
33
3
    static_assert(sizeof...(aArgs) == Length,
34
3
                  "The number of arguments should be equal to the template parameter Length");
35
3
  }
mozilla::Array<PhaseInfo, 106ul>::Array<PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo, PhaseInfo>(PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&, PhaseInfo&&)
Line
Count
Source
32
3
  {
33
3
    static_assert(sizeof...(aArgs) == Length,
34
3
                  "The number of arguments should be equal to the template parameter Length");
35
3
  }
Unexecuted instantiation: mozilla::Array<js::jit::MIRType, 2ul>::Array<js::jit::MIRType, js::jit::MIRType>(js::jit::MIRType&&, js::jit::MIRType&&)
36
37
  T& operator[](size_t aIndex)
38
333M
  {
39
333M
    MOZ_ASSERT(aIndex < Length);
40
333M
    return mArr[aIndex];
41
333M
  }
mozilla::Array<JS::Rooted<void*>*, 14ul>::operator[](unsigned long)
Line
Count
Source
38
316M
  {
39
316M
    MOZ_ASSERT(aIndex < Length);
40
316M
    return mArr[aIndex];
41
316M
  }
mozilla::Array<mozilla::StaticAutoPtr<mozilla::LinkedList<mozilla::ClearOnShutdown_Internal::ShutdownObserver> >, 6ul>::operator[](unsigned long)
Line
Count
Source
38
149
  {
39
149
    MOZ_ASSERT(aIndex < Length);
40
149
    return mArr[aIndex];
41
149
  }
Unexecuted instantiation: mozilla::Array<JS::Heap<JSObject*>, 1624ul>::operator[](unsigned long)
mozilla::Array<mozilla::Array<JS::Heap<JSObject*>, 16ul>*, 102ul>::operator[](unsigned long)
Line
Count
Source
38
5.52k
  {
39
5.52k
    MOZ_ASSERT(aIndex < Length);
40
5.52k
    return mArr[aIndex];
41
5.52k
  }
mozilla::Array<JS::Heap<JSObject*>, 16ul>::operator[](unsigned long)
Line
Count
Source
38
1.73k
  {
39
1.73k
    MOZ_ASSERT(aIndex < Length);
40
1.73k
    return mArr[aIndex];
41
1.73k
  }
Unexecuted instantiation: mozilla::Array<mozilla::UniquePtr<mozilla::CooperativeThreadPool::CooperativeThread, mozilla::DefaultDelete<mozilla::CooperativeThreadPool::CooperativeThread> >, 16ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<mozilla::Atomic<unsigned int, (mozilla::MemoryOrdering)2, (mozilla::recordreplay::Behavior)1, void>, 10ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<nsAutoPtr<mozilla::layers::ImageBackendData>, 6ul>::operator[](unsigned long)
mozilla::Array<char, 1000ul>::operator[](unsigned long)
Line
Count
Source
38
18
  {
39
18
    MOZ_ASSERT(aIndex < Length);
40
18
    return mArr[aIndex];
41
18
  }
Unexecuted instantiation: mozilla::Array<nsTString<char>, 137ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<RefPtr<mozilla::layers::Effect>, 3ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<mozilla::UniquePtr<mozilla::layers::TextRenderer::FontCache, mozilla::DefaultDelete<mozilla::layers::TextRenderer::FontCache> >, 2ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<RefPtr<mozilla::layers::MLGBuffer>, 2ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<mozilla::RangedArray<mozilla::UniquePtr<nsTArray<RefPtr<gfxFontFamily> >, mozilla::DefaultDelete<nsTArray<RefPtr<gfxFontFamily> > > >, 3ul, 5ul>, 29ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<mozilla::UniquePtr<nsTArray<RefPtr<gfxFontFamily> >, mozilla::DefaultDelete<nsTArray<RefPtr<gfxFontFamily> > > >, 5ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<nsDataHashtable<mozilla::PseudoElementHashEntry, bool>, 2ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<nsTArray<RefPtr<mozilla::StyleSheet> >, 3ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<RefPtr<mozilla::dom::CanvasGradient>, 2ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<RefPtr<mozilla::dom::CanvasPattern>, 2ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<unsigned int, 2ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<RefPtr<mozilla::WebGLExtensionBase>, 30ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<char const*, 30ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<unsigned char, 7ul>::operator[](unsigned long)
mozilla::Array<txEXSLTFunctionDescriptor, 19ul>::operator[](unsigned long)
Line
Count
Source
38
57
  {
39
57
    MOZ_ASSERT(aIndex < Length);
40
57
    return mArr[aIndex];
41
57
  }
Unexecuted instantiation: mozilla::Array<RefPtr<mozilla::ComputedStyle>, 7ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<nsTArray<RefPtr<mozilla::StyleSheet> >, 8ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<float, 3ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<double, 4ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<int, 4ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<int const, 4ul>::operator[](unsigned long)
mozilla::Array<js::gc::FreeSpan*, 29ul>::operator[](unsigned long)
Line
Count
Source
38
16.4M
  {
39
16.4M
    MOZ_ASSERT(aIndex < Length);
40
16.4M
    return mArr[aIndex];
41
16.4M
  }
mozilla::Array<js::gc::ArenaList, 29ul>::operator[](unsigned long)
Line
Count
Source
38
199k
  {
39
199k
    MOZ_ASSERT(aIndex < Length);
40
199k
    return mArr[aIndex];
41
199k
  }
mozilla::Array<mozilla::Atomic<js::gc::ArenaLists::ConcurrentUse, (mozilla::MemoryOrdering)2, (mozilla::recordreplay::Behavior)0, void>, 29ul>::operator[](unsigned long)
Line
Count
Source
38
198k
  {
39
198k
    MOZ_ASSERT(aIndex < Length);
40
198k
    return mArr[aIndex];
41
198k
  }
mozilla::Array<js::gc::Arena*, 29ul>::operator[](unsigned long)
Line
Count
Source
38
1.62k
  {
39
1.62k
    MOZ_ASSERT(aIndex < Length);
40
1.62k
    return mArr[aIndex];
41
1.62k
  }
mozilla::Array<unsigned long, 512ul>::operator[](unsigned long)
Line
Count
Source
38
885
  {
39
885
    MOZ_ASSERT(aIndex < Length);
40
885
    return mArr[aIndex];
41
885
  }
mozilla::Array<mozilla::Atomic<unsigned int, (mozilla::MemoryOrdering)1, (mozilla::recordreplay::Behavior)0, void>, 5ul>::operator[](unsigned long)
Line
Count
Source
38
1.43k
  {
39
1.43k
    MOZ_ASSERT(aIndex < Length);
40
1.43k
    return mArr[aIndex];
41
1.43k
  }
mozilla::Array<js::jit::Registers::RegisterContent*, 16ul>::operator[](unsigned long)
Line
Count
Source
38
516
  {
39
516
    MOZ_ASSERT(aIndex < Length);
40
516
    return mArr[aIndex];
41
516
  }
mozilla::Array<js::jit::FloatRegisters::RegisterContent*, 48ul>::operator[](unsigned long)
Line
Count
Source
38
1.53k
  {
39
1.53k
    MOZ_ASSERT(aIndex < Length);
40
1.53k
    return mArr[aIndex];
41
1.53k
  }
mozilla::Array<JSString*, 4ul>::operator[](unsigned long)
Line
Count
Source
38
41
  {
39
41
    MOZ_ASSERT(aIndex < Length);
40
41
    return mArr[aIndex];
41
41
  }
mozilla::Array<js::FunctionToStringCache::Entry, 2ul>::operator[](unsigned long)
Line
Count
Source
38
29
  {
39
29
    MOZ_ASSERT(aIndex < Length);
40
29
    return mArr[aIndex];
41
29
  }
Unexecuted instantiation: mozilla::Array<mozilla::Vector<js::wasm::TrapSite, 0ul, js::SystemAllocPolicy>, 12ul>::operator[](unsigned long)
mozilla::Array<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>, 106ul>::operator[](unsigned long)
Line
Count
Source
38
73.1k
  {
39
73.1k
    MOZ_ASSERT(aIndex < Length);
40
73.1k
    return mArr[aIndex];
41
73.1k
  }
mozilla::Array<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>, 68ul>::operator[](unsigned long)
Line
Count
Source
38
10.0k
  {
39
10.0k
    MOZ_ASSERT(aIndex < Length);
40
10.0k
    return mArr[aIndex];
41
10.0k
  }
mozilla::Array<mozilla::LinkedList<JS::PersistentRooted<void*> >, 14ul>::operator[](unsigned long)
Line
Count
Source
38
300
  {
39
300
    MOZ_ASSERT(aIndex < Length);
40
300
    return mArr[aIndex];
41
300
  }
mozilla::Array<mozilla::TimeStamp, 106ul>::operator[](unsigned long)
Line
Count
Source
38
7.58k
  {
39
7.58k
    MOZ_ASSERT(aIndex < Length);
40
7.58k
    return mArr[aIndex];
41
7.58k
  }
Unexecuted instantiation: mozilla::Array<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>, 12ul>::operator[](unsigned long)
mozilla::Array<js::jit::CFGBlock*, 2ul>::operator[](unsigned long)
Line
Count
Source
38
36
  {
39
36
    MOZ_ASSERT(aIndex < Length);
40
36
    return mArr[aIndex];
41
36
  }
mozilla::Array<js::jit::CFGBlock*, 1ul>::operator[](unsigned long)
Line
Count
Source
38
36
  {
39
36
    MOZ_ASSERT(aIndex < Length);
40
36
    return mArr[aIndex];
41
36
  }
mozilla::Array<js::jit::JitRealm::BailoutReturnStubInfo, 5ul>::operator[](unsigned long)
Line
Count
Source
38
3
  {
39
3
    MOZ_ASSERT(aIndex < Length);
40
3
    return mArr[aIndex];
41
3
  }
mozilla::Array<js::ReadBarriered<js::jit::JitCode*>, 4ul>::operator[](unsigned long)
Line
Count
Source
38
24
  {
39
24
    MOZ_ASSERT(aIndex < Length);
40
24
    return mArr[aIndex];
41
24
  }
mozilla::Array<js::jit::MUse, 2ul>::operator[](unsigned long)
Line
Count
Source
38
102
  {
39
102
    MOZ_ASSERT(aIndex < Length);
40
102
    return mArr[aIndex];
41
102
  }
mozilla::Array<js::jit::BacktrackingAllocator::PhysicalRegister, 64ul>::operator[](unsigned long)
Line
Count
Source
38
23.9k
  {
39
23.9k
    MOZ_ASSERT(aIndex < Length);
40
23.9k
    return mArr[aIndex];
41
23.9k
  }
mozilla::Array<mozilla::Maybe<mozilla::Vector<void*, 0ul, js::jit::JitAllocPolicy> >, 14ul>::operator[](unsigned long)
Line
Count
Source
38
294
  {
39
294
    MOZ_ASSERT(aIndex < Length);
40
294
    return mArr[aIndex];
41
294
  }
mozilla::Array<js::jit::MUse, 1ul>::operator[](unsigned long)
Line
Count
Source
38
640
  {
39
640
    MOZ_ASSERT(aIndex < Length);
40
640
    return mArr[aIndex];
41
640
  }
Unexecuted instantiation: mozilla::Array<js::jit::MUse, 3ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<js::jit::MUse, 4ul>::operator[](unsigned long)
mozilla::Array<js::jit::MBasicBlock*, 1ul>::operator[](unsigned long)
Line
Count
Source
38
56
  {
39
56
    MOZ_ASSERT(aIndex < Length);
40
56
    return mArr[aIndex];
41
56
  }
mozilla::Array<js::jit::MBasicBlock*, 2ul>::operator[](unsigned long)
Line
Count
Source
38
56
  {
39
56
    MOZ_ASSERT(aIndex < Length);
40
56
    return mArr[aIndex];
41
56
  }
mozilla::Array<js::jit::LAllocation, 1ul>::operator[](unsigned long)
Line
Count
Source
38
981
  {
39
981
    MOZ_ASSERT(aIndex < Length);
40
981
    return mArr[aIndex];
41
981
  }
mozilla::Array<js::jit::LDefinition, 2ul>::operator[](unsigned long)
Line
Count
Source
38
509
  {
39
509
    MOZ_ASSERT(aIndex < Length);
40
509
    return mArr[aIndex];
41
509
  }
mozilla::Array<js::jit::LDefinition, 3ul>::operator[](unsigned long)
Line
Count
Source
38
168
  {
39
168
    MOZ_ASSERT(aIndex < Length);
40
168
    return mArr[aIndex];
41
168
  }
Unexecuted instantiation: mozilla::Array<js::jit::LAllocation, 3ul>::operator[](unsigned long)
mozilla::Array<js::jit::LAllocation, 2ul>::operator[](unsigned long)
Line
Count
Source
38
102
  {
39
102
    MOZ_ASSERT(aIndex < Length);
40
102
    return mArr[aIndex];
41
102
  }
Unexecuted instantiation: mozilla::Array<js::jit::LDefinition, 4ul>::operator[](unsigned long)
mozilla::Array<js::jit::LDefinition, 1ul>::operator[](unsigned long)
Line
Count
Source
38
929
  {
39
929
    MOZ_ASSERT(aIndex < Length);
40
929
    return mArr[aIndex];
41
929
  }
mozilla::Array<js::jit::LDefinition, 5ul>::operator[](unsigned long)
Line
Count
Source
38
112
  {
39
112
    MOZ_ASSERT(aIndex < Length);
40
112
    return mArr[aIndex];
41
112
  }
Unexecuted instantiation: mozilla::Array<js::jit::LAllocation, 4ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<js::jit::LDefinition, 6ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<js::jit::LDefinition, 7ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<js::jit::MIRType, 2ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<js::jit::Label, 3ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<js::jit::PcScriptCacheEntry, 73ul>::operator[](unsigned long)
mozilla::Array<js::jit::OptimizationInfo, 2ul>::operator[](unsigned long)
Line
Count
Source
38
6
  {
39
6
    MOZ_ASSERT(aIndex < Length);
40
6
    return mArr[aIndex];
41
6
  }
mozilla::Array<js::jit::Registers::RegisterContent, 16ul>::operator[](unsigned long)
Line
Count
Source
38
128
  {
39
128
    MOZ_ASSERT(aIndex < Length);
40
128
    return mArr[aIndex];
41
128
  }
mozilla::Array<js::jit::FloatRegisters::RegisterContent, 16ul>::operator[](unsigned long)
Line
Count
Source
38
384
  {
39
384
    MOZ_ASSERT(aIndex < Length);
40
384
    return mArr[aIndex];
41
384
  }
mozilla::Array<unsigned int, 512ul>::operator[](unsigned long)
Line
Count
Source
38
7
  {
39
7
    MOZ_ASSERT(aIndex < Length);
40
7
    return mArr[aIndex];
41
7
  }
mozilla::Array<unsigned long, 2ul>::operator[](unsigned long)
Line
Count
Source
38
45
  {
39
45
    MOZ_ASSERT(aIndex < Length);
40
45
    return mArr[aIndex];
41
45
  }
Unexecuted instantiation: mozilla::Array<js::jit::StupidAllocator::AllocatedRegister, 64ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<char const*, 10ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<unsigned long, 10ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<js::wasm::RegI32, 1ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<unsigned int, 59ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<mozilla::Vector<unsigned int, 0ul, js::SystemAllocPolicy>, 59ul>::operator[](unsigned long)
mozilla::Array<mozilla::TimeStamp, 19ul>::operator[](unsigned long)
Line
Count
Source
38
374
  {
39
374
    MOZ_ASSERT(aIndex < Length);
40
374
    return mArr[aIndex];
41
374
  }
Unexecuted instantiation: mozilla::Array<js::gc::Arena**, 29ul>::operator[](unsigned long)
mozilla::Array<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>, 19ul>::operator[](unsigned long)
Line
Count
Source
38
646
  {
39
646
    MOZ_ASSERT(aIndex < Length);
40
646
    return mArr[aIndex];
41
646
  }
mozilla::Array<unsigned long, 4ul>::operator[](unsigned long)
Line
Count
Source
38
261
  {
39
261
    MOZ_ASSERT(aIndex < Length);
40
261
    return mArr[aIndex];
41
261
  }
42
43
  const T& operator[](size_t aIndex) const
44
84.2k
  {
45
84.2k
    MOZ_ASSERT(aIndex < Length);
46
84.2k
    return mArr[aIndex];
47
84.2k
  }
Unexecuted instantiation: mozilla::Array<nsTString<char>, 137ul>::operator[](unsigned long) const
Unexecuted instantiation: mozilla::Array<RefPtr<mozilla::layers::Effect>, 3ul>::operator[](unsigned long) const
Unexecuted instantiation: mozilla::Array<mozilla::RangedArray<mozilla::UniquePtr<nsTArray<RefPtr<gfxFontFamily> >, mozilla::DefaultDelete<nsTArray<RefPtr<gfxFontFamily> > > >, 3ul, 5ul>, 29ul>::operator[](unsigned long) const
Unexecuted instantiation: mozilla::Array<mozilla::UniquePtr<nsTArray<RefPtr<gfxFontFamily> >, mozilla::DefaultDelete<nsTArray<RefPtr<gfxFontFamily> > > >, 5ul>::operator[](unsigned long) const
Unexecuted instantiation: mozilla::Array<RefPtr<mozilla::dom::CanvasGradient>, 2ul>::operator[](unsigned long) const
Unexecuted instantiation: mozilla::Array<RefPtr<mozilla::dom::CanvasPattern>, 2ul>::operator[](unsigned long) const
Unexecuted instantiation: mozilla::Array<unsigned int, 2ul>::operator[](unsigned long) const
Unexecuted instantiation: mozilla::Array<RefPtr<mozilla::WebGLExtensionBase>, 30ul>::operator[](unsigned long) const
Unexecuted instantiation: mozilla::Array<nsTArray<RefPtr<mozilla::StyleSheet> >, 8ul>::operator[](unsigned long) const
Unexecuted instantiation: mozilla::Array<char const*, 9ul>::operator[](unsigned long) const
Unexecuted instantiation: mozilla::Array<int, 4ul>::operator[](unsigned long) const
Unexecuted instantiation: mozilla::Array<mozilla::Atomic<unsigned int, (mozilla::MemoryOrdering)2, (mozilla::recordreplay::Behavior)1, void>, 10ul>::operator[](unsigned long) const
mozilla::Array<js::gc::ArenaList, 29ul>::operator[](unsigned long) const
Line
Count
Source
44
44
  {
45
44
    MOZ_ASSERT(aIndex < Length);
46
44
    return mArr[aIndex];
47
44
  }
mozilla::Array<mozilla::Atomic<js::gc::ArenaLists::ConcurrentUse, (mozilla::MemoryOrdering)2, (mozilla::recordreplay::Behavior)0, void>, 29ul>::operator[](unsigned long) const
Line
Count
Source
44
36
  {
45
36
    MOZ_ASSERT(aIndex < Length);
46
36
    return mArr[aIndex];
47
36
  }
mozilla::Array<js::gc::Arena*, 29ul>::operator[](unsigned long) const
Line
Count
Source
44
8
  {
45
8
    MOZ_ASSERT(aIndex < Length);
46
8
    return mArr[aIndex];
47
8
  }
mozilla::Array<mozilla::Atomic<unsigned int, (mozilla::MemoryOrdering)1, (mozilla::recordreplay::Behavior)0, void>, 5ul>::operator[](unsigned long) const
Line
Count
Source
44
72
  {
45
72
    MOZ_ASSERT(aIndex < Length);
46
72
    return mArr[aIndex];
47
72
  }
mozilla::Array<js::jit::OptimizationInfo, 2ul>::operator[](unsigned long) const
Line
Count
Source
44
57
  {
45
57
    MOZ_ASSERT(aIndex < Length);
46
57
    return mArr[aIndex];
47
57
  }
mozilla::Array<js::jit::Registers::RegisterContent*, 16ul>::operator[](unsigned long) const
Line
Count
Source
44
6
  {
45
6
    MOZ_ASSERT(aIndex < Length);
46
6
    return mArr[aIndex];
47
6
  }
Unexecuted instantiation: mozilla::Array<js::jit::FloatRegisters::RegisterContent*, 48ul>::operator[](unsigned long) const
mozilla::Array<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>, 106ul>::operator[](unsigned long) const
Line
Count
Source
44
49.4k
  {
45
49.4k
    MOZ_ASSERT(aIndex < Length);
46
49.4k
    return mArr[aIndex];
47
49.4k
  }
mozilla::Array<PhaseInfo, 106ul>::operator[](unsigned long) const
Line
Count
Source
44
22.7k
  {
45
22.7k
    MOZ_ASSERT(aIndex < Length);
46
22.7k
    return mArr[aIndex];
47
22.7k
  }
mozilla::Array<PhaseKindInfo, 68ul>::operator[](unsigned long) const
Line
Count
Source
44
7.07k
  {
45
7.07k
    MOZ_ASSERT(aIndex < Length);
46
7.07k
    return mArr[aIndex];
47
7.07k
  }
mozilla::Array<js::jit::CFGBlock*, 2ul>::operator[](unsigned long) const
Line
Count
Source
44
97
  {
45
97
    MOZ_ASSERT(aIndex < Length);
46
97
    return mArr[aIndex];
47
97
  }
mozilla::Array<js::jit::CFGBlock*, 1ul>::operator[](unsigned long) const
Line
Count
Source
44
46
  {
45
46
    MOZ_ASSERT(aIndex < Length);
46
46
    return mArr[aIndex];
47
46
  }
Unexecuted instantiation: mozilla::Array<js::ReadBarriered<js::jit::JitCode*>, 4ul>::operator[](unsigned long) const
mozilla::Array<js::jit::MUse, 2ul>::operator[](unsigned long) const
Line
Count
Source
44
318
  {
45
318
    MOZ_ASSERT(aIndex < Length);
46
318
    return mArr[aIndex];
47
318
  }
mozilla::Array<js::jit::MBasicBlock*, 1ul>::operator[](unsigned long) const
Line
Count
Source
44
140
  {
45
140
    MOZ_ASSERT(aIndex < Length);
46
140
    return mArr[aIndex];
47
140
  }
mozilla::Array<js::jit::MUse, 1ul>::operator[](unsigned long) const
Line
Count
Source
44
3.86k
  {
45
3.86k
    MOZ_ASSERT(aIndex < Length);
46
3.86k
    return mArr[aIndex];
47
3.86k
  }
Unexecuted instantiation: mozilla::Array<js::jit::MUse, 4ul>::operator[](unsigned long) const
mozilla::Array<js::jit::MBasicBlock*, 2ul>::operator[](unsigned long) const
Line
Count
Source
44
266
  {
45
266
    MOZ_ASSERT(aIndex < Length);
46
266
    return mArr[aIndex];
47
266
  }
Unexecuted instantiation: mozilla::Array<js::jit::MUse, 3ul>::operator[](unsigned long) const
mozilla::Array<unsigned int, 512ul>::operator[](unsigned long) const
Line
Count
Source
44
4
  {
45
4
    MOZ_ASSERT(aIndex < Length);
46
4
    return mArr[aIndex];
47
4
  }
Unexecuted instantiation: mozilla::Array<js::FunctionToStringCache::Entry, 2ul>::operator[](unsigned long) const
Unexecuted instantiation: mozilla::Array<char const*, 10ul>::operator[](unsigned long) const
Unexecuted instantiation: mozilla::Array<unsigned long, 10ul>::operator[](unsigned long) const
Unexecuted instantiation: mozilla::Array<unsigned long, 512ul>::operator[](unsigned long) const
mozilla::Array<JSString*, 4ul>::operator[](unsigned long) const
Line
Count
Source
44
9
  {
45
9
    MOZ_ASSERT(aIndex < Length);
46
9
    return mArr[aIndex];
47
9
  }
Unexecuted instantiation: mozilla::Array<js::wasm::RegI32, 1ul>::operator[](unsigned long) const
Unexecuted instantiation: mozilla::Array<unsigned int, 59ul>::operator[](unsigned long) const
Unexecuted instantiation: mozilla::Array<mozilla::Vector<unsigned int, 0ul, js::SystemAllocPolicy>, 59ul>::operator[](unsigned long) const
Unexecuted instantiation: mozilla::Array<mozilla::Vector<js::wasm::TrapSite, 0ul, js::SystemAllocPolicy>, 12ul>::operator[](unsigned long) const
48
49
  bool operator==(const Array<T, Length>& aOther) const
50
  {
51
    for (size_t i = 0; i < Length; i++) {
52
      if (mArr[i] != aOther[i]) {
53
        return false;
54
      }
55
    }
56
    return true;
57
  }
58
59
  typedef T*                        iterator;
60
  typedef const T*                  const_iterator;
61
  typedef ReverseIterator<T*>       reverse_iterator;
62
  typedef ReverseIterator<const T*> const_reverse_iterator;
63
64
  // Methods for range-based for loops.
65
222
  iterator begin() { return mArr; }
mozilla::Array<char const*, 3ul>::begin()
Line
Count
Source
65
3
  iterator begin() { return mArr; }
mozilla::Array<mozilla::Array<JS::Heap<JSObject*>, 16ul>*, 102ul>::begin()
Line
Count
Source
65
6
  iterator begin() { return mArr; }
Unexecuted instantiation: mozilla::Array<char, 1000ul>::begin()
Unexecuted instantiation: mozilla::Array<nsDataHashtable<mozilla::PseudoElementHashEntry, bool>, 2ul>::begin()
Unexecuted instantiation: mozilla::Array<nsTArray<RefPtr<mozilla::StyleSheet> >, 8ul>::begin()
Unexecuted instantiation: mozilla::Array<RefPtr<mozilla::ComputedStyle>, 7ul>::begin()
Unexecuted instantiation: mozilla::Array<double, 4ul>::begin()
mozilla::Array<unsigned long, 4ul>::begin()
Line
Count
Source
65
4
  iterator begin() { return mArr; }
mozilla::Array<mozilla::Atomic<unsigned int, (mozilla::MemoryOrdering)1, (mozilla::recordreplay::Behavior)0, void>, 5ul>::begin()
Line
Count
Source
65
21
  iterator begin() { return mArr; }
mozilla::Array<mozilla::TimeStamp, 106ul>::begin()
Line
Count
Source
65
18
  iterator begin() { return mArr; }
mozilla::Array<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>, 106ul>::begin()
Line
Count
Source
65
18
  iterator begin() { return mArr; }
mozilla::Array<js::ReadBarriered<js::jit::JitCode*>, 4ul>::begin()
Line
Count
Source
65
18
  iterator begin() { return mArr; }
mozilla::Array<js::jit::JitRealm::BailoutReturnStubInfo, 5ul>::begin()
Line
Count
Source
65
18
  iterator begin() { return mArr; }
mozilla::Array<JS::Rooted<void*>*, 14ul>::begin()
Line
Count
Source
65
27
  iterator begin() { return mArr; }
mozilla::Array<unsigned long, 512ul>::begin()
Line
Count
Source
65
4
  iterator begin() { return mArr; }
Unexecuted instantiation: mozilla::Array<mozilla::Vector<unsigned int, 0ul, js::SystemAllocPolicy>, 59ul>::begin()
mozilla::Array<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>, 19ul>::begin()
Line
Count
Source
65
85
  iterator begin() { return mArr; }
66
0
  const_iterator begin() const { return mArr; }
Unexecuted instantiation: mozilla::Array<char const*, 1ul>::begin() const
Unexecuted instantiation: mozilla::Array<char const*, 2ul>::begin() const
Unexecuted instantiation: mozilla::Array<char const*, 7ul>::begin() const
Unexecuted instantiation: mozilla::Array<nsresult (nsIGfxInfo::*)(nsTSubstring<char16_t>&), 2ul>::begin() const
Unexecuted instantiation: mozilla::Array<nsDataHashtable<mozilla::PseudoElementHashEntry, bool>, 2ul>::begin() const
Unexecuted instantiation: mozilla::Array<nsTArray<RefPtr<mozilla::StyleSheet> >, 3ul>::begin() const
Unexecuted instantiation: mozilla::Array<nsTArray<RefPtr<mozilla::StyleSheet> >, 8ul>::begin() const
Unexecuted instantiation: mozilla::Array<char, 1000ul>::begin() const
Unexecuted instantiation: mozilla::Array<int, 4ul>::begin() const
Unexecuted instantiation: mozilla::Array<int const, 4ul>::begin() const
Unexecuted instantiation: mozilla::Array<unsigned long, 4ul>::begin() const
Unexecuted instantiation: mozilla::Array<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>, 12ul>::begin() const
Unexecuted instantiation: mozilla::Array<mozilla::Vector<unsigned int, 0ul, js::SystemAllocPolicy>, 59ul>::begin() const
Unexecuted instantiation: mozilla::Array<mozilla::Vector<js::wasm::TrapSite, 0ul, js::SystemAllocPolicy>, 12ul>::begin() const
Unexecuted instantiation: mozilla::Array<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>, 19ul>::begin() const
67
0
  const_iterator cbegin() const { return begin(); }
Unexecuted instantiation: mozilla::Array<char, 1000ul>::cbegin() const
Unexecuted instantiation: mozilla::Array<int, 4ul>::cbegin() const
Unexecuted instantiation: mozilla::Array<int const, 4ul>::cbegin() const
68
216
  iterator end() { return mArr + Length; }
mozilla::Array<char const*, 3ul>::end()
Line
Count
Source
68
3
  iterator end() { return mArr + Length; }
Unexecuted instantiation: mozilla::Array<nsDataHashtable<mozilla::PseudoElementHashEntry, bool>, 2ul>::end()
Unexecuted instantiation: mozilla::Array<nsTArray<RefPtr<mozilla::StyleSheet> >, 8ul>::end()
Unexecuted instantiation: mozilla::Array<RefPtr<mozilla::ComputedStyle>, 7ul>::end()
Unexecuted instantiation: mozilla::Array<double, 4ul>::end()
mozilla::Array<unsigned long, 4ul>::end()
Line
Count
Source
68
4
  iterator end() { return mArr + Length; }
mozilla::Array<mozilla::Atomic<unsigned int, (mozilla::MemoryOrdering)1, (mozilla::recordreplay::Behavior)0, void>, 5ul>::end()
Line
Count
Source
68
21
  iterator end() { return mArr + Length; }
mozilla::Array<mozilla::TimeStamp, 106ul>::end()
Line
Count
Source
68
18
  iterator end() { return mArr + Length; }
mozilla::Array<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>, 106ul>::end()
Line
Count
Source
68
18
  iterator end() { return mArr + Length; }
mozilla::Array<js::ReadBarriered<js::jit::JitCode*>, 4ul>::end()
Line
Count
Source
68
18
  iterator end() { return mArr + Length; }
mozilla::Array<js::jit::JitRealm::BailoutReturnStubInfo, 5ul>::end()
Line
Count
Source
68
18
  iterator end() { return mArr + Length; }
mozilla::Array<JS::Rooted<void*>*, 14ul>::end()
Line
Count
Source
68
27
  iterator end() { return mArr + Length; }
mozilla::Array<unsigned long, 512ul>::end()
Line
Count
Source
68
4
  iterator end() { return mArr + Length; }
Unexecuted instantiation: mozilla::Array<mozilla::Vector<unsigned int, 0ul, js::SystemAllocPolicy>, 59ul>::end()
mozilla::Array<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>, 19ul>::end()
Line
Count
Source
68
85
  iterator end() { return mArr + Length; }
69
0
  const_iterator end() const { return mArr + Length; }
Unexecuted instantiation: mozilla::Array<char const*, 1ul>::end() const
Unexecuted instantiation: mozilla::Array<char const*, 2ul>::end() const
Unexecuted instantiation: mozilla::Array<char const*, 7ul>::end() const
Unexecuted instantiation: mozilla::Array<nsresult (nsIGfxInfo::*)(nsTSubstring<char16_t>&), 2ul>::end() const
Unexecuted instantiation: mozilla::Array<nsDataHashtable<mozilla::PseudoElementHashEntry, bool>, 2ul>::end() const
Unexecuted instantiation: mozilla::Array<nsTArray<RefPtr<mozilla::StyleSheet> >, 3ul>::end() const
Unexecuted instantiation: mozilla::Array<nsTArray<RefPtr<mozilla::StyleSheet> >, 8ul>::end() const
Unexecuted instantiation: mozilla::Array<int, 4ul>::end() const
Unexecuted instantiation: mozilla::Array<int const, 4ul>::end() const
Unexecuted instantiation: mozilla::Array<unsigned long, 4ul>::end() const
Unexecuted instantiation: mozilla::Array<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>, 12ul>::end() const
Unexecuted instantiation: mozilla::Array<mozilla::Vector<unsigned int, 0ul, js::SystemAllocPolicy>, 59ul>::end() const
Unexecuted instantiation: mozilla::Array<mozilla::Vector<js::wasm::TrapSite, 0ul, js::SystemAllocPolicy>, 12ul>::end() const
Unexecuted instantiation: mozilla::Array<mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>, 19ul>::end() const
70
0
  const_iterator cend() const { return end(); }
Unexecuted instantiation: mozilla::Array<int, 4ul>::cend() const
Unexecuted instantiation: mozilla::Array<int const, 4ul>::cend() const
71
72
  // Methods for reverse iterating.
73
  reverse_iterator rbegin() { return reverse_iterator(end()); }
74
  const_reverse_iterator rbegin() const { return const_reverse_iterator(end()); }
75
  const_reverse_iterator crbegin() const { return rbegin(); }
76
  reverse_iterator rend() { return reverse_iterator(begin()); }
77
  const_reverse_iterator rend() const { return const_reverse_iterator(begin()); }
78
  const_reverse_iterator crend() const { return rend(); }
79
};
80
81
template<typename T>
82
class Array<T, 0>
83
{
84
public:
85
  T& operator[](size_t aIndex)
86
0
  {
87
0
    MOZ_CRASH("indexing into zero-length array");
88
0
  }
Unexecuted instantiation: mozilla::Array<js::jit::MUse, 0ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<js::jit::MBasicBlock*, 0ul>::operator[](unsigned long)
Unexecuted instantiation: mozilla::Array<js::jit::CFGBlock*, 0ul>::operator[](unsigned long)
89
90
  const T& operator[](size_t aIndex) const
91
0
  {
92
0
    MOZ_CRASH("indexing into zero-length array");
93
0
  }
Unexecuted instantiation: mozilla::Array<js::jit::MUse, 0ul>::operator[](unsigned long) const
Unexecuted instantiation: mozilla::Array<js::jit::MBasicBlock*, 0ul>::operator[](unsigned long) const
Unexecuted instantiation: mozilla::Array<js::jit::CFGBlock*, 0ul>::operator[](unsigned long) const
94
};
95
96
}  /* namespace mozilla */
97
98
#endif /* mozilla_Array_h */