Searched refs:new_line (Results 1 – 3 of 3) sorted by relevance
120 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()
209 char* new_line = strchr(tmp, '\n'); in Drain() local210 if (new_line == nullptr) { in Drain()215 char saved = *(new_line + 1); in Drain()216 *(new_line + 1) = 0; in Drain()218 *(new_line + 1) = saved; in Drain()220 tmp = new_line + 1; in Drain()
255 char* new_line = strchr(tmp, '\n'); in Drain() local256 if (new_line == nullptr) { in Drain()261 os << std::string(tmp, new_line - tmp + 1); in Drain()263 tmp = new_line + 1; in Drain()