Searched refs:value_str (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionValueUInt64.cpp18 lldb::OptionValueSP OptionValueUInt64::Create(llvm::StringRef value_str, argument
21 error = value_sp->SetValueFromString(value_str);
50 std::string value_str = value_ref.trim().str(); local
51 uint64_t value = StringConvert::ToUInt64(value_str.c_str(), 0, 0, &success);
58 value_str.c_str());
H A DOptionValueBoolean.cpp33 Status OptionValueBoolean::SetValueFromString(llvm::StringRef value_str, argument
45 bool value = OptionArgParser::ToBoolean(value_str, false, &success);
51 if (value_str.size() == 0)
55 value_str.str().c_str());
64 error = OptionValue::SetValueFromString(value_str, op);
H A DOptionValueArch.cpp47 std::string value_str = value.trim().str(); local
48 if (m_current_value.SetTriple(value_str.c_str())) {
53 value_str.c_str());
H A DOptionValueSInt64.cpp45 std::string value_str = value_ref.trim().str(); local
46 int64_t value = StringConvert::ToSInt64(value_str.c_str(), 0, 0, &success);
H A DOptionValueFormatEntity.cpp66 Status OptionValueFormatEntity::SetValueFromString(llvm::StringRef value_str, argument
82 llvm::StringRef trimmed_value_str = value_str.trim();
87 if (trimmed_len == 1 || value_str[trimmed_len - 1] != first_char) {
91 value_str = trimmed_value_str.substr(1, trimmed_len - 2);
95 error = FormatEntity::Parse(value_str, entry);
98 m_current_format = value_str;
109 error = OptionValue::SetValueFromString(value_str, op);
H A DOptionValueString.cpp49 std::string value_str = value.str(); local
62 value_str = value.str();
71 error = m_validator(value_str.c_str(), m_validator_baton);
83 Args::EncodeEscapeSequences(value_str.c_str(), str);
105 error = m_validator(value_str.c_str(), m_validator_baton);
111 Args::EncodeEscapeSequences(value_str.c_str(), m_current_value);
113 SetCurrentValue(value_str);
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Core/
H A DValueObjectVariable.h62 bool SetValueFromCString(const char *value_str, Status &error) override;
H A DValueObjectDynamicValue.h80 bool SetValueFromCString(const char *value_str, Status &error) override;
H A DValueObjectRegister.h133 bool SetValueFromCString(const char *value_str, Status &error) override;
H A DValueObjectSyntheticFilter.h102 bool SetValueFromCString(const char *value_str, Status &error) override;
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DOptionValueUInt64.h35 static lldb::OptionValueSP Create(llvm::StringRef value_str, Status &error);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/
H A DRegisterValue.cpp362 llvm::StringRef value_str) {
370 if (value_str.empty()) {
392 if (value_str.getAsInteger(0, uval64)) {
395 value_str.str().c_str());
421 if (value_str.getAsInteger(0, ival64)) {
424 value_str.str().c_str());
444 std::string value_string = value_str;
477 if (!ParseVectorEncoding(reg_info, value_str, byte_size, this))
361 SetValueFromString(const RegisterInfo *reg_info, llvm::StringRef value_str) argument
H A DScalar.cpp2397 Status Scalar::SetValueFromCString(const char *value_str, Encoding encoding, argument
2400 if (value_str == nullptr || value_str[0] == '\0') {
2412 if (!llvm::to_integer(value_str, uval64))
2414 "'%s' is not a valid unsigned integer string value", value_str);
2450 if (!llvm::to_integer(value_str, sval64))
2452 "'%s' is not a valid signed integer string value", value_str);
2490 if (::sscanf(value_str, "%f", &f_val) == 1) {
2495 value_str);
2497 if (::sscanf(value_str, "
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectRegister.cpp337 auto value_str = command[1].ref(); variable
351 Status error(reg_value.SetValueFromString(reg_info, value_str));
364 reg_name.str().c_str(), value_str.str().c_str(),
369 reg_name.str().c_str(), value_str.str().c_str());
/freebsd-11-stable/contrib/llvm-project/lldb/source/Core/
H A DValueObjectVariable.cpp274 bool ValueObjectVariable::SetValueFromCString(const char *value_str, argument
290 error = reg_value.SetValueFromString(reg_info, llvm::StringRef(value_str));
301 return ValueObject::SetValueFromCString(value_str, error);
H A DValueObjectDynamicValue.cpp274 bool ValueObjectDynamicValue::SetValueFromCString(const char *value_str, argument
296 if (strcmp(value_str, "0")) {
303 bool ret_val = m_parent->SetValueFromCString(value_str, error);
H A DValueObjectSyntheticFilter.cpp361 bool ValueObjectSynthetic::SetValueFromCString(const char *value_str, argument
363 return m_parent->SetValueFromCString(value_str, error);
H A DValueObjectRegister.cpp325 bool ValueObjectRegister::SetValueFromCString(const char *value_str, argument
329 m_reg_value.SetValueFromString(&m_reg_info, llvm::StringRef(value_str));
/freebsd-11-stable/contrib/atf/atf-sh/
H A Datf-check.cpp235 const std::string value_str = ( local
246 value = parse_exit_code(value_str);
249 if (value_str.empty())
252 value = parse_exit_code(value_str);
264 value = parse_exit_code(value_str);
267 if (value_str.empty())
270 value = parse_signal(value_str);
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Utility/
H A DRegisterValue.h236 llvm::StringRef value_str);
238 const char *value_str) = delete;
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/API/
H A DSBValue.h103 bool SetValueFromCString(const char *value_str);
105 bool SetValueFromCString(const char *value_str, lldb::SBError &error);
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dcache-memcache.c285 svn_stringbuf_t *value_str = value; local
286 data = value_str->data;
287 data_len = value_str->len + 1; /* copy trailing NUL */
H A Dcache-membuffer.c3314 svn_stringbuf_t *value_str = item; local
3316 *buffer = value_str->data;
3317 *buffer_size = value_str->len + 1;
3331 svn_stringbuf_t *value_str = apr_palloc(result_pool, sizeof(svn_stringbuf_t)); local
3333 value_str->pool = result_pool;
3334 value_str->blocksize = buffer_size;
3335 value_str->data = buffer;
3336 value_str->len = buffer_size-1;
3337 *item = value_str;
/freebsd-11-stable/contrib/llvm-project/lldb/bindings/interface/
H A DSBValue.i169 SetValueFromCString (const char *value_str);
172 SetValueFromCString (const char *value_str, lldb::SBError& error);
/freebsd-11-stable/contrib/llvm-project/lldb/source/API/
H A DSBValue.cpp466 bool SBValue::SetValueFromCString(const char *value_str) { argument
468 value_str);
471 return SetValueFromCString(value_str, dummy);
474 bool SBValue::SetValueFromCString(const char *value_str, lldb::SBError &error) { argument
476 (const char *, lldb::SBError &), value_str, error);
482 success = value_sp->SetValueFromCString(value_str, error.ref());

Completed in 323 milliseconds

12