AllocationLogging.cpp |
|
928 |
AllocPolicy.cpp |
|
1035 |
BitArray.h |
A bit array is an array of bits represented by an array of words (size_t).
|
2136 |
CaseFolding.txt |
|
86092 |
CheckedArithmetic.h |
namespace js |
2777 |
CompleteFile.cpp |
Get the complete length of the file, if possible. |
4274 |
CompleteFile.h |
util_CompleteFile_h |
1252 |
DerivedCoreProperties.txt |
|
1115959 |
DiagnosticAssertions.h |
Crash diagnostics by default in debug and on nightly channel. |
1007 |
DifferentialTesting.h |
Definitions for differential testing.
|
686 |
DoubleToString.cpp |
Portable double to alphanumeric string and back converters.
|
9004 |
DoubleToString.h |
Public interface to portable double-precision floating point to string
and back conversion package.
|
1926 |
DumpFunctions.cpp |
|
18746 |
EnumFlags.h |
|
2535 |
GetPidProvider.h |
util_GetPidProvider_h |
515 |
Identifier.cpp |
|
3866 |
Identifier.h |
True if str consists of an IdentifierStart character, followed by one or
more IdentifierPart characters, i.e. it matches the IdentifierName production
in the language spec.
This returns true even if str is a keyword like "if".
|
1713 |
make_unicode.py |
/*
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/licenses/publicdomain/
*/
|
51652 |
Memory.h |
namespace js |
1383 |
moz.build |
|
1133 |
NativeStack.cpp |
e.g. on FreeBSD 4.8 or newer, neundorf@kde.org |
6758 |
NativeStack.h |
namespace js |
835 |
Poison.h |
Memory poisoning.
|
6966 |
Printf.cpp |
Portable safe sprintf code.
Author: Kipp E.B. Hickman
|
1765 |
SpecialCasing.txt |
|
16809 |
StringBuilder.cpp |
Note: we don't use Vector::capacity() because it always returns a
value >= sInlineCapacity. Since Latin1CharBuffer::sInlineCapacity >
TwoByteCharBuffer::sInlineCapacitychars, we'd always malloc here.
|
8807 |
StringBuilder.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|.
|
17635 |
StructuredSpewer.cpp |
static |
8019 |
StructuredSpewer.h |
|
9148 |
Text.cpp |
|
13346 |
Text.h |
These variants do not report OOMs, you must arrange for OOMs to be reported
yourself.
|
12490 |
TrailingArray.h |
|
2952 |
Unicode.cpp |
Generated by make_unicode.py DO NOT MODIFY |
231047 |
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 <http://www.unicode.org/reports/tr44/#UnicodeData.txt> 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
|
16658 |
UnicodeData.txt |
|
2175362 |
UnicodeNonBMP.h |
Generated by make_unicode.py DO NOT MODIFY |
3975 |
Utility.cpp |
Various JS utility functions. |
5229 |
WindowsWrapper.h |
This file is a wrapper around <windows.h> to prevent the mangling of
various function names throughout the codebase.
|
748 |