Home
last modified time | relevance | path

Searched refs:Newline (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DContinuationIndenter.h80 unsigned addTokenToState(LineState &State, bool Newline, bool DryRun,
90 unsigned moveStateToNextToken(LineState &State, bool DryRun, bool Newline);
93 void moveStatePastFakeLParens(LineState &State, bool Newline);
98 void moveStatePastScopeOpener(LineState &State, bool Newline);
110 bool DryRun, bool Newline);
115 bool DryRun, bool AllowBreak, bool Newline);
H A DContinuationIndenter.cpp670 unsigned ContinuationIndenter::addTokenToState(LineState &State, bool Newline, in addTokenToState() argument
701 if (Newline) in addTokenToState()
706 return moveStateToNextToken(State, DryRun, Newline) + Penalty; in addTokenToState()
1612 bool DryRun, bool Newline) { in moveStateToNextToken() argument
1627 CurrentState.LastOperatorWrapped = Newline; in moveStateToNextToken()
1630 CurrentState.LastOperatorWrapped = Newline; in moveStateToNextToken()
1633 CurrentState.LastOperatorWrapped = Newline; in moveStateToNextToken()
1705 if (Current.isOneOf(TT_BinaryOperator, TT_ConditionalExpr) && Newline) in moveStateToNextToken()
1727 if (State.Stack[State.Stack.size() - 2].NestedBlockInlined && Newline) in moveStateToNextToken()
1736 !Newline && hasNestedBlockInlined(Previous, Current, Style); in moveStateToNextToken()
[all …]
H A DWhitespaceManager.cpp1711 StringRef Newline = UseCRLF ? "\r\n" : "\n"; in appendNewlineText() local
1712 Text.append(Newline); in appendNewlineText()
1718 Text.append(Newline); in appendNewlineText()
H A DUnwrappedLineFormatter.cpp1172 bool Newline = in formatLine() local
1176 formatChildren(State, Newline, /*DryRun=*/false, Penalty); in formatLine()
1177 Indenter->addTokenToState(State, Newline, /*DryRun=*/false); in formatLine()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCommentLexer.cpp501 const char *Newline = findNewline(BufferPtr, CommentEnd); in lexVerbatimBlockFirstLine() local
502 StringRef Line(BufferPtr, Newline - BufferPtr); in lexVerbatimBlockFirstLine()
510 TextEnd = Newline; in lexVerbatimBlockFirstLine()
511 NextLine = skipNewline(Newline, CommentEnd); in lexVerbatimBlockFirstLine()
566 const char *Newline = findNewline(BufferPtr, CommentEnd); in lexVerbatimLineText() local
567 StringRef Text(BufferPtr, Newline - BufferPtr); in lexVerbatimLineText()
568 formTokenWithChars(T, Newline, tok::verbatim_line_text); in lexVerbatimLineText()
H A DCommentParser.cpp126 Token Newline = P.Tok; in addToken() local
129 P.putBack(Newline); in addToken()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DErrorHandling.cpp203 const char *Newline = "\n"; in report_bad_alloc_error() local
206 write_retry(2, Newline, strlen(Newline)); in report_bad_alloc_error()
H A DRegex.cpp32 if (Flags & Newline) in Regex()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMILexer.h31 Newline, enumerator
208 bool isNewlineOrEOF() const { return Kind == Newline || Kind == Eof; } in isNewlineOrEOF()
H A DMIParser.cpp818 while (Token.is(MIToken::Newline)) in parseBasicBlockDefinitions()
837 else if (consumeIfPresent(MIToken::Newline)) { in parseBasicBlockDefinitions()
952 } else if (consumeIfPresent(MIToken::Newline)) { in parseBasicBlock()
966 if (consumeIfPresent(MIToken::Newline)) in parseBasicBlock()
991 if (!Token.is(MIToken::Newline)) in parseBasicBlock()
1020 while (Token.is(MIToken::Newline)) in parseBasicBlocks()
H A DMILexer.cpp694 Token.reset(MIToken::Newline, Range.upto(C)); in maybeLexNewline()
/freebsd/contrib/tcsh/nls/russian/
H A Dset444 42 Newline ignored at right margin
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DRegex.h40 Newline = 2, enumerator
/freebsd/contrib/tcsh/nls/C/
H A Dset183 81 Newline in variable name
87 85 Newline in variable index
H A Dset444 42 Newline ignored at right margin
/freebsd/contrib/tcsh/nls/finnish/
H A Dset444 42 Newline ignored at right margin
/freebsd/contrib/tcsh/nls/ukrainian/
H A Dset444 42 Newline ignored at right margin
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DMarshallers.cpp116 {"Newline", llvm::Regex::RegexFlags::Newline},
/freebsd/contrib/tcsh/
H A DNewThings161 * Newline in the prompt via %n.
/freebsd/usr.sbin/bsdconfig/share/
H A Ddialog.subr589 # Newline character sequences (``\n'') in $prompt are expanded as-is done by
689 # Newline character sequences (``\n'') in $prompt are expanded as-is done by
750 # Newline character sequences (``\n'') in $prompt are expanded as-is done by
817 # Newline character sequences (``\n'') in $prompt are expanded as-is done by
1351 # Newline character sequences (``\n'') in $prompt are expanded as-is done by
1453 # Newline character sequences (``\n'') in $prompt are expanded as-is done by
/freebsd/contrib/bsnmp/tests/
H A Dcatch.hpp6162 Newline = 0x02, enumerator
6195 …& writeText( std::string const& text, XmlFormatting fmt = XmlFormatting::Newline | XmlFormatting::…
6214 …tartElement( std::string const& name, XmlFormatting fmt = XmlFormatting::Newline | XmlFormatting::…
6216 …opedElement( std::string const& name, XmlFormatting fmt = XmlFormatting::Newline | XmlFormatting::…
6218 XmlWriter& endElement(XmlFormatting fmt = XmlFormatting::Newline | XmlFormatting::Indent);
6231 …XmlWriter& writeText( std::string const& text, XmlFormatting fmt = XmlFormatting::Newline | XmlFor…
6233 …XmlWriter& writeComment(std::string const& text, XmlFormatting fmt = XmlFormatting::Newline | XmlF…
15144 … return !!(static_cast<std::underlying_type<XmlFormatting>::type>(fmt & XmlFormatting::Newline)); in shouldNewline()
16590 … xml.scopedElement( "system-out" ).writeText( trim( stdOutForSuite ), XmlFormatting::Newline ); in writeGroup()
16591 … xml.scopedElement( "system-err" ).writeText( trim( stdErrForSuite ), XmlFormatting::Newline ); in writeGroup()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAssignmentTrackingAnalysis.cpp449 std::string toString(FragsInMemMap::const_iterator It, bool Newline = true) { in toString() argument
458 if (Newline) in toString()
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheck.cpp1184 unsigned int Flags = Regex::Newline; in match()
/freebsd/contrib/pkgconf/
H A DNEWS137 - Newline folding behavior when parsing multi-line fields has been adjusted.
/freebsd/contrib/file/magic/Magdir/
H A Dconsole776 # copyright string like: empty "1991 Titus" "2001 Imagineer/KT.Kodansha/P&B" "2000 Newline, Ubisoft…

12