Searched refs:Newlines (Results 1 - 5 of 5) sorted by relevance

/external/clang/lib/Format/
H A DWhitespaceManager.h49 void replaceWhitespace(FormatToken &Tok, unsigned Newlines,
62 /// Inserts \p PreviousPostfix, \p Newlines, \p Spaces and \p CurrentPrefix
78 unsigned Newlines, unsigned IndentLevel,
186 void appendNewlineText(std::string &Text, unsigned Newlines);
187 void appendNewlineText(std::string &Text, unsigned Newlines,
H A DWhitespaceManager.cpp46 void WhitespaceManager::replaceWhitespace(FormatToken &Tok, unsigned Newlines, argument
52 Tok.Decision = (Newlines > 0) ? FD_Break : FD_Continue;
54 StartOfTokenColumn, Newlines, "", "",
71 unsigned Newlines, unsigned IndentLevel, int Spaces) {
77 IndentLevel, Spaces, std::max(0, Spaces), Newlines, PreviousPostfix,
84 Tok.Type == TT_LineComment && Newlines > 0 ? tok::comment : tok::unknown,
147 unsigned Newlines = 0; local
151 Newlines += Changes[i].NewlinesBefore;
184 } else if (BreakBeforeNext || Newlines > 1 ||
204 Newlines
68 replaceWhitespaceInToken( const FormatToken &Tok, unsigned Offset, unsigned ReplaceChars, StringRef PreviousPostfix, StringRef CurrentPrefix, bool InPPDirective, unsigned Newlines, unsigned IndentLevel, int Spaces) argument
292 appendNewlineText(std::string &Text, unsigned Newlines) argument
298 appendNewlineText(std::string &Text, unsigned Newlines, unsigned PreviousEndOfTokenColumn, unsigned EscapedNewlineColumn) argument
[all...]
H A DFormat.cpp857 unsigned Newlines = std::min(FirstTok->NewlinesBefore, 1u); local
858 Whitespaces->replaceWhitespace(*TheLine.First, Newlines,
994 unsigned Newlines = local
1000 Newlines = std::min(Newlines, 1u);
1001 if (Newlines == 0 && !RootToken.IsFirst)
1002 Newlines = 1;
1004 Newlines = 0;
1010 Newlines = 1;
1015 ++Newlines;
[all...]
H A DContinuationIndenter.cpp280 Whitespaces.replaceWhitespace(Current, /*Newlines=*/0, /*IndentLevel=*/0,
419 unsigned Newlines = std::max( local
421 Whitespaces.replaceWhitespace(Current, Newlines,
/external/chromium_org/url/
H A Dgurl_unittest.cc602 // Newlines should be stripped from inputs.
603 TEST(GURLTest, Newlines) {

Completed in 101 milliseconds