Lines Matching refs:buf

175 static char* next_OnError_command(char* buf, int buflen, const char** ptr) {
188 Arguments::copy_expand_pid(cmd, cmdend - cmd, buf, buflen);
191 return buf;
223 char* VMError::error_string(char* buf, int buflen) {
228 jio_snprintf(buf, buflen,
236 int n = jio_snprintf(buf, buflen,
242 jio_snprintf(buf + n, buflen - n, "%s%s: %s",
245 jio_snprintf(buf + n, buflen - n, "%sError: %s",
250 jio_snprintf(buf, buflen,
255 return buf;
259 char* buf, int buflen, bool verbose) {
285 sfs.current()->zero_print_on_error(i, st, buf, buflen);
297 sfs.current()->print_on_error(st, buf, buflen, verbose);
337 static char buf[O_BUFLEN];
357 jio_snprintf(buf, sizeof(buf), SIZE_FORMAT, _size);
358 st->print(buf);
399 if (os::exception_name(_id, buf, sizeof(buf))) {
400 st->print("%s", buf);
419 size_t buflen = sizeof(buf);
421 strncpy(buf, file, buflen);
423 sprintf(buf + len, ":%d", _lineno);
425 st->print(" (%s)", buf);
453 JDK_Version::current().to_string(buf, sizeof(buf));
458 st->print_cr("# JRE version: %s (%s) (build %s)", runtime_name, buf, runtime_version);
474 fr.print_on_error(st, buf, sizeof(buf));
508 _thread->print_on_error(st, buf, sizeof(buf));
584 fr.print_on_error(st, buf, sizeof(buf));
601 print_stack_trace(st, (JavaThread*)_thread, buf, sizeof(buf));
611 print_stack_trace(st, jt, buf, sizeof(buf), true);
634 t->task()->print_line_on_error(st, buf, sizeof(buf));
651 Threads::print_on_error(st, _thread, buf, sizeof(buf));
742 os::print_environment_variables(st, env_list, buf, sizeof(buf));
749 os::print_signal_handlers(st, buf, sizeof(buf));