Searched refs:new_line (Results 1 – 2 of 2) sorted by relevance
119 std::string new_line(line); in ReformatCfi()123 if ((pos = new_line.find(bad_reg)) != std::string::npos) { in ReformatCfi()124 new_line = new_line.replace(pos, strlen(bad_reg), ""); in ReformatCfi()127 if ((pos = new_line.find(" (")) != std::string::npos) { in ReformatCfi()128 new_line = new_line.replace(pos, FindEndOf(new_line, ")") - pos, ""); in ReformatCfi()131 new_line = ".cfi_" + new_line.substr(FindEndOf(new_line, "DW_CFA_")); in ReformatCfi()132 output->push_back(address + ": " + new_line); in ReformatCfi()
191 char* new_line = strchr(tmp, '\n'); in Drain() local192 if (new_line == nullptr) { in Drain()197 char saved = *(new_line + 1); in Drain()198 *(new_line + 1) = 0; in Drain()200 *(new_line + 1) = saved; in Drain()202 tmp = new_line + 1; in Drain()