Home
last modified time | relevance | path

Searched refs:Newlines (Results 1 – 9 of 9) sorted by relevance

/external/clang/lib/Format/
DWhitespaceManager.cpp46 void WhitespaceManager::replaceWhitespace(FormatToken &Tok, unsigned Newlines, in replaceWhitespace() argument
52 Tok.Decision = (Newlines > 0) ? FD_Break : FD_Continue; in replaceWhitespace()
54 StartOfTokenColumn, Newlines, "", "", in replaceWhitespace()
71 unsigned Newlines, unsigned IndentLevel, int Spaces) { in replaceWhitespaceInToken() argument
77 IndentLevel, Spaces, std::max(0, Spaces), Newlines, PreviousPostfix, in replaceWhitespaceInToken()
84 Tok.Type == TT_LineComment && Newlines > 0 ? tok::comment : tok::unknown, in replaceWhitespaceInToken()
147 unsigned Newlines = 0; in alignTrailingComments() local
151 Newlines += Changes[i].NewlinesBefore; in alignTrailingComments()
184 } else if (BreakBeforeNext || Newlines > 1 || in alignTrailingComments()
204 Newlines = 0; in alignTrailingComments()
[all …]
DWhitespaceManager.h49 void replaceWhitespace(FormatToken &Tok, unsigned Newlines,
78 unsigned Newlines, unsigned IndentLevel,
186 void appendNewlineText(std::string &Text, unsigned Newlines);
187 void appendNewlineText(std::string &Text, unsigned Newlines,
DFormat.cpp857 unsigned Newlines = std::min(FirstTok->NewlinesBefore, 1u); in format() local
858 Whitespaces->replaceWhitespace(*TheLine.First, Newlines, in format()
994 unsigned Newlines = in formatFirstToken() local
1000 Newlines = std::min(Newlines, 1u); in formatFirstToken()
1001 if (Newlines == 0 && !RootToken.IsFirst) in formatFirstToken()
1002 Newlines = 1; in formatFirstToken()
1004 Newlines = 0; in formatFirstToken()
1010 Newlines = 1; in formatFirstToken()
1015 ++Newlines; in formatFirstToken()
1019 Newlines = std::min(1u, Newlines); in formatFirstToken()
[all …]
DContinuationIndenter.cpp419 unsigned Newlines = std::max( in addTokenOnNewLine() local
421 Whitespaces.replaceWhitespace(Current, Newlines, in addTokenOnNewLine()
/external/chromium_org/testing/gtest/cmake/
Dinternal_utils.cmake56 # Newlines inside flags variables break CMake's NMake generator.
/external/chromium_org/url/
Dgurl_unittest.cc603 TEST(GURLTest, Newlines) { in TEST() argument
/external/nanopb-c/generator/proto/google/protobuf/
Ddescriptor.proto593 // Newlines are included in the output.
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Ddescriptor.proto599 // Newlines are included in the output.
/external/owasp/sanitizer/lib/htmlparser-1.3/doc/
Dtree-construction.txt743 then ignore that token and move on to the next one. (Newlines at
1155 then ignore that token and move on to the next one. (Newlines