Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DWhitespaceManager.cpp50 void WhitespaceManager::replaceWhitespace(FormatToken &Tok, unsigned Newlines, in replaceWhitespace() argument
56 Tok.Decision = (Newlines > 0) ? FD_Break : FD_Continue; in replaceWhitespace()
59 Spaces, StartOfTokenColumn, Newlines, "", "", Tok.Tok.getKind(), in replaceWhitespace()
80 unsigned Newlines, unsigned IndentLevel, int Spaces) { in replaceWhitespaceInToken() argument
86 IndentLevel, Spaces, std::max(0, Spaces), Newlines, PreviousPostfix, in replaceWhitespaceInToken()
90 /*IsInsideToken=*/Newlines == 0)); in replaceWhitespaceInToken()
347 unsigned Newlines = 0; in alignTrailingComments() local
351 Newlines += Changes[i].NewlinesBefore; in alignTrailingComments()
396 } else if (BreakBeforeNext || Newlines > 1 || in alignTrailingComments()
416 Newlines = 0; in alignTrailingComments()
[all …]
DWhitespaceManager.h49 void replaceWhitespace(FormatToken &Tok, unsigned Newlines,
78 unsigned Newlines, unsigned IndentLevel,
198 void appendNewlineText(std::string &Text, unsigned Newlines);
199 void appendNewlineText(std::string &Text, unsigned Newlines,
DUnwrappedLineFormatter.cpp912 unsigned Newlines = std::min(RootToken.NewlinesBefore, 1u); in formatFirstToken() local
913 Whitespaces->replaceWhitespace(RootToken, Newlines, /*IndentLevel=*/0, in formatFirstToken()
917 unsigned Newlines = in formatFirstToken() local
923 Newlines = std::min(Newlines, 1u); in formatFirstToken()
924 if (Newlines == 0 && !RootToken.IsFirst) in formatFirstToken()
925 Newlines = 1; in formatFirstToken()
927 Newlines = 0; in formatFirstToken()
934 Newlines = 1; in formatFirstToken()
939 ++Newlines; in formatFirstToken()
944 Newlines = std::min(1u, Newlines); in formatFirstToken()
[all …]
DContinuationIndenter.cpp538 unsigned Newlines = std::max( in addTokenOnNewLine() local
540 Whitespaces.replaceWhitespace(Current, Newlines, in addTokenOnNewLine()
/external/curl/include/
DREADME49 * Newlines must remain unix-style for older compilers' sake.
/external/c-ares/
DREADME57 * Newlines must remain unix-style for older compilers' sake.
/external/vulkan-validation-layers/tests/gtest-1.7.0/cmake/
Dinternal_utils.cmake56 # Newlines inside flags variables break CMake's NMake generator.
/external/google-breakpad/src/testing/gtest/cmake/
Dinternal_utils.cmake56 # Newlines inside flags variables break CMake's NMake generator.
/external/v8/testing/gtest/cmake/
Dinternal_utils.cmake56 # Newlines inside flags variables break CMake's NMake generator.
/external/googletest/googletest/cmake/
Dinternal_utils.cmake58 # Newlines inside flags variables break CMake's NMake generator.
/external/protobuf/gtest/
DCMakeLists.txt66 # Newlines inside flags variables break CMake's NMake generator.
/external/nanopb-c/generator/proto/google/protobuf/
Ddescriptor.proto593 // Newlines are included in the output.
/external/protobuf/src/google/protobuf/
Ddescriptor.proto741 // Newlines are included in the output.
/external/python/cpython2/Doc/library/
Dio.rst844 called. Newlines are decoded as if by :meth:`~TextIOBase.read`,
/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