Home
last modified time | relevance | path

Searched refs:err_str (Results 1 – 21 of 21) sorted by relevance

/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A DDNBError.cpp88 const char *err_str = AsString(); in LogThreadedIfError() local
89 if (err_str == NULL) in LogThreadedIfError()
90 err_str = "???"; in LogThreadedIfError()
91 DNBLogThreaded("error: %s err = %s (0x%8.8x)", arg_msg, err_str, m_err); in LogThreadedIfError()
106 const char *err_str = AsString(); in LogThreaded() local
107 if (err_str == NULL) in LogThreaded()
108 err_str = "???"; in LogThreaded()
109 DNBLogThreaded("error: %s err = %s (0x%8.8x)", arg_msg, err_str, m_err); in LogThreaded()
H A DDNBError.h80 void SetErrorString(const char *err_str) { in SetErrorString() argument
81 if (err_str && err_str[0]) in SetErrorString()
82 m_str = err_str; in SetErrorString()
H A DDNB.cpp339 if (err_str && err_len > 0) in DNBProcessLaunch()
340 err_str[0] = '\0'; in DNBProcessLaunch()
356 if (err_str) { in DNBProcessLaunch()
357 *err_str = '\0'; in DNBProcessLaunch()
362 err_str[err_len - 1] = in DNBProcessLaunch()
382 if (err_str && err_len > 0) { in DNBProcessLaunch()
418 if (err_str && err_len > 0) in DNBProcessAttachByName()
419 err_str[0] = '\0'; in DNBProcessAttachByName()
446 if (err_str && err_len > 0) in DNBProcessAttach()
447 err_str[0] = '\0'; in DNBProcessAttach()
[all …]
H A Ddebugserver.cpp370 char err_str[1024]; in RNBRunLoopLaunchAttaching() local
372 sizeof(err_str)); in RNBRunLoopLaunchAttaching()
377 if (err_str[0]) in RNBRunLoopLaunchAttaching()
378 ctx.LaunchStatus().SetErrorString(err_str); in RNBRunLoopLaunchAttaching()
1458 char err_str[1024] = {'\0'}; in main() local
1542 waitfor_interval, err_str, sizeof(err_str)); in main()
1547 if (err_str[0]) in main()
1548 ctx.LaunchStatus().SetErrorString(err_str); in main()
1578 err_str, sizeof(err_str)); in main()
1582 if (err_str[0]) in main()
[all …]
H A DRNBContext.cpp274 const char *err_str = m_launch_status.AsString(); in LaunchStatusAsString() local
275 if (err_str) in LaunchStatusAsString()
276 s = err_str; in LaunchStatusAsString()
H A DDNB.h49 bool no_stdio, int disable_aslr, const char *event_data, char *err_str,
56 char *err_str,
61 char *err_str,
66 useconds_t interval, char *err_str,
H A DRNBRemote.cpp3787 char err_str[1024] = {'\0'}; in HandlePacket_v() local
3801 sizeof(err_str), RNBRemoteShouldCancelCallback); in HandlePacket_v()
3829 err_str, sizeof(err_str)); in HandlePacket_v()
3844 err_str, sizeof(err_str)); in HandlePacket_v()
3871 if (err_str[0]) in HandlePacket_v()
3872 m_ctx.LaunchStatus().SetErrorString(err_str); in HandlePacket_v()
3943 if (err_str[0] != '\0') { in HandlePacket_v()
3946 snprintf (err_str, sizeof (err_str) - 1, in HandlePacket_v()
3952 err_str[sizeof (err_str) - 1] = '\0'; in HandlePacket_v()
3955 error_explainer += err_str; in HandlePacket_v()
[all …]
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileJITEventListener.cpp60 const std::string err_str = sys::StrError(); in initialize() local
61 LLVM_DEBUG(dbgs() << "Failed to connect to OProfile agent: " << err_str in initialize()
71 const std::string err_str = sys::StrError(); in ~OProfileJITEventListener() local
73 << err_str << "\n"); in ~OProfileJITEventListener()
/llvm-project-15.0.7/openmp/libomptarget/src/
H A Dinterop.cpp105 return const_cast<char *>(InteropVal.err_str); in getProperty()
204 InteropPtr->err_str = "Device not ready!"; in __tgt_interop_init()
211 &(InteropPtr)->err_str)) { in __tgt_interop_init()
241 InteropPtr->err_str = "Device not ready!"; in __tgt_interop_use()
270 InteropPtr->err_str = "Device not ready!"; in __tgt_interop_destroy()
/llvm-project-15.0.7/lldb/source/API/
H A DSBError.cpp121 void SBError::SetErrorString(const char *err_str) { in SetErrorString() argument
122 LLDB_INSTRUMENT_VA(this, err_str); in SetErrorString()
125 m_opaque_up->SetErrorString(err_str); in SetErrorString()
/llvm-project-15.0.7/lldb/unittests/Process/Utility/
H A DLinuxProcMapsTest.cpp34 std::string err_str; member in LinuxProcMapsTestFixture
41 err_str.clear(); in SetUp()
46 err_str = toString(Info.takeError()); in SetUp()
53 ASSERT_EQ(std::get<2>(params), err_str); in check_regions()
/llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/
H A DMachProcess.h86 char *err_str,
108 bool waitfor, DNBError &err_str);
111 bool success, DNBError &err_str);
131 DNBError &err_str);
135 DNBError &err_str);
H A DMachProcess.mm284 err_str = error_description;
286 err_str = [err_nsstr UTF8String];
288 error.SetErrorString(err_str.c_str());
394 err_str = error_description;
396 err_str = [err_nsstr UTF8String];
398 error.SetErrorString(err_str.c_str());
2631 char *err_str,
2641 ::snprintf(err_str, err_len, "%s",
2657 getpid(), pid, err_str);
3582 err_str.SetErrorString(err_msg);
[all …]
/llvm-project-15.0.7/lldb/source/Utility/
H A DStatus.cpp241 void Status::SetErrorString(llvm::StringRef err_str) { in SetErrorString() argument
242 if (!err_str.empty()) { in SetErrorString()
248 m_string = std::string(err_str); in SetErrorString()
/llvm-project-15.0.7/third-party/benchmark/test/
H A Doutput_test_helper.cc352 std::string err_str; in TestCase() local
353 regex->Init(substituted_regex, &err_str); in TestCase()
354 BM_CHECK(err_str.empty()) in TestCase()
357 << "\n got error: " << err_str; in TestCase()
/llvm-project-15.0.7/lldb/bindings/interface/
H A DSBError.i94 SetErrorString (const char *err_str);
/llvm-project-15.0.7/lldb/source/Target/
H A DStopInfo.cpp462 const char *err_str = in PerformAction() local
464 LLDB_LOGF(log, "Error evaluating condition: \"%s\"\n", err_str); in PerformAction()
471 strm << err_str; in PerformAction()
880 const char *err_str = error.AsCString("<unknown error>"); in PerformAction() local
881 LLDB_LOGF(log, "Error evaluating condition: \"%s\"\n", err_str); in PerformAction()
888 strm << err_str; in PerformAction()
/llvm-project-15.0.7/lldb/include/lldb/API/
H A DSBError.h48 void SetErrorString(const char *err_str);
/llvm-project-15.0.7/openmp/libomptarget/include/
H A Dinterop.h169 const char *err_str = nullptr; member
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DStatus.h161 void SetErrorString(llvm::StringRef err_str);
/llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptRuntime.cpp4084 StreamString err_str; in SetOptionValue() local
4088 if (!ParseReductionTypes(option_arg, err_str)) in SetOptionValue()
4091 option_arg.str().c_str(), err_str.GetData()); in SetOptionValue()
4119 StreamString &err_str) { in ParseReductionTypes() argument
4142 err_str.PutCString( in ParseReductionTypes()
4154 err_str.Printf("unknown kernel type name %s", name.str().c_str()); in ParseReductionTypes()