Lines Matching refs:prefix
937 bool StartsWith(const std::string& s, const char* prefix) { in StartsWith() argument
938 return s.compare(0, strlen(prefix), prefix) == 0; in StartsWith()
1028 static inline void WritePrefix(std::ostream* os, const char* prefix, bool odd) { in WritePrefix() argument
1029 if (prefix != nullptr) { in WritePrefix()
1030 *os << prefix; in WritePrefix()
1038 static bool RunCommand(std::string cmd, std::ostream* os, const char* prefix) { in RunCommand() argument
1057 WritePrefix(os, prefix, odd_line); in RunCommand()
1065 WritePrefix(os, prefix, odd_line); in RunCommand()
1086 const char* prefix) { in Addr2line() argument
1089 RunCommand(cmdline.c_str(), &os, prefix); in Addr2line()
1093 void DumpNativeStack(std::ostream& os, pid_t tid, const char* prefix, in DumpNativeStack() argument
1103 os << prefix << "(backtrace::Unwind failed for thread " << tid << ")\n"; in DumpNativeStack()
1106 os << prefix << "(no native stack frames for thread " << tid << ")\n"; in DumpNativeStack()
1130 os << prefix << StringPrintf("#%02zu pc ", it->num); in DumpNativeStack()
1161 Addr2line(it->map.name, it->pc - it->map.start, os, prefix); in DumpNativeStack()
1165 UNUSED(os, tid, prefix, current_method, ucontext_ptr); in DumpNativeStack()
1176 void DumpKernelStack(std::ostream& os, pid_t tid, const char* prefix, bool include_count) { in DumpKernelStack() argument
1185 os << prefix << "(couldn't read " << kernel_stack_filename << ")\n"; in DumpKernelStack()
1202 os << prefix; in DumpKernelStack()