Home
last modified time | relevance | path

Searched refs:Penalty (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Format/
DUnwrappedLineFormatter.cpp510 unsigned &Penalty) { in formatChildren() argument
523 Penalty += in formatChildren()
557 Penalty += formatLine(*Previous.Children[0], State.Column + 1, DryRun); in formatChildren()
591 unsigned Penalty = 0; in formatLine() local
592 formatChildren(State, Newline, /*DryRun=*/false, Penalty); in formatLine()
610 unsigned Penalty = 0; in formatLine() local
613 formatChildren(State, /*Newline=*/false, DryRun, Penalty); in formatLine()
616 return Penalty; in formatLine()
698 unsigned Penalty = 0; in analyzeSolutionSpace() local
702 Penalty = Queue.top().first.first; in analyzeSolutionSpace()
[all …]
DContinuationIndenter.cpp303 unsigned Penalty = 0; in addTokenToState() local
305 Penalty = addTokenOnNewLine(State, DryRun); in addTokenToState()
309 return moveStateToNextToken(State, DryRun, Newline) + Penalty; in addTokenToState()
446 unsigned Penalty = 0; in addTokenOnNewLine() local
455 Penalty += 15; in addTokenOnNewLine()
458 Penalty += State.NextToken->SplitPenalty; in addTokenOnNewLine()
467 Penalty += Style.PenaltyBreakFirstLessLess; in addTokenOnNewLine()
593 return Penalty; in addTokenOnNewLine()
806 unsigned Penalty = breakProtrudingToken(Current, State, DryRun); in moveStateToNextToken() local
809 Penalty += Style.PenaltyExcessCharacter * ExcessCharacters; in moveStateToNextToken()
[all …]
DFormatToken.cpp103 unsigned Penalty = 0; in formatAfterToken() local
125 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces); in formatAfterToken()
127 return Penalty; in formatAfterToken()
/external/libtextclassifier/native/utils/tflite/
Dtext_encoder_config.fbs40 // Penalty associated with the unknown code.
/external/deqp/external/openglcts/
D.clang-format124 # Penalty for putting the return type of a function onto its own line.
/external/clang/docs/
DClangFormatStyleOptions.rst645 Penalty for putting the return type of a function onto its own