Lines Matching refs:Spaces
31 int Spaces, unsigned StartOfTokenColumn, in Change() argument
41 ContinuesPPDirective(ContinuesPPDirective), Spaces(Spaces), in Change()
47 unsigned Spaces, in replaceWhitespace() argument
54 Spaces, StartOfTokenColumn, Newlines, "", "", in replaceWhitespace()
78 unsigned Newlines, int Spaces) { in replaceWhitespaceInToken() argument
84 SourceRange(Start, Start.getLocWithOffset(ReplaceChars)), Spaces, in replaceWhitespaceInToken()
85 std::max(0, Spaces), Newlines, PreviousPostfix, CurrentPrefix, in replaceWhitespaceInToken()
159 Changes[i - 1].TokenLength + Changes[i - 1].Spaces; in calculateLineBreakInformation()
281 Changes[i].Spaces += Shift; in AlignTokenSequence()
291 Changes[i].Spaces += Shift; in AlignTokenSequence()
411 int LineLengthAfter = -Changes[i].Spaces; in AlignTokens()
413 LineLengthAfter += Changes[j].Spaces + Changes[j].TokenLength; in AlignTokens()
568 Changes[i].Spaces += Shift; in alignTrailingComments()
628 std::max(0, C.Spaces), in generateChanges()
629 C.StartOfTokenColumn - std::max(0, C.Spaces)); in generateChanges()
663 unsigned Spaces = in appendEscapedNewlineText() local
666 Text.append(Spaces, ' '); in appendEscapedNewlineText()
668 Spaces = std::max<int>(0, EscapedNewlineColumn - 1); in appendEscapedNewlineText()
674 unsigned IndentLevel, unsigned Spaces, in appendIndentText() argument
678 Text.append(Spaces, ' '); in appendIndentText()
684 if (FirstTabWidth + Style.TabWidth <= Spaces) { in appendIndentText()
685 Spaces -= FirstTabWidth; in appendIndentText()
688 Text.append(Spaces / Style.TabWidth, '\t'); in appendIndentText()
689 Text.append(Spaces % Style.TabWidth, ' '); in appendIndentText()
697 if (Indentation > Spaces) in appendIndentText()
698 Indentation = Spaces; in appendIndentText()
701 Spaces -= Tabs * Style.TabWidth; in appendIndentText()
703 Text.append(Spaces, ' '); in appendIndentText()
707 unsigned Tabs = Spaces / Style.TabWidth; in appendIndentText()
709 Spaces -= Tabs * Style.TabWidth; in appendIndentText()
711 Text.append(Spaces, ' '); in appendIndentText()