Lines Matching defs:buffer
152 InternalScopedString *buffer) {
155 buffer->Append(" ");
156 buffer->Append("(BuildId: ");
158 buffer->AppendF("%02x", info.uuid[i]);
160 buffer->Append(")");
166 void FormattedStackTracePrinter::RenderFrame(InternalScopedString *buffer,
182 buffer->AppendF("%c", *p);
188 buffer->Append("%");
192 buffer->AppendF("%u", frame_no);
195 buffer->AppendF("%p", (void *)address);
198 buffer->AppendF("%s", StripPathPrefix(info->module, strip_path_prefix));
201 buffer->AppendF("0x%zx", info->module_offset);
204 MaybeBuildIdToBuffer(*info, /*PrefixSpace=*/false, buffer);
207 buffer->AppendF("%s",
211 buffer->AppendF("0x%zx", info->function_offset != AddressInfo::kUnknown
216 buffer->AppendF("%s", StripPathPrefix(info->file, strip_path_prefix));
219 buffer->AppendF("%d", info->line);
222 buffer->AppendF("%d", info->column);
228 buffer->AppendF(
231 buffer->AppendF("+0x%zx", info->function_offset);
236 RenderSourceLocation(buffer, info->file, info->line, info->column,
242 RenderSourceLocation(buffer, info->file, info->line, info->column,
245 RenderModuleLocation(buffer, info->module, info->module_offset,
249 MaybeBuildIdToBuffer(*info, /*PrefixSpace=*/true, buffer);
252 buffer->Append("(<unknown module>)");
261 RenderModuleLocation(buffer, StripModuleName(info->module),
264 MaybeBuildIdToBuffer(*info, /*PrefixSpace=*/true, buffer);
267 buffer->AppendF("(%p)", (void *)address);
301 void FormattedStackTracePrinter::RenderData(InternalScopedString *buffer,
307 buffer->AppendF("%c", *p);
313 buffer->Append("%");
316 buffer->AppendF("%s", StripPathPrefix(DI->file, strip_path_prefix));
319 buffer->AppendF("%zu", DI->line);
322 buffer->AppendF("%s", DI->name);
334 void StackTracePrinter::RenderSourceLocation(InternalScopedString *buffer,
339 buffer->AppendF("%s(%d", StripPathPrefix(file, strip_path_prefix), line);
341 buffer->AppendF(",%d", column);
342 buffer->Append(")");
346 buffer->AppendF("%s", StripPathPrefix(file, strip_path_prefix));
348 buffer->AppendF(":%d", line);
350 buffer->AppendF(":%d", column);
354 void StackTracePrinter::RenderModuleLocation(InternalScopedString *buffer,
358 buffer->AppendF("(%s", StripPathPrefix(module, strip_path_prefix));
360 buffer->AppendF(":%s", ModuleArchToString(arch));
362 buffer->AppendF("+0x%zx)", offset);