Home
last modified time | relevance | path

Searched refs:new_line (Results 1 – 4 of 4) sorted by relevance

/art/compiler/
Dcfi_test.h120 std::string new_line(line); in ReformatCfi()
124 if ((pos = new_line.find(bad_reg)) != std::string::npos) { in ReformatCfi()
125 new_line = new_line.replace(pos, strlen(bad_reg), ""); in ReformatCfi()
128 if ((pos = new_line.find(" (")) != std::string::npos) { in ReformatCfi()
129 new_line = new_line.replace(pos, FindEndOf(new_line, ")") - pos, ""); in ReformatCfi()
132 new_line = ".cfi_" + new_line.substr(FindEndOf(new_line, "DW_CFA_")); in ReformatCfi()
133 output->push_back(address + ": " + new_line); in ReformatCfi()
/art/tools/checker/common/
Dlogger.py47 def log(content, level=Level.INFO, color=Color.DEFAULT, new_line=True, out=sys.stdout): argument
51 if new_line:
59 Logger.log("error: ", Logger.Level.ERROR, color=Logger.Color.RED, new_line=False,
71 Logger.log(loc, Logger.Level.ERROR, color=Logger.Color.GRAY, new_line=False,
80 Logger.log(var, Logger.Level.ERROR, color=Logger.Color.GREEN, new_line=False,
82 Logger.log(padding, Logger.Level.ERROR, new_line=False, out=sys.stderr)
83 Logger.log(" = ", Logger.Level.ERROR, new_line=False, out=sys.stderr)
90 Logger.log("TEST ", color=Logger.Color.PURPLE, new_line=False)
91 Logger.log(name + "... ", new_line=False)
/art/runtime/
Dnative_stack_dump.cc207 char* new_line = strchr(tmp, '\n'); in Drain() local
208 if (new_line == nullptr) { in Drain()
213 char saved = *(new_line + 1); in Drain()
214 *(new_line + 1) = 0; in Drain()
216 *(new_line + 1) = saved; in Drain()
218 tmp = new_line + 1; in Drain()
/art/tools/signal_dumper/
Dsignal_dumper.cc255 char* new_line = strchr(tmp, '\n'); in Drain() local
256 if (new_line == nullptr) { in Drain()
261 os << std::string(tmp, new_line - tmp + 1); in Drain()
263 tmp = new_line + 1; in Drain()