![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <fixed-array.h>
Additional Inherited Members | |
Public Types inherited from v8::internal::TaggedArrayBase< FixedArray, TaggedArrayShape > | |
| using | Header |
| using | Shape |
Public Member Functions inherited from v8::internal::FixedArray | |
| void | MoveElements (Isolate *isolate, int dst_index, int src_index, int len, WriteBarrierMode mode) |
| void | CopyElements (Isolate *isolate, int dst_index, Tagged< FixedArray > src, int src_index, int len, WriteBarrierMode mode) |
| V8_EXPORT_PRIVATE void | RightTrim (Isolate *isolate, int new_capacity) |
| void | FillWithHoles (int from, int to) |
| bool | is_the_hole (Isolate *isolate, int index) |
| void | set_the_hole (Isolate *isolate, int index) |
| void | set_the_hole (ReadOnlyRoots ro_roots, int index) |
| template<template< typename > typename HandleType> requires ( std::is_convertible_v<HandleType<FixedArray>, DirectHandle<FixedArray>>) | |
| HandleType< FixedArray > | SetAndGrow (Isolate *isolate, HandleType< FixedArray > array, int index, DirectHandle< Object > value) |
Public Member Functions inherited from v8::internal::TaggedArrayBase< FixedArray, TaggedArrayShape > | |
| Tagged< ElementT > | get (int index) const |
| Tagged< ElementT > | get (int index, RelaxedLoadTag) const |
| Tagged< ElementT > | get (int index, AcquireLoadTag) const |
| Tagged< ElementT > | get (int index, SeqCstAccessTag) const |
| void | set (int index, Tagged< ElementT > value, WriteBarrierMode mode=kDefaultMode) |
| void | set (int index, Tagged< Smi > value) |
| void | set (int index, Tagged< ElementT > value, RelaxedStoreTag, WriteBarrierMode mode=kDefaultMode) |
| void | set (int index, Tagged< Smi > value, RelaxedStoreTag) |
| void | set (int index, Tagged< ElementT > value, ReleaseStoreTag, WriteBarrierMode mode=kDefaultMode) |
| void | set (int index, Tagged< Smi > value, ReleaseStoreTag) |
| void | set (int index, Tagged< ElementT > value, SeqCstAccessTag, WriteBarrierMode mode=kDefaultMode) |
| void | set (int index, Tagged< Smi > value, SeqCstAccessTag) |
| Tagged< ElementT > | swap (int index, Tagged< ElementT > value, SeqCstAccessTag, WriteBarrierMode mode=kDefaultMode) |
| Tagged< ElementT > | compare_and_swap (int index, Tagged< ElementT > expected, Tagged< ElementT > value, SeqCstAccessTag, WriteBarrierMode mode=kDefaultMode) |
| void | RightTrim (Isolate *isolate, int new_capacity) |
| int | AllocatedSize () const |
| SlotType | RawFieldOfFirstElement () const |
| SlotType | RawFieldOfElementAt (int index) const |
| Handle< D > | Allocate (IsolateT *isolate, int capacity, std::optional< DisallowGarbageCollection > *no_gc_out, AllocationType allocation) |
Static Public Member Functions inherited from v8::internal::FixedArray | |
| template<class IsolateT > | |
| static Handle< FixedArray > | New (IsolateT *isolate, int capacity, AllocationType allocation=AllocationType::kYoung) |
| template<template< typename > typename HandleType> requires ( std::is_convertible_v<HandleType<FixedArray>, DirectHandle<FixedArray>>) | |
| static V8_EXPORT_PRIVATE HandleType< FixedArray > | SetAndGrow (Isolate *isolate, HandleType< FixedArray > array, int index, DirectHandle< Object > value) |
| template<template< typename > typename HandleType> requires ( std::is_convertible_v<HandleType<FixedArray>, DirectHandle<FixedArray>>) | |
| static HandleType< FixedArray > | RightTrimOrEmpty (Isolate *isolate, HandleType< FixedArray > array, int new_length) |
Static Public Member Functions inherited from v8::internal::TaggedArrayBase< FixedArray, TaggedArrayShape > | |
| static void | MoveElements (Isolate *isolate, Tagged< FixedArray > dst, int dst_index, Tagged< FixedArray > src, int src_index, int len, WriteBarrierMode mode=kDefaultMode) |
| static void | CopyElements (Isolate *isolate, Tagged< FixedArray > dst, int dst_index, Tagged< FixedArray > src, int src_index, int len, WriteBarrierMode mode=kDefaultMode) |
| static constexpr int | SizeFor (int capacity) |
| static constexpr int | OffsetOfElementAt (int index) |
Static Public Attributes inherited from v8::internal::FixedArray | |
| static constexpr int | kMaxLength = FixedArray::kMaxCapacity |
| static constexpr int | kMaxRegularLength = FixedArray::kMaxRegularCapacity |
Static Public Attributes inherited from v8::internal::TaggedArrayBase< FixedArray, TaggedArrayShape > | |
| static constexpr bool | kElementsAreMaybeObject |
| static constexpr int | kElementSize |
| static constexpr int | kMaxCapacity |
| static constexpr int | kMaxRegularCapacity |
Protected Member Functions inherited from v8::internal::TaggedArrayBase< FixedArray, TaggedArrayShape > | |
| bool | IsInBounds (int index) const |
| bool | IsCowArray () const |
| FLEXIBLE_ARRAY_MEMBER (ElementMemberT, objects) | |
Static Protected Member Functions inherited from v8::internal::TaggedArrayBase< FixedArray, TaggedArrayShape > | |
| static Handle< FixedArray > | Allocate (IsolateT *isolate, int capacity, std::optional< DisallowGarbageCollection > *no_gc_out, AllocationType allocation=AllocationType::kYoung) |
| static constexpr int | NewCapacityForIndex (int index, int old_capacity) |
Definition at line 359 of file fixed-array.h.