Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::ZoneCStringSet Class Reference

#include <hash_map.h>

Inheritance diagram for dart::ZoneCStringSet:
dart::BaseCStringSet< ZoneAllocated, Zone > dart::BaseDirectChainedHashMap< CStringSetKeyValueTrait, ZoneAllocated, Zone > dart::ZoneAllocated

Public Member Functions

 ZoneCStringSet ()
 
 ZoneCStringSet (Zone *zone)
 
- Public Member Functions inherited from dart::BaseCStringSet< ZoneAllocated, Zone >
 BaseCStringSet (Zone *allocator)
 
- Public Member Functions inherited from dart::BaseDirectChainedHashMap< CStringSetKeyValueTrait, ZoneAllocated, Zone >
 BaseDirectChainedHashMap (Zone *allocator, intptr_t initial_size=kInitialSize)
 
 BaseDirectChainedHashMap (const BaseDirectChainedHashMap &other)
 
intptr_t Length () const
 
 ~BaseDirectChainedHashMap ()
 
void Insert (typename KeyValueTrait::Pair kv)
 
bool Remove (typename KeyValueTrait::Key key)
 
void Update (typename KeyValueTrait::Pair kv)
 
KeyValueTrait::Value LookupValue (typename KeyValueTrait::Key key) const
 
KeyValueTrait::Pair * Lookup (typename KeyValueTrait::Key key) const
 
bool HasKey (typename KeyValueTrait::Key key) const
 
intptr_t Size () const
 
bool IsEmpty () const
 
void Clear ()
 
Iterator GetIterator () const
 
- Public Member Functions inherited from dart::ZoneAllocated
 ZoneAllocated ()
 
void * operator new (size_t size)
 
void * operator new (size_t size, Zone *zone)
 
void operator delete (void *pointer)
 

Additional Inherited Members

- Protected Member Functions inherited from dart::BaseDirectChainedHashMap< CStringSetKeyValueTrait, ZoneAllocated, Zone >
void Resize (intptr_t new_size)
 
- Protected Attributes inherited from dart::BaseDirectChainedHashMap< CStringSetKeyValueTrait, ZoneAllocated, Zone >
Zone *const allocator_
 
uint32_t * hash_table_
 
KeyValueTrait::Pair * pairs_
 
uint32_t hash_table_size_
 
uint32_t pairs_size_
 
uint32_t next_pair_index_
 
uint32_t deleted_count_
 
- Static Protected Attributes inherited from dart::BaseDirectChainedHashMap< CStringSetKeyValueTrait, ZoneAllocated, Zone >
static constexpr intptr_t kInitialSize
 
static constexpr uint32_t kEmpty
 
static constexpr uint32_t kDeleted
 
static constexpr uint32_t kMaxPairs
 

Detailed Description

Definition at line 448 of file hash_map.h.

Constructor & Destructor Documentation

◆ ZoneCStringSet() [1/2]

dart::ZoneCStringSet::ZoneCStringSet ( )
inline

Definition at line 450 of file hash_map.h.

451 : BaseCStringSet<ZoneAllocated, Zone>(ThreadState::Current()->zone()) {}
static ThreadState * Current()
Definition: thread_state.h:27

◆ ZoneCStringSet() [2/2]

dart::ZoneCStringSet::ZoneCStringSet ( Zone zone)
inlineexplicit

Definition at line 452 of file hash_map.h.

453 : BaseCStringSet<ZoneAllocated, Zone>(zone) {}

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