Home
last modified time | relevance | path

Searched refs:Spaces (Results 1 – 25 of 58) sorted by relevance

123

/external/llvm-project/clang/lib/Format/
DWhitespaceManager.cpp30 int Spaces, unsigned StartOfTokenColumn, in Change() argument
40 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()
163 Changes[i - 1].TokenLength + Changes[i - 1].Spaces; in calculateLineBreakInformation()
313 Changes[i].Spaces += Shift; in AlignTokenSequence()
326 Changes[i].Spaces += Shift; in AlignTokenSequence()
[all …]
DWhitespaceManager.h52 void replaceWhitespace(FormatToken &Tok, unsigned Newlines, unsigned Spaces,
82 unsigned Newlines, int Spaces);
110 SourceRange OriginalWhitespaceRange, int Spaces,
137 int Spaces; member
220 unsigned Spaces, unsigned WhitespaceStartColumn,
222 unsigned appendTabIndent(std::string &Text, unsigned Spaces,
DContinuationIndenter.cpp582 unsigned Spaces = Current.SpacesRequiredBefore + ExtraSpaces; in addTokenOnCurrentLine() local
590 Spaces += State.FirstIndent; in addTokenOnCurrentLine()
601 Whitespaces.replaceWhitespace(Current, /*Newlines=*/0, Spaces, in addTokenOnCurrentLine()
602 State.Column + Spaces + PPColumnCorrection); in addTokenOnCurrentLine()
618 unsigned FirstColonPos = State.Column + Spaces + Current.ColumnWidth; in addTokenOnCurrentLine()
654 State.Stack.back().Indent = State.Column + Spaces; in addTokenOnCurrentLine()
705 State.Column += Spaces; in addTokenOnCurrentLine()
/external/clang/lib/Format/
DWhitespaceManager.cpp30 unsigned IndentLevel, int Spaces, unsigned StartOfTokenColumn, in Change() argument
41 Spaces(Spaces), IsInsideToken(IsInsideToken), IsTrailingComment(false), in Change()
51 unsigned IndentLevel, unsigned Spaces, in replaceWhitespace() argument
59 Spaces, StartOfTokenColumn, Newlines, "", "", Tok.Tok.getKind(), in replaceWhitespace()
80 unsigned Newlines, unsigned IndentLevel, int Spaces) { in replaceWhitespaceInToken() argument
86 IndentLevel, Spaces, std::max(0, Spaces), Newlines, PreviousPostfix, in replaceWhitespaceInToken()
125 Changes[i - 1].TokenLength + Changes[i - 1].Spaces; in calculateLineBreakInformation()
182 Changes[i].Spaces += Shift; in AlignTokenSequence()
288 int LineLengthAfter = -Changes[i].Spaces; in AlignTokens()
290 LineLengthAfter += Changes[j].Spaces + Changes[j].TokenLength; in AlignTokens()
[all …]
DWhitespaceManager.h50 unsigned IndentLevel, unsigned Spaces,
79 int Spaces);
109 unsigned IndentLevel, int Spaces, unsigned StartOfTokenColumn,
141 int Spaces; member
203 unsigned Spaces, unsigned WhitespaceStartColumn);
DContinuationIndenter.cpp332 unsigned Spaces = Current.SpacesRequiredBefore + ExtraSpaces; in addTokenOnCurrentLine() local
336 Spaces, State.Column + Spaces); in addTokenOnCurrentLine()
343 unsigned FirstColonPos = State.Column + Spaces + Current.ColumnWidth; in addTokenOnCurrentLine()
375 State.Stack.back().Indent = State.Column + Spaces; in addTokenOnCurrentLine()
396 State.Column += Spaces; in addTokenOnCurrentLine()
/external/llvm-project/clang/unittests/Format/
DFormatTest.cpp7850 FormatStyle Spaces = getLLVMStyle(); in TEST_F() local
7851 Spaces.SpacesInCStyleCastParentheses = true; in TEST_F()
7852 verifyFormat("Deleted &operator=(const Deleted &) & = default;", Spaces); in TEST_F()
7853 verifyFormat("SomeType MemberFunction(const Deleted &) & = delete;", Spaces); in TEST_F()
7854 verifyFormat("Deleted &operator=(const Deleted &) &;", Spaces); in TEST_F()
7855 verifyFormat("SomeType MemberFunction(const Deleted &) &;", Spaces); in TEST_F()
7857 Spaces.SpacesInCStyleCastParentheses = false; in TEST_F()
7858 Spaces.SpacesInParentheses = true; in TEST_F()
7859 verifyFormat("Deleted &operator=( const Deleted & ) & = default;", Spaces); in TEST_F()
7861 Spaces); in TEST_F()
[all …]
/external/clang/unittests/Format/
DFormatTest.cpp5646 FormatStyle Spaces = getLLVMStyle(); in TEST_F() local
5647 Spaces.SpacesInCStyleCastParentheses = true; in TEST_F()
5648 verifyFormat("Deleted &operator=(const Deleted &) & = default;", Spaces); in TEST_F()
5649 verifyFormat("SomeType MemberFunction(const Deleted &) & = delete;", Spaces); in TEST_F()
5650 verifyFormat("Deleted &operator=(const Deleted &) &;", Spaces); in TEST_F()
5651 verifyFormat("SomeType MemberFunction(const Deleted &) &;", Spaces); in TEST_F()
5653 Spaces.SpacesInCStyleCastParentheses = false; in TEST_F()
5654 Spaces.SpacesInParentheses = true; in TEST_F()
5655 verifyFormat("Deleted &operator=( const Deleted & ) & = default;", Spaces); in TEST_F()
5656 verifyFormat("SomeType MemberFunction( const Deleted & ) & = delete;", Spaces); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
Draw_ostream.cpp436 static const char Spaces[] = " " in indent() local
441 if (NumSpaces < array_lengthof(Spaces)) in indent()
442 return write(Spaces, NumSpaces); in indent()
446 (unsigned)array_lengthof(Spaces)-1); in indent()
447 write(Spaces, NumToWrite); in indent()
/external/llvm/lib/Support/
Draw_ostream.cpp461 static const char Spaces[] = " " in indent() local
466 if (NumSpaces < array_lengthof(Spaces)) in indent()
467 return write(Spaces, NumSpaces); in indent()
471 (unsigned)array_lengthof(Spaces)-1); in indent()
472 write(Spaces, NumToWrite); in indent()
/external/compiler-rt/lib/ubsan/
Dubsan_diag.cc301 unsigned Spaces = 0; in PrintMemorySnippet() local
308 Spaces += (P % 8) == 0 ? 2 : 1; in PrintMemorySnippet()
311 while (Spaces--) in PrintMemorySnippet()
319 Spaces += 2; in PrintMemorySnippet()
/external/llvm-project/compiler-rt/lib/ubsan/
Dubsan_diag.cpp311 unsigned Spaces = 0; in PrintMemorySnippet() local
318 Spaces += (P % 8) == 0 ? 2 : 1; in PrintMemorySnippet()
321 while (Spaces--) in PrintMemorySnippet()
329 Spaces += 2; in PrintMemorySnippet()
/external/tensorflow/tensorflow/core/framework/
Dop_gen_lib.h32 inline string Spaces(int n) { return string(n, ' '); } in Spaces() function
/external/arm-trusted-firmware/
D.editorconfig52 # [LCS] Chapter 3.1: Spaces
/external/llvm-project/llvm/docs/AMDGPU/
Dgfx9_waitcnt.rst41 These values may be specified in any order. Spaces, ampersands and commas may be used as optional s…
Dgfx7_waitcnt.rst41 These values may be specified in any order. Spaces, ampersands and commas may be used as optional s…
Dgfx8_waitcnt.rst41 These values may be specified in any order. Spaces, ampersands and commas may be used as optional s…
Dgfx10_waitcnt.rst41 These values may be specified in any order. Spaces, ampersands and commas may be used as optional s…
/external/llvm-project/llvm/test/tools/llvm-ar/
Dresponse.test8 ## Quotes and Spaces.
/external/icu/android_icu4j/resources/android/icu/
DICUConfig.properties40 # Spaces (U+0020) around each path are trimmed away. Empty paths are ignored.
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/
DICUConfig.properties40 # Spaces (U+0020) around each path are trimmed away. Empty paths are ignored.
/external/angle/third_party/abseil-cpp/absl/hash/internal/
Dwyhash_test.cc38 TEST(WyhashTest, Spaces) { in TEST() argument
/external/google-breakpad/src/processor/
Dproc_maps_linux_unittest.cc31 TEST(ProcMapsTest, Spaces) { in TEST() argument
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dmodernize-make-shared.cpp303 auto Spaces = std :: shared_ptr <int>(new int()); in whitespaces() local
/external/skia/site/docs/user/
Dcoordinates.md2 title: 'Skia Coordinate Spaces'

123