Lines Matching defs:Spaces

37                                   int Spaces, unsigned StartOfTokenColumn,
47 ContinuesPPDirective(ContinuesPPDirective), Spaces(Spaces),
54 unsigned Spaces,
61 Spaces, StartOfTokenColumn, Newlines, "", "",
71 Tok.WhitespaceRange, /*Spaces=*/0,
91 unsigned Newlines, int Spaces) {
97 SourceRange(Start, Start.getLocWithOffset(ReplaceChars)), Spaces,
98 std::max(0, Spaces), Newlines, PreviousPostfix, CurrentPrefix,
186 LastOutsideTokenChange->TokenLength += PrevTokLength + P.Spaces;
353 CurrentChange.Spaces += Shift;
357 CurrentChange.Spaces =
358 std::max(CurrentChange.Spaces,
452 CurrentChange.Spaces += Shift;
456 CurrentChange.Spaces += Shift;
460 CurrentChange.Spaces >=
472 CurrentChange.Spaces != 0 &&
488 Changes[Previous + 1].Spaces -= Shift;
489 Changes[Previous].Spaces += Shift;
660 ChangeWidthRight += Changes[j].Spaces;
721 Changes[I].Spaces += Shift;
1121 C.Spaces = C.NewlinesBefore > 0 ? C.Tok->OriginalColumn : OriginalSpaces;
1242 Changes[i].Spaces += Shift;
1347 Changes[Next->Index].Spaces = BracePadding;
1361 Changes[CellIter->Index].Spaces = (MaxNetWidth - ThisNetWidth);
1372 Changes[Next->Index].Spaces = (MaxNetWidth - ThisNetWidth);
1381 Changes[CellIter->Index].Spaces = (CellWidth - (ThisWidth + NetWidth));
1382 Changes[CellIter->Index].Spaces += (i > 0) ? 1 : BracePadding;
1390 Changes[Next->Index].Spaces = (CellWidth - ThisWidth);
1391 Changes[Next->Index].Spaces += (i > 0) ? 1 : BracePadding;
1412 Change.Spaces =
1423 Changes[CellIter->Index].Spaces =
1438 Changes[Next->Index].Spaces =
1480 InitialSpaces = C.Spaces + C.TokenLength;
1484 InitialSpaces += Changes[j].Spaces + Changes[j].TokenLength;
1488 InitialSpaces += Changes[j].Spaces + Changes[j].TokenLength;
1518 Changes[j].Spaces = InitialSpaces - InitialTokenLength;
1522 C.Spaces = Changes[i - 1].Tok->is(tok::comma) ? 1 : 2;
1529 EndSpaces = Changes[j].Spaces;
1533 C.Spaces = EndSpaces;
1558 auto LineLimit = Changes[j].Spaces + Changes[j].TokenLength;
1561 Changes[i].Spaces = 1;
1566 Changes[i].Spaces = InitialSpaces;
1586 CellWidth += (WithSpaces ? Changes[i].Spaces : 0);
1598 Changes[i].Spaces = Changes[Start].Spaces;
1680 // assert((int)C.StartOfTokenColumn >= C.Spaces);
1682 ReplacementText, C.Tok->IndentLevel, std::max(0, C.Spaces),
1683 std::max((int)C.StartOfTokenColumn, C.Spaces) - std::max(0, C.Spaces),
1727 unsigned Spaces =
1730 Text.append(Spaces, ' ');
1732 Spaces = std::max<int>(0, EscapedNewlineColumn - 1);
1738 unsigned IndentLevel, unsigned Spaces,
1743 Text.append(Spaces, ' ');
1751 if (Spaces < FirstTabWidth || Spaces == 1) {
1752 Text.append(Spaces, ' ');
1756 Spaces -= FirstTabWidth;
1759 Text.append(Spaces / Style.TabWidth, '\t');
1760 Text.append(Spaces % Style.TabWidth, ' ');
1761 } else if (Spaces == 1) {
1762 Text.append(Spaces, ' ');
1769 Spaces = appendTabIndent(Text, Spaces, Indentation);
1771 Text.append(Spaces, ' ');
1775 Spaces = appendTabIndent(Text, Spaces, Spaces);
1776 Text.append(Spaces, ' ');
1781 IsAligned ? IndentLevel * Style.IndentWidth : Spaces;
1782 Spaces = appendTabIndent(Text, Spaces, Indentation);
1784 Text.append(Spaces, ' ');
1789 unsigned WhitespaceManager::appendTabIndent(std::string &Text, unsigned Spaces,
1793 if (Indentation > Spaces)
1794 Indentation = Spaces;
1798 Spaces -= Tabs * Style.TabWidth;
1800 return Spaces;