LLDB mainline
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
lldb_private::formatters::InferiorSizedWord Struct Reference

#include <FormattersHelpers.h>

Public Member Functions

 InferiorSizedWord (const InferiorSizedWord &word)
 
InferiorSizedWord operator= (const InferiorSizedWord &word)
 
 InferiorSizedWord (uint64_t val, Process &process)
 
bool IsNegative () const
 
bool IsZero () const
 
InferiorSizedWord operator>> (int rhs) const
 
InferiorSizedWord operator<< (int rhs) const
 
InferiorSizedWord operator& (const InferiorSizedWord &word) const
 
InferiorSizedWord operator& (int x) const
 
size_t GetBitSize () const
 
size_t GetByteSize () const
 
uint64_t GetValue () const
 
InferiorSizedWord SignExtend () const
 
uint8_t * CopyToBuffer (uint8_t *buffer) const
 
DataExtractor GetAsData (lldb::ByteOrder byte_order=lldb::eByteOrderInvalid) const
 

Static Public Member Functions

static InferiorSizedWord GetMaximum (Process &process)
 

Private Member Functions

 InferiorSizedWord (uint64_t val, size_t psz)
 

Private Attributes

size_t ptr_size
 
union {
   uint32_t   thirty_two
 
   uint64_t   sixty_four
 
}; 
 

Detailed Description

Definition at line 63 of file FormattersHelpers.h.

Constructor & Destructor Documentation

◆ InferiorSizedWord() [1/3]

lldb_private::formatters::InferiorSizedWord::InferiorSizedWord ( const InferiorSizedWord word)
inline

Definition at line 65 of file FormattersHelpers.h.

References ptr_size, sixty_four, and thirty_two.

◆ InferiorSizedWord() [2/3]

lldb_private::formatters::InferiorSizedWord::InferiorSizedWord ( uint64_t  val,
Process process 
)
inline

Definition at line 81 of file FormattersHelpers.h.

References ptr_size, sixty_four, and thirty_two.

◆ InferiorSizedWord() [3/3]

lldb_private::formatters::InferiorSizedWord::InferiorSizedWord ( uint64_t  val,
size_t  psz 
)
inlineprivate

Definition at line 173 of file FormattersHelpers.h.

References ptr_size, sixty_four, and thirty_two.

Member Function Documentation

◆ CopyToBuffer()

uint8_t * lldb_private::formatters::InferiorSizedWord::CopyToBuffer ( uint8_t *  buffer) const
inline

Definition at line 154 of file FormattersHelpers.h.

References ptr_size, sixty_four, and thirty_two.

◆ GetAsData()

DataExtractor lldb_private::formatters::InferiorSizedWord::GetAsData ( lldb::ByteOrder  byte_order = lldb::eByteOrderInvalid) const
inline

◆ GetBitSize()

size_t lldb_private::formatters::InferiorSizedWord::GetBitSize ( ) const
inline

Definition at line 138 of file FormattersHelpers.h.

References ptr_size.

◆ GetByteSize()

size_t lldb_private::formatters::InferiorSizedWord::GetByteSize ( ) const
inline

Definition at line 140 of file FormattersHelpers.h.

References ptr_size.

◆ GetMaximum()

static InferiorSizedWord lldb_private::formatters::InferiorSizedWord::GetMaximum ( Process process)
inlinestatic

◆ GetValue()

uint64_t lldb_private::formatters::InferiorSizedWord::GetValue ( ) const
inline

Definition at line 142 of file FormattersHelpers.h.

References ptr_size, sixty_four, and thirty_two.

◆ IsNegative()

bool lldb_private::formatters::InferiorSizedWord::IsNegative ( ) const
inline

Definition at line 91 of file FormattersHelpers.h.

References ptr_size, sixty_four, and thirty_two.

◆ IsZero()

bool lldb_private::formatters::InferiorSizedWord::IsZero ( ) const
inline

Definition at line 98 of file FormattersHelpers.h.

References ptr_size, sixty_four, and thirty_two.

◆ operator&() [1/2]

InferiorSizedWord lldb_private::formatters::InferiorSizedWord::operator& ( const InferiorSizedWord word) const
inline

Definition at line 124 of file FormattersHelpers.h.

References ptr_size, sixty_four, and thirty_two.

◆ operator&() [2/2]

InferiorSizedWord lldb_private::formatters::InferiorSizedWord::operator& ( int  x) const
inline

Definition at line 132 of file FormattersHelpers.h.

References ptr_size, sixty_four, and thirty_two.

◆ operator<<()

InferiorSizedWord lldb_private::formatters::InferiorSizedWord::operator<< ( int  rhs) const
inline

Definition at line 118 of file FormattersHelpers.h.

References ptr_size, sixty_four, and thirty_two.

◆ operator=()

InferiorSizedWord lldb_private::formatters::InferiorSizedWord::operator= ( const InferiorSizedWord word)
inline

Definition at line 72 of file FormattersHelpers.h.

References ptr_size, sixty_four, and thirty_two.

◆ operator>>()

InferiorSizedWord lldb_private::formatters::InferiorSizedWord::operator>> ( int  rhs) const
inline

Definition at line 112 of file FormattersHelpers.h.

References ptr_size, sixty_four, and thirty_two.

◆ SignExtend()

InferiorSizedWord lldb_private::formatters::InferiorSizedWord::SignExtend ( ) const
inline

Definition at line 148 of file FormattersHelpers.h.

References ptr_size, sixty_four, and thirty_two.

Member Data Documentation

◆ 

union { ... } lldb_private::formatters::InferiorSizedWord::@10

◆ ptr_size

size_t lldb_private::formatters::InferiorSizedWord::ptr_size
private

◆ sixty_four

uint64_t lldb_private::formatters::InferiorSizedWord::sixty_four

◆ thirty_two

uint32_t lldb_private::formatters::InferiorSizedWord::thirty_two

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