Home | History | Annotate | Download | only in source

Lines Matching full:err_str

189                   char *err_str,
204 err_str,
207 if (err_str && err_len > 0)
208 err_str[0] = '\0';
214 snprintf(err_str, err_len, "%s (%s)", stat_error, path);
233 if (err_str)
235 *err_str = '\0';
241 strncpy(err_str, launch_err_str, err_len-1);
242 err_str[err_len-1] = '\0'; // Make sure the error string is terminated
262 if (err_str && err_len > 0)
266 ::snprintf (err_str, err_len, "failed to get the task for process %i (%s)", pid, launch_err.AsString());
270 ::snprintf (err_str, err_len, "failed to get the task for process %i", pid);
286 DNBProcessAttachByName (const char *name, struct timespec *timeout, char *err_str, size_t err_len)
288 if (err_str && err_len > 0)
289 err_str[0] = '\0';
306 return DNBProcessAttach (matching_proc_infos[0].kp_proc.p_pid, timeout, err_str, err_len);
310 DNBProcessAttach (nub_process_t attach_pid, struct timespec *timeout, char *err_str, size_t err_len)
312 if (err_str && err_len > 0)
313 err_str[0] = '\0';
320 pid = processSP->AttachForDebug (attach_pid, err_str, err_len);
350 if (err_str && err_len > 0)
351 snprintf(err_str, err_len, "operation timed out");
383 if (err_str && err_len > 0)
384 snprintf(err_str, err_len, "process exited");
525 char *err_str,
613 if (err_str && err_len > 0)
614 snprintf(err_str, err_len, "operation timed out");
637 waitfor_pid = DNBProcessAttach (waitfor_pid, timeout_abstime, err_str, err_len);