![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
Namespaces | |
namespace | bits |
namespace | debug |
namespace | detail |
namespace | helper |
namespace | ieee754 |
namespace | impl |
namespace | internal |
namespace | numerics |
namespace | time_internal |
namespace | tmp |
Concepts | |
concept | Hashable |
concept | IntegralConstantLike |
concept | has_output_operator |
Typedefs | |
using | AsAtomic8 = AsAtomicImpl<base::Atomic8> |
using | AsAtomic16 = AsAtomicImpl<base::Atomic16> |
using | AsAtomic32 = AsAtomicImpl<base::Atomic32> |
using | AsAtomicWord = AsAtomicImpl<base::AtomicWord> |
using | AsAtomicPointer = AsAtomicPointerImpl<base::AtomicWord> |
using | Atomic8 = char |
using | Atomic16 = int16_t |
using | Atomic32 = int32_t |
using | AtomicWord = Atomic32 |
template<class T , int shift, int size> | |
using | BitField8 = BitField<T, shift, size, uint8_t> |
template<class T , int shift, int size> | |
using | BitField16 = BitField<T, shift, size, uint16_t> |
template<class T , int shift, int size> | |
using | BitField64 = BitField<T, shift, size, uint64_t> |
template<class T > | |
using | ContextualClass = ContextualVariable<T, T> |
using | CustomMatcherHashMap |
using | HashMap = PointerTemplateHashMapImpl<DefaultAllocationPolicy> |
using | Address = uintptr_t |
using | SizeT = StrictNumeric<size_t> |
using | OnceType = std::atomic<uint8_t> |
using | PointerArgFunction = void (*)(void* arg) |
using | LazyConditionVariable |
using | LazyMutex |
using | LazyRecursiveMutex |
using | MutexGuard = LockGuard<Mutex> |
using | RecursiveMutexGuard = LockGuard<RecursiveMutex> |
typedef PVOID(__stdcall * | VirtualAlloc2_t) (HANDLE, PVOID, SIZE_T, ULONG, ULONG, MEM_EXTENDED_PARAMETER *, ULONG) |
typedef PVOID(__stdcall * | MapViewOfFile3_t) (HANDLE, HANDLE, PVOID, ULONG64, SIZE_T, ULONG, ULONG, MEM_EXTENDED_PARAMETER *, ULONG) |
typedef PVOID(__stdcall * | UnmapViewOfFile2_t) (HANDLE, PVOID, ULONG) |
using | uc16 = uint16_t |
using | uc32 = uint32_t |
template<class Tuple , class T > | |
using | append_tuple_type |
template<class T , class Tuple > | |
using | prepend_tuple_type |
template<size_t N, typename... T> | |
using | nth_type_t = typename detail::nth_type<N, T...>::type |
template<typename T , typename TLTraits = ThreadedListTraits<T>> | |
using | ThreadedList = ThreadedListBase<T, EmptyBase, TLTraits> |
template<typename T , typename TLTraits = ThreadedListTraits<T>> | |
using | ThreadedListWithUnsafeInsertions |
Enumerations | |
enum class | AbortMode { kExitWithSuccessAndIgnoreDcheckFailures , kExitWithFailureAndIgnoreDcheckFailures , kImmediateCrash , kDefault } |
enum class | PageInitializationMode { kAllocatedPagesMustBeZeroInitialized , kAllocatedPagesCanBeUninitialized , kRecommitOnly } |
enum class | PageFreeingMode { kMakeInaccessible , kDiscard } |
enum class | OOMType { kJavaScript , kProcess } |
enum | BignumDtoaMode { BIGNUM_DTOA_SHORTEST , BIGNUM_DTOA_FIXED , BIGNUM_DTOA_PRECISION } |
enum | DtoaMode { DTOA_SHORTEST , DTOA_FIXED , DTOA_PRECISION } |
enum | FastDtoaMode { FAST_DTOA_SHORTEST , FAST_DTOA_PRECISION } |
enum | : uint8_t { ONCE_STATE_UNINITIALIZED = 0 , ONCE_STATE_EXECUTING_FUNCTION = 1 , ONCE_STATE_DONE = 2 } |
enum | OutputMode { UNKNOWN , CONSOLE , ODS } |
Functions | |
V8_INLINE bool | ControlledCrashesAreHarmless () |
V8_INLINE bool | DcheckFailuresAreIgnored () |
ASSERT_TRIVIALLY_COPYABLE (AddressRegion) | |
template<typename T > | |
AddressRegion | AddressRegionOf (T *ptr, size_t size) |
template<typename Container > | |
auto | AddressRegionOf (Container &&c) -> decltype(AddressRegionOf(c.data(), c.size())) |
std::ostream & | operator<< (std::ostream &out, AddressRegion region) |
template<typename T > requires std::is_unsigned<T>::value | |
void | CheckedIncrement (std::atomic< T > *number, T amount, std::memory_order order=std::memory_order_seq_cst) |
template<typename T > requires std::is_unsigned<T>::value | |
void | CheckedDecrement (std::atomic< T > *number, T amount, std::memory_order order=std::memory_order_seq_cst) |
template<typename T > | |
V8_INLINE std::atomic< T > * | AsAtomicPtr (T *t) |
template<typename T > | |
V8_INLINE const std::atomic< T > * | AsAtomicPtr (const T *t) |
void | SeqCst_MemoryFence () |
Atomic8 | Relaxed_CompareAndSwap (volatile Atomic8 *ptr, Atomic8 old_value, Atomic8 new_value) |
Atomic16 | Relaxed_CompareAndSwap (volatile Atomic16 *ptr, Atomic16 old_value, Atomic16 new_value) |
Atomic32 | Relaxed_CompareAndSwap (volatile Atomic32 *ptr, Atomic32 old_value, Atomic32 new_value) |
Atomic32 | Relaxed_AtomicExchange (volatile Atomic32 *ptr, Atomic32 new_value) |
Atomic32 | SeqCst_AtomicExchange (volatile Atomic32 *ptr, Atomic32 new_value) |
Atomic32 | Relaxed_AtomicIncrement (volatile Atomic32 *ptr, Atomic32 increment) |
Atomic32 | Acquire_CompareAndSwap (volatile Atomic32 *ptr, Atomic32 old_value, Atomic32 new_value) |
Atomic8 | Release_CompareAndSwap (volatile Atomic8 *ptr, Atomic8 old_value, Atomic8 new_value) |
Atomic32 | Release_CompareAndSwap (volatile Atomic32 *ptr, Atomic32 old_value, Atomic32 new_value) |
Atomic32 | AcquireRelease_CompareAndSwap (volatile Atomic32 *ptr, Atomic32 old_value, Atomic32 new_value) |
Atomic32 | SeqCst_CompareAndSwap (volatile Atomic32 *ptr, Atomic32 old_value, Atomic32 new_value) |
void | Relaxed_Store (volatile Atomic8 *ptr, Atomic8 value) |
void | Relaxed_Store (volatile Atomic16 *ptr, Atomic16 value) |
void | Relaxed_Store (volatile Atomic32 *ptr, Atomic32 value) |
void | Release_Store (volatile Atomic8 *ptr, Atomic8 value) |
void | Release_Store (volatile Atomic16 *ptr, Atomic16 value) |
void | Release_Store (volatile Atomic32 *ptr, Atomic32 value) |
void | SeqCst_Store (volatile Atomic8 *ptr, Atomic8 value) |
void | SeqCst_Store (volatile Atomic16 *ptr, Atomic16 value) |
void | SeqCst_Store (volatile Atomic32 *ptr, Atomic32 value) |
Atomic8 | Relaxed_Load (volatile const Atomic8 *ptr) |
Atomic16 | Relaxed_Load (volatile const Atomic16 *ptr) |
Atomic32 | Relaxed_Load (volatile const Atomic32 *ptr) |
Atomic8 | Acquire_Load (volatile const Atomic8 *ptr) |
Atomic32 | Acquire_Load (volatile const Atomic32 *ptr) |
Atomic8 | SeqCst_Load (volatile const Atomic8 *ptr) |
Atomic32 | SeqCst_Load (volatile const Atomic32 *ptr) |
void | Relaxed_Memcpy (volatile Atomic8 *dst, volatile const Atomic8 *src, size_t bytes) |
void | Relaxed_Memmove (volatile Atomic8 *dst, volatile const Atomic8 *src, size_t bytes) |
int | Relaxed_Memcmp (volatile const Atomic8 *s1, volatile const Atomic8 *s2, size_t len) |
template<typename T , typename U > requires ((std::is_integral_v<T> || std::is_enum_v<T>) && (std::is_integral_v<U> || std::is_enum_v<U>)) && (sizeof(U) <= sizeof(T)) | |
constexpr bool | IsInRange (T value, U lower_limit, U higher_limit) |
template<typename T , typename U > requires ((std::is_integral_v<T> || std::is_enum_v<T>) && (std::is_integral_v<U> || std::is_enum_v<U>)) && (sizeof(U) <= sizeof(T)) | |
constexpr bool | IsInHalfOpenRange (T value, U lower_limit, U higher_limit) |
template<typename T > requires std::is_unsigned<T>::value | |
constexpr bool | IsInBounds (T index, T length, T max) |
template<typename T > | |
bool | ClampToBounds (T index, T *length, T max) |
template<typename C , typename T > | |
bool | contains (const C &container, const T &element) |
template<typename C , typename T > | |
std::optional< size_t > | index_of (const C &container, const T &element) |
template<typename C , typename P > | |
std::optional< size_t > | index_of_if (const C &container, const P &predicate) |
template<typename C > | |
size_t | erase_at (C &container, size_t index, size_t count=1) |
template<typename C , typename P > | |
size_t | erase_if (C &container, const P &predicate) |
template<typename C , typename P > | |
size_t | count_if (const C &container, const P &predicate) |
template<typename C , typename P > | |
bool | all_of (const C &container, const P &predicate) |
template<typename C > | |
bool | all_of (const C &container) |
template<typename C , typename P > | |
bool | any_of (const C &container, const P &predicate) |
template<typename C > | |
bool | any_of (const C &container) |
template<typename C , typename P > | |
bool | none_of (const C &container, const P &predicate) |
template<typename C > | |
void | sort (C &container) |
template<typename C , typename Comp > | |
void | sort (C &container, Comp comp) |
template<typename C > | |
bool | all_equal (const C &container) |
template<typename C , typename T > | |
bool | all_equal (const C &container, const T &value) |
template<typename V , typename C > | |
void | vector_append (V &v, const C &container) |
template<typename T > requires std::unsigned_integral<T> | |
MagicNumbersForDivision< T > | SignedDivisionByConstant (T d) |
template<class T > | |
MagicNumbersForDivision< T > | UnsignedDivisionByConstant (T d, unsigned leading_zeros) |
template struct | EXPORT_TEMPLATE_DEFINE (V8_BASE_EXPORT) MagicNumbersForDivision< uint32_t > |
template<class T > | |
struct | EXPORT_TEMPLATE_DECLARE (V8_BASE_EXPORT) MagicNumbersForDivision |
template<typename T > requires std::signed_integral<T> | |
MagicNumbersForDivision< T > | SignedDivisionByConstant (T d) |
template struct | EXPORT_TEMPLATE_DECLARE (V8_BASE_EXPORT) MagicNumbersForDivision< uint32_t > |
template<typename E , typename T > | |
std::ostream & | operator<< (std::ostream &os, EnumSet< E, T > set) |
std::unique_ptr< char[]> | RelativePath (const char *exec_path, const char *name) |
V8_INLINE size_t | hash_combine (size_t seed, size_t hash) |
template<typename T > | |
V8_INLINE size_t | hash_value_unsigned_impl (T v) |
V8_INLINE size_t | hash_value (unsigned int v) |
V8_INLINE size_t | hash_value (unsigned long v) |
V8_INLINE size_t | hash_value (unsigned long long v) |
V8_INLINE size_t | hash_value (float v) |
V8_INLINE size_t | hash_value (double v) |
template<typename T , size_t N> | |
V8_INLINE size_t | hash_value (const T(&v)[N]) |
template<typename T , size_t N> | |
V8_INLINE size_t | hash_value (T(&v)[N]) |
template<typename T > | |
V8_INLINE size_t | hash_value (T *const &v) |
template<typename T1 , typename T2 > | |
V8_INLINE size_t | hash_value (std::pair< T1, T2 > const &v) |
template<typename... T, size_t... I> | |
V8_INLINE size_t | hash_value_impl (std::tuple< T... > const &v, std::index_sequence< I... >) |
template<typename... T> | |
V8_INLINE size_t | hash_value (std::tuple< T... > const &v) |
template<typename T > requires std::is_enum<T>::value | |
V8_INLINE size_t | hash_value (T v) |
template<typename T > requires requires(const T& t) { { t.hash_value() } -> std::convertible_to<size_t>; } | |
V8_INLINE size_t | hash_value (const T &v) |
template<typename... Ts> | |
V8_INLINE size_t | hash_combine (Ts const &... vs) |
template<typename Iterator > | |
V8_INLINE size_t | hash_range (Iterator first, Iterator last) |
template<typename ForwardIterator > | |
auto | make_iterator_range (ForwardIterator begin, ForwardIterator end) |
template<typename T > | |
auto | Reversed (T &t) |
template<typename T > | |
auto | Reversed (const iterator_range< T > &t) |
template<typename T > | |
auto | IterateWithoutLast (T &t) |
template<typename T > | |
auto | IterateWithoutLast (const iterator_range< T > &t) |
template<typename T > | |
auto | IterateWithoutFirst (T &t) |
template<typename T > | |
auto | IterateWithoutFirst (const iterator_range< T > &t) |
template<class... Containers> | |
auto | zip (Containers &... containers) |
void | SetPrintStackTrace (void(*print_stack_trace)()) |
void | SetDcheckFunction (void(*dcheck_function)(const char *, int, const char *)) |
void | SetFatalFunction (void(*fatal_function)(const char *, int, const char *)) |
void | FatalOOM (OOMType type, const char *msg) |
template<typename T > | |
std::string | PrintCheckOperand (T val) |
template<typename T > requires (!std::is_function_v<typename std::remove_pointer<T>::type> && !std::is_enum_v<T> && has_output_operator<T, CheckMessageStream>) | |
std::string | PrintCheckOperand (T val) |
template<typename T > requires (std::is_function_v<typename std::remove_pointer_t<T>>) | |
std::string | PrintCheckOperand (T val) |
template<typename T > requires (std::is_enum_v<T>) | |
std::string | PrintCheckOperand (T val) |
template<typename T > requires (!has_output_operator<T, CheckMessageStream> && requires(T t) { { t.begin() } -> std::forward_iterator; }) | |
std::string | PrintCheckOperand (T container) |
template<typename Lhs , typename Rhs > | |
V8_NOINLINE std::string * | MakeCheckOpString (Lhs lhs, Rhs rhs, char const *msg) |
DEFINE_SIGNED_MISMATCH_COMP (is_signed_vs_unsigned, EQ, lhs >=0 &&MAKE_UNSIGNED(Lhs, lhs)==MAKE_UNDERLYING(Rhs, rhs)) DEFINE_SIGNED_MISMATCH_COMP(is_signed_vs_unsigned | |
template<class Dest , class Source > | |
V8_INLINE Dest | bit_cast (Source const &source) |
template<class T > | |
T & | Memory (Address addr) |
template<class T > | |
T & | Memory (uint8_t *addr) |
template<typename V > | |
static V | ReadUnalignedValue (Address p) |
template<typename V > | |
static V | ReadUnalignedValue (const char p[sizeof(V)]) |
template<typename V > | |
static void | WriteUnalignedValue (Address p, V value) |
template<typename V > | |
static void | WriteUnalignedValue (char p[sizeof(V)], V value) |
template<typename V > | |
static V | ReadLittleEndianValue (Address p) |
template<typename V > | |
static void | WriteLittleEndianValue (Address p, V value) |
template<typename V > | |
static V | ReadLittleEndianValue (V *p) |
template<typename V > | |
static void | WriteLittleEndianValue (V *p, V value) |
static int | NormalizedExponent (uint64_t significand, int exponent) |
static int | EstimatePower (int exponent) |
static void | InitialScaledStartValues (double v, int estimated_power, bool need_boundary_deltas, Bignum *numerator, Bignum *denominator, Bignum *delta_minus, Bignum *delta_plus) |
static void | FixupMultiply10 (int estimated_power, bool is_even, int *decimal_point, Bignum *numerator, Bignum *denominator, Bignum *delta_minus, Bignum *delta_plus) |
static void | GenerateShortestDigits (Bignum *numerator, Bignum *denominator, Bignum *delta_minus, Bignum *delta_plus, bool is_even, Vector< char > buffer, int *length) |
static void | BignumToFixed (int requested_digits, int *decimal_point, Bignum *numerator, Bignum *denominator, Vector< char >(buffer), int *length) |
static void | GenerateCountedDigits (int count, int *decimal_point, Bignum *numerator, Bignum *denominator, Vector< char >(buffer), int *length) |
void | BignumDtoa (double v, BignumDtoaMode mode, int requested_digits, Vector< char > buffer, int *length, int *decimal_point) |
static void | InitialScaledStartValuesPositiveExponent (double v, int estimated_power, bool need_boundary_deltas, Bignum *numerator, Bignum *denominator, Bignum *delta_minus, Bignum *delta_plus) |
static void | InitialScaledStartValuesNegativeExponentPositivePower (double v, int estimated_power, bool need_boundary_deltas, Bignum *numerator, Bignum *denominator, Bignum *delta_minus, Bignum *delta_plus) |
static void | InitialScaledStartValuesNegativeExponentNegativePower (double v, int estimated_power, bool need_boundary_deltas, Bignum *numerator, Bignum *denominator, Bignum *delta_minus, Bignum *delta_plus) |
template<typename S > | |
static int | BitSize (S value) |
static uint64_t | ReadUInt64 (Vector< const char > buffer, int from, int digits_to_read) |
static int | HexCharValue (char c) |
template<typename S > | |
static int | SizeInHexChars (S number) |
constexpr uint64_t | double_to_uint64 (double d) |
constexpr double | uint64_to_double (uint64_t d64) |
static BignumDtoaMode | DtoaToBignumDtoaMode (DtoaMode dtoa_mode) |
void | DoubleToAscii (double v, DtoaMode mode, int requested_digits, Vector< char > buffer, int *sign, int *length, int *point) |
static bool | RoundWeed (char *last_digit, uint64_t distance_too_high_w, uint64_t unsafe_interval, uint64_t rest, uint64_t ten_kappa, uint64_t unit) |
static bool | RoundWeedCounted (Vector< char > buffer, int length, uint64_t rest, uint64_t ten_kappa, uint64_t unit, int *kappa) |
static uint32_t | fast_divmod (uint32_t *val, uint32_t divisor, const DivMagic &d) |
static void | BiggestPowerTen (uint32_t number, int number_bits, uint32_t *power, unsigned *exponent) |
static bool | DigitGen (DiyFp low, DiyFp w, DiyFp high, char **outptr, int *kappa) |
static bool | DigitGenCounted (DiyFp w, int requested_digits, Vector< char > buffer, int *length, int *kappa) |
static bool | Grisu3 (double v, char **outptr, int *decimal_exponent) |
static bool | Grisu3Counted (double v, int requested_digits, Vector< char > buffer, int *length, int *decimal_exponent) |
bool | FastDtoa (double v, FastDtoaMode mode, int requested_digits, Vector< char > buffer, int *length, int *decimal_point) |
static void | FillDigits32FixedLength (uint32_t number, int requested_length, Vector< char > buffer, int *length) |
static void | FillDigits32 (uint32_t number, Vector< char > buffer, int *length) |
static void | FillDigits64FixedLength (uint64_t number, int requested_length, Vector< char > buffer, int *length) |
static void | FillDigits64 (uint64_t number, Vector< char > buffer, int *length) |
static void | DtoaRoundUp (Vector< char > buffer, int *length, int *decimal_point) |
static void | FillFractionals (uint64_t fractionals, int exponent, int fractional_count, Vector< char > buffer, int *length, int *decimal_point) |
static void | TrimZeros (Vector< char > buffer, int *length, int *decimal_point) |
bool | FastFixedDtoa (double v, int fractional_count, Vector< char > buffer, int *length, int *decimal_point) |
static Vector< const char > | TrimLeadingZeros (Vector< const char > buffer) |
static Vector< const char > | TrimTrailingZeros (Vector< const char > buffer) |
static void | TrimToMaxSignificantDigits (Vector< const char > buffer, int exponent, char *significant_buffer, int *significant_exponent) |
static uint64_t | ReadUint64 (Vector< const char > buffer, int *number_of_read_digits) |
static void | ReadDiyFp (Vector< const char > buffer, DiyFp *result, int *remaining_decimals) |
static bool | DoubleStrtod (Vector< const char > trimmed, int exponent, double *result) |
static DiyFp | AdjustmentPowerOfTen (int exponent) |
static bool | DiyFpStrtod (Vector< const char > buffer, int exponent, double *result) |
static double | BignumStrtod (Vector< const char > buffer, int exponent, double guess) |
double | Strtod (Vector< const char > buffer, int exponent) |
template<typename T > requires std::floating_point<T> | |
constexpr T | DegToRad (T deg) |
template<typename T > requires std::floating_point<T> | |
constexpr T | RadToDeg (T rad) |
template<class T > requires (std::is_integral_v<T>) | |
constexpr T | ByteSwap (T value) |
constexpr uint8_t | U8FromNativeEndian (std::span< const uint8_t, 1u > bytes) |
constexpr uint16_t | U16FromNativeEndian (std::span< const uint8_t, 2u > bytes) |
constexpr uint32_t | U32FromNativeEndian (std::span< const uint8_t, 4u > bytes) |
constexpr uint64_t | U64FromNativeEndian (std::span< const uint8_t, 8u > bytes) |
constexpr int8_t | I8FromNativeEndian (std::span< const uint8_t, 1u > bytes) |
constexpr int16_t | I16FromNativeEndian (std::span< const uint8_t, 2u > bytes) |
constexpr int32_t | I32FromNativeEndian (std::span< const uint8_t, 4u > bytes) |
constexpr int64_t | I64FromNativeEndian (std::span< const uint8_t, 8u > bytes) |
constexpr float | FloatFromNativeEndian (std::span< const uint8_t, 4u > bytes) |
constexpr double | DoubleFromNativeEndian (std::span< const uint8_t, 8u > bytes) |
constexpr uint8_t | U8FromLittleEndian (std::span< const uint8_t, 1u > bytes) |
constexpr uint16_t | U16FromLittleEndian (std::span< const uint8_t, 2u > bytes) |
constexpr uint32_t | U32FromLittleEndian (std::span< const uint8_t, 4u > bytes) |
constexpr uint64_t | U64FromLittleEndian (std::span< const uint8_t, 8u > bytes) |
constexpr int8_t | I8FromLittleEndian (std::span< const uint8_t, 1u > bytes) |
constexpr int16_t | I16FromLittleEndian (std::span< const uint8_t, 2u > bytes) |
constexpr int32_t | I32FromLittleEndian (std::span< const uint8_t, 4u > bytes) |
constexpr int64_t | I64FromLittleEndian (std::span< const uint8_t, 8u > bytes) |
constexpr float | FloatFromLittleEndian (std::span< const uint8_t, 4u > bytes) |
constexpr double | DoubleFromLittleEndian (std::span< const uint8_t, 8u > bytes) |
constexpr uint8_t | U8FromBigEndian (std::span< const uint8_t, 1u > bytes) |
constexpr uint16_t | U16FromBigEndian (std::span< const uint8_t, 2u > bytes) |
constexpr uint32_t | U32FromBigEndian (std::span< const uint8_t, 4u > bytes) |
constexpr uint64_t | U64FromBigEndian (std::span< const uint8_t, 8u > bytes) |
constexpr int8_t | I8FromBigEndian (std::span< const uint8_t, 1u > bytes) |
constexpr int16_t | I16FromBigEndian (std::span< const uint8_t, 2u > bytes) |
constexpr int32_t | I32FromBigEndian (std::span< const uint8_t, 4u > bytes) |
constexpr int64_t | I64FromBigEndian (std::span< const uint8_t, 8u > bytes) |
constexpr float | FloatFromBigEndian (std::span< const uint8_t, 4u > bytes) |
constexpr double | DoubleFromBigEndian (std::span< const uint8_t, 8u > bytes) |
constexpr std::array< uint8_t, 1u > | U8ToNativeEndian (uint8_t val) |
constexpr std::array< uint8_t, 2u > | U16ToNativeEndian (uint16_t val) |
constexpr std::array< uint8_t, 4u > | U32ToNativeEndian (uint32_t val) |
constexpr std::array< uint8_t, 8u > | U64ToNativeEndian (uint64_t val) |
constexpr std::array< uint8_t, 1u > | I8ToNativeEndian (int8_t val) |
constexpr std::array< uint8_t, 2u > | I16ToNativeEndian (int16_t val) |
constexpr std::array< uint8_t, 4u > | I32ToNativeEndian (int32_t val) |
constexpr std::array< uint8_t, 8u > | I64ToNativeEndian (int64_t val) |
constexpr std::array< uint8_t, 4u > | FloatToNativeEndian (float val) |
constexpr std::array< uint8_t, 8u > | DoubleToNativeEndian (double val) |
constexpr std::array< uint8_t, 1u > | U8ToLittleEndian (uint8_t val) |
constexpr std::array< uint8_t, 2u > | U16ToLittleEndian (uint16_t val) |
constexpr std::array< uint8_t, 4u > | U32ToLittleEndian (uint32_t val) |
constexpr std::array< uint8_t, 8u > | U64ToLittleEndian (uint64_t val) |
constexpr std::array< uint8_t, 1u > | I8ToLittleEndian (int8_t val) |
constexpr std::array< uint8_t, 2u > | I16ToLittleEndian (int16_t val) |
constexpr std::array< uint8_t, 4u > | I32ToLittleEndian (int32_t val) |
constexpr std::array< uint8_t, 8u > | I64ToLittleEndian (int64_t val) |
constexpr std::array< uint8_t, 4u > | FloatToLittleEndian (float val) |
constexpr std::array< uint8_t, 8u > | DoubleToLittleEndian (double val) |
constexpr std::array< uint8_t, 1u > | U8ToBigEndian (uint8_t val) |
constexpr std::array< uint8_t, 2u > | U16ToBigEndian (uint16_t val) |
constexpr std::array< uint8_t, 4u > | U32ToBigEndian (uint32_t val) |
constexpr std::array< uint8_t, 8u > | U64ToBigEndian (uint64_t val) |
constexpr std::array< uint8_t, 1u > | I8ToBigEndian (int8_t val) |
constexpr std::array< uint8_t, 2u > | I16ToBigEndian (int16_t val) |
constexpr std::array< uint8_t, 4u > | I32ToBigEndian (int32_t val) |
constexpr std::array< uint8_t, 8u > | I64ToBigEndian (int64_t val) |
constexpr std::array< uint8_t, 4u > | FloatToBigEndian (float val) |
constexpr std::array< uint8_t, 8u > | DoubleToBigEndian (double val) |
template<typename T > | |
constexpr bool | IsApproximatelyEqual (T lhs, T rhs, T tolerance) |
template<typename Dst = int, typename Src > requires (std::integral<Dst> && std::floating_point<Src>) | |
Dst | ClampFloor (Src value) |
template<typename Dst = int, typename Src > requires (std::integral<Dst> && std::floating_point<Src>) | |
Dst | ClampCeil (Src value) |
template<typename Dst = int, typename Src > requires (std::integral<Dst> && std::floating_point<Src>) | |
Dst | ClampRound (Src value) |
template<typename T > | |
constexpr T | WrappingAdd (T a, T b) |
template<typename T > | |
constexpr T | WrappingSub (T a, T b) |
void | CallOnceImpl (OnceType *once, std::function< void()> init_func) |
void | CallOnce (OnceType *once, std::function< void()> init_func) |
template<typename... Args> requires (std::conjunction_v<std::is_scalar<Args>...>) | |
void | CallOnce (OnceType *once, typename FunctionWithArgs< Args... >::type init_func, Args... args) |
template<> | |
int16_t | MulWithWraparound (int16_t a, int16_t b) |
template<typename signed_type > | |
signed_type | NegateWithWraparound (signed_type a) |
template<typename signed_type > | |
signed_type | ShlWithWraparound (signed_type a, signed_type b) |
template<typename T > | |
T | Divide (T x, T y) |
float | Recip (float a) |
float | RecipSqrt (float a) |
STATIC_ASSERT_ENUM (PageAllocator::kNoAccess, base::OS::MemoryPermission::kNoAccess) | |
STATIC_ASSERT_ENUM (PageAllocator::kReadWrite, base::OS::MemoryPermission::kReadWrite) | |
STATIC_ASSERT_ENUM (PageAllocator::kReadWriteExecute, base::OS::MemoryPermission::kReadWriteExecute) | |
STATIC_ASSERT_ENUM (PageAllocator::kReadExecute, base::OS::MemoryPermission::kReadExecute) | |
STATIC_ASSERT_ENUM (PageAllocator::kNoAccessWillJitLater, base::OS::MemoryPermission::kNoAccessWillJitLater) | |
void * | Malloc (size_t size) |
void * | Realloc (void *memory, size_t size) |
void | Free (void *memory) |
void * | Calloc (size_t count, size_t size) |
void * | AlignedAlloc (size_t size, size_t alignment) |
void | AlignedFree (void *ptr) |
template<typename T > | |
V8_NODISCARD AllocationResult< T * > | AllocateAtLeast (size_t n) |
int64_t | get_gmt_offset (const tm &localtm) |
static unsigned | StringToLong (char *buffer) |
double | LocalTimeOffset (double time_ms, bool is_utc) |
static unsigned | StringToLong (char *buffer) |
std::vector< OS::SharedLibraryAddress > | GetSharedLibraryAddresses (FILE *fp) |
int | GetProtectionFromMemoryPermission (OS::MemoryPermission access) |
void | PosixInitializeCommon (AbortMode abort_mode, const char *const gc_fake_mmap) |
static void | SetThreadName (const char *name) |
static void * | ThreadEntry (void *arg) |
static Thread::LocalStorageKey | PthreadKeyToLocalKey (pthread_key_t pthread_key) |
static pthread_key_t | LocalKeyToPthreadKey (Thread::LocalStorageKey local_key) |
void * | Allocate (void *address, size_t size, OS::MemoryPermission access) |
static void | SetThreadName (const char *name) |
static void * | ThreadEntry (void *arg) |
static bool | HasConsole () |
static void | VPrintHelper (FILE *stream, const char *format, va_list args) |
static std::wstring | ConvertUtf8StringToUtf16 (const char *str) |
DEFINE_LAZY_LEAKY_OBJECT_GETTER (RandomNumberGenerator, GetPlatformRandomNumberGenerator) static LazyMutex rng_mutex | |
static bool | LoadDbgHelpAndTlHelp32 () |
static std::vector< OS::SharedLibraryAddress > | LoadSymbols (HANDLE process_handle) |
static unsigned int __stdcall | ThreadEntry (void *arg) |
void | EnsureConsoleOutput () |
std::ostream & | operator<< (std::ostream &os, const Time &time) |
Time | operator+ (const TimeDelta &delta, const Time &time) |
TimeTicks | operator+ (const TimeDelta &delta, const TimeTicks &ticks) |
FILE * | Fopen (const char *filename, const char *mode) |
int | Fclose (FILE *stream) |
template<typename PointerType , typename PayloadType , int NumPayloadBits> | |
bool | operator== (PointerWithPayload< PointerType, PayloadType, NumPayloadBits > lhs, PointerWithPayload< PointerType, PayloadType, NumPayloadBits > rhs) |
FormattedString () -> FormattedString<> | |
int | VSNPrintF (Vector< char > str, const char *format, va_list args) |
int | SNPrintF (Vector< char > str, const char *format,...) |
void | StrNCpy (base::Vector< char > dest, const char *src, size_t n) |
V8_BASE_EXPORT int | PRINTF_FORMAT (2, 0) VSNPrintF(Vector< char > str |
V8_BASE_EXPORT int | PRINTF_FORMAT (2, 3) SNPrintF(Vector< char > str |
int | HexValue (uc32 c) |
char | HexCharOfValue (int value) |
template<typename TagType , typename UnderlyingType > requires requires(std::ostream& stream, const UnderlyingType& value) { stream << value; } | |
std::ostream & | operator<< (std::ostream &stream, const StrongAlias< TagType, UnderlyingType > &alias) |
template<std::size_t Size, class Function > | |
constexpr auto | make_array (Function f) |
template<class... Ts> | |
overloaded (Ts...) -> overloaded< Ts... > | |
template<size_t N, typename Tuple > | |
constexpr auto | tuple_head (Tuple &&tpl) |
template<size_t N, typename Tuple > requires (detail::NIsNotGreaterThanTupleSize<N, Tuple>) | |
constexpr auto | tuple_drop (Tuple &&tpl) |
template<typename Tuple , typename Function > | |
constexpr void | tuple_for_each (Tuple &&tpl, Function &&function) |
template<typename Tuple , typename Function > | |
constexpr void | tuple_for_each_with_index (Tuple &&tpl, Function &&function) |
template<typename Tuple , typename Function > | |
constexpr auto | tuple_map (Tuple &&tpl, Function &&function) |
template<typename TupleV , typename TupleU , typename Function > | |
constexpr auto | tuple_map2 (TupleV &&tplv, TupleU &&tplu, Function &&function) |
template<typename T , typename Tuple , typename Function > | |
constexpr auto | tuple_fold (T &&initial, Tuple &&tpl, Function &&function) |
static std::vector< uint64_t > | ComplementSample (const std::unordered_set< uint64_t > &set, uint64_t max) |
template<typename T > | |
V8_INLINE size_t | hash_value (base::Vector< T > v) |
template<size_t N> | |
constexpr Vector< const char > | StaticCharVector (const char(&array)[N]) |
Vector< const char > | CStrVector (const char *data) |
Vector< const uint8_t > | OneByteVector (const char *data, size_t length) |
Vector< const uint8_t > | OneByteVector (const char *data) |
template<size_t N> | |
Vector< const uint8_t > | StaticOneByteVector (const char(&array)[N]) |
template<typename T , size_t N> | |
constexpr Vector< T > | ArrayVector (T(&arr)[N]) |
template<typename T > | |
constexpr Vector< T > | VectorOf (T *start, size_t size) |
template<typename Container > | |
constexpr auto | VectorOf (Container &&c) -> decltype(VectorOf(std::data(c), std::size(c))) |
template<typename T > | |
constexpr Vector< const T > | VectorOf (std::initializer_list< T > list) |
template<typename T > | |
OwnedVector< T > | OwnedCopyOf (const T *data, size_t size) |
template<typename Container > | |
auto | OwnedCopyOf (const Container &c) -> decltype(OwnedCopyOf(std::data(c), std::size(c))) |
STATIC_ASSERT_ENUM (PagePermissions::kNoAccess, OS::MemoryPermission::kNoAccess) | |
STATIC_ASSERT_ENUM (PagePermissions::kReadWrite, OS::MemoryPermission::kReadWrite) | |
STATIC_ASSERT_ENUM (PagePermissions::kReadWriteExecute, OS::MemoryPermission::kReadWriteExecute) | |
STATIC_ASSERT_ENUM (PagePermissions::kReadExecute, OS::MemoryPermission::kReadExecute) | |
bool | IsSubset (PagePermissions lhs, PagePermissions rhs) |
int8_t | charToDigitDecodeForTesting (uint8_t c) |
int32_t | VLQBase64Decode (const char *start, size_t sz, size_t *pos) |
template<typename Function > | |
void | VLQEncodeUnsigned (Function &&process_byte, uint32_t value) |
uint32_t | VLQConvertToUnsigned (int32_t value) |
template<typename Function > | |
void | VLQEncode (Function &&process_byte, int32_t value) |
template<typename A > | |
void | VLQEncode (std::vector< uint8_t, A > *data, int32_t value) |
template<typename A > | |
void | VLQEncodeUnsigned (std::vector< uint8_t, A > *data, uint32_t value) |
template<typename GetNextFunction > requires std::is_same<decltype(std::declval<GetNextFunction>()()), uint8_t>::value | |
uint32_t | VLQDecodeUnsigned (GetNextFunction &&get_next) |
uint32_t | VLQDecodeUnsigned (const uint8_t *data_start, int *index) |
int32_t | VLQDecode (const uint8_t *data_start, int *index) |
size_t | hash_value (const i::Float64 &f64) |
Variables | |
AbortMode | g_abort_mode = AbortMode::kDefault |
template unsigned | leading_zeros |
constexpr const char * | kUnimplementedCodeMessage = "unimplemented code" |
constexpr const char * | kUnreachableCodeMessage = "unreachable code" |
LT | |
static const CachedPower | kCachedPowers [] |
static const int | kCachedPowersOffset = 348 |
static const double | kD_1_LOG2_10 = 0.30102999566398114 |
const int | kBase10MaximalLength = 17 |
static const int | kMinimalTargetExponent = -60 |
static const int | kMaximalTargetExponent = -32 |
static const uint32_t | kTen4 = 10000 |
static const uint32_t | kTen5 = 100000 |
static const uint32_t | kTen6 = 1000000 |
static const uint32_t | kTen7 = 10000000 |
static const uint32_t | kTen8 = 100000000 |
static const uint32_t | kTen9 = 1000000000 |
static const DivMagic | div [] |
const int | kFastDtoaMaximalLength = 17 |
static const int | kDoubleSignificandSize = 53 |
static const int | kMaxExactDoubleIntegerDecimalDigits = 15 |
static const int | kMaxUint64DecimalDigits = 19 |
static const int | kMaxDecimalPower = 309 |
static const int | kMinDecimalPower = -324 |
static const uint64_t | kMaxUint64 = 0xFFFF'FFFF'FFFF'FFFF |
static const double | exact_powers_of_ten [] |
static const int | kExactPowersOfTenSize = arraysize(exact_powers_of_ten) |
static const int | kMaxSignificantDecimalDigits = 780 |
constexpr double | kMeanGravityDouble = 9.80665 |
constexpr float | kMeanGravityFloat = 9.80665f |
static const pthread_t | kNoThread = (pthread_t) 0 |
static OutputMode | output_mode = UNKNOWN |
VirtualAlloc2_t | VirtualAlloc2 = nullptr |
MapViewOfFile3_t | MapViewOfFile3 = nullptr |
UnmapViewOfFile2_t | UnmapViewOfFile2 = nullptr |
static const HANDLE | kNoThread = INVALID_HANDLE_VALUE |
constexpr double | kMaxLoadFactorForRandomization = 0.40 |
constexpr int | kMaxRandomizationAttempts = 3 |
constexpr int | kUC16Size = sizeof(uc16) |
V8_BASE_EXPORT int const char * | format |
V8_BASE_EXPORT int const char va_list | args |
template<typename SearchT , typename... Ts> | |
constexpr size_t | index_of_type_v = index_of_type<SearchT, Ts...>::value |
template<typename SearchT , typename... Ts> | |
constexpr bool | has_type_v |
static constexpr bool | kUnsafeInsertion = true |
static LazyMutex | entropy_mutex = LAZY_MUTEX_INITIALIZER |
static RandomNumberGenerator::EntropySource | entropy_source = nullptr |
constexpr Address | kNullAddress = 0 |
static constexpr uint32_t | kContinueShift = 7 |
static constexpr uint32_t | kContinueBit = 1 << kContinueShift |
static constexpr uint32_t | kDataMask = kContinueBit - 1 |
typedef uintptr_t v8::base::Address = uintptr_t |
using v8::base::append_tuple_type |
Definition at line 79 of file template-utils.h.
Definition at line 238 of file atomic-utils.h.
Definition at line 239 of file atomic-utils.h.
using v8::base::AsAtomic8 = AsAtomicImpl<base::Atomic8> |
Definition at line 237 of file atomic-utils.h.
Definition at line 272 of file atomic-utils.h.
Definition at line 240 of file atomic-utils.h.
using v8::base::Atomic16 = int16_t |
Definition at line 58 of file atomicops.h.
using v8::base::Atomic32 = int32_t |
Definition at line 59 of file atomicops.h.
using v8::base::Atomic8 = char |
Definition at line 57 of file atomicops.h.
using v8::base::AtomicWord = Atomic32 |
Definition at line 76 of file atomicops.h.
using v8::base::BitField16 = BitField<T, shift, size, uint16_t> |
Definition at line 93 of file bit-field.h.
using v8::base::BitField64 = BitField<T, shift, size, uint64_t> |
Definition at line 96 of file bit-field.h.
using v8::base::BitField8 = BitField<T, shift, size, uint8_t> |
Definition at line 90 of file bit-field.h.
using v8::base::ContextualClass = ContextualVariable<T, T> |
Definition at line 106 of file contextual.h.
Definition at line 83 of file condition-variable.h.
using v8::base::LazyMutex |
typedef PVOID(__stdcall * v8::base::MapViewOfFile3_t) (HANDLE, HANDLE, PVOID, ULONG64, SIZE_T, ULONG, ULONG, MEM_EXTENDED_PARAMETER *, ULONG) |
Definition at line 793 of file platform-win32.cc.
using v8::base::MutexGuard = LockGuard<Mutex> |
using v8::base::nth_type_t = typename detail::nth_type<N, T...>::type |
Definition at line 230 of file template-utils.h.
using v8::base::OnceType = std::atomic<uint8_t> |
using v8::base::PointerArgFunction = void (*)(void* arg) |
using v8::base::prepend_tuple_type |
Definition at line 84 of file template-utils.h.
using v8::base::SizeT = StrictNumeric<size_t> |
Definition at line 343 of file safe_conversions.h.
using v8::base::ThreadedList = ThreadedListBase<T, EmptyBase, TLTraits> |
Definition at line 379 of file threaded-list.h.
using v8::base::ThreadedListWithUnsafeInsertions |
Definition at line 382 of file threaded-list.h.
using v8::base::uc16 = uint16_t |
using v8::base::uc32 = uint32_t |
Definition at line 798 of file platform-win32.cc.
typedef PVOID(__stdcall * v8::base::VirtualAlloc2_t) (HANDLE, PVOID, SIZE_T, ULONG, ULONG, MEM_EXTENDED_PARAMETER *, ULONG) |
Definition at line 789 of file platform-win32.cc.
anonymous enum : uint8_t |
|
strong |
Enumerator | |
---|---|
kExitWithSuccessAndIgnoreDcheckFailures | |
kExitWithFailureAndIgnoreDcheckFailures | |
kImmediateCrash | |
kDefault |
Definition at line 16 of file abort-mode.h.
Enumerator | |
---|---|
BIGNUM_DTOA_SHORTEST | |
BIGNUM_DTOA_FIXED | |
BIGNUM_DTOA_PRECISION |
Definition at line 13 of file bignum-dtoa.h.
enum v8::base::DtoaMode |
Enumerator | |
---|---|
FAST_DTOA_SHORTEST | |
FAST_DTOA_PRECISION |
Definition at line 13 of file fast-dtoa.h.
|
strong |
enum v8::base::OutputMode |
Enumerator | |
---|---|
UNKNOWN | |
CONSOLE | |
ODS |
Definition at line 571 of file platform-win32.cc.
|
strong |
Enumerator | |
---|---|
kMakeInaccessible | |
kDiscard |
Definition at line 31 of file bounded-page-allocator.h.
|
strong |
Enumerator | |
---|---|
kAllocatedPagesMustBeZeroInitialized | |
kAllocatedPagesCanBeUninitialized | |
kRecommitOnly |
Definition at line 16 of file bounded-page-allocator.h.
Definition at line 249 of file atomicops.h.
|
inline |
Definition at line 172 of file atomicops.h.
|
inline |
|
inline |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 132 of file container-utils.h.
|
inline |
Definition at line 85 of file container-utils.h.
void * v8::base::Allocate | ( | void * | address, |
size_t | size, | ||
OS::MemoryPermission | access ) |
V8_NODISCARD AllocationResult< T * > v8::base::AllocateAtLeast | ( | size_t | n | ) |
|
inline |
Definition at line 97 of file container-utils.h.
Definition at line 304 of file atomic-utils.h.
v8::base::ASSERT_TRIVIALLY_COPYABLE | ( | AddressRegion | ) |
|
inlinestatic |
V8_BASE_EXPORT void v8::base::BignumDtoa | ( | double | v, |
BignumDtoaMode | mode, | ||
int | requested_digits, | ||
Vector< char > | buffer, | ||
int * | length, | ||
int * | decimal_point ) |
Definition at line 61 of file bignum-dtoa.cc.
|
static |
|
static |
Definition at line 273 of file bignum-dtoa.cc.
V8_INLINE Dest v8::base::bit_cast | ( | Source const & | source | ) |
|
static |
Definition at line 30 of file byte_conversions.h.
|
inline |
|
inline |
|
inline |
V8_BASE_EXPORT void v8::base::CallOnceImpl | ( | OnceType * | once, |
std::function< void()> | init_func ) |
V8_BASE_EXPORT int8_t v8::base::charToDigitDecodeForTesting | ( | uint8_t | c | ) |
Definition at line 35 of file vlq-base64.cc.
Dst v8::base::ClampCeil | ( | Src | value | ) |
Dst v8::base::ClampFloor | ( | Src | value | ) |
Dst v8::base::ClampRound | ( | Src | value | ) |
|
static |
Definition at line 132 of file random-number-generator.cc.
V8_INLINE bool v8::base::ControlledCrashesAreHarmless | ( | ) |
|
static |
Definition at line 613 of file platform-win32.cc.
|
inline |
Definition at line 75 of file container-utils.h.
|
inline |
V8_INLINE bool v8::base::DcheckFailuresAreIgnored | ( | ) |
v8::base::DEFINE_LAZY_LEAKY_OBJECT_GETTER | ( | RandomNumberGenerator | , |
GetPlatformRandomNumberGenerator | ) |
v8::base::DEFINE_SIGNED_MISMATCH_COMP | ( | is_signed_vs_unsigned | , |
EQ | , | ||
lhs >=0 && | MAKE_UNSIGNEDLhs, lhs = = MAKE_UNDERLYING(Rhs, rhs) ) |
Definition at line 18 of file angle_conversions.h.
|
static |
Definition at line 405 of file fast-dtoa.cc.
|
static |
Definition at line 529 of file fast-dtoa.cc.
|
static |
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 386 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 276 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 148 of file byte_conversions.h.
|
static |
V8_BASE_EXPORT void v8::base::DoubleToAscii | ( | double | v, |
DtoaMode | mode, | ||
int | requested_digits, | ||
Vector< char > | buffer, | ||
int * | sign, | ||
int * | length, | ||
int * | point ) |
|
inlineconstexpr |
Definition at line 710 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 599 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 488 of file byte_conversions.h.
|
static |
|
static |
|
inline |
|
inline |
Definition at line 52 of file container-utils.h.
|
static |
template v8::base::EXPORT_TEMPLATE_DECLARE | ( | V8_BASE_EXPORT | ) |
|
extern |
template v8::base::EXPORT_TEMPLATE_DEFINE | ( | V8_BASE_EXPORT | ) |
|
inlinestatic |
V8_BASE_EXPORT bool v8::base::FastDtoa | ( | double | v, |
FastDtoaMode | mode, | ||
int | requested_digits, | ||
Vector< char > | buffer, | ||
int * | length, | ||
int * | decimal_point ) |
Definition at line 713 of file fast-dtoa.cc.
V8_BASE_EXPORT bool v8::base::FastFixedDtoa | ( | double | v, |
int | fractional_count, | ||
Vector< char > | buffer, | ||
int * | length, | ||
int * | decimal_point ) |
Definition at line 278 of file fixed-dtoa.cc.
V8_BASE_EXPORT void v8::base::FatalOOM | ( | OOMType | type, |
const char * | msg ) |
Definition at line 80 of file logging.cc.
|
inline |
|
static |
|
static |
|
static |
Definition at line 143 of file fixed-dtoa.cc.
|
static |
Definition at line 129 of file fixed-dtoa.cc.
|
static |
Definition at line 203 of file fixed-dtoa.cc.
|
static |
Definition at line 577 of file bignum-dtoa.cc.
|
inlineconstexpr |
Definition at line 376 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 264 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 137 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 699 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 588 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 478 of file byte_conversions.h.
|
inline |
v8::base::FormattedString | ( | ) | -> FormattedString<> |
Definition at line 176 of file string-format.h.
|
inline |
|
static |
Definition at line 232 of file bignum-dtoa.cc.
|
static |
Definition at line 135 of file bignum-dtoa.cc.
int64_t v8::base::get_gmt_offset | ( | const tm & | localtm | ) |
int v8::base::GetProtectionFromMemoryPermission | ( | OS::MemoryPermission | access | ) |
V8_BASE_EXPORT std::vector< OS::SharedLibraryAddress > v8::base::GetSharedLibraryAddresses | ( | FILE * | fp | ) |
Definition at line 242 of file platform-linux.cc.
|
static |
Definition at line 614 of file fast-dtoa.cc.
|
static |
Definition at line 674 of file fast-dtoa.cc.
|
static |
V8_INLINE size_t v8::base::hash_combine | ( | size_t | seed, |
size_t | hash ) |
V8_INLINE size_t v8::base::hash_combine | ( | Ts const &... | vs | ) |
V8_INLINE size_t v8::base::hash_range | ( | Iterator | first, |
Iterator | last ) |
V8_INLINE size_t v8::base::hash_value | ( | base::Vector< T > | v | ) |
|
inline |
V8_INLINE size_t v8::base::hash_value | ( | double | v | ) |
V8_INLINE size_t v8::base::hash_value | ( | float | v | ) |
V8_INLINE size_t v8::base::hash_value | ( | std::tuple< T... > const & | v | ) |
V8_INLINE size_t v8::base::hash_value | ( | unsigned int | v | ) |
V8_INLINE size_t v8::base::hash_value | ( | unsigned long long | v | ) |
V8_INLINE size_t v8::base::hash_value | ( | unsigned long | v | ) |
V8_INLINE size_t v8::base::hash_value_impl | ( | std::tuple< T... > const & | v, |
std::index_sequence< I... > | ) |
|
inline |
|
static |
|
inline |
|
inlineconstexpr |
Definition at line 346 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 228 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 103 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 666 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 555 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 448 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 356 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 240 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 114 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 677 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 566 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 458 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 366 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 252 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 125 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 688 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 577 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 468 of file byte_conversions.h.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
std::optional< size_t > v8::base::index_of_if | ( | const C & | container, |
const P & | predicate ) |
Definition at line 39 of file container-utils.h.
|
static |
Definition at line 547 of file bignum-dtoa.cc.
|
static |
Definition at line 454 of file bignum-dtoa.cc.
|
static |
Definition at line 406 of file bignum-dtoa.cc.
|
static |
Definition at line 362 of file bignum-dtoa.cc.
V8_BASE_EXPORT bool v8::base::IsSubset | ( | PagePermissions | lhs, |
PagePermissions | rhs ) |
auto v8::base::IterateWithoutFirst | ( | const iterator_range< T > & | t | ) |
Definition at line 146 of file iterator.h.
auto v8::base::IterateWithoutLast | ( | const iterator_range< T > & | t | ) |
Definition at line 130 of file iterator.h.
|
static |
Definition at line 1536 of file platform-win32.cc.
|
static |
|
static |
double v8::base::LocalTimeOffset | ( | double | time_ms, |
bool | is_utc ) |
Definition at line 86 of file platform-cygwin.cc.
Definition at line 38 of file template-utils.h.
auto v8::base::make_iterator_range | ( | ForwardIterator | begin, |
ForwardIterator | end ) |
V8_NOINLINE std::string * v8::base::MakeCheckOpString | ( | Lhs | lhs, |
Rhs | rhs, | ||
char const * | msg ) |
|
inline |
|
inline |
|
inline |
|
static |
|
inline |
|
inline |
V8_BASE_EXPORT std::ostream & v8::base::operator<< | ( | std::ostream & | os, |
const Time & | time ) |
|
inline |
Definition at line 92 of file address-region.h.
std::ostream & v8::base::operator<< | ( | std::ostream & | stream, |
const StrongAlias< TagType, UnderlyingType > & | alias ) |
bool v8::base::operator== | ( | PointerWithPayload< PointerType, PayloadType, NumPayloadBits > | lhs, |
PointerWithPayload< PointerType, PayloadType, NumPayloadBits > | rhs ) |
Definition at line 118 of file pointer-with-payload.h.
v8::base::overloaded | ( | Ts... | ) | -> overloaded< Ts... > |
|
inline |
|
inline |
void v8::base::PosixInitializeCommon | ( | AbortMode | abort_mode, |
const char *const | gc_fake_mmap ) |
std::string v8::base::PrintCheckOperand | ( | T | container | ) |
std::string v8::base::PrintCheckOperand | ( | T | val | ) |
V8_BASE_EXPORT int v8::base::PRINTF_FORMAT | ( | 2 | , |
0 | ) |
V8_BASE_EXPORT int v8::base::PRINTF_FORMAT | ( | 2 | , |
3 | ) |
|
static |
Definition at line 24 of file angle_conversions.h.
|
static |
|
static |
|
inline |
|
inline |
|
inline |
Definition at line 80 of file overflowing-math.h.
V8_BASE_EXPORT std::unique_ptr< char[]> v8::base::RelativePath | ( | const char * | exec_path, |
const char * | name ) |
Definition at line 15 of file file-utils.cc.
Definition at line 140 of file atomicops.h.
|
inline |
Definition at line 104 of file atomicops.h.
Definition at line 234 of file atomicops.h.
|
inline |
Definition at line 363 of file atomicops.h.
|
inline |
Definition at line 388 of file atomicops.h.
Definition at line 189 of file atomicops.h.
|
inline |
Definition at line 155 of file atomicops.h.
Definition at line 204 of file atomicops.h.
auto v8::base::Reversed | ( | const iterator_range< T > & | t | ) |
Definition at line 105 of file iterator.h.
|
static |
|
static |
Definition at line 134 of file atomicops.h.
|
inline |
Definition at line 181 of file atomicops.h.
Definition at line 259 of file atomicops.h.
|
inline |
Definition at line 219 of file atomicops.h.
V8_BASE_EXPORT void v8::base::SetDcheckFunction | ( | void(* | dcheck_function )(const char *, int, const char *) | ) |
V8_BASE_EXPORT void v8::base::SetFatalFunction | ( | void(* | fatal_function )(const char *, int, const char *) | ) |
V8_BASE_EXPORT void v8::base::SetPrintStackTrace | ( | void(* | print_stack_trace )() | ) |
|
static |
|
static |
Definition at line 384 of file platform-starboard.cc.
|
inline |
|
static |
int v8::base::SNPrintF | ( | Vector< char > | str, |
const char * | format, | ||
... ) |
Definition at line 20 of file strings.cc.
|
inline |
|
inline |
Definition at line 115 of file container-utils.h.
v8::base::STATIC_ASSERT_ENUM | ( | PageAllocator::kNoAccess | , |
base::OS::MemoryPermission::kNoAccess | ) |
v8::base::STATIC_ASSERT_ENUM | ( | PageAllocator::kNoAccessWillJitLater | , |
base::OS::MemoryPermission::kNoAccessWillJitLater | ) |
v8::base::STATIC_ASSERT_ENUM | ( | PageAllocator::kReadExecute | , |
base::OS::MemoryPermission::kReadExecute | ) |
v8::base::STATIC_ASSERT_ENUM | ( | PageAllocator::kReadWrite | , |
base::OS::MemoryPermission::kReadWrite | ) |
v8::base::STATIC_ASSERT_ENUM | ( | PageAllocator::kReadWriteExecute | , |
base::OS::MemoryPermission::kReadWriteExecute | ) |
v8::base::STATIC_ASSERT_ENUM | ( | PagePermissions::kNoAccess | , |
OS::MemoryPermission::kNoAccess | ) |
v8::base::STATIC_ASSERT_ENUM | ( | PagePermissions::kReadExecute | , |
OS::MemoryPermission::kReadExecute | ) |
v8::base::STATIC_ASSERT_ENUM | ( | PagePermissions::kReadWrite | , |
OS::MemoryPermission::kReadWrite | ) |
v8::base::STATIC_ASSERT_ENUM | ( | PagePermissions::kReadWriteExecute | , |
OS::MemoryPermission::kReadWriteExecute | ) |
|
constexpr |
Vector< const uint8_t > v8::base::StaticOneByteVector | ( | const char(&) | array[N] | ) |
|
static |
|
static |
Definition at line 46 of file platform-freebsd.cc.
V8_BASE_EXPORT int const char V8_BASE_EXPORT void v8::base::StrNCpy | ( | base::Vector< char > | dest, |
const char * | src, | ||
size_t | n ) |
Definition at line 28 of file strings.cc.
V8_BASE_EXPORT double v8::base::Strtod | ( | Vector< const char > | buffer, |
int | exponent ) |
|
static |
Definition at line 1194 of file platform-posix.cc.
|
static |
|
static |
|
static |
|
static |
|
constexpr |
Definition at line 156 of file template-utils.h.
Definition at line 204 of file template-utils.h.
|
constexpr |
Definition at line 175 of file template-utils.h.
|
constexpr |
Definition at line 142 of file template-utils.h.
|
constexpr |
Definition at line 184 of file template-utils.h.
|
constexpr |
Definition at line 193 of file template-utils.h.
|
inlineconstexpr |
Definition at line 302 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 177 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 56 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 622 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 511 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 408 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 312 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 189 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 67 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 633 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 522 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 418 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 322 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 201 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 78 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 644 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 533 of file byte_conversions.h.
|
inlineconstexpr |
Definition at line 428 of file byte_conversions.h.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
V8_BASE_EXPORT int32_t v8::base::VLQBase64Decode | ( | const char * | start, |
size_t | sz, | ||
size_t * | pos ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
int v8::base::VSNPrintF | ( | Vector< char > | str, |
const char * | format, | ||
va_list | args ) |
Definition at line 16 of file strings.cc.
Definition at line 18 of file wrapping_math.h.
Definition at line 32 of file wrapping_math.h.
auto v8::base::zip | ( | Containers &... | containers | ) |
Definition at line 208 of file iterator.h.
V8_BASE_EXPORT int const char va_list v8::base::args |
|
static |
Definition at line 210 of file fast-dtoa.cc.
|
static |
Definition at line 25 of file random-number-generator.cc.
|
static |
Definition at line 26 of file random-number-generator.cc.
|
static |
V8_BASE_EXPORT int const char * v8::base::format |
V8_BASE_EXPORT AbortMode v8::base::g_abort_mode = AbortMode::kDefault |
Definition at line 10 of file abort-mode.cc.
|
constexpr |
Definition at line 242 of file template-utils.h.
|
constexpr |
Definition at line 240 of file template-utils.h.
|
static |
Definition at line 25 of file cached-powers.cc.
|
static |
Definition at line 76 of file cached-powers.cc.
|
staticconstexpr |
|
static |
Definition at line 77 of file cached-powers.cc.
|
staticconstexpr |
|
static |
Definition at line 96 of file fixed-dtoa.cc.
|
static |
const int v8::base::kFastDtoaMaximalLength = 17 |
Definition at line 25 of file fast-dtoa.h.
|
static |
|
static |
Definition at line 24 of file fast-dtoa.cc.
|
constexpr |
Definition at line 18 of file region-allocator.cc.
|
constexpr |
Definition at line 21 of file region-allocator.cc.
|
static |
|
static |
|
constexpr |
Definition at line 13 of file math_constants.h.
|
constexpr |
Definition at line 14 of file math_constants.h.
|
static |
Definition at line 23 of file fast-dtoa.cc.
|
static |
Definition at line 43 of file platform-qnx.cc.
|
static |
Definition at line 1723 of file platform-win32.cc.
|
constexpr |
Definition at line 19 of file virtual-address-space.h.
|
static |
Definition at line 195 of file fast-dtoa.cc.
|
static |
Definition at line 196 of file fast-dtoa.cc.
|
static |
Definition at line 197 of file fast-dtoa.cc.
|
static |
Definition at line 198 of file fast-dtoa.cc.
|
static |
Definition at line 199 of file fast-dtoa.cc.
|
static |
Definition at line 200 of file fast-dtoa.cc.
|
constexpr |
|
constexpr |
|
staticconstexpr |
Definition at line 376 of file threaded-list.h.
template unsigned v8::base::leading_zeros |
Definition at line 109 of file division-by-constant.cc.
MapViewOfFile3_t v8::base::MapViewOfFile3 = nullptr |
Definition at line 796 of file platform-win32.cc.
|
static |
Definition at line 577 of file platform-win32.cc.
UnmapViewOfFile2_t v8::base::UnmapViewOfFile2 = nullptr |
Definition at line 799 of file platform-win32.cc.
VirtualAlloc2_t v8::base::VirtualAlloc2 = nullptr |
Definition at line 791 of file platform-win32.cc.