Home
last modified time | relevance | path

Searched refs:value_cstr (Results 1 – 13 of 13) sorted by relevance

/external/lldb/source/Interpreter/
DOptionValueString.cpp54 OptionValueString::SetValueFromCString (const char *value_cstr, in SetValueFromCString() argument
60 if (value_cstr) in SetValueFromCString()
62 switch (value_cstr[0]) in SetValueFromCString()
67 size_t len = strlen(value_cstr); in SetValueFromCString()
68 if (len <= 1 || value_cstr[len-1] != value_cstr[0]) in SetValueFromCString()
73 value_str_no_quotes.assign (value_cstr + 1, len - 2); in SetValueFromCString()
74 value_cstr = value_str_no_quotes.c_str(); in SetValueFromCString()
88 error = m_validator(value_cstr,m_validator_baton); in SetValueFromCString()
92 error = OptionValue::SetValueFromCString (value_cstr, op); in SetValueFromCString()
98 if (value_cstr && value_cstr[0]) in SetValueFromCString()
[all …]
DOptionValueUInt64.cpp23 OptionValueUInt64::Create (const char *value_cstr, Error &error) in Create() argument
26 error = value_sp->SetValueFromCString (value_cstr); in Create()
47 OptionValueUInt64::SetValueFromCString (const char *value_cstr, VarSetOperationType op) in SetValueFromCString() argument
60 uint64_t value = Args::StringToUInt64 (value_cstr, 0, 0, &success); in SetValueFromCString()
68 error.SetErrorStringWithFormat ("invalid uint64_t string value: '%s'", value_cstr); in SetValueFromCString()
78 error = OptionValue::SetValueFromCString (value_cstr, op); in SetValueFromCString()
DOptionValueArch.cpp46 OptionValueArch::SetValueFromCString (const char *value_cstr, VarSetOperationType op) in SetValueFromCString() argument
57 if (value_cstr && value_cstr[0]) in SetValueFromCString()
59 if (m_current_value.SetTriple (value_cstr)) in SetValueFromCString()
62 error.SetErrorStringWithFormat("unsupported architecture '%s'", value_cstr); in SetValueFromCString()
75 error = OptionValue::SetValueFromCString (value_cstr, op); in SetValueFromCString()
DOptionValueBoolean.cpp39 OptionValueBoolean::SetValueFromCString (const char *value_cstr, in SetValueFromCString() argument
53 bool value = Args::StringToBoolean(value_cstr, false, &success); in SetValueFromCString()
61 if (value_cstr == NULL) in SetValueFromCString()
63 else if (value_cstr[0] == '\0') in SetValueFromCString()
66 … error.SetErrorStringWithFormat ("invalid boolean string value: '%s'", value_cstr); in SetValueFromCString()
76 error = OptionValue::SetValueFromCString (value_cstr, op); in SetValueFromCString()
DOptionValueSInt64.cpp39 OptionValueSInt64::SetValueFromCString (const char *value_cstr, VarSetOperationType op) in SetValueFromCString() argument
53 int64_t value = Args::StringToSInt64 (value_cstr, 0, 0, &success); in SetValueFromCString()
69 … error.SetErrorStringWithFormat ("invalid int64_t string value: '%s'", value_cstr); in SetValueFromCString()
79 error = OptionValue::SetValueFromCString (value_cstr, op); in SetValueFromCString()
DOptionValueFileSpec.cpp73 OptionValueFileSpec::SetValueFromCString (const char *value_cstr, in SetValueFromCString() argument
85 if (value_cstr && value_cstr[0]) in SetValueFromCString()
87 Args args(value_cstr); in SetValueFromCString()
110 error = OptionValue::SetValueFromCString (value_cstr, op); in SetValueFromCString()
DOptionValueUUID.cpp40 OptionValueUUID::SetValueFromCString (const char *value_cstr, in SetValueFromCString() argument
53 if (m_uuid.SetFromCString(value_cstr) == 0) in SetValueFromCString()
54 error.SetErrorStringWithFormat ("invalid uuid string value '%s'", value_cstr); in SetValueFromCString()
65 error = OptionValue::SetValueFromCString (value_cstr, op); in SetValueFromCString()
DOptionValueFormat.cpp39 OptionValueFormat::SetValueFromCString (const char *value_cstr, VarSetOperationType op) in SetValueFromCString() argument
52 error = Args::StringToFormat (value_cstr, new_format, NULL); in SetValueFromCString()
66 error = OptionValue::SetValueFromCString (value_cstr, op); in SetValueFromCString()
DOptionValueRegex.cpp44 OptionValueRegex::SetValueFromCString (const char *value_cstr, in SetValueFromCString() argument
55 error = OptionValue::SetValueFromCString (value_cstr, op); in SetValueFromCString()
64 if (m_regex.Compile (value_cstr, m_regex.GetCompileFlags())) in SetValueFromCString()
DOptionValueDictionary.cpp220 OptionValueDictionary::SetValueFromCString (const char *value_cstr, VarSetOperationType op) in SetValueFromCString() argument
222 Args args(value_cstr); in SetValueFromCString()
DOptionValue.cpp541 OptionValue::CreateValueFromCStringForTypeMask (const char *value_cstr, uint32_t type_mask, Error &… in CreateValueFromCStringForTypeMask() argument
559 error = value_sp->SetValueFromCString (value_cstr, eVarSetOperationAssign); in CreateValueFromCStringForTypeMask()
/external/lldb/include/lldb/Interpreter/
DOptionValueUInt64.h58 Create (const char *value_cstr, Error &error);
DOptionValue.h194 CreateValueFromCStringForTypeMask (const char *value_cstr,