V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::OrderedHashMap Class Reference
Inheritance diagram for v8::internal::OrderedHashMap:
v8::internal::OrderedHashTable< OrderedHashMap, 2 > v8::internal::FixedArray v8::internal::FixedArrayBase v8::internal::HeapObjectPtr v8::internal::ObjectPtr

Public Member Functions

ObjectValueAt (int entry)
 
- Public Member Functions inherited from v8::internal::OrderedHashTable< OrderedHashMap, 2 >
int FindEntry (Isolate *isolate, Object *key)
 
int FindEntry (Isolate *isolate, Object *key)
 
int NumberOfElements () const
 
int NumberOfDeletedElements () const
 
int UsedCapacity () const
 
int NumberOfBuckets () const
 
int EntryToIndex (int entry)
 
int HashToBucket (int hash)
 
int HashToEntry (int hash)
 
int NextChainEntry (int entry)
 
ObjectKeyAt (int entry)
 
bool IsObsolete ()
 
OrderedHashMap NextTable ()
 
int RemovedIndexAt (int index)
 
- Public Member Functions inherited from v8::internal::FixedArray
Objectget (int index) const
 
template<class T >
MaybeHandle< TGetValue (Isolate *isolate, int index) const
 
template<class T >
Handle< TGetValueChecked (Isolate *isolate, int index) const
 
void set (int index, Object *value)
 
bool is_the_hole (Isolate *isolate, int index)
 
void set (int index, Smi value)
 
void set (int index, Object *value, WriteBarrierMode mode)
 
void set_undefined (int index)
 
void set_undefined (Isolate *isolate, int index)
 
void set_null (int index)
 
void set_null (Isolate *isolate, int index)
 
void set_the_hole (int index)
 
void set_the_hole (Isolate *isolate, int index)
 
ObjectSlot GetFirstElementAddress ()
 
bool ContainsOnlySmisOrHoles ()
 
bool ContainsSortedNumbers ()
 
ObjectSlot data_start ()
 
void MoveElements (Heap *heap, int dst_index, int src_index, int len, WriteBarrierMode mode)
 
void FillWithHoles (int from, int to)
 
void Shrink (Isolate *isolate, int new_length)
 
void CopyTo (int pos, FixedArray dest, int dest_pos, int len) const
 
ObjectSlot RawFieldOfElementAt (int index)
 
 STATIC_ASSERT (kMaxRegularHeapObjectSize< kMaxSize)
 
- Public Member Functions inherited from v8::internal::FixedArrayBase
int length () const
 
void set_length (int value)
 
int synchronized_length () const
 
void synchronized_set_length (int value)
 
Objectunchecked_synchronized_length () const
 
bool IsCowArray () const
 
- Public Member Functions inherited from v8::internal::HeapObjectPtr
Map map () const
 
void set_map (Map value)
 
void set_map_after_allocation (Map value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER)
 
void set_map_no_write_barrier (Map value)
 
ObjectSlot map_slot ()
 
MapWord map_word () const
 
void set_map_word (MapWord map_word)
 
void synchronized_set_map (Map value)
 
void synchronized_set_map_word (MapWord map_word)
 
WriteBarrierMode GetWriteBarrierMode (const DisallowHeapAllocation &promise)
 
 operator HeapObject * ()
 
 operator const HeapObject * () const
 
bool is_null () const
 
bool IsHeapObjectPtr () const
 
ReadOnlyRoots GetReadOnlyRoots () const
 
Address address () const
 
int Size () const
 
int SizeFromMap (Map map) const
 
ObjectSlot RawField (int byte_offset) const
 
MaybeObjectSlot RawMaybeWeakField (int byte_offset) const
 
void HeapObjectVerify (Isolate *isolate)
 
Address GetFieldAddress (int field_offset) const
 
- Public Member Functions inherited from v8::internal::ObjectPtr
constexpr ObjectPtr (Address ptr)
 
 operator Object * () const
 
bool operator== (const ObjectPtr other) const
 
bool operator!= (const ObjectPtr other) const
 
bool operator< (const ObjectPtr other) const
 
constexpr Address ptr () const
 
ObjectPtroperator-> ()
 
const ObjectPtroperator-> () const
 
bool IsHashTableBase () const
 
V8_INLINE bool IsSmallOrderedHashTable () const
 
bool IsObject () const
 
double Number () const
 
bool ToInt32 (int32_t *value) const
 
bool ToUint32 (uint32_t *value) const
 
bool BooleanValue (Isolate *isolate)
 
bool FilterKey (PropertyFilter filter)
 
ObjectGetHash ()
 
Smi GetOrCreateHash (Isolate *isolate)
 
V8_EXPORT_PRIVATE bool SameValue (Object *other)
 
V8_WARN_UNUSED_RESULT bool ToArrayIndex (uint32_t *index) const
 
void ShortPrint (FILE *out=stdout)
 
void ShortPrint (std::ostream &os)
 
void Print ()
 
void Print (std::ostream &os)
 

Static Public Member Functions

static Handle< OrderedHashMapAdd (Isolate *isolate, Handle< OrderedHashMap > table, Handle< Object > key, Handle< Object > value)
 
static ObjectGetHash (Isolate *isolate, Object *key)
 
static HeapObjectGetEmpty (ReadOnlyRoots ro_roots)
 
static RootIndex GetMapRootIndex ()
 
static bool Is (Handle< HeapObject > table)
 
- Static Public Member Functions inherited from v8::internal::OrderedHashTable< OrderedHashMap, 2 >
static Handle< OrderedHashMapAllocate (Isolate *isolate, int capacity, PretenureFlag pretenure=NOT_TENURED)
 
static Handle< OrderedHashMapEnsureGrowable (Isolate *isolate, Handle< OrderedHashMap > table)
 
static Handle< OrderedHashMapShrink (Isolate *isolate, Handle< OrderedHashMap > table)
 
static Handle< OrderedHashMapClear (Isolate *isolate, Handle< OrderedHashMap > table)
 
static bool HasKey (Isolate *isolate, OrderedHashMap table, Object *key)
 
static bool Delete (Isolate *isolate, OrderedHashMap table, Object *key)
 
- Static Public Member Functions inherited from v8::internal::FixedArray
static Handle< Objectget (FixedArray array, int index, Isolate *isolate)
 
static Handle< FixedArraySetAndGrow (Isolate *isolate, Handle< FixedArray > array, int index, Handle< Object > value, PretenureFlag pretenure=NOT_TENURED)
 
static Handle< FixedArrayShrinkOrEmpty (Isolate *isolate, Handle< FixedArray > array, int new_length)
 
static constexpr int SizeFor (int length)
 
static constexpr int OffsetOfElementAt (int index)
 
- Static Public Member Functions inherited from v8::internal::FixedArrayBase
static int GetMaxLengthForNewSpaceAllocation (ElementsKind kind)
 

Static Public Attributes

static const int kValueOffset = 1
 
- Static Public Attributes inherited from v8::internal::OrderedHashTable< OrderedHashMap, 2 >
static const int kEntrySize
 
static const int kChainOffset
 
static const int kNotFound
 
static const int kMinCapacity
 
static const int kNumberOfElementsIndex
 
static const int kNextTableIndex
 
static const int kNumberOfDeletedElementsIndex
 
static const int kNumberOfBucketsIndex
 
static const int kHashTableStartIndex
 
static const int kRemovedHolesIndex
 
static constexpr const int kNumberOfElementsOffset
 
static constexpr const int kNextTableOffset
 
static constexpr const int kNumberOfDeletedElementsOffset
 
static constexpr const int kNumberOfBucketsOffset
 
static constexpr const int kHashTableStartOffset
 
static const int kLoadFactor
 
static const int kClearedTableSentinel
 
static const int kMaxCapacity
 
- Static Public Attributes inherited from v8::internal::FixedArray
static const int kMaxLength = (kMaxSize - kHeaderSize) / kTaggedSize
 
static const int kMaxRegularLength
 
- Static Public Attributes inherited from v8::internal::FixedArrayBase
static const int kMaxSize = 1024 * MB
 
- Static Public Attributes inherited from v8::internal::HeapObjectPtr
static const int kMapOffset = HeapObject::kMapOffset
 
static const int kHeaderSize = HeapObject::kHeaderSize
 

Additional Inherited Members

- Public Types inherited from v8::internal::FixedArray
typedef FlexibleBodyDescriptor< kHeaderSize > BodyDescriptor
 
- Protected Types inherited from v8::internal::HeapObjectPtr
enum  AllowInlineSmiStorage { kRequireHeapObjectTag, kAllowBeingASmi }
 
- Protected Member Functions inherited from v8::internal::OrderedHashTable< OrderedHashMap, 2 >
void SetNumberOfBuckets (int num)
 
void SetNumberOfElements (int num)
 
void SetNumberOfDeletedElements (int num)
 
int Capacity ()
 
void SetNextTable (OrderedHashMap next_table)
 
void SetRemovedIndexAt (int index, int removed_index)
 
- Protected Member Functions inherited from v8::internal::HeapObjectPtr
 HeapObjectPtr (Address ptr, AllowInlineSmiStorage allow_smi)
 
- Static Protected Member Functions inherited from v8::internal::OrderedHashTable< OrderedHashMap, 2 >
static Handle< OrderedHashMapRehash (Isolate *isolate, Handle< OrderedHashMap > table, int new_capacity)
 
- Static Protected Member Functions inherited from v8::internal::FixedArray
static void NoWriteBarrierSet (FixedArray array, int index, Object *value)
 

Detailed Description

Definition at line 214 of file ordered-hash-table.h.


The documentation for this class was generated from the following files: