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()
208 char* new_line = strchr(tmp, '\n'); in Drain() local209 if (new_line == nullptr) { in Drain()214 char saved = *(new_line + 1); in Drain()215 *(new_line + 1) = 0; in Drain()217 *(new_line + 1) = saved; in Drain()219 tmp = new_line + 1; in Drain()
258 char* new_line = strchr(tmp, '\n'); in Drain() local259 if (new_line == nullptr) { in Drain()264 os << std::string(tmp, new_line - tmp + 1); in Drain()266 tmp = new_line + 1; in Drain()