LLDB
mainline
|
#include <CFBasicHash.h>
Classes | |
struct | __CFBasicHash |
Public Types | |
enum | HashType { HashType::set = 0, HashType::dict } |
Public Member Functions | |
CFBasicHash ()=default | |
~CFBasicHash ()=default | |
bool | Update (lldb::addr_t addr, ExecutionContextRef exe_ctx_rf) |
bool | IsValid () const |
bool | IsMutable () const |
bool | IsMultiVariant () const |
HashType | GetType () const |
size_t | GetCount () const |
lldb::addr_t | GetKeyPointer () const |
lldb::addr_t | GetValuePointer () const |
Private Member Functions | |
template<typename T > | |
bool | UpdateFor (std::unique_ptr< __CFBasicHash< T >> &m_ht) |
size_t | GetPointerCount () const |
Private Attributes | |
uint32_t | m_ptr_size = UINT32_MAX |
lldb::ByteOrder | m_byte_order = lldb::eByteOrderInvalid |
Address | m_address = LLDB_INVALID_ADDRESS |
std::unique_ptr< __CFBasicHash< uint32_t > > | m_ht_32 = nullptr |
std::unique_ptr< __CFBasicHash< uint64_t > > | m_ht_64 = nullptr |
ExecutionContextRef | m_exe_ctx_ref |
bool | m_mutable = true |
bool | m_multi = false |
HashType | m_type |
Definition at line 17 of file CFBasicHash.h.
|
strong |
Enumerator | |
---|---|
set | |
dict |
Definition at line 19 of file CFBasicHash.h.
|
default |
|
default |
size_t CFBasicHash::GetCount | ( | ) | const |
Definition at line 75 of file CFBasicHash.cpp.
Referenced by lldb_private::formatters::NSDictionarySummaryProvider(), and lldb_private::formatters::NSSetSummaryProvider().
addr_t CFBasicHash::GetKeyPointer | ( | ) | const |
Definition at line 96 of file CFBasicHash.cpp.
References LLDB_INVALID_ADDRESS.
|
private |
Definition at line 87 of file CFBasicHash.cpp.
|
inline |
Definition at line 30 of file CFBasicHash.h.
References m_type.
addr_t CFBasicHash::GetValuePointer | ( | ) | const |
Definition at line 106 of file CFBasicHash.cpp.
References LLDB_INVALID_ADDRESS.
|
inline |
Definition at line 29 of file CFBasicHash.h.
References m_multi.
|
inline |
Definition at line 28 of file CFBasicHash.h.
References m_mutable.
bool CFBasicHash::IsValid | ( | ) | const |
Definition at line 8 of file CFBasicHash.cpp.
References LLDB_INVALID_ADDRESS.
bool CFBasicHash::Update | ( | lldb::addr_t | addr, |
ExecutionContextRef | exe_ctx_rf | ||
) |
Definition at line 20 of file CFBasicHash.cpp.
References lldb_private::ExecutionContextRef::GetTargetSP(), and LLDB_INVALID_ADDRESS.
Referenced by lldb_private::formatters::NSDictionarySummaryProvider(), and lldb_private::formatters::NSSetSummaryProvider().
|
private |
Definition at line 41 of file CFBasicHash.cpp.
References error(), lldb_private::Target::GetProcessSP(), and lldb_private::endian::InlHostByteOrder().
|
private |
Definition at line 65 of file CFBasicHash.h.
|
private |
Definition at line 64 of file CFBasicHash.h.
|
private |
Definition at line 68 of file CFBasicHash.h.
|
private |
Definition at line 66 of file CFBasicHash.h.
|
private |
Definition at line 67 of file CFBasicHash.h.
|
private |
Definition at line 70 of file CFBasicHash.h.
Referenced by IsMultiVariant().
|
private |
Definition at line 69 of file CFBasicHash.h.
Referenced by IsMutable().
|
private |
Definition at line 63 of file CFBasicHash.h.
|
private |
Definition at line 71 of file CFBasicHash.h.
Referenced by GetType().