v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::base Namespace Reference

Namespaces

namespace  bits
 
namespace  debug
 
namespace  detail
 
namespace  helper
 
namespace  ieee754
 
namespace  impl
 
namespace  internal
 
namespace  numerics
 
namespace  time_internal
 
namespace  tmp
 

Classes

class  AddressRegion
 
class  AddressSpaceReservation
 
class  AIXTimezoneCache
 
struct  AllocationResult
 
class  AsAtomicImpl
 
class  AsAtomicPointerImpl
 
struct  AtomicTypeFromByteWidth
 
struct  AtomicTypeFromByteWidth< 1 >
 
struct  AtomicTypeFromByteWidth< 2 >
 
struct  AtomicTypeFromByteWidth< 4 >
 
class  AtomicValue
 
class  Bignum
 
struct  bit_equal_to
 
struct  bit_hash
 
class  BitField
 
class  BitFieldUnion
 
class  BitSetComputer
 
class  BoundedPageAllocator
 
struct  CachedPower
 
class  CheckMessageStream
 
struct  comparison_underlying_type
 
class  ConditionVariable
 
class  ContextualVariable
 
class  ContextualVariableWithDefault
 
class  CPU
 
struct  CreateSemaphoreTrait
 
class  CustomMatcherTemplateHashMapImpl
 
class  CygwinTimezoneCache
 
class  DefaultAllocationPolicy
 
struct  DefaultConstructTrait
 
struct  DefaultCreateTrait
 
struct  DerefPtrIterator
 
class  DiscriminatedUnion
 
struct  DivMagic
 
class  DiyFp
 
class  Double
 
class  DoublyThreadedList
 
struct  DoublyThreadedListTraits
 
struct  DynamicallyAllocatedInstanceTrait
 
class  ElapsedTimer
 
class  EmbeddedVector
 
struct  EmptyBase
 
class  EmulatedVirtualAddressSubspace
 
class  EnumSet
 
class  Flags
 
class  FlushDenormalsScope
 
class  FormattedString
 
class  FPU
 
struct  FreeDeleter
 
struct  FunctionWithArgs
 
struct  hash
 
struct  hash< const cppgc::internal::BasePage * >
 
struct  hash< const i::LargePageMetadata * >
 
struct  hash< const i::MemoryChunk * >
 
struct  hash< const i::MemoryChunkMetadata * >
 
struct  hash< const i::MutablePageMetadata * >
 
struct  hash< const i::PageMetadata * >
 
struct  hash< const i::ReadOnlyPageMetadata * >
 
struct  hash< i::LargePageMetadata * >
 
struct  hash< i::MemoryChunk * >
 
struct  hash< i::MemoryChunkMetadata * >
 
struct  hash< i::MutablePageMetadata * >
 
struct  hash< i::PageMetadata * >
 
struct  hash< i::ReadOnlyPageMetadata * >
 
struct  hash< T >
 
struct  HashEqualityThenKeyMatcher
 
class  Hasher
 
struct  index_of_type
 
struct  index_of_type< SearchT >
 
struct  index_of_type< SearchT, SearchT, Ts... >
 
struct  index_of_type< SearchT, T, Ts... >
 
class  IntrusiveSet
 
class  IntrusiveSetIndex
 
struct  is_signed_vs_unsigned
 
struct  is_trivially_copyable
 
struct  is_trivially_destructible
 
struct  is_unsigned_vs_signed
 
struct  iterator
 
class  iterator_range
 
struct  KeyEqualityMatcher
 
struct  LazyDynamicInstance
 
struct  LazyInstance
 
struct  LazyInstanceImpl
 
struct  LazySemaphore
 
struct  LazyStaticInstance
 
struct  LeakyInstanceTrait
 
class  LeakyObject
 
class  LockGuard
 
class  LsanPageAllocator
 
class  LsanVirtualAddressSpace
 
struct  MemoryRegion
 
class  Mutex
 
class  MutexGuardIf
 
struct  NoHashMapValue
 
class  OS
 
struct  overloaded
 
class  OwnedVector
 
class  PageAllocator
 
struct  pass_value_or_ref
 
class  PointerTemplateHashMapImpl
 
class  PointerWithPayload
 
struct  PointerWithPayloadTraits
 
struct  PointerWithPayloadTraits< v8::internal::AstRawString >
 
struct  PointerWithPayloadTraits< v8::internal::Scope >
 
struct  PointerWithPayloadTraits< void >
 
class  PosixDefaultTimezoneCache
 
class  PosixMemoryMappedFile
 
class  PosixTimezoneCache
 
class  PowersOfTenCache
 
class  PreciseSleepTimer
 
class  RandomNumberGenerator
 
class  RecursiveMutex
 
class  RegionAllocator
 
class  RingBuffer
 
struct  ScopedTimer
 
class  ScopedVector
 
class  Semaphore
 
class  SharedMemory
 
class  SharedMemoryMapping
 
struct  SingleThreadInitOnceTrait
 
class  SmallMap
 
class  SmallVector
 
class  SolarisTimezoneCache
 
class  Stack
 
class  StarboardDefaultTimezoneCache
 
class  StarboardMemoryMappedFile
 
class  StarboardTimezoneCache
 
struct  StaticallyAllocatedInstanceTrait
 
class  StrongAlias
 
class  SysInfo
 
class  TemplateHashMap
 
struct  TemplateHashMapEntry
 
struct  TemplateHashMapEntry< Address, Value >
 
struct  TemplateHashMapEntry< Key *, NoHashMapValue >
 
struct  TemplateHashMapEntry< Key *, Value >
 
struct  TemplateHashMapEntry< Key, NoHashMapValue >
 
class  TemplateHashMapImpl
 
class  Thread
 
class  ThreadedListBase
 
struct  ThreadedListTraits
 
struct  ThreadSafeInitOnceTrait
 
class  ThreadTicks
 
class  Time
 
class  TimeConstants
 
class  TimeDelta
 
class  TimeTicks
 
class  TimezoneCache
 
class  TupleIterator
 
class  UInt128
 
struct  Use
 
class  Vector
 
class  VirtualAddressSpace
 
class  VirtualAddressSpaceBase
 
class  VirtualAddressSpacePageAllocator
 
class  VirtualAddressSubspace
 
class  Win32MemoryMappedFile
 
class  Win32Time
 
class  WindowsTimezoneCache
 
class  ZOSTimezoneCache
 

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< TSignedDivisionByConstant (T d)
 
template<class T >
MagicNumbersForDivision< TUnsignedDivisionByConstant (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< TSignedDivisionByConstant (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 >
TMemory (Address addr)
 
template<class T >
TMemory (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::SharedLibraryAddressGetSharedLibraryAddresses (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::SharedLibraryAddressLoadSymbols (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< TArrayVector (T(&arr)[N])
 
template<typename T >
constexpr Vector< TVectorOf (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 TVectorOf (std::initializer_list< T > list)
 
template<typename T >
OwnedVector< TOwnedCopyOf (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 Documentation

◆ Address

typedef uintptr_t v8::base::Address = uintptr_t

Definition at line 13 of file memory.h.

◆ append_tuple_type

template<class Tuple , class T >
using v8::base::append_tuple_type
Initial value:
decltype(std::tuple_cat(
std::declval<Tuple>(), std::declval<std::tuple<T>>()))

Definition at line 79 of file template-utils.h.

◆ AsAtomic16

Definition at line 238 of file atomic-utils.h.

◆ AsAtomic32

Definition at line 239 of file atomic-utils.h.

◆ AsAtomic8

Definition at line 237 of file atomic-utils.h.

◆ AsAtomicPointer

◆ AsAtomicWord

◆ Atomic16

using v8::base::Atomic16 = int16_t

Definition at line 58 of file atomicops.h.

◆ Atomic32

using v8::base::Atomic32 = int32_t

Definition at line 59 of file atomicops.h.

◆ Atomic8

using v8::base::Atomic8 = char

Definition at line 57 of file atomicops.h.

◆ AtomicWord

Definition at line 76 of file atomicops.h.

◆ BitField16

template<class T , int shift, int size>
using v8::base::BitField16 = BitField<T, shift, size, uint16_t>

Definition at line 93 of file bit-field.h.

◆ BitField64

template<class T , int shift, int size>
using v8::base::BitField64 = BitField<T, shift, size, uint64_t>

Definition at line 96 of file bit-field.h.

◆ BitField8

template<class T , int shift, int size>
using v8::base::BitField8 = BitField<T, shift, size, uint8_t>

Definition at line 90 of file bit-field.h.

◆ ContextualClass

template<class T >
using v8::base::ContextualClass = ContextualVariable<T, T>

Definition at line 106 of file contextual.h.

◆ CustomMatcherHashMap

Initial value:
CustomMatcherTemplateHashMapImpl<DefaultAllocationPolicy>

Definition at line 480 of file hashmap.h.

◆ HashMap

◆ LazyConditionVariable

Initial value:
LazyStaticInstance<ConditionVariable,
DefaultConstructTrait<ConditionVariable>,
ThreadSafeInitOnceTrait>::type

Definition at line 83 of file condition-variable.h.

◆ LazyMutex

Initial value:
LazyStaticInstance<Mutex, DefaultConstructTrait<Mutex>,
ThreadSafeInitOnceTrait>::type

Definition at line 103 of file mutex.h.

◆ LazyRecursiveMutex

Initial value:
LazyStaticInstance<RecursiveMutex, DefaultConstructTrait<RecursiveMutex>,
ThreadSafeInitOnceTrait>::type

Definition at line 176 of file mutex.h.

◆ MapViewOfFile3_t

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.

◆ MutexGuard

Definition at line 219 of file mutex.h.

◆ nth_type_t

template<size_t N, typename... T>
using v8::base::nth_type_t = typename detail::nth_type<N, T...>::type

Definition at line 230 of file template-utils.h.

◆ OnceType

using v8::base::OnceType = std::atomic<uint8_t>

Definition at line 67 of file once.h.

◆ PointerArgFunction

using v8::base::PointerArgFunction = void (*)(void* arg)

Definition at line 80 of file once.h.

◆ prepend_tuple_type

template<class T , class Tuple >
using v8::base::prepend_tuple_type
Initial value:
decltype(std::tuple_cat(
std::declval<std::tuple<T>>(), std::declval<Tuple>()))

Definition at line 84 of file template-utils.h.

◆ RecursiveMutexGuard

Definition at line 220 of file mutex.h.

◆ SizeT

using v8::base::SizeT = StrictNumeric<size_t>

Definition at line 343 of file safe_conversions.h.

◆ ThreadedList

template<typename T , typename TLTraits = ThreadedListTraits<T>>
using v8::base::ThreadedList = ThreadedListBase<T, EmptyBase, TLTraits>

Definition at line 379 of file threaded-list.h.

◆ ThreadedListWithUnsafeInsertions

template<typename T , typename TLTraits = ThreadedListTraits<T>>
using v8::base::ThreadedListWithUnsafeInsertions
Initial value:
ThreadedListBase<T, EmptyBase, TLTraits, kUnsafeInsertion>

Definition at line 382 of file threaded-list.h.

◆ uc16

using v8::base::uc16 = uint16_t

Definition at line 18 of file strings.h.

◆ uc32

using v8::base::uc32 = uint32_t

Definition at line 19 of file strings.h.

◆ UnmapViewOfFile2_t

typedef PVOID(__stdcall * v8::base::UnmapViewOfFile2_t) (HANDLE, PVOID, ULONG)

Definition at line 798 of file platform-win32.cc.

◆ VirtualAlloc2_t

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.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : uint8_t
Enumerator
ONCE_STATE_UNINITIALIZED 
ONCE_STATE_EXECUTING_FUNCTION 
ONCE_STATE_DONE 

Definition at line 74 of file once.h.

◆ AbortMode

enum class v8::base::AbortMode
strong
Enumerator
kExitWithSuccessAndIgnoreDcheckFailures 
kExitWithFailureAndIgnoreDcheckFailures 
kImmediateCrash 
kDefault 

Definition at line 16 of file abort-mode.h.

◆ BignumDtoaMode

Enumerator
BIGNUM_DTOA_SHORTEST 
BIGNUM_DTOA_FIXED 
BIGNUM_DTOA_PRECISION 

Definition at line 13 of file bignum-dtoa.h.

◆ DtoaMode

Enumerator
DTOA_SHORTEST 
DTOA_FIXED 
DTOA_PRECISION 

Definition at line 13 of file dtoa.h.

◆ FastDtoaMode

Enumerator
FAST_DTOA_SHORTEST 
FAST_DTOA_PRECISION 

Definition at line 13 of file fast-dtoa.h.

◆ OOMType

enum class v8::base::OOMType
strong
Enumerator
kJavaScript 
kProcess 

Definition at line 92 of file logging.h.

◆ OutputMode

Enumerator
UNKNOWN 
CONSOLE 
ODS 

Definition at line 571 of file platform-win32.cc.

◆ PageFreeingMode

enum class v8::base::PageFreeingMode
strong
Enumerator
kMakeInaccessible 
kDiscard 

Definition at line 31 of file bounded-page-allocator.h.

◆ PageInitializationMode

Enumerator
kAllocatedPagesMustBeZeroInitialized 
kAllocatedPagesCanBeUninitialized 
kRecommitOnly 

Definition at line 16 of file bounded-page-allocator.h.

Function Documentation

◆ Acquire_CompareAndSwap()

Atomic32 v8::base::Acquire_CompareAndSwap ( volatile Atomic32 * ptr,
Atomic32 old_value,
Atomic32 new_value )
inline

Definition at line 147 of file atomicops.h.

Here is the call graph for this function:

◆ Acquire_Load() [1/2]

Atomic32 v8::base::Acquire_Load ( volatile const Atomic32 * ptr)
inline

Definition at line 254 of file atomicops.h.

Here is the call graph for this function:

◆ Acquire_Load() [2/2]

Atomic8 v8::base::Acquire_Load ( volatile const Atomic8 * ptr)
inline

Definition at line 249 of file atomicops.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AcquireRelease_CompareAndSwap()

Atomic32 v8::base::AcquireRelease_CompareAndSwap ( volatile Atomic32 * ptr,
Atomic32 old_value,
Atomic32 new_value )
inline

Definition at line 172 of file atomicops.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AddressRegionOf() [1/2]

template<typename Container >
auto v8::base::AddressRegionOf ( Container && c) -> decltype(AddressRegionOf(c.data(), c.size()))
inline

Definition at line 87 of file address-region.h.

Here is the call graph for this function:

◆ AddressRegionOf() [2/2]

template<typename T >
AddressRegion v8::base::AddressRegionOf ( T * ptr,
size_t size )
inline

Definition at line 79 of file address-region.h.

Here is the caller graph for this function:

◆ AdjustmentPowerOfTen()

static DiyFp v8::base::AdjustmentPowerOfTen ( int exponent)
static

Definition at line 205 of file strtod.cc.

Here is the caller graph for this function:

◆ AlignedAlloc()

void * v8::base::AlignedAlloc ( size_t size,
size_t alignment )
inline

Definition at line 84 of file memory.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AlignedFree()

void v8::base::AlignedFree ( void * ptr)
inline

Definition at line 102 of file memory.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ all_equal() [1/2]

template<typename C >
bool v8::base::all_equal ( const C & container)
inline

Definition at line 121 of file container-utils.h.

Here is the caller graph for this function:

◆ all_equal() [2/2]

template<typename C , typename T >
bool v8::base::all_equal ( const C & container,
const T & value )
inline

Definition at line 132 of file container-utils.h.

◆ all_of() [1/2]

template<typename C >
bool v8::base::all_of ( const C & container)
inline

Definition at line 85 of file container-utils.h.

◆ all_of() [2/2]

template<typename C , typename P >
bool v8::base::all_of ( const C & container,
const P & predicate )
inline

Definition at line 81 of file container-utils.h.

Here is the caller graph for this function:

◆ Allocate()

void * v8::base::Allocate ( void * address,
size_t size,
OS::MemoryPermission access )

Definition at line 127 of file platform-starboard.cc.

Here is the caller graph for this function:

◆ AllocateAtLeast()

template<typename T >
V8_NODISCARD AllocationResult< T * > v8::base::AllocateAtLeast ( size_t n)

Definition at line 144 of file memory.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ any_of() [1/2]

template<typename C >
bool v8::base::any_of ( const C & container)
inline

Definition at line 97 of file container-utils.h.

◆ any_of() [2/2]

template<typename C , typename P >
bool v8::base::any_of ( const C & container,
const P & predicate )
inline

Definition at line 93 of file container-utils.h.

Here is the caller graph for this function:

◆ ArrayVector()

template<typename T , size_t N>
Vector< T > v8::base::ArrayVector ( T(&) arr[N])
inlineconstexpr

Definition at line 354 of file vector.h.

Here is the caller graph for this function:

◆ AsAtomicPtr() [1/2]

template<typename T >
V8_INLINE const std::atomic< T > * v8::base::AsAtomicPtr ( const T * t)

Definition at line 304 of file atomic-utils.h.

◆ AsAtomicPtr() [2/2]

template<typename T >
V8_INLINE std::atomic< T > * v8::base::AsAtomicPtr ( T * t)

Definition at line 297 of file atomic-utils.h.

Here is the caller graph for this function:

◆ ASSERT_TRIVIALLY_COPYABLE()

v8::base::ASSERT_TRIVIALLY_COPYABLE ( AddressRegion )

◆ BiggestPowerTen()

static void v8::base::BiggestPowerTen ( uint32_t number,
int number_bits,
uint32_t * power,
unsigned * exponent )
inlinestatic

Definition at line 256 of file fast-dtoa.cc.

Here is the caller graph for this function:

◆ BignumDtoa()

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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BignumStrtod()

static double v8::base::BignumStrtod ( Vector< const char > buffer,
int exponent,
double guess )
static

Definition at line 348 of file strtod.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BignumToFixed()

static void v8::base::BignumToFixed ( int requested_digits,
int * decimal_point,
Bignum * numerator,
Bignum * denominator,
Vector< char > buffer,
int * length )
static

Definition at line 273 of file bignum-dtoa.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bit_cast()

template<class Dest , class Source >
V8_INLINE Dest v8::base::bit_cast ( Source const & source)

Definition at line 95 of file macros.h.

◆ BitSize()

template<typename S >
static int v8::base::BitSize ( S value)
static

Definition at line 20 of file bignum.cc.

Here is the caller graph for this function:

◆ ByteSwap()

template<class T >
requires (std::is_integral_v<T>)
T v8::base::ByteSwap ( T value)
inlineconstexpr

Definition at line 30 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Calloc()

void * v8::base::Calloc ( size_t count,
size_t size )
inline

Definition at line 71 of file memory.h.

◆ CallOnce() [1/2]

void v8::base::CallOnce ( OnceType * once,
std::function< void()> init_func )
inline

Definition at line 90 of file once.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CallOnce() [2/2]

template<typename... Args>
requires (std::conjunction_v<std::is_scalar<Args>...>)
void v8::base::CallOnce ( OnceType * once,
typename FunctionWithArgs< Args... >::type init_func,
Args... args )
inline

Definition at line 97 of file once.h.

Here is the call graph for this function:

◆ CallOnceImpl()

V8_BASE_EXPORT void v8::base::CallOnceImpl ( OnceType * once,
std::function< void()> init_func )

Definition at line 18 of file once.cc.

Here is the caller graph for this function:

◆ charToDigitDecodeForTesting()

V8_BASE_EXPORT int8_t v8::base::charToDigitDecodeForTesting ( uint8_t c)

Definition at line 35 of file vlq-base64.cc.

◆ CheckedDecrement()

template<typename T >
requires std::is_unsigned<T>::value
void v8::base::CheckedDecrement ( std::atomic< T > * number,
T amount,
std::memory_order order = std::memory_order_seq_cst )
inline

Definition at line 286 of file atomic-utils.h.

Here is the caller graph for this function:

◆ CheckedIncrement()

template<typename T >
requires std::is_unsigned<T>::value
void v8::base::CheckedIncrement ( std::atomic< T > * number,
T amount,
std::memory_order order = std::memory_order_seq_cst )
inline

Definition at line 275 of file atomic-utils.h.

Here is the caller graph for this function:

◆ ClampCeil()

template<typename Dst = int, typename Src >
requires (std::integral<Dst> && std::floating_point<Src>)
Dst v8::base::ClampCeil ( Src value)

Definition at line 367 of file safe_conversions.h.

Here is the call graph for this function:

◆ ClampFloor()

template<typename Dst = int, typename Src >
requires (std::integral<Dst> && std::floating_point<Src>)
Dst v8::base::ClampFloor ( Src value)

Definition at line 360 of file safe_conversions.h.

Here is the call graph for this function:

◆ ClampRound()

template<typename Dst = int, typename Src >
requires (std::integral<Dst> && std::floating_point<Src>)
Dst v8::base::ClampRound ( Src value)

Definition at line 382 of file safe_conversions.h.

Here is the call graph for this function:

◆ ClampToBounds()

template<typename T >
bool v8::base::ClampToBounds ( T index,
T * length,
T max )
inline

Definition at line 59 of file bounds.h.

Here is the caller graph for this function:

◆ ComplementSample()

static std::vector< uint64_t > v8::base::ComplementSample ( const std::unordered_set< uint64_t > & set,
uint64_t max )
static

Definition at line 132 of file random-number-generator.cc.

Here is the caller graph for this function:

◆ contains()

template<typename C , typename T >
bool v8::base::contains ( const C & container,
const T & element )

Definition at line 19 of file container-utils.h.

Here is the caller graph for this function:

◆ ControlledCrashesAreHarmless()

V8_INLINE bool v8::base::ControlledCrashesAreHarmless ( )

Definition at line 41 of file abort-mode.h.

Here is the caller graph for this function:

◆ ConvertUtf8StringToUtf16()

static std::wstring v8::base::ConvertUtf8StringToUtf16 ( const char * str)
static

Definition at line 613 of file platform-win32.cc.

◆ count_if()

template<typename C , typename P >
size_t v8::base::count_if ( const C & container,
const P & predicate )
inline

Definition at line 75 of file container-utils.h.

◆ CStrVector()

Vector< const char > v8::base::CStrVector ( const char * data)
inline

Definition at line 331 of file vector.h.

Here is the caller graph for this function:

◆ DcheckFailuresAreIgnored()

V8_INLINE bool v8::base::DcheckFailuresAreIgnored ( )

Definition at line 46 of file abort-mode.h.

Here is the caller graph for this function:

◆ DEFINE_LAZY_LEAKY_OBJECT_GETTER()

v8::base::DEFINE_LAZY_LEAKY_OBJECT_GETTER ( RandomNumberGenerator ,
GetPlatformRandomNumberGenerator  )

◆ DEFINE_SIGNED_MISMATCH_COMP()

v8::base::DEFINE_SIGNED_MISMATCH_COMP ( is_signed_vs_unsigned ,
EQ ,
lhs >=0 && MAKE_UNSIGNEDLhs, lhs = MAKE_UNDERLYING(Rhs, rhs) )

◆ DegToRad()

template<typename T >
requires std::floating_point<T>
T v8::base::DegToRad ( T deg)
constexpr

Definition at line 18 of file angle_conversions.h.

◆ DigitGen()

static bool v8::base::DigitGen ( DiyFp low,
DiyFp w,
DiyFp high,
char ** outptr,
int * kappa )
static

Definition at line 405 of file fast-dtoa.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DigitGenCounted()

static bool v8::base::DigitGenCounted ( DiyFp w,
int requested_digits,
Vector< char > buffer,
int * length,
int * kappa )
static

Definition at line 529 of file fast-dtoa.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Divide()

template<typename T >
T v8::base::Divide ( T x,
T y )
inline

Definition at line 69 of file overflowing-math.h.

Here is the caller graph for this function:

◆ DiyFpStrtod()

static bool v8::base::DiyFpStrtod ( Vector< const char > buffer,
int exponent,
double * result )
static

Definition at line 234 of file strtod.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ double_to_uint64()

uint64_t v8::base::double_to_uint64 ( double d)
inlineconstexpr

Definition at line 17 of file double.h.

Here is the caller graph for this function:

◆ DoubleFromBigEndian()

double v8::base::DoubleFromBigEndian ( std::span< const uint8_t, 8u > bytes)
inlineconstexpr

Definition at line 386 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DoubleFromLittleEndian()

double v8::base::DoubleFromLittleEndian ( std::span< const uint8_t, 8u > bytes)
inlineconstexpr

Definition at line 276 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DoubleFromNativeEndian()

double v8::base::DoubleFromNativeEndian ( std::span< const uint8_t, 8u > bytes)
inlineconstexpr

Definition at line 148 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DoubleStrtod()

static bool v8::base::DoubleStrtod ( Vector< const char > trimmed,
int exponent,
double * result )
static

Definition at line 148 of file strtod.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DoubleToAscii()

V8_BASE_EXPORT void v8::base::DoubleToAscii ( double v,
DtoaMode mode,
int requested_digits,
Vector< char > buffer,
int * sign,
int * length,
int * point )

Definition at line 31 of file dtoa.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DoubleToBigEndian()

std::array< uint8_t, 8u > v8::base::DoubleToBigEndian ( double val)
inlineconstexpr

Definition at line 710 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DoubleToLittleEndian()

std::array< uint8_t, 8u > v8::base::DoubleToLittleEndian ( double val)
inlineconstexpr

Definition at line 599 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DoubleToNativeEndian()

std::array< uint8_t, 8u > v8::base::DoubleToNativeEndian ( double val)
inlineconstexpr

Definition at line 488 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DtoaRoundUp()

static void v8::base::DtoaRoundUp ( Vector< char > buffer,
int * length,
int * decimal_point )
static

Definition at line 163 of file fixed-dtoa.cc.

Here is the caller graph for this function:

◆ DtoaToBignumDtoaMode()

static BignumDtoaMode v8::base::DtoaToBignumDtoaMode ( DtoaMode dtoa_mode)
static

Definition at line 18 of file dtoa.cc.

Here is the caller graph for this function:

◆ EnsureConsoleOutput()

void v8::base::EnsureConsoleOutput ( )
inline

Definition at line 435 of file platform.h.

Here is the caller graph for this function:

◆ erase_at()

template<typename C >
size_t v8::base::erase_at ( C & container,
size_t index,
size_t count = 1 )
inline

Definition at line 52 of file container-utils.h.

◆ erase_if()

template<typename C , typename P >
size_t v8::base::erase_if ( C & container,
const P & predicate )
inline

Definition at line 65 of file container-utils.h.

Here is the caller graph for this function:

◆ EstimatePower()

static int v8::base::EstimatePower ( int exponent)
static

Definition at line 330 of file bignum-dtoa.cc.

Here is the caller graph for this function:

◆ EXPORT_TEMPLATE_DECLARE() [1/2]

template<class T >
template v8::base::EXPORT_TEMPLATE_DECLARE ( V8_BASE_EXPORT )

Definition at line 1 of file division-by-constant.h.

Here is the call graph for this function:

◆ EXPORT_TEMPLATE_DECLARE() [2/2]

template struct v8::base::EXPORT_TEMPLATE_DECLARE ( V8_BASE_EXPORT )
extern
Here is the call graph for this function:

◆ EXPORT_TEMPLATE_DEFINE()

template v8::base::EXPORT_TEMPLATE_DEFINE ( V8_BASE_EXPORT )

◆ fast_divmod()

static uint32_t v8::base::fast_divmod ( uint32_t * val,
uint32_t divisor,
const DivMagic & d )
inlinestatic

Definition at line 236 of file fast-dtoa.cc.

Here is the caller graph for this function:

◆ FastDtoa()

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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FastFixedDtoa()

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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FatalOOM()

V8_BASE_EXPORT void v8::base::FatalOOM ( OOMType type,
const char * msg )

Definition at line 80 of file logging.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Fclose()

int v8::base::Fclose ( FILE * stream)
inline

Definition at line 22 of file wrappers.h.

Here is the caller graph for this function:

◆ FillDigits32()

static void v8::base::FillDigits32 ( uint32_t number,
Vector< char > buffer,
int * length )
static

Definition at line 107 of file fixed-dtoa.cc.

Here is the caller graph for this function:

◆ FillDigits32FixedLength()

static void v8::base::FillDigits32FixedLength ( uint32_t number,
int requested_length,
Vector< char > buffer,
int * length )
static

Definition at line 98 of file fixed-dtoa.cc.

Here is the caller graph for this function:

◆ FillDigits64()

static void v8::base::FillDigits64 ( uint64_t number,
Vector< char > buffer,
int * length )
static

Definition at line 143 of file fixed-dtoa.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FillDigits64FixedLength()

static void v8::base::FillDigits64FixedLength ( uint64_t number,
int requested_length,
Vector< char > buffer,
int * length )
static

Definition at line 129 of file fixed-dtoa.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FillFractionals()

static void v8::base::FillFractionals ( uint64_t fractionals,
int exponent,
int fractional_count,
Vector< char > buffer,
int * length,
int * decimal_point )
static

Definition at line 203 of file fixed-dtoa.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FixupMultiply10()

static void v8::base::FixupMultiply10 ( int estimated_power,
bool is_even,
int * decimal_point,
Bignum * numerator,
Bignum * denominator,
Bignum * delta_minus,
Bignum * delta_plus )
static

Definition at line 577 of file bignum-dtoa.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FloatFromBigEndian()

float v8::base::FloatFromBigEndian ( std::span< const uint8_t, 4u > bytes)
inlineconstexpr

Definition at line 376 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FloatFromLittleEndian()

float v8::base::FloatFromLittleEndian ( std::span< const uint8_t, 4u > bytes)
inlineconstexpr

Definition at line 264 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FloatFromNativeEndian()

float v8::base::FloatFromNativeEndian ( std::span< const uint8_t, 4u > bytes)
inlineconstexpr

Definition at line 137 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FloatToBigEndian()

std::array< uint8_t, 4u > v8::base::FloatToBigEndian ( float val)
inlineconstexpr

Definition at line 699 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FloatToLittleEndian()

std::array< uint8_t, 4u > v8::base::FloatToLittleEndian ( float val)
inlineconstexpr

Definition at line 588 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FloatToNativeEndian()

std::array< uint8_t, 4u > v8::base::FloatToNativeEndian ( float val)
inlineconstexpr

Definition at line 478 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Fopen()

FILE * v8::base::Fopen ( const char * filename,
const char * mode )
inline

Definition at line 14 of file wrappers.h.

Here is the caller graph for this function:

◆ FormattedString()

v8::base::FormattedString ( ) -> FormattedString<>

Definition at line 176 of file string-format.h.

◆ Free()

void v8::base::Free ( void * memory)
inline

Definition at line 63 of file memory.h.

Here is the caller graph for this function:

◆ GenerateCountedDigits()

static void v8::base::GenerateCountedDigits ( int count,
int * decimal_point,
Bignum * numerator,
Bignum * denominator,
Vector< char > buffer,
int * length )
static

Definition at line 232 of file bignum-dtoa.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GenerateShortestDigits()

static void v8::base::GenerateShortestDigits ( Bignum * numerator,
Bignum * denominator,
Bignum * delta_minus,
Bignum * delta_plus,
bool is_even,
Vector< char > buffer,
int * length )
static

Definition at line 135 of file bignum-dtoa.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_gmt_offset()

int64_t v8::base::get_gmt_offset ( const tm & localtm)

Definition at line 39 of file platform-aix.cc.

Here is the caller graph for this function:

◆ GetProtectionFromMemoryPermission()

int v8::base::GetProtectionFromMemoryPermission ( OS::MemoryPermission access)

Definition at line 200 of file platform-posix.cc.

Here is the caller graph for this function:

◆ GetSharedLibraryAddresses()

V8_BASE_EXPORT std::vector< OS::SharedLibraryAddress > v8::base::GetSharedLibraryAddresses ( FILE * fp)

Definition at line 242 of file platform-linux.cc.

◆ Grisu3()

static bool v8::base::Grisu3 ( double v,
char ** outptr,
int * decimal_exponent )
static

Definition at line 614 of file fast-dtoa.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Grisu3Counted()

static bool v8::base::Grisu3Counted ( double v,
int requested_digits,
Vector< char > buffer,
int * length,
int * decimal_exponent )
static

Definition at line 674 of file fast-dtoa.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HasConsole()

static bool v8::base::HasConsole ( )
static

Definition at line 581 of file platform-win32.cc.

Here is the caller graph for this function:

◆ hash_combine() [1/2]

V8_INLINE size_t v8::base::hash_combine ( size_t seed,
size_t hash )

Definition at line 77 of file hashing.h.

Here is the call graph for this function:

◆ hash_combine() [2/2]

template<typename... Ts>
V8_INLINE size_t v8::base::hash_combine ( Ts const &... vs)

Definition at line 302 of file hashing.h.

Here is the call graph for this function:

◆ hash_range()

template<typename Iterator >
V8_INLINE size_t v8::base::hash_range ( Iterator first,
Iterator last )

Definition at line 308 of file hashing.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hash_value() [1/14]

template<typename T >
V8_INLINE size_t v8::base::hash_value ( base::Vector< T > v)

Definition at line 194 of file vector.h.

Here is the call graph for this function:

◆ hash_value() [2/14]

size_t v8::base::hash_value ( const i::Float64 & f64)
inline

Definition at line 120 of file boxed-float.h.

Here is the call graph for this function:

◆ hash_value() [3/14]

template<typename T >
requires requires(const T& t) { { t.hash_value() } -> std::convertible_to<size_t>; }
V8_INLINE size_t v8::base::hash_value ( const T & v)

Definition at line 281 of file hashing.h.

◆ hash_value() [4/14]

template<typename T , size_t N>
V8_INLINE size_t v8::base::hash_value ( const T(&) v[N])

Definition at line 239 of file hashing.h.

Here is the call graph for this function:

◆ hash_value() [5/14]

V8_INLINE size_t v8::base::hash_value ( double v)

Definition at line 233 of file hashing.h.

Here is the call graph for this function:

◆ hash_value() [6/14]

V8_INLINE size_t v8::base::hash_value ( float v)

Definition at line 228 of file hashing.h.

Here is the call graph for this function:

◆ hash_value() [7/14]

template<typename T1 , typename T2 >
V8_INLINE size_t v8::base::hash_value ( std::pair< T1, T2 > const & v)

Definition at line 254 of file hashing.h.

Here is the call graph for this function:

◆ hash_value() [8/14]

template<typename... T>
V8_INLINE size_t v8::base::hash_value ( std::tuple< T... > const & v)

Definition at line 265 of file hashing.h.

Here is the call graph for this function:

◆ hash_value() [9/14]

template<typename T >
V8_INLINE size_t v8::base::hash_value ( T *const & v)

Definition at line 249 of file hashing.h.

Here is the call graph for this function:

◆ hash_value() [10/14]

template<typename T >
requires std::is_enum<T>::value
V8_INLINE size_t v8::base::hash_value ( T v)

Definition at line 270 of file hashing.h.

Here is the call graph for this function:

◆ hash_value() [11/14]

template<typename T , size_t N>
V8_INLINE size_t v8::base::hash_value ( T(&) v[N])

Definition at line 244 of file hashing.h.

Here is the call graph for this function:

◆ hash_value() [12/14]

V8_INLINE size_t v8::base::hash_value ( unsigned int v)

Definition at line 205 of file hashing.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hash_value() [13/14]

V8_INLINE size_t v8::base::hash_value ( unsigned long long v)

Definition at line 213 of file hashing.h.

Here is the call graph for this function:

◆ hash_value() [14/14]

V8_INLINE size_t v8::base::hash_value ( unsigned long v)

Definition at line 209 of file hashing.h.

Here is the call graph for this function:

◆ hash_value_impl()

template<typename... T, size_t... I>
V8_INLINE size_t v8::base::hash_value_impl ( std::tuple< T... > const & v,
std::index_sequence< I... >  )

Definition at line 259 of file hashing.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hash_value_unsigned_impl()

template<typename T >
V8_INLINE size_t v8::base::hash_value_unsigned_impl ( T v)

Definition at line 157 of file hashing.h.

Here is the caller graph for this function:

◆ HexCharOfValue()

char v8::base::HexCharOfValue ( int value)
inline

Definition at line 42 of file strings.h.

Here is the caller graph for this function:

◆ HexCharValue()

static int v8::base::HexCharValue ( char c)
static

Definition at line 96 of file bignum.cc.

Here is the caller graph for this function:

◆ HexValue()

int v8::base::HexValue ( uc32 c)
inline

Definition at line 34 of file strings.h.

Here is the caller graph for this function:

◆ I16FromBigEndian()

int16_t v8::base::I16FromBigEndian ( std::span< const uint8_t, 2u > bytes)
inlineconstexpr

Definition at line 346 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ I16FromLittleEndian()

int16_t v8::base::I16FromLittleEndian ( std::span< const uint8_t, 2u > bytes)
inlineconstexpr

Definition at line 228 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ I16FromNativeEndian()

int16_t v8::base::I16FromNativeEndian ( std::span< const uint8_t, 2u > bytes)
inlineconstexpr

Definition at line 103 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ I16ToBigEndian()

std::array< uint8_t, 2u > v8::base::I16ToBigEndian ( int16_t val)
inlineconstexpr

Definition at line 666 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ I16ToLittleEndian()

std::array< uint8_t, 2u > v8::base::I16ToLittleEndian ( int16_t val)
inlineconstexpr

Definition at line 555 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ I16ToNativeEndian()

std::array< uint8_t, 2u > v8::base::I16ToNativeEndian ( int16_t val)
inlineconstexpr

Definition at line 448 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ I32FromBigEndian()

int32_t v8::base::I32FromBigEndian ( std::span< const uint8_t, 4u > bytes)
inlineconstexpr

Definition at line 356 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ I32FromLittleEndian()

int32_t v8::base::I32FromLittleEndian ( std::span< const uint8_t, 4u > bytes)
inlineconstexpr

Definition at line 240 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ I32FromNativeEndian()

int32_t v8::base::I32FromNativeEndian ( std::span< const uint8_t, 4u > bytes)
inlineconstexpr

Definition at line 114 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ I32ToBigEndian()

std::array< uint8_t, 4u > v8::base::I32ToBigEndian ( int32_t val)
inlineconstexpr

Definition at line 677 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ I32ToLittleEndian()

std::array< uint8_t, 4u > v8::base::I32ToLittleEndian ( int32_t val)
inlineconstexpr

Definition at line 566 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ I32ToNativeEndian()

std::array< uint8_t, 4u > v8::base::I32ToNativeEndian ( int32_t val)
inlineconstexpr

Definition at line 458 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ I64FromBigEndian()

int64_t v8::base::I64FromBigEndian ( std::span< const uint8_t, 8u > bytes)
inlineconstexpr

Definition at line 366 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ I64FromLittleEndian()

int64_t v8::base::I64FromLittleEndian ( std::span< const uint8_t, 8u > bytes)
inlineconstexpr

Definition at line 252 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ I64FromNativeEndian()

int64_t v8::base::I64FromNativeEndian ( std::span< const uint8_t, 8u > bytes)
inlineconstexpr

Definition at line 125 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ I64ToBigEndian()

std::array< uint8_t, 8u > v8::base::I64ToBigEndian ( int64_t val)
inlineconstexpr

Definition at line 688 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ I64ToLittleEndian()

std::array< uint8_t, 8u > v8::base::I64ToLittleEndian ( int64_t val)
inlineconstexpr

Definition at line 577 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ I64ToNativeEndian()

std::array< uint8_t, 8u > v8::base::I64ToNativeEndian ( int64_t val)
inlineconstexpr

Definition at line 468 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ I8FromBigEndian()

int8_t v8::base::I8FromBigEndian ( std::span< const uint8_t, 1u > bytes)
inlineconstexpr

Definition at line 336 of file byte_conversions.h.

Here is the caller graph for this function:

◆ I8FromLittleEndian()

int8_t v8::base::I8FromLittleEndian ( std::span< const uint8_t, 1u > bytes)
inlineconstexpr

Definition at line 217 of file byte_conversions.h.

Here is the caller graph for this function:

◆ I8FromNativeEndian()

int8_t v8::base::I8FromNativeEndian ( std::span< const uint8_t, 1u > bytes)
inlineconstexpr

Definition at line 93 of file byte_conversions.h.

Here is the caller graph for this function:

◆ I8ToBigEndian()

std::array< uint8_t, 1u > v8::base::I8ToBigEndian ( int8_t val)
inlineconstexpr

Definition at line 655 of file byte_conversions.h.

Here is the caller graph for this function:

◆ I8ToLittleEndian()

std::array< uint8_t, 1u > v8::base::I8ToLittleEndian ( int8_t val)
inlineconstexpr

Definition at line 544 of file byte_conversions.h.

Here is the caller graph for this function:

◆ I8ToNativeEndian()

std::array< uint8_t, 1u > v8::base::I8ToNativeEndian ( int8_t val)
inlineconstexpr

Definition at line 438 of file byte_conversions.h.

Here is the caller graph for this function:

◆ index_of()

template<typename C , typename T >
std::optional< size_t > v8::base::index_of ( const C & container,
const T & element )

Definition at line 27 of file container-utils.h.

Here is the caller graph for this function:

◆ index_of_if()

template<typename C , typename P >
std::optional< size_t > v8::base::index_of_if ( const C & container,
const P & predicate )

Definition at line 39 of file container-utils.h.

◆ InitialScaledStartValues()

static void v8::base::InitialScaledStartValues ( double v,
int estimated_power,
bool need_boundary_deltas,
Bignum * numerator,
Bignum * denominator,
Bignum * delta_minus,
Bignum * delta_plus )
static

Definition at line 547 of file bignum-dtoa.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitialScaledStartValuesNegativeExponentNegativePower()

static void v8::base::InitialScaledStartValuesNegativeExponentNegativePower ( double v,
int estimated_power,
bool need_boundary_deltas,
Bignum * numerator,
Bignum * denominator,
Bignum * delta_minus,
Bignum * delta_plus )
static

Definition at line 454 of file bignum-dtoa.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitialScaledStartValuesNegativeExponentPositivePower()

static void v8::base::InitialScaledStartValuesNegativeExponentPositivePower ( double v,
int estimated_power,
bool need_boundary_deltas,
Bignum * numerator,
Bignum * denominator,
Bignum * delta_minus,
Bignum * delta_plus )
static

Definition at line 406 of file bignum-dtoa.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitialScaledStartValuesPositiveExponent()

static void v8::base::InitialScaledStartValuesPositiveExponent ( double v,
int estimated_power,
bool need_boundary_deltas,
Bignum * numerator,
Bignum * denominator,
Bignum * delta_minus,
Bignum * delta_plus )
static

Definition at line 362 of file bignum-dtoa.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsApproximatelyEqual()

template<typename T >
bool v8::base::IsApproximatelyEqual ( T lhs,
T rhs,
T tolerance )
constexpr

Definition at line 17 of file ranges.h.

◆ IsInBounds()

template<typename T >
requires std::is_unsigned<T>::value
bool v8::base::IsInBounds ( T index,
T length,
T max )
inlineconstexpr

Definition at line 49 of file bounds.h.

Here is the caller graph for this function:

◆ IsInHalfOpenRange()

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))
bool v8::base::IsInHalfOpenRange ( T value,
U lower_limit,
U higher_limit )
inlineconstexpr

Definition at line 35 of file bounds.h.

◆ IsInRange()

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))
bool v8::base::IsInRange ( T value,
U lower_limit,
U higher_limit )
inlineconstexpr

Definition at line 20 of file bounds.h.

◆ IsSubset()

V8_BASE_EXPORT bool v8::base::IsSubset ( PagePermissions lhs,
PagePermissions rhs )

Definition at line 47 of file virtual-address-space.cc.

Here is the caller graph for this function:

◆ IterateWithoutFirst() [1/2]

template<typename T >
auto v8::base::IterateWithoutFirst ( const iterator_range< T > & t)

Definition at line 153 of file iterator.h.

Here is the call graph for this function:

◆ IterateWithoutFirst() [2/2]

template<typename T >
auto v8::base::IterateWithoutFirst ( T & t)

Definition at line 146 of file iterator.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IterateWithoutLast() [1/2]

template<typename T >
auto v8::base::IterateWithoutLast ( const iterator_range< T > & t)

Definition at line 137 of file iterator.h.

Here is the call graph for this function:

◆ IterateWithoutLast() [2/2]

template<typename T >
auto v8::base::IterateWithoutLast ( T & t)

Definition at line 130 of file iterator.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LoadDbgHelpAndTlHelp32()

static bool v8::base::LoadDbgHelpAndTlHelp32 ( )
static

Definition at line 1536 of file platform-win32.cc.

◆ LoadSymbols()

static std::vector< OS::SharedLibraryAddress > v8::base::LoadSymbols ( HANDLE process_handle)
static

Definition at line 1595 of file platform-win32.cc.

Here is the call graph for this function:

◆ LocalKeyToPthreadKey()

static pthread_key_t v8::base::LocalKeyToPthreadKey ( Thread::LocalStorageKey local_key)
static

Definition at line 1288 of file platform-posix.cc.

Here is the caller graph for this function:

◆ LocalTimeOffset()

double v8::base::LocalTimeOffset ( double time_ms,
bool is_utc )

Definition at line 86 of file platform-cygwin.cc.

◆ make_array()

template<std::size_t Size, class Function >
auto v8::base::make_array ( Function f)
constexpr

Definition at line 38 of file template-utils.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ make_iterator_range()

template<typename ForwardIterator >
auto v8::base::make_iterator_range ( ForwardIterator begin,
ForwardIterator end )

Definition at line 65 of file iterator.h.

Here is the caller graph for this function:

◆ MakeCheckOpString()

template<typename Lhs , typename Rhs >
V8_NOINLINE std::string * v8::base::MakeCheckOpString ( Lhs lhs,
Rhs rhs,
char const * msg )

Definition at line 301 of file logging.h.

Here is the call graph for this function:

◆ Malloc()

void * v8::base::Malloc ( size_t size)
inline

Definition at line 36 of file memory.h.

Here is the caller graph for this function:

◆ Memory() [1/2]

template<class T >
T & v8::base::Memory ( Address addr)
inline

Definition at line 18 of file memory.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Memory() [2/2]

template<class T >
T & v8::base::Memory ( uint8_t * addr)
inline

Definition at line 23 of file memory.h.

Here is the call graph for this function:

◆ MulWithWraparound()

template<>
int16_t v8::base::MulWithWraparound ( int16_t a,
int16_t b )
inline

Definition at line 41 of file overflowing-math.h.

Here is the caller graph for this function:

◆ NegateWithWraparound()

template<typename signed_type >
signed_type v8::base::NegateWithWraparound ( signed_type a)
inline

Definition at line 51 of file overflowing-math.h.

Here is the caller graph for this function:

◆ none_of()

template<typename C , typename P >
bool v8::base::none_of ( const C & container,
const P & predicate )
inline

Definition at line 105 of file container-utils.h.

Here is the caller graph for this function:

◆ NormalizedExponent()

static int v8::base::NormalizedExponent ( uint64_t significand,
int exponent )
static

Definition at line 16 of file bignum-dtoa.cc.

Here is the caller graph for this function:

◆ OneByteVector() [1/2]

Vector< const uint8_t > v8::base::OneByteVector ( const char * data)
inline

Definition at line 341 of file vector.h.

Here is the call graph for this function:

◆ OneByteVector() [2/2]

Vector< const uint8_t > v8::base::OneByteVector ( const char * data,
size_t length )
inline

Definition at line 337 of file vector.h.

Here is the caller graph for this function:

◆ operator+() [1/2]

Time v8::base::operator+ ( const TimeDelta & delta,
const Time & time )
inline

Definition at line 410 of file time.h.

◆ operator+() [2/2]

TimeTicks v8::base::operator+ ( const TimeDelta & delta,
const TimeTicks & ticks )
inline

Definition at line 452 of file time.h.

◆ operator<<() [1/4]

V8_BASE_EXPORT std::ostream & v8::base::operator<< ( std::ostream & os,
const Time & time )

Definition at line 515 of file time.cc.

◆ operator<<() [2/4]

template<typename E , typename T >
std::ostream & v8::base::operator<< ( std::ostream & os,
EnumSet< E, T > set )

Definition at line 105 of file enum-set.h.

Here is the call graph for this function:

◆ operator<<() [3/4]

std::ostream & v8::base::operator<< ( std::ostream & out,
AddressRegion region )
inline

Definition at line 92 of file address-region.h.

◆ operator<<() [4/4]

template<typename TagType , typename UnderlyingType >
requires requires(std::ostream& stream, const UnderlyingType& value) { stream << value; }
std::ostream & v8::base::operator<< ( std::ostream & stream,
const StrongAlias< TagType, UnderlyingType > & alias )

Definition at line 134 of file strong-alias.h.

Here is the call graph for this function:

◆ operator==()

template<typename PointerType , typename PayloadType , int NumPayloadBits>
bool v8::base::operator== ( PointerWithPayload< PointerType, PayloadType, NumPayloadBits > lhs,
PointerWithPayload< PointerType, PayloadType, NumPayloadBits > rhs )

Definition at line 118 of file pointer-with-payload.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ overloaded()

template<class... Ts>
v8::base::overloaded ( Ts... ) -> overloaded< Ts... >

◆ OwnedCopyOf() [1/2]

template<typename Container >
auto v8::base::OwnedCopyOf ( const Container & c) -> decltype(OwnedCopyOf(std::data(c), std::size(c)))
inline

Definition at line 391 of file vector.h.

Here is the call graph for this function:

◆ OwnedCopyOf() [2/2]

template<typename T >
OwnedVector< T > v8::base::OwnedCopyOf ( const T * data,
size_t size )
inline

Definition at line 383 of file vector.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PosixInitializeCommon()

void v8::base::PosixInitializeCommon ( AbortMode abort_mode,
const char *const gc_fake_mmap )

Definition at line 261 of file platform-posix.cc.

Here is the caller graph for this function:

◆ PrintCheckOperand() [1/5]

template<typename T >
requires (!has_output_operator<T, CheckMessageStream> && requires(T t) { { t.begin() } -> std::forward_iterator; })
std::string v8::base::PrintCheckOperand ( T container)

Definition at line 266 of file logging.h.

Here is the call graph for this function:

◆ PrintCheckOperand() [2/5]

template<typename T >
std::string v8::base::PrintCheckOperand ( T val)

Definition at line 212 of file logging.h.

Here is the caller graph for this function:

◆ PrintCheckOperand() [3/5]

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 v8::base::PrintCheckOperand ( T val)

Definition at line 221 of file logging.h.

Here is the call graph for this function:

◆ PrintCheckOperand() [4/5]

template<typename T >
requires (std::is_function_v<typename std::remove_pointer_t<T>>)
std::string v8::base::PrintCheckOperand ( T val)

Definition at line 232 of file logging.h.

Here is the call graph for this function:

◆ PrintCheckOperand() [5/5]

template<typename T >
requires (std::is_enum_v<T>)
std::string v8::base::PrintCheckOperand ( T val)

Definition at line 239 of file logging.h.

Here is the call graph for this function:

◆ PRINTF_FORMAT() [1/2]

V8_BASE_EXPORT int v8::base::PRINTF_FORMAT ( 2 ,
0  )

◆ PRINTF_FORMAT() [2/2]

V8_BASE_EXPORT int v8::base::PRINTF_FORMAT ( 2 ,
3  )

◆ PthreadKeyToLocalKey()

static Thread::LocalStorageKey v8::base::PthreadKeyToLocalKey ( pthread_key_t pthread_key)
static

Definition at line 1274 of file platform-posix.cc.

Here is the caller graph for this function:

◆ RadToDeg()

template<typename T >
requires std::floating_point<T>
T v8::base::RadToDeg ( T rad)
constexpr

Definition at line 24 of file angle_conversions.h.

◆ ReadDiyFp()

static void v8::base::ReadDiyFp ( Vector< const char > buffer,
DiyFp * result,
int * remaining_decimals )
static

Definition at line 129 of file strtod.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReadLittleEndianValue() [1/2]

template<typename V >
static V v8::base::ReadLittleEndianValue ( Address p)
inlinestatic

Definition at line 52 of file memory.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReadLittleEndianValue() [2/2]

template<typename V >
static V v8::base::ReadLittleEndianValue ( V * p)
inlinestatic

Definition at line 80 of file memory.h.

Here is the call graph for this function:

◆ ReadUInt64()

static uint64_t v8::base::ReadUInt64 ( Vector< const char > buffer,
int from,
int digits_to_read )
static

Definition at line 63 of file bignum.cc.

Here is the caller graph for this function:

◆ ReadUint64()

static uint64_t v8::base::ReadUint64 ( Vector< const char > buffer,
int * number_of_read_digits )
static

Definition at line 112 of file strtod.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReadUnalignedValue() [1/2]

template<typename V >
static V v8::base::ReadUnalignedValue ( Address p)
inlinestatic

Definition at line 28 of file memory.h.

◆ ReadUnalignedValue() [2/2]

template<typename V >
static V v8::base::ReadUnalignedValue ( const char p[sizeof(V)])
inlinestatic

Definition at line 36 of file memory.h.

Here is the call graph for this function:

◆ Realloc()

void * v8::base::Realloc ( void * memory,
size_t size )
inline

Definition at line 48 of file memory.h.

Here is the caller graph for this function:

◆ Recip()

float v8::base::Recip ( float a)
inline

Definition at line 78 of file overflowing-math.h.

Here is the call graph for this function:

◆ RecipSqrt()

float v8::base::RecipSqrt ( float a)
inline

Definition at line 80 of file overflowing-math.h.

◆ RelativePath()

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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Relaxed_AtomicExchange()

Atomic32 v8::base::Relaxed_AtomicExchange ( volatile Atomic32 * ptr,
Atomic32 new_value )
inline

Definition at line 128 of file atomicops.h.

Here is the call graph for this function:

◆ Relaxed_AtomicIncrement()

Atomic32 v8::base::Relaxed_AtomicIncrement ( volatile Atomic32 * ptr,
Atomic32 increment )
inline

Definition at line 140 of file atomicops.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Relaxed_CompareAndSwap() [1/3]

Atomic16 v8::base::Relaxed_CompareAndSwap ( volatile Atomic16 * ptr,
Atomic16 old_value,
Atomic16 new_value )
inline

Definition at line 112 of file atomicops.h.

Here is the call graph for this function:

◆ Relaxed_CompareAndSwap() [2/3]

Atomic32 v8::base::Relaxed_CompareAndSwap ( volatile Atomic32 * ptr,
Atomic32 old_value,
Atomic32 new_value )
inline

Definition at line 120 of file atomicops.h.

Here is the call graph for this function:

◆ Relaxed_CompareAndSwap() [3/3]

Atomic8 v8::base::Relaxed_CompareAndSwap ( volatile Atomic8 * ptr,
Atomic8 old_value,
Atomic8 new_value )
inline

Definition at line 104 of file atomicops.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Relaxed_Load() [1/3]

Atomic16 v8::base::Relaxed_Load ( volatile const Atomic16 * ptr)
inline

Definition at line 239 of file atomicops.h.

Here is the call graph for this function:

◆ Relaxed_Load() [2/3]

Atomic32 v8::base::Relaxed_Load ( volatile const Atomic32 * ptr)
inline

Definition at line 244 of file atomicops.h.

Here is the call graph for this function:

◆ Relaxed_Load() [3/3]

Atomic8 v8::base::Relaxed_Load ( volatile const Atomic8 * ptr)
inline

Definition at line 234 of file atomicops.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Relaxed_Memcmp()

int v8::base::Relaxed_Memcmp ( volatile const Atomic8 * s1,
volatile const Atomic8 * s2,
size_t len )
inline

Definition at line 447 of file atomicops.h.

Here is the call graph for this function:

◆ Relaxed_Memcpy()

void v8::base::Relaxed_Memcpy ( volatile Atomic8 * dst,
volatile const Atomic8 * src,
size_t bytes )
inline

Definition at line 363 of file atomicops.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Relaxed_Memmove()

void v8::base::Relaxed_Memmove ( volatile Atomic8 * dst,
volatile const Atomic8 * src,
size_t bytes )
inline

Definition at line 388 of file atomicops.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Relaxed_Store() [1/3]

void v8::base::Relaxed_Store ( volatile Atomic16 * ptr,
Atomic16 value )
inline

Definition at line 194 of file atomicops.h.

Here is the call graph for this function:

◆ Relaxed_Store() [2/3]

void v8::base::Relaxed_Store ( volatile Atomic32 * ptr,
Atomic32 value )
inline

Definition at line 199 of file atomicops.h.

Here is the call graph for this function:

◆ Relaxed_Store() [3/3]

void v8::base::Relaxed_Store ( volatile Atomic8 * ptr,
Atomic8 value )
inline

Definition at line 189 of file atomicops.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Release_CompareAndSwap() [1/2]

Atomic32 v8::base::Release_CompareAndSwap ( volatile Atomic32 * ptr,
Atomic32 old_value,
Atomic32 new_value )
inline

Definition at line 164 of file atomicops.h.

Here is the call graph for this function:

◆ Release_CompareAndSwap() [2/2]

Atomic8 v8::base::Release_CompareAndSwap ( volatile Atomic8 * ptr,
Atomic8 old_value,
Atomic8 new_value )
inline

Definition at line 155 of file atomicops.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Release_Store() [1/3]

void v8::base::Release_Store ( volatile Atomic16 * ptr,
Atomic16 value )
inline

Definition at line 209 of file atomicops.h.

Here is the call graph for this function:

◆ Release_Store() [2/3]

void v8::base::Release_Store ( volatile Atomic32 * ptr,
Atomic32 value )
inline

Definition at line 214 of file atomicops.h.

Here is the call graph for this function:

◆ Release_Store() [3/3]

void v8::base::Release_Store ( volatile Atomic8 * ptr,
Atomic8 value )
inline

Definition at line 204 of file atomicops.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Reversed() [1/2]

template<typename T >
auto v8::base::Reversed ( const iterator_range< T > & t)

Definition at line 113 of file iterator.h.

Here is the call graph for this function:

◆ Reversed() [2/2]

template<typename T >
auto v8::base::Reversed ( T & t)

Definition at line 105 of file iterator.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RoundWeed()

static bool v8::base::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

Definition at line 41 of file fast-dtoa.cc.

Here is the caller graph for this function:

◆ RoundWeedCounted()

static bool v8::base::RoundWeedCounted ( Vector< char > buffer,
int length,
uint64_t rest,
uint64_t ten_kappa,
uint64_t unit,
int * kappa )
static

Definition at line 155 of file fast-dtoa.cc.

Here is the caller graph for this function:

◆ SeqCst_AtomicExchange()

Atomic32 v8::base::SeqCst_AtomicExchange ( volatile Atomic32 * ptr,
Atomic32 new_value )
inline

Definition at line 134 of file atomicops.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SeqCst_CompareAndSwap()

Atomic32 v8::base::SeqCst_CompareAndSwap ( volatile Atomic32 * ptr,
Atomic32 old_value,
Atomic32 new_value )
inline

Definition at line 181 of file atomicops.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SeqCst_Load() [1/2]

Atomic32 v8::base::SeqCst_Load ( volatile const Atomic32 * ptr)
inline

Definition at line 264 of file atomicops.h.

Here is the call graph for this function:

◆ SeqCst_Load() [2/2]

Atomic8 v8::base::SeqCst_Load ( volatile const Atomic8 * ptr)
inline

Definition at line 259 of file atomicops.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SeqCst_MemoryFence()

void v8::base::SeqCst_MemoryFence ( )
inline

Definition at line 91 of file atomicops.h.

Here is the caller graph for this function:

◆ SeqCst_Store() [1/3]

void v8::base::SeqCst_Store ( volatile Atomic16 * ptr,
Atomic16 value )
inline

Definition at line 224 of file atomicops.h.

Here is the call graph for this function:

◆ SeqCst_Store() [2/3]

void v8::base::SeqCst_Store ( volatile Atomic32 * ptr,
Atomic32 value )
inline

Definition at line 229 of file atomicops.h.

Here is the call graph for this function:

◆ SeqCst_Store() [3/3]

void v8::base::SeqCst_Store ( volatile Atomic8 * ptr,
Atomic8 value )
inline

Definition at line 219 of file atomicops.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetDcheckFunction()

V8_BASE_EXPORT void v8::base::SetDcheckFunction ( void(* dcheck_function )(const char *, int, const char *))

Definition at line 72 of file logging.cc.

Here is the caller graph for this function:

◆ SetFatalFunction()

V8_BASE_EXPORT void v8::base::SetFatalFunction ( void(* fatal_function )(const char *, int, const char *))

Definition at line 76 of file logging.cc.

Here is the caller graph for this function:

◆ SetPrintStackTrace()

V8_BASE_EXPORT void v8::base::SetPrintStackTrace ( void(* print_stack_trace )())

Definition at line 68 of file logging.cc.

Here is the caller graph for this function:

◆ SetThreadName() [1/2]

static void v8::base::SetThreadName ( const char * name)
static

Definition at line 1169 of file platform-posix.cc.

Here is the caller graph for this function:

◆ SetThreadName() [2/2]

static void v8::base::SetThreadName ( const char * name)
static

Definition at line 384 of file platform-starboard.cc.

◆ ShlWithWraparound()

template<typename signed_type >
signed_type v8::base::ShlWithWraparound ( signed_type a,
signed_type b )
inline

Definition at line 58 of file overflowing-math.h.

Here is the caller graph for this function:

◆ SignedDivisionByConstant() [1/2]

template<typename T >
requires std::unsigned_integral<T>
MagicNumbersForDivision< T > v8::base::SignedDivisionByConstant ( T d)

Definition at line 19 of file division-by-constant.cc.

Here is the caller graph for this function:

◆ SignedDivisionByConstant() [2/2]

template<typename T >
requires std::signed_integral<T>
MagicNumbersForDivision< T > v8::base::SignedDivisionByConstant ( T d)

Definition at line 47 of file division-by-constant.h.

Here is the call graph for this function:

◆ SizeInHexChars()

template<typename S >
static int v8::base::SizeInHexChars ( S number)
static

Definition at line 511 of file bignum.cc.

Here is the caller graph for this function:

◆ SNPrintF()

int v8::base::SNPrintF ( Vector< char > str,
const char * format,
... )

Definition at line 20 of file strings.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sort() [1/2]

template<typename C >
void v8::base::sort ( C & container)
inline

Definition at line 111 of file container-utils.h.

Here is the caller graph for this function:

◆ sort() [2/2]

template<typename C , typename Comp >
void v8::base::sort ( C & container,
Comp comp )
inline

Definition at line 115 of file container-utils.h.

◆ STATIC_ASSERT_ENUM() [1/9]

◆ STATIC_ASSERT_ENUM() [2/9]

◆ STATIC_ASSERT_ENUM() [3/9]

◆ STATIC_ASSERT_ENUM() [4/9]

◆ STATIC_ASSERT_ENUM() [5/9]

◆ STATIC_ASSERT_ENUM() [6/9]

v8::base::STATIC_ASSERT_ENUM ( PagePermissions::kNoAccess ,
OS::MemoryPermission::kNoAccess  )

◆ STATIC_ASSERT_ENUM() [7/9]

◆ STATIC_ASSERT_ENUM() [8/9]

v8::base::STATIC_ASSERT_ENUM ( PagePermissions::kReadWrite ,
OS::MemoryPermission::kReadWrite  )

◆ STATIC_ASSERT_ENUM() [9/9]

◆ StaticCharVector()

template<size_t N>
Vector< const char > v8::base::StaticCharVector ( const char(&) array[N])
constexpr

Definition at line 326 of file vector.h.

Here is the caller graph for this function:

◆ StaticOneByteVector()

template<size_t N>
Vector< const uint8_t > v8::base::StaticOneByteVector ( const char(&) array[N])

Definition at line 346 of file vector.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StringToLong() [1/2]

static unsigned v8::base::StringToLong ( char * buffer)
static

Definition at line 84 of file platform-aix.cc.

Here is the caller graph for this function:

◆ StringToLong() [2/2]

static unsigned v8::base::StringToLong ( char * buffer)
static

Definition at line 46 of file platform-freebsd.cc.

◆ StrNCpy()

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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Strtod()

V8_BASE_EXPORT double v8::base::Strtod ( Vector< const char > buffer,
int exponent )

Definition at line 391 of file strtod.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ThreadEntry() [1/3]

static void * v8::base::ThreadEntry ( void * arg)
static

Definition at line 1194 of file platform-posix.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ThreadEntry() [2/3]

static void * v8::base::ThreadEntry ( void * arg)
static

Definition at line 386 of file platform-starboard.cc.

Here is the call graph for this function:

◆ ThreadEntry() [3/3]

static unsigned int __stdcall v8::base::ThreadEntry ( void * arg)
static

Definition at line 1729 of file platform-win32.cc.

Here is the call graph for this function:

◆ TrimLeadingZeros()

static Vector< const char > v8::base::TrimLeadingZeros ( Vector< const char > buffer)
static

Definition at line 73 of file strtod.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TrimToMaxSignificantDigits()

static void v8::base::TrimToMaxSignificantDigits ( Vector< const char > buffer,
int exponent,
char * significant_buffer,
int * significant_exponent )
static

Definition at line 91 of file strtod.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TrimTrailingZeros()

static Vector< const char > v8::base::TrimTrailingZeros ( Vector< const char > buffer)
static

Definition at line 82 of file strtod.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TrimZeros()

static void v8::base::TrimZeros ( Vector< char > buffer,
int * length,
int * decimal_point )
static

Definition at line 261 of file fixed-dtoa.cc.

Here is the caller graph for this function:

◆ tuple_drop()

template<size_t N, typename Tuple >
requires (detail::NIsNotGreaterThanTupleSize<N, Tuple>)
auto v8::base::tuple_drop ( Tuple && tpl)
constexpr

Definition at line 156 of file template-utils.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tuple_fold()

template<typename T , typename Tuple , typename Function >
auto v8::base::tuple_fold ( T && initial,
Tuple && tpl,
Function && function )
constexpr

Definition at line 204 of file template-utils.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tuple_for_each()

template<typename Tuple , typename Function >
void v8::base::tuple_for_each ( Tuple && tpl,
Function && function )
constexpr

Definition at line 165 of file template-utils.h.

Here is the call graph for this function:

◆ tuple_for_each_with_index()

template<typename Tuple , typename Function >
void v8::base::tuple_for_each_with_index ( Tuple && tpl,
Function && function )
constexpr

Definition at line 175 of file template-utils.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tuple_head()

template<size_t N, typename Tuple >
auto v8::base::tuple_head ( Tuple && tpl)
constexpr

Definition at line 142 of file template-utils.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tuple_map()

template<typename Tuple , typename Function >
auto v8::base::tuple_map ( Tuple && tpl,
Function && function )
constexpr

Definition at line 184 of file template-utils.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tuple_map2()

template<typename TupleV , typename TupleU , typename Function >
auto v8::base::tuple_map2 ( TupleV && tplv,
TupleU && tplu,
Function && function )
constexpr

Definition at line 193 of file template-utils.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U16FromBigEndian()

uint16_t v8::base::U16FromBigEndian ( std::span< const uint8_t, 2u > bytes)
inlineconstexpr

Definition at line 302 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U16FromLittleEndian()

uint16_t v8::base::U16FromLittleEndian ( std::span< const uint8_t, 2u > bytes)
inlineconstexpr

Definition at line 177 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U16FromNativeEndian()

uint16_t v8::base::U16FromNativeEndian ( std::span< const uint8_t, 2u > bytes)
inlineconstexpr

Definition at line 56 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U16ToBigEndian()

std::array< uint8_t, 2u > v8::base::U16ToBigEndian ( uint16_t val)
inlineconstexpr

Definition at line 622 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U16ToLittleEndian()

std::array< uint8_t, 2u > v8::base::U16ToLittleEndian ( uint16_t val)
inlineconstexpr

Definition at line 511 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U16ToNativeEndian()

std::array< uint8_t, 2u > v8::base::U16ToNativeEndian ( uint16_t val)
inlineconstexpr

Definition at line 408 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U32FromBigEndian()

uint32_t v8::base::U32FromBigEndian ( std::span< const uint8_t, 4u > bytes)
inlineconstexpr

Definition at line 312 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U32FromLittleEndian()

uint32_t v8::base::U32FromLittleEndian ( std::span< const uint8_t, 4u > bytes)
inlineconstexpr

Definition at line 189 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U32FromNativeEndian()

uint32_t v8::base::U32FromNativeEndian ( std::span< const uint8_t, 4u > bytes)
inlineconstexpr

Definition at line 67 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U32ToBigEndian()

std::array< uint8_t, 4u > v8::base::U32ToBigEndian ( uint32_t val)
inlineconstexpr

Definition at line 633 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U32ToLittleEndian()

std::array< uint8_t, 4u > v8::base::U32ToLittleEndian ( uint32_t val)
inlineconstexpr

Definition at line 522 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U32ToNativeEndian()

std::array< uint8_t, 4u > v8::base::U32ToNativeEndian ( uint32_t val)
inlineconstexpr

Definition at line 418 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U64FromBigEndian()

uint64_t v8::base::U64FromBigEndian ( std::span< const uint8_t, 8u > bytes)
inlineconstexpr

Definition at line 322 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U64FromLittleEndian()

uint64_t v8::base::U64FromLittleEndian ( std::span< const uint8_t, 8u > bytes)
inlineconstexpr

Definition at line 201 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U64FromNativeEndian()

uint64_t v8::base::U64FromNativeEndian ( std::span< const uint8_t, 8u > bytes)
inlineconstexpr

Definition at line 78 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U64ToBigEndian()

std::array< uint8_t, 8u > v8::base::U64ToBigEndian ( uint64_t val)
inlineconstexpr

Definition at line 644 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U64ToLittleEndian()

std::array< uint8_t, 8u > v8::base::U64ToLittleEndian ( uint64_t val)
inlineconstexpr

Definition at line 533 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U64ToNativeEndian()

std::array< uint8_t, 8u > v8::base::U64ToNativeEndian ( uint64_t val)
inlineconstexpr

Definition at line 428 of file byte_conversions.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ U8FromBigEndian()

uint8_t v8::base::U8FromBigEndian ( std::span< const uint8_t, 1u > bytes)
inlineconstexpr

Definition at line 292 of file byte_conversions.h.

Here is the caller graph for this function:

◆ U8FromLittleEndian()

uint8_t v8::base::U8FromLittleEndian ( std::span< const uint8_t, 1u > bytes)
inlineconstexpr

Definition at line 165 of file byte_conversions.h.

Here is the caller graph for this function:

◆ U8FromNativeEndian()

uint8_t v8::base::U8FromNativeEndian ( std::span< const uint8_t, 1u > bytes)
inlineconstexpr

Definition at line 45 of file byte_conversions.h.

Here is the caller graph for this function:

◆ U8ToBigEndian()

std::array< uint8_t, 1u > v8::base::U8ToBigEndian ( uint8_t val)
inlineconstexpr

Definition at line 611 of file byte_conversions.h.

Here is the caller graph for this function:

◆ U8ToLittleEndian()

std::array< uint8_t, 1u > v8::base::U8ToLittleEndian ( uint8_t val)
inlineconstexpr

Definition at line 500 of file byte_conversions.h.

Here is the caller graph for this function:

◆ U8ToNativeEndian()

std::array< uint8_t, 1u > v8::base::U8ToNativeEndian ( uint8_t val)
inlineconstexpr

Definition at line 398 of file byte_conversions.h.

Here is the caller graph for this function:

◆ uint64_to_double()

double v8::base::uint64_to_double ( uint64_t d64)
inlineconstexpr

Definition at line 20 of file double.h.

Here is the caller graph for this function:

◆ UnsignedDivisionByConstant()

template<class T >
MagicNumbersForDivision< T > v8::base::UnsignedDivisionByConstant ( T d,
unsigned leading_zeros )

Definition at line 54 of file division-by-constant.cc.

Here is the caller graph for this function:

◆ vector_append()

template<typename V , typename C >
void v8::base::vector_append ( V & v,
const C & container )
inline

Definition at line 140 of file container-utils.h.

Here is the caller graph for this function:

◆ VectorOf() [1/3]

template<typename Container >
auto v8::base::VectorOf ( Container && c) -> decltype(VectorOf(std::data(c), std::size(c)))
inlineconstexpr

Definition at line 367 of file vector.h.

Here is the call graph for this function:

◆ VectorOf() [2/3]

template<typename T >
Vector< const T > v8::base::VectorOf ( std::initializer_list< T > list)
inlineconstexpr

Definition at line 376 of file vector.h.

Here is the call graph for this function:

◆ VectorOf() [3/3]

template<typename T >
Vector< T > v8::base::VectorOf ( T * start,
size_t size )
inlineconstexpr

Definition at line 360 of file vector.h.

◆ VLQBase64Decode()

V8_BASE_EXPORT int32_t v8::base::VLQBase64Decode ( const char * start,
size_t sz,
size_t * pos )

Definition at line 37 of file vlq-base64.cc.

Here is the caller graph for this function:

◆ VLQConvertToUnsigned()

uint32_t v8::base::VLQConvertToUnsigned ( int32_t value)
inline

Definition at line 47 of file vlq.h.

Here is the caller graph for this function:

◆ VLQDecode()

int32_t v8::base::VLQDecode ( const uint8_t * data_start,
int * index )
inline

Definition at line 107 of file vlq.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ VLQDecodeUnsigned() [1/2]

uint32_t v8::base::VLQDecodeUnsigned ( const uint8_t * data_start,
int * index )
inline

Definition at line 101 of file vlq.h.

Here is the call graph for this function:

◆ VLQDecodeUnsigned() [2/2]

template<typename GetNextFunction >
requires std::is_same<decltype(std::declval<GetNextFunction>()()), uint8_t>::value
uint32_t v8::base::VLQDecodeUnsigned ( GetNextFunction && get_next)
inline

Definition at line 80 of file vlq.h.

Here is the caller graph for this function:

◆ VLQEncode() [1/2]

template<typename Function >
void v8::base::VLQEncode ( Function && process_byte,
int32_t value )
inline

Definition at line 60 of file vlq.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ VLQEncode() [2/2]

template<typename A >
void v8::base::VLQEncode ( std::vector< uint8_t, A > * data,
int32_t value )
inline

Definition at line 67 of file vlq.h.

Here is the call graph for this function:

◆ VLQEncodeUnsigned() [1/2]

template<typename Function >
void v8::base::VLQEncodeUnsigned ( Function && process_byte,
uint32_t value )
inline

Definition at line 23 of file vlq.h.

Here is the caller graph for this function:

◆ VLQEncodeUnsigned() [2/2]

template<typename A >
void v8::base::VLQEncodeUnsigned ( std::vector< uint8_t, A > * data,
uint32_t value )
inline

Definition at line 73 of file vlq.h.

Here is the call graph for this function:

◆ VPrintHelper()

static void v8::base::VPrintHelper ( FILE * stream,
const char * format,
va_list args )
static

Definition at line 599 of file platform-win32.cc.

Here is the call graph for this function:

◆ VSNPrintF()

int v8::base::VSNPrintF ( Vector< char > str,
const char * format,
va_list args )

Definition at line 16 of file strings.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WrappingAdd()

template<typename T >
T v8::base::WrappingAdd ( T a,
T b )
inlineconstexpr

Definition at line 18 of file wrapping_math.h.

◆ WrappingSub()

template<typename T >
T v8::base::WrappingSub ( T a,
T b )
inlineconstexpr

Definition at line 32 of file wrapping_math.h.

◆ WriteLittleEndianValue() [1/2]

template<typename V >
static void v8::base::WriteLittleEndianValue ( Address p,
V value )
inlinestatic

Definition at line 67 of file memory.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WriteLittleEndianValue() [2/2]

template<typename V >
static void v8::base::WriteLittleEndianValue ( V * p,
V value )
inlinestatic

Definition at line 85 of file memory.h.

Here is the call graph for this function:

◆ WriteUnalignedValue() [1/2]

template<typename V >
static void v8::base::WriteUnalignedValue ( Address p,
V value )
inlinestatic

Definition at line 41 of file memory.h.

◆ WriteUnalignedValue() [2/2]

template<typename V >
static void v8::base::WriteUnalignedValue ( char p[sizeof(V)],
V value )
inlinestatic

Definition at line 47 of file memory.h.

Here is the call graph for this function:

◆ zip()

template<class... Containers>
auto v8::base::zip ( Containers &... containers)

Definition at line 208 of file iterator.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ args

V8_BASE_EXPORT int const char va_list v8::base::args

Definition at line 23 of file strings.h.

◆ div

const DivMagic v8::base::div[]
static
Initial value:
= {
{0, 0},
{0x9999999a, 3},
{0x47ae147b, 6},
{0x0624dd30, 9},
{0xa36e2eb2, 13},
{0x4f8b588f, 16},
{0x0c6f7a0c, 19},
{0xad7f29ac, 23},
{0x5798ee24, 26}
}

Definition at line 210 of file fast-dtoa.cc.

◆ entropy_mutex

LazyMutex v8::base::entropy_mutex = LAZY_MUTEX_INITIALIZER
static

Definition at line 25 of file random-number-generator.cc.

◆ entropy_source

RandomNumberGenerator::EntropySource v8::base::entropy_source = nullptr
static

Definition at line 26 of file random-number-generator.cc.

◆ exact_powers_of_ten

const double v8::base::exact_powers_of_ten[]
static
Initial value:
= {
1.0,
10.0,
100.0,
1000.0,
10000.0,
100000.0,
1000000.0,
10000000.0,
100000000.0,
1000000000.0,
10000000000.0,
100000000000.0,
1000000000000.0,
10000000000000.0,
100000000000000.0,
1000000000000000.0,
10000000000000000.0,
100000000000000000.0,
1000000000000000000.0,
10000000000000000000.0,
100000000000000000000.0,
1000000000000000000000.0,
10000000000000000000000.0
}

Definition at line 39 of file strtod.cc.

◆ format

V8_BASE_EXPORT int const char * v8::base::format

Definition at line 23 of file strings.h.

◆ g_abort_mode

V8_BASE_EXPORT AbortMode v8::base::g_abort_mode = AbortMode::kDefault

Definition at line 10 of file abort-mode.cc.

◆ has_type_v

template<typename SearchT , typename... Ts>
bool v8::base::has_type_v
constexpr
Initial value:
=
index_of_type<SearchT, Ts...>::value < sizeof...(Ts)

Definition at line 242 of file template-utils.h.

◆ index_of_type_v

template<typename SearchT , typename... Ts>
size_t v8::base::index_of_type_v = index_of_type<SearchT, Ts...>::value
constexpr

Definition at line 240 of file template-utils.h.

◆ kBase10MaximalLength

const int v8::base::kBase10MaximalLength = 17

Definition at line 34 of file dtoa.h.

◆ kCachedPowers

const CachedPower v8::base::kCachedPowers[]
static

Definition at line 25 of file cached-powers.cc.

◆ kCachedPowersOffset

const int v8::base::kCachedPowersOffset = 348
static

Definition at line 76 of file cached-powers.cc.

◆ kContinueBit

uint32_t v8::base::kContinueBit = 1 << kContinueShift
staticconstexpr

Definition at line 17 of file vlq.h.

◆ kContinueShift

uint32_t v8::base::kContinueShift = 7
staticconstexpr

Definition at line 16 of file vlq.h.

◆ kD_1_LOG2_10

const double v8::base::kD_1_LOG2_10 = 0.30102999566398114
static

Definition at line 77 of file cached-powers.cc.

◆ kDataMask

uint32_t v8::base::kDataMask = kContinueBit - 1
staticconstexpr

Definition at line 18 of file vlq.h.

◆ kDoubleSignificandSize

const int v8::base::kDoubleSignificandSize = 53
static

Definition at line 96 of file fixed-dtoa.cc.

◆ kExactPowersOfTenSize

const int v8::base::kExactPowersOfTenSize = arraysize(exact_powers_of_ten)
static

Definition at line 66 of file strtod.cc.

◆ kFastDtoaMaximalLength

const int v8::base::kFastDtoaMaximalLength = 17

Definition at line 25 of file fast-dtoa.h.

◆ kMaxDecimalPower

const int v8::base::kMaxDecimalPower = 309
static

Definition at line 32 of file strtod.cc.

◆ kMaxExactDoubleIntegerDecimalDigits

const int v8::base::kMaxExactDoubleIntegerDecimalDigits = 15
static

Definition at line 22 of file strtod.cc.

◆ kMaximalTargetExponent

const int v8::base::kMaximalTargetExponent = -32
static

Definition at line 24 of file fast-dtoa.cc.

◆ kMaxLoadFactorForRandomization

double v8::base::kMaxLoadFactorForRandomization = 0.40
constexpr

Definition at line 18 of file region-allocator.cc.

◆ kMaxRandomizationAttempts

int v8::base::kMaxRandomizationAttempts = 3
constexpr

Definition at line 21 of file region-allocator.cc.

◆ kMaxSignificantDecimalDigits

const int v8::base::kMaxSignificantDecimalDigits = 780
static

Definition at line 71 of file strtod.cc.

◆ kMaxUint64

const uint64_t v8::base::kMaxUint64 = 0xFFFF'FFFF'FFFF'FFFF
static

Definition at line 36 of file strtod.cc.

◆ kMaxUint64DecimalDigits

const int v8::base::kMaxUint64DecimalDigits = 19
static

Definition at line 24 of file strtod.cc.

◆ kMeanGravityDouble

double v8::base::kMeanGravityDouble = 9.80665
constexpr

Definition at line 13 of file math_constants.h.

◆ kMeanGravityFloat

float v8::base::kMeanGravityFloat = 9.80665f
constexpr

Definition at line 14 of file math_constants.h.

◆ kMinDecimalPower

const int v8::base::kMinDecimalPower = -324
static

Definition at line 33 of file strtod.cc.

◆ kMinimalTargetExponent

const int v8::base::kMinimalTargetExponent = -60
static

Definition at line 23 of file fast-dtoa.cc.

◆ kNoThread [1/2]

const pthread_t v8::base::kNoThread = (pthread_t) 0
static

Definition at line 43 of file platform-qnx.cc.

◆ kNoThread [2/2]

const HANDLE v8::base::kNoThread = INVALID_HANDLE_VALUE
static

Definition at line 1723 of file platform-win32.cc.

◆ kNullAddress

Address v8::base::kNullAddress = 0
constexpr

Definition at line 19 of file virtual-address-space.h.

◆ kTen4

const uint32_t v8::base::kTen4 = 10000
static

Definition at line 195 of file fast-dtoa.cc.

◆ kTen5

const uint32_t v8::base::kTen5 = 100000
static

Definition at line 196 of file fast-dtoa.cc.

◆ kTen6

const uint32_t v8::base::kTen6 = 1000000
static

Definition at line 197 of file fast-dtoa.cc.

◆ kTen7

const uint32_t v8::base::kTen7 = 10000000
static

Definition at line 198 of file fast-dtoa.cc.

◆ kTen8

const uint32_t v8::base::kTen8 = 100000000
static

Definition at line 199 of file fast-dtoa.cc.

◆ kTen9

const uint32_t v8::base::kTen9 = 1000000000
static

Definition at line 200 of file fast-dtoa.cc.

◆ kUC16Size

int v8::base::kUC16Size = sizeof(uc16)
constexpr

Definition at line 20 of file strings.h.

◆ kUnimplementedCodeMessage

const char* v8::base::kUnimplementedCodeMessage = "unimplemented code"
constexpr

Definition at line 62 of file logging.h.

◆ kUnreachableCodeMessage

const char* v8::base::kUnreachableCodeMessage = "unreachable code"
constexpr

Definition at line 63 of file logging.h.

◆ kUnsafeInsertion

bool v8::base::kUnsafeInsertion = true
staticconstexpr

Definition at line 376 of file threaded-list.h.

◆ leading_zeros

template unsigned v8::base::leading_zeros

Definition at line 109 of file division-by-constant.cc.

◆ LT

v8::base::LT

Definition at line 406 of file logging.h.

◆ MapViewOfFile3

MapViewOfFile3_t v8::base::MapViewOfFile3 = nullptr

Definition at line 796 of file platform-win32.cc.

◆ output_mode

OutputMode v8::base::output_mode = UNKNOWN
static

Definition at line 577 of file platform-win32.cc.

◆ UnmapViewOfFile2

UnmapViewOfFile2_t v8::base::UnmapViewOfFile2 = nullptr

Definition at line 799 of file platform-win32.cc.

◆ VirtualAlloc2

VirtualAlloc2_t v8::base::VirtualAlloc2 = nullptr

Definition at line 791 of file platform-win32.cc.