Lines Matching refs:startswith
55 if (Comment.startswith(KnownPrefix)) { in getLineCommentIndentPrefix()
189 return Content.startswith("clang-format on") || in switchesFormatting()
190 Content.startswith("clang-format off"); in switchesFormatting()
240 assert(Tok.TokenText.startswith(Prefix) && Tok.TokenText.endswith(Postfix)); in BreakableStringLiteral()
309 if (Content.startswith(Prefix)) { in mayReflowContent()
343 assert(TokenText.startswith("/*") && TokenText.endswith("*/")); in BreakableBlockComment()
365 if (Lines.size() >= 2 && Content[1].startswith("**") && in BreakableBlockComment()
383 if (!Content[i].empty() && i + 1 != e && Decoration.startswith(Content[i])) in BreakableBlockComment()
385 while (!Content[i].startswith(Decoration)) in BreakableBlockComment()
414 unsigned DecorationSize = Decoration.startswith(Content[i]) in BreakableBlockComment()
421 if (!Decoration.startswith(Content[i])) in BreakableBlockComment()
430 if ((Lines[0] == "*" || Lines[0].startswith("* ")) && Lines.size() > 1) { in BreakableBlockComment()
433 } else if (Lines[0].startswith("* ") && Lines.size() == 1) { in BreakableBlockComment()
544 if (LineIndex == 0 && ContentWithNoDecoration.startswith("*")) { in getContentIndent()
701 if (Lines[LineIndex].ltrim(Blanks).startswith("*")) { in mayReflow()
722 assert((TokenText.startswith("//") || TokenText.startswith("#")) && in BreakableLineCommentSection()
738 assert((TokenText.startswith("//") || TokenText.startswith("#")) && in BreakableLineCommentSection()
952 if (Lines[LineIndex].startswith("//")) { in mayReflow()