Home
last modified time | relevance | path

Searched refs:error_cstr (Results 1 – 12 of 12) sorted by relevance

/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangUtilityFunction.cpp167 const char *error_cstr = jit_error.AsCString(); in Install() local
168 if (error_cstr && error_cstr[0]) { in Install()
169 diagnostic_manager.Printf(eDiagnosticSeverityError, "%s", error_cstr); in Install()
H A DClangUserExpression.cpp611 const char *error_cstr = jit_error.AsCString(); in TryParse() local
612 if (error_cstr && error_cstr[0]) in TryParse()
613 diagnostic_manager.PutString(eDiagnosticSeverityError, error_cstr); in TryParse()
714 const char *error_cstr = static_init_error.AsCString(); in Parse() local
715 if (error_cstr && error_cstr[0]) in Parse()
718 error_cstr); in Parse()
/freebsd-14.2/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectExpression.cpp497 const char *error_cstr = result_valobj_sp->GetError().AsCString(); in EvaluateExpression() local
498 if (error_cstr && error_cstr[0]) { in EvaluateExpression()
499 const size_t error_cstr_len = strlen(error_cstr); in EvaluateExpression()
500 const bool ends_with_newline = error_cstr[error_cstr_len - 1] == '\n'; in EvaluateExpression()
501 if (strstr(error_cstr, "error:") != error_cstr) in EvaluateExpression()
503 error_stream.Write(error_cstr, error_cstr_len); in EvaluateExpression()
H A DCommandObjectWatchpoint.cpp927 const char *error_cstr = error.AsCString(nullptr); in DoExecute() local
928 if (error_cstr) in DoExecute()
929 result.AppendError(error_cstr); in DoExecute()
H A DCommandObjectMemory.cpp666 const char *error_cstr = error.AsCString(); in DoExecute() local
667 if (error_cstr && error_cstr[0]) { in DoExecute()
668 result.AppendError(error_cstr); in DoExecute()
H A DCommandObjectFrame.cpp654 if (auto error_cstr = error.AsCString(nullptr)) in DoExecute() local
655 result.AppendError(error_cstr); in DoExecute()
H A DCommandObjectTarget.cpp2883 const char *error_cstr = error.AsCString(); in DoExecute() local
2884 if (error_cstr) in DoExecute()
2885 result.AppendError(error_cstr); in DoExecute()
/freebsd-14.2/contrib/llvm-project/lldb/source/API/
H A DSBCommandReturnObject.cpp335 void SBCommandReturnObject::SetError(const char *error_cstr) { in SetError() argument
336 LLDB_INSTRUMENT_VA(this, error_cstr); in SetError()
338 if (error_cstr) in SetError()
339 ref().AppendError(error_cstr); in SetError()
/freebsd-14.2/contrib/llvm-project/lldb/tools/driver/
H A DDriver.cpp624 const char *error_cstr = error.GetCString(); in MainLoop() local
625 if ((error_cstr != nullptr) && (error_cstr[0] != 0)) in MainLoop()
626 WithColor::error() << error_cstr << '\n'; in MainLoop()
812 if (const char *error_cstr = error.GetCString()) in main() local
813 WithColor::error() << error_cstr << '\n'; in main()
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/API/
H A DSBCommandReturnObject.h132 void SetError(const char *error_cstr);
/freebsd-14.2/contrib/llvm-project/lldb/source/Interpreter/
H A DCommandObject.cpp130 const char *error_cstr = error.AsCString(); in ParseOptions() local
131 if (error_cstr) { in ParseOptions()
133 result.AppendError(error_cstr); in ParseOptions()
/freebsd-14.2/contrib/llvm-project/lldb/source/Core/
H A DDisassembler.cpp1102 if (const char *error_cstr = error.AsCString()) in ParseInstructions() local
1103 error_strm_ptr->Printf("error: %s\n", error_cstr); in ParseInstructions()