Lines Matching refs:string
40 std::vector<std::string> lines; in GenerateExpected()
66 for (const std::string& line : lines) { in GenerateExpected()
74 static size_t FindEndOf(const std::string& str, const char* substr) { in FindEndOf()
76 CHECK_NE(std::string::npos, pos); in FindEndOf()
82 std::vector<std::string>* output) { in ReformatAsm()
83 std::string line; in ReformatAsm()
88 while ((pos = line.find(" ")) != std::string::npos) { in ReformatAsm()
99 static void ReformatCfi(const std::vector<std::string>& lines, in ReformatCfi()
100 std::vector<std::string>* output) { in ReformatCfi()
101 std::string address; in ReformatCfi()
102 for (const std::string& line : lines) { in ReformatCfi()
103 if (line.find("DW_CFA_nop") != std::string::npos) { in ReformatCfi()
105 } else if (line.find("DW_CFA_advance_loc") != std::string::npos) { in ReformatCfi()
108 } else if (line.find("DW_CFA_") != std::string::npos) { in ReformatCfi()
109 std::string new_line(line); in ReformatCfi()
113 if ((pos = new_line.find(bad_reg)) != std::string::npos) { in ReformatCfi()
117 if ((pos = new_line.find(" (")) != std::string::npos) { in ReformatCfi()
128 static bool CompareByAddress(const std::string& lhs, const std::string& rhs) { in CompareByAddress()