Lines Matching refs:Spaces

32                                   int Spaces, unsigned StartOfTokenColumn,  in Change()  argument
42 ContinuesPPDirective(ContinuesPPDirective), Spaces(Spaces), in Change()
49 unsigned Spaces, in replaceWhitespace() argument
56 Spaces, StartOfTokenColumn, Newlines, "", "", in replaceWhitespace()
80 unsigned Newlines, int Spaces) { in replaceWhitespaceInToken() argument
86 SourceRange(Start, Start.getLocWithOffset(ReplaceChars)), Spaces, in replaceWhitespaceInToken()
87 std::max(0, Spaces), Newlines, PreviousPostfix, CurrentPrefix, in replaceWhitespaceInToken()
166 Changes[i - 1].TokenLength + Changes[i - 1].Spaces; in calculateLineBreakInformation()
329 Changes[i].Spaces += Shift; in AlignTokenSequence()
369 Changes[i].Spaces += Shift; in AlignTokenSequence()
373 Changes[i].Spaces += Shift; in AlignTokenSequence()
383 Changes[i].Spaces != 0) { in AlignTokenSequence()
388 Changes[Previous + 1].Spaces -= Shift; in AlignTokenSequence()
389 Changes[Previous].Spaces += Shift; in AlignTokenSequence()
533 LineLengthAfter += Changes[j].Spaces; in AlignTokens()
589 Changes[I].Spaces += Shift; in AlignMacroSequence()
694 int LineLengthAfter = -Changes[I].Spaces; in alignConsecutiveMacros()
696 LineLengthAfter += Changes[j].Spaces + Changes[j].TokenLength; in alignConsecutiveMacros()
919 Changes[i].Spaces += Shift; in alignTrailingComments()
1011 Changes[CellIter->Index].Spaces = 0; in alignArrayInitializersRightJustified()
1014 Changes[Next->Index].Spaces = 0; in alignArrayInitializersRightJustified()
1026 Changes[CellIter->Index].Spaces = (MaxNetWidth - ThisNetWidth); in alignArrayInitializersRightJustified()
1035 Changes[Next->Index].Spaces = (MaxNetWidth - ThisNetWidth); in alignArrayInitializersRightJustified()
1044 Changes[CellIter->Index].Spaces = (CellWidth - (ThisWidth + NetWidth)); in alignArrayInitializersRightJustified()
1045 Changes[CellIter->Index].Spaces += (i > 0) ? 1 : 0; in alignArrayInitializersRightJustified()
1053 Changes[Next->Index].Spaces = (CellWidth - ThisWidth); in alignArrayInitializersRightJustified()
1054 Changes[Next->Index].Spaces += (i > 0) ? 1 : 0; in alignArrayInitializersRightJustified()
1070 Changes[CellIter->Index].Spaces = 0; in alignArrayInitializersLeftJustified()
1072 Changes[CellIter->Index].Spaces = CellDescs.InitialSpaces; in alignArrayInitializersLeftJustified()
1080 Changes[CellIter->Index].Spaces = in alignArrayInitializersLeftJustified()
1092 Changes[Next->Index].Spaces = in alignArrayInitializersLeftJustified()
1134 InitialSpaces = C.Spaces + C.TokenLength; in getCells()
1138 InitialSpaces += Changes[j].Spaces + Changes[j].TokenLength; in getCells()
1142 InitialSpaces += Changes[j].Spaces + Changes[j].TokenLength; in getCells()
1168 Changes[j].Spaces = InitialSpaces - InitialTokenLength; in getCells()
1172 C.Spaces = Changes[i - 1].Tok->is(tok::comma) ? 1 : 2; in getCells()
1179 EndSpaces = Changes[j].Spaces; in getCells()
1183 C.Spaces = EndSpaces; in getCells()
1197 auto LineLimit = Changes[j].Spaces + Changes[j].TokenLength; in getCells()
1200 Changes[i].Spaces = 1; in getCells()
1205 Changes[i].Spaces = InitialSpaces; in getCells()
1225 CellWidth += (WithSpaces ? Changes[i].Spaces : 0); in calculateCellWidth()
1237 Changes[i].Spaces = Changes[Start].Spaces; in alignToStartOfCell()
1275 ReplacementText, C.Tok->IndentLevel, std::max(0, C.Spaces), in generateChanges()
1276 C.StartOfTokenColumn - std::max(0, C.Spaces), C.IsAligned); in generateChanges()
1310 unsigned Spaces = in appendEscapedNewlineText() local
1313 Text.append(Spaces, ' '); in appendEscapedNewlineText()
1315 Spaces = std::max<int>(0, EscapedNewlineColumn - 1); in appendEscapedNewlineText()
1321 unsigned IndentLevel, unsigned Spaces, in appendIndentText() argument
1326 Text.append(Spaces, ' '); in appendIndentText()
1334 if (Spaces < FirstTabWidth || Spaces == 1) { in appendIndentText()
1335 Text.append(Spaces, ' '); in appendIndentText()
1339 Spaces -= FirstTabWidth; in appendIndentText()
1342 Text.append(Spaces / Style.TabWidth, '\t'); in appendIndentText()
1343 Text.append(Spaces % Style.TabWidth, ' '); in appendIndentText()
1344 } else if (Spaces == 1) { in appendIndentText()
1345 Text.append(Spaces, ' '); in appendIndentText()
1352 Spaces = appendTabIndent(Text, Spaces, Indentation); in appendIndentText()
1354 Text.append(Spaces, ' '); in appendIndentText()
1358 Spaces = appendTabIndent(Text, Spaces, Spaces); in appendIndentText()
1359 Text.append(Spaces, ' '); in appendIndentText()
1364 IsAligned ? IndentLevel * Style.IndentWidth : Spaces; in appendIndentText()
1365 Spaces = appendTabIndent(Text, Spaces, Indentation); in appendIndentText()
1367 Text.append(Spaces, ' '); in appendIndentText()
1372 unsigned WhitespaceManager::appendTabIndent(std::string &Text, unsigned Spaces, in appendTabIndent() argument
1376 if (Indentation > Spaces) in appendTabIndent()
1377 Indentation = Spaces; in appendTabIndent()
1381 Spaces -= Tabs * Style.TabWidth; in appendTabIndent()
1383 return Spaces; in appendTabIndent()