Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dart::IntptrPair Class Reference

Public Member Functions

 IntptrPair ()
 
 IntptrPair (intptr_t first, intptr_t second)
 
intptr_t first () const
 
intptr_t second () const
 
bool operator== (const IntptrPair &other)
 
bool operator!= (const IntptrPair &other)
 
 IntptrPair ()
 
 IntptrPair (intptr_t first, intptr_t second)
 
intptr_t first () const
 
intptr_t second () const
 
void set_second (intptr_t s)
 
bool operator== (const IntptrPair &other)
 
bool operator!= (const IntptrPair &other)
 

Detailed Description

Definition at line 135 of file hash_map_test.cc.

Constructor & Destructor Documentation

◆ IntptrPair() [1/4]

dart::IntptrPair::IntptrPair ( )
inline

Definition at line 137 of file hash_map_test.cc.

137: first_(-1), second_(-1) {}

◆ IntptrPair() [2/4]

dart::IntptrPair::IntptrPair ( intptr_t  first,
intptr_t  second 
)
inline

Definition at line 138 of file hash_map_test.cc.

139 : first_(first), second_(second) {}
intptr_t first() const
intptr_t second() const

◆ IntptrPair() [3/4]

dart::IntptrPair::IntptrPair ( )
inline

Definition at line 264 of file freelist.cc.

264: first_(-1), second_(-1) {}

◆ IntptrPair() [4/4]

dart::IntptrPair::IntptrPair ( intptr_t  first,
intptr_t  second 
)
inline

Definition at line 265 of file freelist.cc.

266 : first_(first), second_(second) {}

Member Function Documentation

◆ first() [1/2]

intptr_t dart::IntptrPair::first ( ) const
inline

Definition at line 141 of file hash_map_test.cc.

141{ return first_; }

◆ first() [2/2]

intptr_t dart::IntptrPair::first ( ) const
inline

Definition at line 268 of file freelist.cc.

268{ return first_; }

◆ operator!=() [1/2]

bool dart::IntptrPair::operator!= ( const IntptrPair other)
inline

Definition at line 148 of file hash_map_test.cc.

148 {
149 return (first_ != other.first_) || (second_ != other.second_);
150 }

◆ operator!=() [2/2]

bool dart::IntptrPair::operator!= ( const IntptrPair other)
inline

Definition at line 276 of file freelist.cc.

276 {
277 return (first_ != other.first_) || (second_ != other.second_);
278 }

◆ operator==() [1/2]

bool dart::IntptrPair::operator== ( const IntptrPair other)
inline

Definition at line 144 of file hash_map_test.cc.

144 {
145 return (first_ == other.first_) && (second_ == other.second_);
146 }

◆ operator==() [2/2]

bool dart::IntptrPair::operator== ( const IntptrPair other)
inline

Definition at line 272 of file freelist.cc.

272 {
273 return (first_ == other.first_) && (second_ == other.second_);
274 }

◆ second() [1/2]

intptr_t dart::IntptrPair::second ( ) const
inline

Definition at line 142 of file hash_map_test.cc.

142{ return second_; }

◆ second() [2/2]

intptr_t dart::IntptrPair::second ( ) const
inline

Definition at line 269 of file freelist.cc.

269{ return second_; }

◆ set_second()

void dart::IntptrPair::set_second ( intptr_t  s)
inline

Definition at line 270 of file freelist.cc.

270{ second_ = s; }
struct MyStruct s

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