Lines Matching refs:startswith
54 if (Comment.startswith(KnownPrefix)) {
190 return Content.startswith("clang-format on") ||
191 Content.startswith("clang-format off");
241 assert(Tok.TokenText.startswith(Prefix) && Tok.TokenText.endswith(Postfix));
310 if (Content.startswith(Prefix)) {
344 assert(TokenText.startswith("/*") && TokenText.endswith("*/"));
367 if (Lines.size() >= 2 && Content[1].startswith("**") &&
385 if (!Content[i].empty() && i + 1 != e && Decoration.startswith(Content[i]))
387 while (!Content[i].startswith(Decoration))
416 unsigned DecorationSize = Decoration.startswith(Content[i])
423 if (!Decoration.startswith(Content[i]))
432 if ((Lines[0] == "*" || Lines[0].startswith("* ")) && Lines.size() > 1) {
435 } else if (Lines[0].startswith("* ") && Lines.size() == 1) {
557 if (LineIndex == 0 && ContentWithNoDecoration.startswith("*")) {
712 if (Lines[LineIndex].ltrim(Blanks).startswith("*")) {
733 assert((TokenText.startswith("//") || TokenText.startswith("#")) &&
749 assert((TokenText.startswith("//") || TokenText.startswith("#")) &&
962 if (Lines[LineIndex].startswith("//")) {