Lines Matching refs:buffer

109 void RenderFrame(InternalScopedString *buffer, const char *format, int frame_no,  in RenderFrame()  argument
122 buffer->append("%c", *p); in RenderFrame()
128 buffer->append("%%"); in RenderFrame()
132 buffer->append("%zu", frame_no); in RenderFrame()
135 buffer->append("0x%zx", address); in RenderFrame()
138 buffer->append("%s", StripPathPrefix(info->module, strip_path_prefix)); in RenderFrame()
141 buffer->append("0x%zx", info->module_offset); in RenderFrame()
144 buffer->append("%s", DemangleFunctionName(StripFunctionName( in RenderFrame()
148 buffer->append("0x%zx", info->function_offset != AddressInfo::kUnknown in RenderFrame()
153 buffer->append("%s", StripPathPrefix(info->file, strip_path_prefix)); in RenderFrame()
156 buffer->append("%d", info->line); in RenderFrame()
159 buffer->append("%d", info->column); in RenderFrame()
165 buffer->append("in %s", DemangleFunctionName(StripFunctionName( in RenderFrame()
168 buffer->append("+0x%zx", info->function_offset); in RenderFrame()
173 RenderSourceLocation(buffer, info->file, info->line, info->column, in RenderFrame()
179 RenderSourceLocation(buffer, info->file, info->line, info->column, in RenderFrame()
182 RenderModuleLocation(buffer, info->module, info->module_offset, in RenderFrame()
185 buffer->append("(<unknown module>)"); in RenderFrame()
194 RenderModuleLocation(buffer, StripModuleName(info->module), in RenderFrame()
197 buffer->append("(%p)", (void *)address); in RenderFrame()
231 void RenderData(InternalScopedString *buffer, const char *format, in RenderData() argument
235 buffer->append("%c", *p); in RenderData()
241 buffer->append("%%"); in RenderData()
244 buffer->append("%s", StripPathPrefix(DI->file, strip_path_prefix)); in RenderData()
247 buffer->append("%d", DI->line); in RenderData()
250 buffer->append("%s", DI->name); in RenderData()
262 void RenderSourceLocation(InternalScopedString *buffer, const char *file, in RenderSourceLocation() argument
266 buffer->append("%s(%d", StripPathPrefix(file, strip_path_prefix), line); in RenderSourceLocation()
268 buffer->append(",%d", column); in RenderSourceLocation()
269 buffer->append(")"); in RenderSourceLocation()
273 buffer->append("%s", StripPathPrefix(file, strip_path_prefix)); in RenderSourceLocation()
275 buffer->append(":%d", line); in RenderSourceLocation()
277 buffer->append(":%d", column); in RenderSourceLocation()
281 void RenderModuleLocation(InternalScopedString *buffer, const char *module, in RenderModuleLocation() argument
284 buffer->append("(%s", StripPathPrefix(module, strip_path_prefix)); in RenderModuleLocation()
286 buffer->append(":%s", ModuleArchToString(arch)); in RenderModuleLocation()
288 buffer->append("+0x%zx)", offset); in RenderModuleLocation()