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()
1169 Changes[j].Spaces = InitialSpaces - InitialTokenLength; in getCells()
1173 C.Spaces = Changes[i - 1].Tok->is(tok::comma) ? 1 : 2; in getCells()
1180 EndSpaces = Changes[j].Spaces; in getCells()
1184 C.Spaces = EndSpaces; in getCells()
1209 auto LineLimit = Changes[j].Spaces + Changes[j].TokenLength; in getCells()
1212 Changes[i].Spaces = 1; in getCells()
1217 Changes[i].Spaces = InitialSpaces; in getCells()
1237 CellWidth += (WithSpaces ? Changes[i].Spaces : 0); in calculateCellWidth()
1249 Changes[i].Spaces = Changes[Start].Spaces; in alignToStartOfCell()
1287 ReplacementText, C.Tok->IndentLevel, std::max(0, C.Spaces), in generateChanges()
1288 C.StartOfTokenColumn - std::max(0, C.Spaces), C.IsAligned); in generateChanges()
1322 unsigned Spaces = in appendEscapedNewlineText() local
1325 Text.append(Spaces, ' '); in appendEscapedNewlineText()
1327 Spaces = std::max<int>(0, EscapedNewlineColumn - 1); in appendEscapedNewlineText()
1333 unsigned IndentLevel, unsigned Spaces, in appendIndentText() argument
1338 Text.append(Spaces, ' '); in appendIndentText()
1346 if (Spaces < FirstTabWidth || Spaces == 1) { in appendIndentText()
1347 Text.append(Spaces, ' '); in appendIndentText()
1351 Spaces -= FirstTabWidth; in appendIndentText()
1354 Text.append(Spaces / Style.TabWidth, '\t'); in appendIndentText()
1355 Text.append(Spaces % Style.TabWidth, ' '); in appendIndentText()
1356 } else if (Spaces == 1) { in appendIndentText()
1357 Text.append(Spaces, ' '); in appendIndentText()
1364 Spaces = appendTabIndent(Text, Spaces, Indentation); in appendIndentText()
1366 Text.append(Spaces, ' '); in appendIndentText()
1370 Spaces = appendTabIndent(Text, Spaces, Spaces); in appendIndentText()
1371 Text.append(Spaces, ' '); in appendIndentText()
1376 IsAligned ? IndentLevel * Style.IndentWidth : Spaces; in appendIndentText()
1377 Spaces = appendTabIndent(Text, Spaces, Indentation); in appendIndentText()
1379 Text.append(Spaces, ' '); in appendIndentText()
1384 unsigned WhitespaceManager::appendTabIndent(std::string &Text, unsigned Spaces, in appendTabIndent() argument
1388 if (Indentation > Spaces) in appendTabIndent()
1389 Indentation = Spaces; in appendTabIndent()
1393 Spaces -= Tabs * Style.TabWidth; in appendTabIndent()
1395 return Spaces; in appendTabIndent()