Searched refs:Spaces (Results 1 - 8 of 8) sorted by relevance

/external/clang/lib/Format/
H A DWhitespaceManager.h50 unsigned IndentLevel, unsigned Spaces,
62 /// Inserts \p PreviousPostfix, \p Newlines, \p Spaces and \p CurrentPrefix
66 /// Note: \p Spaces can be negative to retain information about initial
69 /// alignment here. In all other cases negative \p Spaces will be truncated to
72 /// When \p InPPDirective is true, escaped newlines are inserted. \p Spaces is
79 int Spaces);
103 /// \p PreviousLinePostfix, \p NewlinesBefore line breaks, \p Spaces spaces
109 unsigned IndentLevel, int Spaces, unsigned StartOfTokenColumn,
141 int Spaces; member in struct:clang::format::WhitespaceManager::Change
203 unsigned Spaces, unsigne
[all...]
H A DWhitespaceManager.cpp30 unsigned IndentLevel, int Spaces, unsigned StartOfTokenColumn,
41 Spaces(Spaces), IsInsideToken(IsInsideToken), IsTrailingComment(false),
51 unsigned IndentLevel, unsigned Spaces,
59 Spaces, StartOfTokenColumn, Newlines, "", "", Tok.Tok.getKind(),
71 /*Spaces=*/0, Tok.OriginalColumn, Tok.NewlinesBefore, "", "",
80 unsigned Newlines, unsigned IndentLevel, int Spaces) {
86 IndentLevel, Spaces, std::max(0, Spaces), Newlines, PreviousPostfix,
125 Changes[i - 1].TokenLength + Changes[i - 1].Spaces;
28 Change( bool CreateReplacement, SourceRange OriginalWhitespaceRange, unsigned IndentLevel, int Spaces, unsigned StartOfTokenColumn, unsigned NewlinesBefore, StringRef PreviousLinePostfix, StringRef CurrentLinePrefix, tok::TokenKind Kind, bool ContinuesPPDirective, bool IsStartOfDeclName, bool IsInsideToken) argument
50 replaceWhitespace(FormatToken &Tok, unsigned Newlines, unsigned IndentLevel, unsigned Spaces, unsigned StartOfTokenColumn, bool InPPDirective) argument
77 replaceWhitespaceInToken( const FormatToken &Tok, unsigned Offset, unsigned ReplaceChars, StringRef PreviousPostfix, StringRef CurrentPrefix, bool InPPDirective, unsigned Newlines, unsigned IndentLevel, int Spaces) argument
529 appendIndentText(std::string &Text, unsigned IndentLevel, unsigned Spaces, unsigned WhitespaceStartColumn) argument
[all...]
H A DContinuationIndenter.cpp332 unsigned Spaces = Current.SpacesRequiredBefore + ExtraSpaces; local
336 Spaces, State.Column + Spaces);
343 unsigned FirstColonPos = State.Column + Spaces + Current.ColumnWidth;
375 State.Stack.back().Indent = State.Column + Spaces;
396 State.Column += Spaces;
/external/clang/unittests/Format/
H A DFormatTest.cpp5646 FormatStyle Spaces = getLLVMStyle(); local
5647 Spaces.SpacesInCStyleCastParentheses = true;
5648 verifyFormat("Deleted &operator=(const Deleted &) & = default;", Spaces);
5649 verifyFormat("SomeType MemberFunction(const Deleted &) & = delete;", Spaces);
5650 verifyFormat("Deleted &operator=(const Deleted &) &;", Spaces);
5651 verifyFormat("SomeType MemberFunction(const Deleted &) &;", Spaces);
5653 Spaces.SpacesInCStyleCastParentheses = false;
5654 Spaces.SpacesInParentheses = true;
5655 verifyFormat("Deleted &operator=( const Deleted & ) & = default;", Spaces);
5656 verifyFormat("SomeType MemberFunction( const Deleted & ) & = delete;", Spaces);
8953 FormatStyle Spaces = getLLVMStyle(); local
9062 FormatStyle Spaces = getLLVMStyle(); local
9085 FormatStyle Spaces = getLLVMStyle(); local
11298 FormatStyle Spaces = getLLVMStyle(); local
[all...]
/external/swiftshader/third_party/LLVM/lib/Support/
H A Draw_ostream.cpp385 static const char Spaces[] = " " local
390 if (NumSpaces < array_lengthof(Spaces))
391 return write(Spaces, NumSpaces);
395 (unsigned)array_lengthof(Spaces)-1);
396 write(Spaces, NumToWrite);
/external/compiler-rt/lib/ubsan/
H A Dubsan_diag.cc301 unsigned Spaces = 0; local
308 Spaces += (P % 8) == 0 ? 2 : 1;
311 while (Spaces--)
319 Spaces += 2;
/external/llvm/lib/Support/
H A Draw_ostream.cpp461 static const char Spaces[] = " " local
466 if (NumSpaces < array_lengthof(Spaces))
467 return write(Spaces, NumSpaces);
471 (unsigned)array_lengthof(Spaces)-1);
472 write(Spaces, NumToWrite);
/external/swiftshader/third_party/llvm-subzero/lib/Support/
H A Draw_ostream.cpp436 static const char Spaces[] = " " local
441 if (NumSpaces < array_lengthof(Spaces))
442 return write(Spaces, NumSpaces);
446 (unsigned)array_lengthof(Spaces)-1);
447 write(Spaces, NumToWrite);

Completed in 1915 milliseconds