Lines Matching refs:line
78 for (auto& line : Split(stripped, "\n")) { in TrimmedLines() local
81 for (; idx < line.size() && isspace(line[idx]); idx++) in TrimmedLines()
83 if (idx < line.size() && line[idx] == '*') idx++; in TrimmedLines()
84 if (idx < line.size() && line[idx] == ' ') idx++; in TrimmedLines()
86 const std::string& sanitized_line = line.substr(idx); in TrimmedLines()
128 for (const auto& line : TrimmedLines(c)) { in BlockTags() local
131 for (; idx < line.size() && isspace(line[idx]); idx++) in BlockTags()
134 if (idx == line.size()) { in BlockTags()
136 } else if (line[idx] == '@') { in BlockTags()
141 for (; end_idx < line.size() && isalpha(line[end_idx]); end_idx++) in BlockTags()
144 tag = line.substr(idx, end_idx - idx); in BlockTags()
146 if (end_idx < line.size() && line[end_idx] == ' ') end_idx++; in BlockTags()
148 if (end_idx < line.size()) { in BlockTags()
149 paragraph.push_back(line.substr(end_idx)); in BlockTags()
153 paragraph.push_back(line.substr(idx)); in BlockTags()
212 for (const auto& line : lines) { in FormatCommentsForJava() local
213 out << kLineCommentBegin << line; in FormatCommentsForJava()
224 for (const auto& line : lines) { in FormatCommentsForJava() local
226 out << " " << line; in FormatCommentsForJava()