Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.cpp325 bool no_stdio, int disable_aslr, const char *event_data, char *err_str, in DNBProcessLaunch() argument
336 disable_aslr, static_cast<void *>(err_str), in DNBProcessLaunch()
339 if (err_str && err_len > 0) in DNBProcessLaunch()
340 err_str[0] = '\0'; in DNBProcessLaunch()
345 snprintf(err_str, err_len, "%s (%s)", stat_error, path); in DNBProcessLaunch()
356 if (err_str) { in DNBProcessLaunch()
357 *err_str = '\0'; in DNBProcessLaunch()
361 strlcpy(err_str, launch_err_str, err_len - 1); in DNBProcessLaunch()
362 err_str[err_len - 1] = in DNBProcessLaunch()
382 if (err_str && err_len > 0) { in DNBProcessLaunch()
[all …]
H A Ddebugserver.cpp370 char err_str[1024]; in RNBRunLoopLaunchAttaching() local
371 pid = DNBProcessAttach(attach_pid, NULL, ctx.GetIgnoredExceptions(), err_str, in RNBRunLoopLaunchAttaching()
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()
1550 waitfor_pid_name.c_str(), err_str); 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.h50 bool no_stdio, int disable_aslr, const char *event_data, char *err_str,
57 char *err_str,
62 char *err_str,
67 useconds_t interval, char *err_str,
H A DRNBRemote.cpp3791 char err_str[1024] = {'\0'}; in HandlePacket_v() local
3804 &m_ctx, attach_name.c_str(), ignore_existing, NULL, 1000, err_str, in HandlePacket_v()
3805 sizeof(err_str), RNBRemoteShouldCancelCallback); in HandlePacket_v()
3819 &m_ctx, attach_name.c_str(), ignore_existing, NULL, 1000, err_str, in HandlePacket_v()
3820 sizeof(err_str), RNBRemoteShouldCancelCallback); in HandlePacket_v()
3833 err_str, sizeof(err_str)); in HandlePacket_v()
3848 err_str, sizeof(err_str)); in HandlePacket_v()
3875 if (err_str[0]) in HandlePacket_v()
3876 m_ctx.LaunchStatus().SetErrorString(err_str); in HandlePacket_v()
3947 if (err_str[0] != '\0') { in HandlePacket_v()
[all …]
/openbsd-src/usr.sbin/eeprom/
H A Dophandlers.c52 static char err_str[BUFSIZE]; variable
69 snprintf(err_str, sizeof err_str, "%s: %s", (str1), (str2)); \
71 return (err_str); \
143 snprintf(err_str, sizeof err_str, in op_handler()
146 return (err_str); in op_handler()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/lldb/source/API/
H A DSBError.cpp126 void SBError::SetErrorString(const char *err_str) { in SetErrorString() argument
127 LLDB_INSTRUMENT_VA(this, err_str); in SetErrorString()
130 m_opaque_up->SetErrorString(err_str); in SetErrorString()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/lldb/tools/debugserver/source/MacOSX/
H A DMachProcess.h87 char *err_str,
109 bool waitfor, DNBError &err_str);
112 bool success, DNBError &err_str);
132 DNBError &err_str);
136 DNBError &err_str);
H A DMachProcess.mm91 DNBError &err_str);
282 std::string err_str = "unknown BKS error";
284 err_str = error_description;
286 err_str = [err_nsstr UTF8String];
288 error.SetErrorString(err_str.c_str());
392 std::string err_str = "unknown FBS error";
394 err_str = error_description;
396 err_str = [err_nsstr UTF8String];
398 error.SetErrorString(err_str.c_str());
2716 char *err_str,
[all …]
/openbsd-src/gnu/llvm/lldb/bindings/interface/
H A DSBError.i94 SetErrorString (const char *err_str);
/openbsd-src/gnu/llvm/lldb/source/Target/
H A DStopInfo.cpp455 const char *err_str = in PerformAction() local
457 LLDB_LOGF(log, "Error evaluating condition: \"%s\"\n", err_str); in PerformAction()
464 strm << err_str; in PerformAction()
964 const char *err_str = error.AsCString("<unknown error>"); in PerformAction() local
965 LLDB_LOGF(log, "Error evaluating condition: \"%s\"\n", err_str); in PerformAction()
972 strm << err_str; in PerformAction()
/openbsd-src/gnu/llvm/lldb/include/lldb/API/
H A DSBError.h54 void SetErrorString(const char *err_str);
/openbsd-src/gnu/llvm/lldb/include/lldb/Utility/
H A DStatus.h166 void SetErrorString(llvm::StringRef err_str);
/openbsd-src/gnu/llvm/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptRuntime.cpp4085 StreamString err_str; in SetOptionValue() local
4089 if (!ParseReductionTypes(option_arg, err_str)) in SetOptionValue()
4092 option_arg.str().c_str(), err_str.GetData()); in SetOptionValue()
4120 StreamString &err_str) { in ParseReductionTypes() argument
4143 err_str.PutCString( in ParseReductionTypes()
4155 err_str.Printf("unknown kernel type name %s", name.str().c_str()); in ParseReductionTypes()
/openbsd-src/usr.sbin/unbound/validator/
H A Dvalidator.c2465 char* err_str = errinf_to_str_bogus(qstate, in processFinished()
2467 if(err_str) { in processFinished()
2468 log_info("%s", err_str); in processFinished()
2469 vq->orig_msg->rep->reason_bogus_str = err_str; in processFinished()
2456 char* err_str = errinf_to_str_bogus(qstate, processFinished() local
/openbsd-src/sbin/unwind/libunbound/validator/
H A Dvalidator.c2465 char* err_str = errinf_to_str_bogus(qstate, in processFinished()
2467 if(err_str) { in processFinished()
2468 log_info("%s", err_str); in processFinished()
2469 vq->orig_msg->rep->reason_bogus_str = err_str; in processFinished()
2456 char* err_str = errinf_to_str_bogus(qstate, processFinished() local
/openbsd-src/sbin/unwind/libunbound/iterator/
H A Diterator.c4102 char* err_str = errinf_to_str_misc(qstate); in iter_inform_super()
4103 if(err_str) { in iter_inform_super()
4104 verbose(VERB_ALGO, "iterator EDE: %s", err_str); in iter_inform_super()
4105 iq->response->rep->reason_bogus_str = err_str; in iter_inform_super()
4046 char* err_str = errinf_to_str_misc(qstate); processFinished() local
/openbsd-src/usr.sbin/unbound/iterator/
H A Diterator.c4102 char* err_str = errinf_to_str_misc(qstate); in iter_inform_super()
4103 if(err_str) { in iter_inform_super()
4104 verbose(VERB_ALGO, "iterator EDE: %s", err_str); in iter_inform_super()
4105 iq->response->rep->reason_bogus_str = err_str; in iter_inform_super()
4046 char* err_str = errinf_to_str_misc(qstate); processFinished() local