Home
last modified time | relevance | path

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

12

/external/lldb/source/Core/
DError.cpp54 Error::Error (const char* err_str): in Error() argument
59 SetErrorString(err_str); in Error()
198 const char *err_str = AsCString(); in PutToLog() local
199 if (err_str == NULL) in PutToLog()
200 err_str = "???"; in PutToLog()
202 SetErrorStringWithFormat("error: %s err = %s (0x%8.8x)", arg_msg, err_str, m_code); in PutToLog()
237 const char *err_str = AsCString(); in LogIfError() local
238 if (err_str == NULL) in LogIfError()
239 err_str = "???"; in LogIfError()
241 SetErrorStringWithFormat("error: %s err = %s (0x%8.8x)", arg_msg, err_str, m_code); in LogIfError()
[all …]
DRegularExpression.cpp262 RegularExpression::GetErrorAsCString (char *err_str, size_t err_str_max_len) const in GetErrorAsCString() argument
266 if (err_str && err_str_max_len) in GetErrorAsCString()
267 *err_str = '\0'; in GetErrorAsCString()
271 return ::regerror (m_comp_err, &m_preg, err_str, err_str_max_len); in GetErrorAsCString()
/external/lldb/tools/debugserver/source/
DDNBError.cpp75 const char *err_str = AsString(); in LogThreadedIfError() local
76 if (err_str == NULL) in LogThreadedIfError()
77 err_str = "???"; in LogThreadedIfError()
78 DNBLogThreaded ("error: %s err = %s (0x%8.8x)", arg_msg, err_str, m_err); in LogThreadedIfError()
97 const char *err_str = AsString(); in LogThreaded() local
98 if (err_str == NULL) in LogThreaded()
99 err_str = "???"; in LogThreaded()
100 DNBLogThreaded ("error: %s err = %s (0x%8.8x)", arg_msg, err_str, m_err); in LogThreaded()
DDNBError.h78 void SetErrorString(const char *err_str) in SetErrorString() argument
80 if (err_str && err_str[0]) in SetErrorString()
81 m_str = err_str; in SetErrorString()
DDNB.cpp189 char *err_str, in DNBProcessLaunch() argument
204 err_str, in DNBProcessLaunch()
207 if (err_str && err_len > 0) in DNBProcessLaunch()
208 err_str[0] = '\0'; in DNBProcessLaunch()
214 snprintf(err_str, err_len, "%s (%s)", stat_error, path); in DNBProcessLaunch()
233 if (err_str) in DNBProcessLaunch()
235 *err_str = '\0'; in DNBProcessLaunch()
241 strncpy(err_str, launch_err_str, err_len-1); in DNBProcessLaunch()
242 err_str[err_len-1] = '\0'; // Make sure the error string is terminated in DNBProcessLaunch()
262 if (err_str && err_len > 0) in DNBProcessLaunch()
[all …]
Ddebugserver.cpp347 char err_str[1024]; in RNBRunLoopLaunchAttaching() local
348 pid = DNBProcessAttach (attach_pid, NULL, err_str, sizeof(err_str)); in RNBRunLoopLaunchAttaching()
354 if (err_str[0]) in RNBRunLoopLaunchAttaching()
355 ctx.LaunchStatus().SetErrorString(err_str); in RNBRunLoopLaunchAttaching()
1254 char err_str[1024] = {'\0'}; in main() local
1347 ….c_str(), launch_flavor, ignore_existing, timeout_ptr, waitfor_interval, err_str, sizeof(err_str)); in main()
1353 if (err_str[0]) in main()
1354 ctx.LaunchStatus().SetErrorString(err_str); in main()
1355 …TDERR ("error: failed to attach to process named: \"%s\" %s\n", waitfor_pid_name.c_str(), err_str); in main()
1387 …ss_t pid = DNBProcessAttachByName (attach_pid_name.c_str(), timeout_ptr, err_str, sizeof(err_str)); in main()
[all …]
DRNBContext.cpp243 const char *err_str = m_launch_status.AsString(); in LaunchStatusAsString() local
244 if (err_str) in LaunchStatusAsString()
245 s = err_str; in LaunchStatusAsString()
DDNB.h43 char *err_str,
46 nub_process_t DNBProcessAttach (nub_process_t pid, struct timespec *timeout, char *err_str
47 nub_process_t DNBProcessAttachByName (const char *name, struct timespec *timeout, char *err_str,…
48 …ol ignore_existing, struct timespec *timeout, useconds_t interval, char *err_str, size_t err_len, …
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/
Dsingle_test_runner.py344 diff, err_str = self._port.diff_image(expected_driver_output.image, driver_output.image)
345 if err_str:
346 _log.warning(' %s : %s' % (self._test_name, err_str))
348 driver_output.error = (driver_output.error or '') + err_str
419 … diff, err_str = self._port.diff_image(reference_driver_output.image, actual_driver_output.image)
422 elif err_str:
423 _log.error(err_str)
428 … diff, err_str = self._port.diff_image(reference_driver_output.image, actual_driver_output.image)
431 elif err_str:
432 _log.error(err_str)
/external/chromium_org/third_party/hwcplus/src/
Dhardware.c93 char const *err_str = dlerror(); in load() local
94 ALOGE("load: module=%s\n%s", path, err_str?err_str:"unknown"); in load()
/external/mesa3d/src/mesa/program/
Dprogram_parse.y319 const char *const err_str = (state->mode == ARB_vertex)
323 yyerror(& @2, state, err_str);
1055 char *const err_str =
1058 yyerror(& @1, state, (err_str != NULL)
1059 ? err_str : "invalid condition code");
1061 if (err_str != NULL) {
1062 free(err_str);
1078 char *const err_str =
1081 yyerror(& @1, state, (err_str != NULL)
1082 ? err_str : "invalid condition code");
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/program/
Dprogram_parse.y319 const char *const err_str = (state->mode == ARB_vertex)
323 yyerror(& @2, state, err_str);
1055 char *const err_str =
1058 yyerror(& @1, state, (err_str != NULL)
1059 ? err_str : "invalid condition code");
1061 if (err_str != NULL) {
1062 free(err_str);
1078 char *const err_str =
1081 yyerror(& @1, state, (err_str != NULL)
1082 ? err_str : "invalid condition code");
[all …]
/external/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp65 const std::string err_str = sys::StrError(); in initialize() local
66 DEBUG(dbgs() << "Failed to connect to OProfile agent: " << err_str << "\n"); in initialize()
75 const std::string err_str = sys::StrError(); in ~OProfileJITEventListener() local
77 << err_str << "\n"); in ~OProfileJITEventListener()
/external/lldb/include/lldb/Core/
DError.h73 Error (const char* err_str);
260 SetErrorString (const char *err_str);
/external/libpcap/
Dpcap-bt-linux.c81 bt_findalldevs(pcap_if_t **alldevsp, char *err_str) in bt_findalldevs() argument
94 snprintf(err_str, PCAP_ERRBUF_SIZE, in bt_findalldevs()
102 snprintf(err_str, PCAP_ERRBUF_SIZE, "Can't allocate %zu bytes for Bluetooth device list", in bt_findalldevs()
112 snprintf(err_str, PCAP_ERRBUF_SIZE, in bt_findalldevs()
127 dev_descr, err_str) < 0) in bt_findalldevs()
Dpcap-dbus.c271 dbus_findalldevs(pcap_if_t **alldevsp, char *err_str) in dbus_findalldevs() argument
273 if (pcap_add_if(alldevsp, "dbus-system", 0, "D-Bus system bus", err_str) < 0) in dbus_findalldevs()
275 if (pcap_add_if(alldevsp, "dbus-session", 0, "D-Bus session bus", err_str) < 0) in dbus_findalldevs()
Dpcap-bt-linux.h39 int bt_findalldevs(pcap_if_t **alldevsp, char *err_str);
Dpcap-netfilter-linux.h34 int netfilter_findalldevs(pcap_if_t **alldevsp, char *err_str);
Dpcap-usb-linux.h39 int usb_findalldevs(pcap_if_t **alldevsp, char *err_str);
/external/lldb/tools/debugserver/source/MacOSX/
DMachProcess.cpp42 static CFStringRef CopyBundleIDForPath (const char *app_buncle_path, DNBError &err_str);
1458 MachProcess::AttachForDebug (pid_t pid, char *err_str, size_t err_len) in AttachForDebug() argument
1470 ::snprintf (err_str, err_len, "%s", err_cstr ? err_cstr : "No such process"); in AttachForDebug()
1484 … ::snprintf (err_str, err_len, "%s", err_cstr ? err_cstr : "unable to start the exception thread"); in AttachForDebug()
1507 ::snprintf (err_str, err_len, "%s", err.AsString()); in AttachForDebug()
1524 …areForAttach (const char *path, nub_launch_flavor_t launch_flavor, bool waitfor, DNBError &err_str) in PrepareForAttach() argument
1546 CFStringRef bundleIDCFStr = CopyBundleIDForPath (app_bundle_path.c_str (), err_str); in PrepareForAttach()
1573 err_str.SetError(sbs_error, DNBError::SpringBoard); in PrepareForAttach()
1613 MachProcess::CleanupAfterAttach (const void *attach_token, bool success, DNBError &err_str) in CleanupAfterAttach() argument
1636 err_str.SetError(sbs_error, DNBError::SpringBoard); in CleanupAfterAttach()
[all …]
DMachProcess.h48 pid_t AttachForDebug (pid_t pid, char *err_str, size_t err_len);
76 …reForAttach (const char *path, nub_launch_flavor_t launch_flavor, bool waitfor, DNBError &err_str);
77 …ic void CleanupAfterAttach (const void *attach_token, bool success, DNBError &err_str);
/external/lldb/source/API/
DSBError.cpp159 SBError::SetErrorString (const char *err_str) in SetErrorString() argument
162 m_opaque_ap->SetErrorString (err_str); in SetErrorString()
/external/qemu/distrib/sdl-1.2.15/src/loadso/macosx/
DSDL_dlcompat.c285 char * err_str; in error() local
288 err_str = tss->errstr; in error()
289 SDL_strlcpy(err_str, "dlcompat: ", ERR_STR_LEN); in error()
290 vsnprintf(err_str + 10, ERR_STR_LEN - 10, str, arg); in error()
292 debug("ERROR: %s\n", err_str); in error()
1176 const char * err_str = NULL; in SDL_OSX_dlerror() local
1181 err_str = tss->errstr; in SDL_OSX_dlerror()
1183 return (err_str); in SDL_OSX_dlerror()
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/program/
Dprogram_parse.tab.c2331 const char *const err_str = (state->mode == ARB_vertex) local
2335 yyerror(& (yylsp[(2) - (3)]), state, err_str);
3296 char *const err_str = local
3299 yyerror(& (yylsp[(1) - (1)]), state, (err_str != NULL)
3300 ? err_str : "invalid condition code");
3302 if (err_str != NULL) {
3303 free(err_str);
3322 char *const err_str = local
3325 yyerror(& (yylsp[(1) - (1)]), state, (err_str != NULL)
3326 ? err_str : "invalid condition code");
[all …]
/external/lldb/source/Target/
DStopInfo.cpp441 const char *err_str = condition_error.AsCString("<Unknown Error>"); in PerformAction() local
443 log->Printf("Error evaluating condition: \"%s\"\n", err_str); in PerformAction()
445 error_sp->PutCString (err_str); in PerformAction()
751 const char *err_str = error.AsCString("<Unknown Error>"); in PerformAction() local
753 log->Printf("Error evaluating condition: \"%s\"\n", err_str); in PerformAction()
755 error_sp->PutCString (err_str); in PerformAction()

12