Searched refs:newline_pos (Results 1 – 5 of 5) sorted by relevance
992 for (size_t newline_pos = 0; in PrintMCInst() local993 (newline_pos = comments_string.find_first_of(g_newlines, newline_pos)) != in PrintMCInst()996 comments_string.replace(comments_string.begin() + newline_pos, in PrintMCInst()997 comments_string.begin() + newline_pos + 1, 1, ' '); in PrintMCInst()
650 int newline_pos = val.find('\n'); in PrintString() local651 while (newline_pos != std::string::npos) { in PrintString()654 val.substr(last_pos, newline_pos + 1 - last_pos), generator); in PrintString()655 last_pos = newline_pos + 1; in PrintString()656 newline_pos = val.find('\n', last_pos); in PrintString()
757 int newline_pos = static_cast<int>(newline) % FLAGS_tab_completion_columns; in GetLongFlagLine() local758 int missing_spaces = FLAGS_tab_completion_columns - newline_pos; in GetLongFlagLine()
1333 size_t newline_pos = full_output.find("\n", end_pos); in GetTestOutputSnippet() local1334 if (newline_pos != std::string::npos) in GetTestOutputSnippet()1335 end_pos = newline_pos + 1; in GetTestOutputSnippet()
863 size_t newline_pos = fullOutput.find("\n", endPos); in PrintTestOutputSnippet() local864 if (newline_pos != std::string::npos) in PrintTestOutputSnippet()865 endPos = newline_pos + 1; in PrintTestOutputSnippet()