Lines Matching refs:line
78 for (const std::string& line : lines) { in GenerateExpected() local
79 fprintf(f, "// %s\n", line.c_str()); in GenerateExpected()
95 std::string line; in ReformatAsm() local
96 while (std::getline(*stream, line)) { in ReformatAsm()
97 line = line.substr(0, FindEndOf(line, ": ")) + in ReformatAsm()
98 line.substr(FindEndOf(line, "\t")); in ReformatAsm()
100 while ((pos = line.find(" ")) != std::string::npos) { in ReformatAsm()
101 line = line.replace(pos, 2, " "); in ReformatAsm()
103 while (!line.empty() && line.back() == ' ') { in ReformatAsm()
104 line.pop_back(); in ReformatAsm()
106 output->push_back(line); in ReformatAsm()
114 for (const std::string& line : lines) { in ReformatCfi() local
115 if (line.find("DW_CFA_nop") != std::string::npos) { in ReformatCfi()
117 } else if (line.find("DW_CFA_advance_loc") != std::string::npos) { in ReformatCfi()
119 address = "0x" + line.substr(line.size() - 8); in ReformatCfi()
120 } else if (line.find("DW_CFA_") != std::string::npos) { in ReformatCfi()
121 std::string new_line(line); in ReformatCfi()