|
void | SetEntry (InternalIndex entry, Tagged< Object > key, Tagged< Object > value, PropertyDetails details) |
|
template<typename IsolateT > |
InternalIndex | FindEntry (IsolateT *isolate, Tagged< Object > key) |
|
template<typename IsolateT > |
InternalIndex | FindEntry (IsolateT *isolate, DirectHandle< Object > key) |
|
Tagged< Object > | ValueAt (InternalIndex entry) |
|
Tagged< Name > | NameAt (InternalIndex entry) |
|
void | ValueAtPut (InternalIndex entry, Tagged< Object > value) |
|
PropertyDetails | DetailsAt (InternalIndex entry) |
|
void | DetailsAtPut (InternalIndex entry, PropertyDetails value) |
|
void | SetHash (int hash) |
|
int | Hash () |
|
InternalIndex | FindEntry (Isolate *isolate, Tagged< Object > key) |
|
int | NumberOfElements () const |
|
int | NumberOfDeletedElements () const |
|
int | UsedCapacity () const |
|
int | Capacity () |
|
int | NumberOfBuckets () const |
|
InternalIndex::Range | IterateEntries () |
|
Tagged< Object > | KeyAt (InternalIndex entry) |
|
bool | ToKey (ReadOnlyRoots roots, InternalIndex entry, Tagged< Object > *out_key) |
|
bool | IsObsolete () |
|
Tagged< OrderedNameDictionary > | NextTable () |
|
int | RemovedIndexAt (int index) |
|
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) |
|
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 MaybeHandle< OrderedNameDictionary > | Add (Isolate *isolate, Handle< OrderedNameDictionary > table, DirectHandle< Name > key, DirectHandle< Object > value, PropertyDetails details) |
|
static Handle< OrderedNameDictionary > | DeleteEntry (Isolate *isolate, Handle< OrderedNameDictionary > table, InternalIndex entry) |
|
static MaybeHandle< OrderedNameDictionary > | Allocate (Isolate *isolate, int capacity, AllocationType allocation=AllocationType::kYoung) |
|
static MaybeHandle< OrderedNameDictionary > | AllocateEmpty (Isolate *isolate, AllocationType allocation=AllocationType::kReadOnly) |
|
template<template< typename > typename HandleType>
requires (std::is_convertible_v<HandleType<OrderedNameDictionary>, DirectHandle<OrderedNameDictionary>>) |
static HandleType< OrderedNameDictionary >::MaybeType | Rehash (Isolate *isolate, HandleType< OrderedNameDictionary > table, int new_capacity) |
|
static Tagged< HeapObject > | GetEmpty (ReadOnlyRoots ro_roots) |
|
static Handle< Map > | GetMap (RootsTable &roots) |
|
static bool | Is (DirectHandle< HeapObject > table) |
|
static constexpr int | HashIndex () |
|
static HandleType< OrderedNameDictionary >::MaybeType | EnsureCapacityForAdding (Isolate *isolate, HandleType< OrderedNameDictionary > table) |
|
static HandleType< OrderedNameDictionary > | Shrink (Isolate *isolate, HandleType< OrderedNameDictionary > table) |
|
static Handle< OrderedNameDictionary > | Clear (Isolate *isolate, Handle< OrderedNameDictionary > table) |
|
static bool | HasKey (Isolate *isolate, Tagged< OrderedNameDictionary > table, Tagged< Object > key) |
|
static bool | IsKey (ReadOnlyRoots roots, Tagged< Object > k) |
|
static bool | Delete (Isolate *isolate, Tagged< OrderedNameDictionary > table, Tagged< Object > key) |
|
static constexpr int | PrefixIndex () |
|
static constexpr int | NumberOfElementsIndex () |
|
static constexpr int | NextTableIndex () |
|
static constexpr int | NumberOfDeletedElementsIndex () |
|
static constexpr int | NumberOfBucketsIndex () |
|
static constexpr int | HashTableStartIndex () |
|
static constexpr int | RemovedHolesIndex () |
|
static constexpr int | NumberOfElementsOffset () |
|
static constexpr int | NextTableOffset () |
|
static constexpr int | NumberOfDeletedElementsOffset () |
|
static constexpr int | NumberOfBucketsOffset () |
|
static constexpr int | HashTableStartOffset () |
|
static constexpr int | MaxCapacity () |
|
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 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) |
|
|
using | Header |
|
using | Shape |
|
int | HashToEntryRaw (int hash) |
|
int | NextChainEntryRaw (int entry) |
|
int | EntryToIndexRaw (int entry) |
|
int | EntryToIndex (InternalIndex entry) |
|
int | HashToBucket (int hash) |
|
void | SetNumberOfBuckets (int num) |
|
void | SetNumberOfElements (int num) |
|
void | SetNumberOfDeletedElements (int num) |
|
void | SetNextTable (Tagged< OrderedNameDictionary > next_table) |
|
void | SetRemovedIndexAt (int index, int removed_index) |
|
bool | IsInBounds (int index) const |
|
bool | IsCowArray () const |
|
| FLEXIBLE_ARRAY_MEMBER (ElementMemberT, objects) |
|
static MaybeHandle< OrderedNameDictionary > | Allocate (Isolate *isolate, int capacity, AllocationType allocation=AllocationType::kYoung) |
|
static MaybeHandle< OrderedNameDictionary > | AllocateEmpty (Isolate *isolate, AllocationType allocation, RootIndex root_ndex) |
|
static HandleType< OrderedNameDictionary >::MaybeType | Rehash (Isolate *isolate, HandleType< OrderedNameDictionary > table) |
|
static HandleType< OrderedNameDictionary >::MaybeType | Rehash (Isolate *isolate, HandleType< OrderedNameDictionary > table, int new_capacity) |
|
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 777 of file ordered-hash-table.h.