Name Description Size
AllocPolicy.cpp 748
BitArray.h A bit array is an array of bits represented by an array of words (size_t). 2136
CaseFolding.txt 82624
CompleteFile.cpp Get the complete length of the file, if possible. 2231
CompleteFile.h util_CompleteFile_h 1244
DerivedCoreProperties.txt 993782
DiagnosticAssertions.h Crash diagnostics by default in debug and on nightly channel. 1009
DoubleToString.cpp Portable double to alphanumeric string and back converters. 13414
DoubleToString.h Public interface to portable double-precision floating point to string and back conversion package. 4882 /* * Any copyright is dedicated to the Public Domain. * */ 60990
Memory.h / // Placement-new elements of an array. This should optimize away for types with // trivial default initiation. template <typename T> static void DefaultInitializeElements(void* arrayPtr, size_t length) { uintptr_t elem = reinterpret_cast<uintptr_t>(arrayPtr); MOZ_ASSERT(elem % alignof(T) == 0); for (size_t i = 0; i < length; ++i) { new (reinterpret_cast<void*>(elem)) T; elem += sizeof(T); } } } /* namespace js 1935
NativeStack.cpp XP_UNIX 6261
NativeStack.h namespace js 729
Poison.h Memory poisoning. 6123
Printf.cpp Portable safe sprintf code. Author: Kipp E.B. Hickman 1765
SpecialCasing.txt 16830
StringBuffer.cpp For medium/big buffers, avoid wasting more than 1/4 of the memory. 4557
StringBuffer.h String builder that eagerly checks for over-allocation past the maximum string length. Any operation which would exceed the maximum string length causes an exception report on the context and results in a failed return value. Well-sized extractions (which waste no more than 1/4 of their char buffer space) are guaranteed for strings built by this interface. See |extractWellSized|. 13751
StructuredSpewer.cpp static 7873
StructuredSpewer.h 8375
Text.cpp 11284
Text.h These variants do not report OOMs, you must arrange for OOMs to be reported yourself. 9345
Unicode.cpp Generated by DO NOT MODIFY 238627
Unicode.h This namespace contains all the knowledge required to handle Unicode characters in JavaScript. SPACE Every character that is either in the ECMAScript class WhiteSpace (ES2016, § 11.2) or in LineTerminator (ES2016, § 11.3). WhiteSpace \u0009, \u000B, \u000C, \u0020, \u00A0 and \uFEFF and every other Unicode character with the General Category "Zs". See <> for more information about General Categories and the UnicodeData.txt file. LineTerminator \u000A, \u000D, \u2028, \u2029 UNICODE_ID_START These are all characters with the Unicode property «ID_Start». UNICODE_ID_CONTINUE_ONLY These are all characters with the Unicode property «ID_Continue» minus all characters with the Unicode property «ID_Start». And additionally <ZWNJ> and <ZWJ>. (ES2016, § 11.6) UNICODE_ID_CONTINUE These are all characters with the Unicode property «ID_Continue». And additionally <ZWNJ> and <ZWJ>. (ES2016, § 11.6) Attention: UNICODE_ID_START is _not_ IdentifierStart, but you could build a matcher for the real IdentifierPart like this: if char in ['$', '_']: return True if GetFlag(char) & UNICODE_ID_CONTINUE: return True 19196
UnicodeData.txt 1797778
UnicodeNonBMP.h Generated by DO NOT MODIFY 4378
Utility.cpp Various JS utility functions. 4994
Windows.h This file is a wrapper around <windows.h> to prevent the mangling of various function names throughout the codebase. 727