DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Name Description Modified (UTC) Size
Alignment.h Functionality related to memory alignment. 3.7 kB
AllocPolicy.h An allocation policy concept, usable for structures and algorithms to * control how memory is alloc 4.6 kB
AlreadyAddRefed.h Typed temporary pointers for reference-counted smart pointers. 5.1 kB
Array.h A compile-time constant-length array with bounds-checking assertions. 2.7 kB
ArrayUtils.h Implements various helper functions related to arrays. 5.3 kB
Assertions.cpp The crash reason is defined as a global variable here rather than in the * crash reporter itself to 712 Bytes
Assertions.h Implementations of runtime and static assertion macros for C and C++. 21.5 kB
Atomics.h Implements (almost always) lock-free atomic operations. The operations here * are a subset of that 25.8 kB
Attributes.h Implementations of various class and method modifier attributes. 28.6 kB
BinarySearch.h 3.6 kB
BloomFilter.h A counting Bloom filter implementation. This allows consumers to * do fast probabilistic "is item 7.6 kB
BufferList.h private AllocPolicy 16.0 kB
Casting.h Cast operations to supplement the built-in casting operations. 6.4 kB
ChaosMode.cpp 527 Bytes
ChaosMode.h When "chaos mode" is activated, code that makes implicitly nondeterministic * choices is encouraged 2.5 kB
Char16.h Implements a UTF-16 character type. 5.3 kB
CheckedInt.h Provides checked integers, detecting integer overflow and divide-by-0. 23.3 kB
Compiler.h Various compiler checks. 4.6 kB
Compression.cpp Our wrappers 2.3 kB
Compression.h Various simple compression/decompression functions. 4.4 kB
DebugOnly.h a type for variables used only in debug builds 2.9 kB
EndianUtils.h Functions for reading and writing integers in various endiannesses. 19.7 kB
EnumSet.h A set abstraction for enumeration values. 6.3 kB
EnumTypeTraits.h Type traits for enums. 2.5 kB
EnumeratedArray.h EnumeratedArray is like Array, but indexed by a typed enum. 3.2 kB
EnumeratedRange.h Iterator over contiguous enum values 6.3 kB
FastBernoulliTrial.h Efficient sampling with uniform probability 17.0 kB
FloatingPoint.cpp Implementations of FloatingPoint functions 649 Bytes
FloatingPoint.h Various predicates and operations on IEEE-754 floating point types. 16.1 kB
GuardObjects.h Implementation of macros to ensure correct use of RAII Auto* objects. 5.9 kB
HashFunctions.cpp Implementations of hash functions. 1.0 kB
HashFunctions.h Utilities for hashing. 10.7 kB
IndexSequence.h A utility for expanding a tuple into a variadic argument list. * Based on std::index_sequence. 3.7 kB
IntegerPrintfMacros.h Implements the C99 <inttypes.h> interface. 1.9 kB
IntegerRange.h Iterator over ranges of integers 5.8 kB
IntegerTypeTraits.h Helpers to manipulate integer types that don't fit in TypeTraits.h 3.8 kB
JSONWriter.cpp 0 1 2 3 4 5 6 7 8 9 2.3 kB
JSONWriter.h but typically the most basic testing will identify any 13.4 kB
Likely.h MOZ_LIKELY and MOZ_UNLIKELY macros to hint to the compiler how a * boolean predicate should be bran 769 Bytes
LinkedList.h A type-safe doubly-linked list class. 18.1 kB
LinuxSignal.h 1.2 kB
MacroArgs.h Implements various macros meant to ease the use of variadic macros. 4.9 kB
MacroForEach.h Implements a higher-order macro for iteratively calling another macro with * fixed leading argument 7.8 kB
MathAlgorithms.h mfbt maths algorithms. 14.8 kB
Maybe.h returning another Maybe with a possibly 14.8 kB
MaybeOneOf.h A class storing one of two optional value types that supports in-place lazy * construction. 4.4 kB
MemoryChecking.h Provides a common interface to the ASan (AddressSanitizer) and Valgrind * functions used to mark me 3.9 kB
MemoryReporting.h Memory reporting infrastructure. 826 Bytes
Move.h not a copy 9.7 kB
NotNull.h which can be used in cases 6.8 kB
NullPtr.h Implements a mozilla::IsNullPointer<T> type trait. 937 Bytes
Opaque.h An opaque integral type supporting only comparison operators. 1.1 kB
OperatorNewExtensions.h A version of |operator new| that eschews mandatory null-checks. 2.2 kB
Pair.h A class holding a pair of objects that tries to conserve storage space. 5.8 kB
PodOperations.h Operations for zeroing POD types, arrays, and so on. * * These operations are preferable to memset 5.5 kB
Poison.cpp A poison value that can be used to fill a memory space with * an address that leads to a safe crash 5.2 kB
Poison.h A poison value that can be used to fill a memory space with * an address that leads to a safe crash 3.1 kB
Range.h 1.7 kB
RangedArray.h A compile-time constant-length array, with bounds-checking assertions -- but * unlike mozilla::Arra 2.3 kB
RangedPtr.h Implements a smart pointer asserted to remain within a range specified at * construction. 7.1 kB
ReentrancyGuard.h Small helper class for asserting uses of a class are non-reentrant. 1.4 kB
RefCountType.h MozRefCountType is Mozilla's reference count type. * * We use the same type to represent the refco 1.2 kB
RefCounted.h you 6.8 kB
RefPtr.h 14.9 kB
Result.h A type suitable for returning either a value or an error from a function. 13.9 kB
ReverseIterator.h An iterator that acts like another iterator, but iterating in * the negative direction. (Note that 5.3 kB
RollingMean.h A set abstraction for enumeration values. 2.7 kB
SHA1.cpp the H array of state variables 12.4 kB
SHA1.h Simple class for computing SHA1. 1.7 kB
STYLE with the following exceptions 628 Bytes
Saturate.h Provides saturation arithmetics for scalar types. 6.2 kB
ScopeExit.h RAII class for executing arbitrary actions at scope end. 3.4 kB
Scoped.h DEPRECATED: Use UniquePtr.h instead. 9.2 kB
SegmentedVector.h private AllocPolicy 9.8 kB
SizePrintfMacros.h Implements (nonstandard) PRI{ouxX}SIZE format macros for size_t types. 1.1 kB
SplayTree.h A sorted tree with optimal access times, where recently-accessed elements * are faster to access ag 7.7 kB
Sprintf.h Provides a safer sprintf for printing to fixed-size character arrays. 1.1 kB
StaticAnalysisFunctions.h Functions that are used as markers in Gecko code for static analysis. Their * purpose is to have di 1.3 kB
TaggedAnonymousMemory.cpp 3.2 kB
TaggedAnonymousMemory.h 2.8 kB
TemplateLib.h Reusable template meta-functions on types and compile-time values. Meta- * functions are placed in 3.8 kB
ThreadLocal.h Cross-platform lightweight thread local data wrappers. 5.6 kB
ToString.h Utilities for converting an object to a string representation. 855 Bytes
Tuple.h A variadic tuple class. 15.9 kB
TypeTraits.h Template-based metaprogramming and type-testing facilities. 38.3 kB
TypedEnumBits.h MOZ_MAKE_ENUM_CLASS_BITWISE_OPERATORS allows using a typed enum as bit flags. 4.8 kB
Types.h mfbt foundational types and macros. 4.2 kB
UniquePtr.h Smart pointer managing sole ownership of a resource. 23.2 kB
UniquePtrExtensions.h Useful extensions to UniquePtr. 1.5 kB
Unused.cpp 437 Bytes
Unused.h 970 Bytes
Variant.h A template class for tagged unions. 20.0 kB
Vector.h A type/length-parametrized vector class. 39.6 kB
WeakPtr.h Weak pointer functionality, implemented as a mixin for use with any class. 8.8 kB
WindowsVersion.h 2.9 kB
XorShift128PlusRNG.h The xorshift128+ pseudo-random number generator. 4.4 kB
lz4.c Fast LZ compression algorithm 42.0 kB
lz4.h Fast LZ compression algorithm 12.2 kB
moz.build 3.3 kB
objs.mozbuild 1.3 kB