LLDB  mainline
Functions
lldb_private::StringConvert Namespace Reference

Functions

int32_t ToSInt32 (const char *s, int32_t fail_value=0, int base=0, bool *success_ptr=nullptr)
 
uint32_t ToUInt32 (const char *s, uint32_t fail_value=0, int base=0, bool *success_ptr=nullptr)
 
int64_t ToSInt64 (const char *s, int64_t fail_value=0, int base=0, bool *success_ptr=nullptr)
 
uint64_t ToUInt64 (const char *s, uint64_t fail_value=0, int base=0, bool *success_ptr=nullptr)
 
double ToDouble (const char *s, double fail_value=0.0, bool *success_ptr=nullptr)
 

Function Documentation

◆ ToDouble()

double lldb_private::StringConvert::ToDouble ( const char *  s,
double  fail_value = 0.0,
bool *  success_ptr = nullptr 
)

Definition at line 80 of file StringConvert.cpp.

◆ ToSInt32()

int32_t lldb_private::StringConvert::ToSInt32 ( const char *  s,
int32_t  fail_value = 0,
int  base = 0,
bool *  success_ptr = nullptr 
)

◆ ToSInt64()

int64_t lldb_private::StringConvert::ToSInt64 ( const char *  s,
int64_t  fail_value = 0,
int  base = 0,
bool *  success_ptr = nullptr 
)

◆ ToUInt32()

uint32_t lldb_private::StringConvert::ToUInt32 ( const char *  s,
uint32_t  fail_value = 0,
int  base = 0,
bool *  success_ptr = nullptr 
)

Definition at line 32 of file StringConvert.cpp.

References UINT32_MAX.

Referenced by lldb_private::Socket::DecodeHostAndPort(), CommandObjectIterateOverThreads::DoExecute(), CommandObjectTargetSelect::DoExecute(), CommandObjectThreadStepWithTypeAndScope::DoExecute(), CommandObjectFrameRecognizerDelete::DoExecute(), CommandObjectFrameRecognizerInfo::DoExecute(), CommandObjectThreadUntil::DoExecute(), CommandObjectTargetModulesSearchPathsInsert::DoExecute(), CommandObjectThreadSelect::DoExecute(), CommandObjectThreadPlanDiscard::DoExecute(), CommandObjectRenderScriptRuntimeAllocationDump::DoExecute(), CommandObjectRenderScriptRuntimeAllocationLoad::DoExecute(), CommandObjectTargetStopHookDelete::DoExecute(), CommandObjectRenderScriptRuntimeAllocationSave::DoExecute(), CommandObjectTargetStopHookEnableDisable::DoExecute(), lldb_private::process_gdb_remote::ProcessGDBRemote::GetGDBServerRegisterInfo(), lldb_private::process_gdb_remote::ProcessGDBRemote::GetHostOSVersion(), lldb_private::platform_android::PlatformAndroid::GetSdkVersion(), DWARFUnit::GetSymbolFileDWARF(), lldb_private::OptionValueArray::SetArgs(), DynamicRegisterInfo::SetRegisterInfo(), lldb_private::process_gdb_remote::ProcessGDBRemote::SetThreadStopInfo(), lldb_private::OptionValuePathMappings::SetValueFromString(), lldb_private::OptionValueFileSpecList::SetValueFromString(), SplitCommaSeparatedRegisterNumberString(), lldb_private::process_gdb_remote::GDBRemoteCommunication::StartDebugserverProcess(), and CommandObjectProcessHandle::VerifyCommandOptionValue().

◆ ToUInt64()

uint64_t lldb_private::StringConvert::ToUInt64 ( const char *  s,
uint64_t  fail_value = 0,
int  base = 0,
bool *  success_ptr = nullptr 
)