Lines Matching refs:buf
20 char* buf = out; in crashlog_to_string() local
24 buf[0] = '\0'; in crashlog_to_string()
26 len = snprintf(buf, remain, "ZIRCON KERNEL PANIC\n\n"); in crashlog_to_string()
31 buf += len; in crashlog_to_string()
33 len = snprintf(buf, remain, "UPTIME (ms)\n%" PRIi64 "\n\n", current_time() / ZX_MSEC(1)); in crashlog_to_string()
38 buf += len; in crashlog_to_string()
47 …len = snprintf(buf, remain, "VERSION\narch: %s\nbuild_id: %s\ndso: id=%s base=%#lx name=zircon.elf… in crashlog_to_string()
52 buf += len; in crashlog_to_string()
56 len = snprintf(buf, remain, "REGISTERS\n" in crashlog_to_string()
130 buf += len; in crashlog_to_string()
132 len = snprintf(buf, remain, "REGISTERS\n" in crashlog_to_string()
180 buf += len; in crashlog_to_string()
184 len = snprintf(buf, remain, "BACKTRACE (up to 16 calls)\n"); in crashlog_to_string()
189 buf += len; in crashlog_to_string()
191 len = thread_append_current_backtrace(buf, remain); in crashlog_to_string()
196 buf += len; in crashlog_to_string()
198 len = snprintf(buf, remain, "\n"); in crashlog_to_string()
203 buf += len; in crashlog_to_string()