Flutter Engine
The Flutter Engine
Public Types | Static Public Member Functions | List of all members
dart::PcDescriptorsKeyValueTrait Class Reference

Public Types

typedef const PcDescriptorsKey
 
typedef const PcDescriptorsValue
 
typedef const PcDescriptorsPair
 

Static Public Member Functions

static Key KeyOf (Pair kv)
 
static Value ValueOf (Pair kv)
 
static uword Hash (Key key)
 
static bool IsKeyEqual (Pair pair, Key key)
 

Detailed Description

Definition at line 730 of file program_visitor.cc.

Member Typedef Documentation

◆ Key

Definition at line 733 of file program_visitor.cc.

◆ Pair

Definition at line 735 of file program_visitor.cc.

◆ Value

Definition at line 734 of file program_visitor.cc.

Member Function Documentation

◆ Hash()

static uword dart::PcDescriptorsKeyValueTrait::Hash ( Key  key)
inlinestatic

Definition at line 741 of file program_visitor.cc.

741{ return Utils::WordHash(key->Length()); }
static uint32_t WordHash(intptr_t key)
Definition: utils.cc:217

◆ IsKeyEqual()

static bool dart::PcDescriptorsKeyValueTrait::IsKeyEqual ( Pair  pair,
Key  key 
)
inlinestatic

Definition at line 743 of file program_visitor.cc.

743 {
744 return pair->Equals(*key);
745 }

◆ KeyOf()

static Key dart::PcDescriptorsKeyValueTrait::KeyOf ( Pair  kv)
inlinestatic

Definition at line 737 of file program_visitor.cc.

737{ return kv; }

◆ ValueOf()

static Value dart::PcDescriptorsKeyValueTrait::ValueOf ( Pair  kv)
inlinestatic

Definition at line 739 of file program_visitor.cc.

739{ return kv; }

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