Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangUtilityFunction.cpp146 const char *error_cstr = jit_error.AsCString(); in Install() local
147 if (error_cstr && error_cstr[0]) { in Install()
148 diagnostic_manager.Printf(eDiagnosticSeverityError, "%s", error_cstr); in Install()
H A DClangUserExpression.cpp532 const char *error_cstr = jit_error.AsCString(); in Parse() local
533 if (error_cstr && error_cstr[0]) in Parse()
534 diagnostic_manager.PutString(eDiagnosticSeverityError, error_cstr); in Parse()
547 const char *error_cstr = static_init_error.AsCString(); in Parse() local
548 if (error_cstr && error_cstr[0]) in Parse()
551 error_cstr); in Parse()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Interpreter/
H A DCommandReturnObject.cpp112 const char *error_cstr = error.AsCString(); in SetError() local
113 if (error_cstr == nullptr) in SetError()
114 error_cstr = fallback_error_cstr; in SetError()
115 SetError(error_cstr); in SetError()
H A DCommandObject.cpp122 const char *error_cstr = error.AsCString(); in ParseOptions() local
123 if (error_cstr) { in ParseOptions()
125 result.AppendError(error_cstr); in ParseOptions()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Commands/
H A DCommandObjectExpression.cpp494 const char *error_cstr = result_valobj_sp->GetError().AsCString(); in EvaluateExpression() local
495 if (error_cstr && error_cstr[0]) { in EvaluateExpression()
496 const size_t error_cstr_len = strlen(error_cstr); in EvaluateExpression()
498 error_cstr[error_cstr_len - 1] == '\n'; in EvaluateExpression()
499 if (strstr(error_cstr, "error:") != error_cstr) in EvaluateExpression()
501 error_stream->Write(error_cstr, error_cstr_len); in EvaluateExpression()
H A DCommandObjectFrame.cpp638 const char *error_cstr = error.AsCString(nullptr); in DoExecute() local
639 if (error_cstr) in DoExecute()
640 result.GetErrorStream().Printf("error: %s\n", error_cstr); in DoExecute()
H A DCommandObjectWatchpoint.cpp915 const char *error_cstr = error.AsCString(nullptr); in DoExecute() local
916 if (error_cstr) in DoExecute()
917 result.GetErrorStream().Printf("error: %s\n", error_cstr); in DoExecute()
H A DCommandObjectMemory.cpp670 const char *error_cstr = error.AsCString(); in DoExecute() local
671 if (error_cstr && error_cstr[0]) { in DoExecute()
672 result.AppendError(error_cstr); in DoExecute()
H A DCommandObjectTarget.cpp2626 const char *error_cstr = error.AsCString(); in DoExecute() local
2627 if (error_cstr) in DoExecute()
2628 result.AppendError(error_cstr); in DoExecute()
/freebsd-12.1/contrib/llvm/tools/lldb/source/API/
H A DSBCommandReturnObject.cpp272 void SBCommandReturnObject::SetError(const char *error_cstr) { in SetError() argument
273 if (m_opaque_ap && error_cstr) in SetError()
274 m_opaque_ap->SetError(error_cstr); in SetError()
/freebsd-12.1/contrib/llvm/tools/lldb/tools/driver/
H A DDriver.cpp668 const char *error_cstr = error.GetCString(); in MainLoop() local
669 if ((error_cstr != nullptr) && (error_cstr[0] != 0)) in MainLoop()
670 WithColor::error() << error_cstr << '\n'; in MainLoop()
933 if (const char *error_cstr = error.GetCString()) in wmain() local
934 WithColor::error() << error_cstr << '\n'; in wmain()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/API/
H A DSBCommandReturnObject.h86 void SetError(const char *error_cstr);
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Interpreter/
H A DCommandReturnObject.h130 void SetError(llvm::StringRef error_cstr);
/freebsd-12.1/contrib/llvm/tools/lldb/source/Core/
H A DDisassembler.cpp1191 const char *error_cstr = error.AsCString(); in ParseInstructions() local
1192 if (error_cstr) { in ParseInstructions()
1193 error_strm_ptr->Printf("error: %s\n", error_cstr); in ParseInstructions()