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