Home
last modified time | relevance | path

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

12

/external/clang/lib/Format/
DContinuationIndenter.h67 unsigned addTokenToState(LineState &State, bool Newline, bool DryRun,
77 unsigned moveStateToNextToken(LineState &State, bool DryRun, bool Newline);
80 void moveStatePastFakeLParens(LineState &State, bool Newline);
85 void moveStatePastScopeOpener(LineState &State, bool Newline);
DContinuationIndenter.cpp277 unsigned ContinuationIndenter::addTokenToState(LineState &State, bool Newline, in addTokenToState() argument
304 if (Newline) in addTokenToState()
309 return moveStateToNextToken(State, DryRun, Newline) + Penalty; in addTokenToState()
709 bool DryRun, bool Newline) { in moveStateToNextToken() argument
719 State.Stack.back().LastOperatorWrapped = Newline; in moveStateToNextToken()
723 State.Stack.back().LastOperatorWrapped = Newline; in moveStateToNextToken()
762 if (Current.isOneOf(TT_BinaryOperator, TT_ConditionalExpr) && Newline) in moveStateToNextToken()
778 if (State.Stack[State.Stack.size() - 2].NestedBlockInlined && Newline) in moveStateToNextToken()
787 !Newline && in moveStateToNextToken()
791 moveStatePastFakeLParens(State, Newline); in moveStateToNextToken()
[all …]
DUnwrappedLineFormatter.cpp588 bool Newline = in formatLine() local
592 formatChildren(State, Newline, /*DryRun=*/false, Penalty); in formatLine()
593 Indenter->addTokenToState(State, Newline, /*DryRun=*/false); in formatLine()
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_exitfunc.py8 from lib2to3.fixer_util import Name, Attr, Call, Comma, Newline, syms
71 containing_stmt.insert_child(position + 1, Newline())
Dfix_urllib.py10 from lib2to3.fixer_util import (Name, Comma, FromImport, Newline,
163 nodes.extend([new_node, Newline()])
Dfix_tuple_params.py25 from ..fixer_util import Assign, Name, Newline, Number, Subscript, syms
58 end = Newline()
/external/icu/icu4c/source/test/testdata/
DWordBreakTest.txt31 ÷ 0001 ÷ 000B ÷ # ÷ [0.2] <START OF HEADING> (Other) ÷ [3.2] <LINE TABULATION> (Newline) ÷ [0.3]
32 …EADING> (Other) × [4.0] COMBINING DIAERESIS (Extend_FE) ÷ [3.2] <LINE TABULATION> (Newline) ÷ [0.3]
93 ÷ 000D ÷ 000B ÷ # ÷ [0.2] <CARRIAGE RETURN (CR)> (CR) ÷ [3.1] <LINE TABULATION> (Newline) ÷ [0.3]
94 …TURN (CR)> (CR) ÷ [3.1] COMBINING DIAERESIS (Extend_FE) ÷ [3.2] <LINE TABULATION> (Newline) ÷ [0.3]
155 ÷ 000A ÷ 000B ÷ # ÷ [0.2] <LINE FEED (LF)> (LF) ÷ [3.1] <LINE TABULATION> (Newline) ÷ [0.3]
156 …FEED (LF)> (LF) ÷ [3.1] COMBINING DIAERESIS (Extend_FE) ÷ [3.2] <LINE TABULATION> (Newline) ÷ [0.3]
211 ÷ 000B ÷ 0001 ÷ # ÷ [0.2] <LINE TABULATION> (Newline) ÷ [3.1] <START OF HEADING> (Other) ÷ [0.3]
212 ÷ 000B ÷ 0308 ÷ 0001 ÷ # ÷ [0.2] <LINE TABULATION> (Newline) ÷ [3.1] COMBINING DIAERESIS (Extend_F…
213 ÷ 000B ÷ 000D ÷ # ÷ [0.2] <LINE TABULATION> (Newline) ÷ [3.1] <CARRIAGE RETURN (CR)> (CR) ÷ [0.3]
214 ÷ 000B ÷ 0308 ÷ 000D ÷ # ÷ [0.2] <LINE TABULATION> (Newline) ÷ [3.1] COMBINING DIAERESIS (Extend_F…
[all …]
/external/clang/lib/AST/
DCommentLexer.cpp482 const char *Newline = findNewline(BufferPtr, CommentEnd); in lexVerbatimBlockFirstLine() local
483 StringRef Line(BufferPtr, Newline - BufferPtr); in lexVerbatimBlockFirstLine()
491 TextEnd = Newline; in lexVerbatimBlockFirstLine()
492 NextLine = skipNewline(Newline, CommentEnd); in lexVerbatimBlockFirstLine()
547 const char *Newline = findNewline(BufferPtr, CommentEnd); in lexVerbatimLineText() local
548 StringRef Text(BufferPtr, Newline - BufferPtr); in lexVerbatimLineText()
549 formTokenWithChars(T, Newline, tok::verbatim_line_text); in lexVerbatimLineText()
DCommentParser.cpp102 Token Newline = P.Tok; in addToken() local
105 P.putBack(Newline); in addToken()
/external/icu/icu4c/source/test/testdata/break_rules/
Dword.txt20 Newline = [\p{Word_Break = Newline}];
68 WB3a: (Newline | CR | LF) ÷;
69 WB3b: . ÷ (Newline | CR | LF); # actually redundant? No other rule combines.
Dword_POSIX.txt19 Newline = [\p{Word_Break = Newline}];
67 WB3a: (Newline | CR | LF) ÷;
68 WB3b: . ÷ (Newline | CR | LF); # actually redundant? No other rule combines.
/external/llvm/lib/CodeGen/MIRParser/
DMILexer.h33 Newline, enumerator
145 bool isNewlineOrEOF() const { return Kind == Newline || Kind == Eof; } in isNewlineOrEOF()
DMIParser.cpp389 while (Token.is(MIToken::Newline)) in parseBasicBlockDefinitions()
408 else if (consumeIfPresent(MIToken::Newline)) { in parseBasicBlockDefinitions()
505 } else if (consumeIfPresent(MIToken::Newline)) { in parseBasicBlock()
520 else if (consumeIfPresent(MIToken::Newline)) in parseBasicBlock()
545 if (!Token.is(MIToken::Newline)) in parseBasicBlock()
558 while (Token.is(MIToken::Newline)) in parseBasicBlocks()
DMILexer.cpp534 Token.reset(MIToken::Newline, Range.upto(C)); in maybeLexNewline()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DRegex.h36 Newline=2 enumerator
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DRegex.h39 Newline=2, enumerator
/external/icu/icu4c/source/data/brkitr/rules/
Dword_POSIX.txt32 $Newline = [\p{Word_Break = Newline} ];
115 [^$CR $LF $Newline]? ($Extend | $Format | $ZWJ)+;
221 ($Format | $Extend | $ZWJ)* [^$CR $LF $Newline]?;
Dword.txt32 $Newline = [\p{Word_Break = Newline} ];
115 [^$CR $LF $Newline]? ($Extend | $Format | $ZWJ)+;
221 ($Format | $Extend | $ZWJ)* [^$CR $LF $Newline]?;
/external/llvm/include/llvm/Support/
DRegex.h39 Newline=2, enumerator
/external/swiftshader/third_party/LLVM/lib/Support/
DRegex.cpp28 if (Flags & Newline) in Regex()
/external/llvm/lib/Support/
DRegex.cpp28 if (Flags & Newline) in Regex()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DRegex.cpp30 if (Flags & Newline) in Regex()
/external/python/cpython2/Lib/lib2to3/
Dfixer_util.py68 def Newline(): function
335 children = [import_, Newline()]
/external/icu/icu4c/source/data/mappings/
Debcdic-xml-us.ucm33 #ISO 10646 IBM-1140 with Newline fixes
/external/swiftshader/third_party/LLVM/utils/FileCheck/
DFileCheck.cpp329 if (!Regex(RegExToMatch, Regex::Newline).match(Buffer, &MatchInfo)) in Match()

12