/external/clang/lib/Format/ |
WhitespaceManager.h | 50 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, 136 // The number of spaces in front of the token or broken part of the token [all...] |
WhitespaceManager.cpp | 30 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; [all...] |
ContinuationIndenter.cpp | 332 unsigned Spaces = Current.SpacesRequiredBefore + ExtraSpaces; 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; [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/InteractiveIO/ |
IIOwrite.c | 29 static wchar_t Spaces[] = L" "; // Spaces for expanding TABs
31 #define MAX_TAB_WIDTH ((int)(sizeof(Spaces) / sizeof(wchar_t)) - 1)
59 wchar_t *wcb; // Pointer to either wc or spaces
61 INT32 TabWidth; // Each TAB expands into this number of spaces
90 SpaceIndex = CurColumn % TabWidth; // Number of spaces after a Tab Stop
91 numW = TabWidth - SpaceIndex; // Number of spaces to the next Tab Stop
92 SpaceIndex = MAX_TAB_WIDTH - numW; // Index into the Spaces array
93 wcb = &Spaces[SpaceIndex]; // Point to the appropriate number of spaces
[all...] |
/external/clang/unittests/Format/ |
FormatTest.cpp | [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
Command.c | 614 UINTN Spaces = 0;
661 // Pad spaces
665 Spaces = 9 * ((0x10 - Line)/4);
668 Spaces = 5 * ((0x10 - Line)/2);
671 Spaces = 3 * (0x10 - Line);
675 Blanks[Spaces] = '\0';
679 Blanks[Spaces] = ' ';
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
raw_ostream.cpp | 383 /// indent - Insert 'NumSpaces' spaces. 385 static const char Spaces[] = " " 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/ |
ubsan_diag.cc | 301 unsigned Spaces = 0; 308 Spaces += (P % 8) == 0 ? 2 : 1; 311 while (Spaces--) 319 Spaces += 2;
|
/external/llvm/lib/Support/ |
raw_ostream.cpp | 459 /// indent - Insert 'NumSpaces' spaces. 461 static const char Spaces[] = " " 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/ |
raw_ostream.cpp | 383 // The width of a block of data including all spaces for group separators. 410 // Print any spaces needed for any bytes that we didn't print on this 434 /// indent - Insert 'NumSpaces' spaces. 436 static const char Spaces[] = " " 441 if (NumSpaces < array_lengthof(Spaces)) 442 return write(Spaces, NumSpaces); 446 (unsigned)array_lengthof(Spaces)-1); 447 write(Spaces, NumToWrite);
|
/prebuilts/go/darwin-x86/src/time/ |
example_test.go | 117 do("Spaces", "<_2>", "< 7>") 166 // Spaces "<_2>" gives "< 7>"
|
/prebuilts/go/linux-x86/src/time/ |
example_test.go | 117 do("Spaces", "<_2>", "< 7>") 166 // Spaces "<_2>" gives "< 7>"
|
/prebuilts/go/darwin-x86/src/fmt/ |
print.go | 211 // Spaces are added between operands when neither is a string. 222 // Spaces are added between operands when neither is a string. 229 // Spaces are added between operands when neither is a string. 239 // always add spaces between operands, and add a newline 243 // Spaces are always added between operands and a newline is appended. 254 // Spaces are always added between operands and a newline is appended. 261 // Spaces are always added between operands and a newline is appended.
|
/prebuilts/go/linux-x86/src/fmt/ |
print.go | 211 // Spaces are added between operands when neither is a string. 222 // Spaces are added between operands when neither is a string. 229 // Spaces are added between operands when neither is a string. 239 // always add spaces between operands, and add a newline 243 // Spaces are always added between operands and a newline is appended. 254 // Spaces are always added between operands and a newline is appended. 261 // Spaces are always added between operands and a newline is appended.
|
/prebuilts/go/darwin-x86/src/cmd/go/ |
vcs_test.go | 64 // Spaces are not valid in user names or package names 123 // Spaces are not valid in package name
|
/prebuilts/go/darwin-x86/src/cmd/vendor/golang.org/x/arch/arm/armasm/ |
ext_test.go | 349 // Spaces and tabs between bytes are okay but any other non-hex is not. 416 // fixSpace rewrites runs of spaces, tabs, and newline characters into single spaces in s. 553 // Spaces in 'encoded' separate entire test cases, not individual bytes.
|
/prebuilts/go/darwin-x86/src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/ |
ext_test.go | 325 // Spaces and tabs between bytes are okay but any other non-hex is not. 392 // fixSpace rewrites runs of spaces, tabs, and newline characters into single spaces in s. 474 // Spaces in 'encoded' separate entire test cases, not individual bytes.
|
/prebuilts/go/linux-x86/src/cmd/go/ |
vcs_test.go | 64 // Spaces are not valid in user names or package names 123 // Spaces are not valid in package name
|
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/arch/arm/armasm/ |
ext_test.go | 349 // Spaces and tabs between bytes are okay but any other non-hex is not. 416 // fixSpace rewrites runs of spaces, tabs, and newline characters into single spaces in s. 553 // Spaces in 'encoded' separate entire test cases, not individual bytes.
|
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/ |
ext_test.go | 325 // Spaces and tabs between bytes are okay but any other non-hex is not. 392 // fixSpace rewrites runs of spaces, tabs, and newline characters into single spaces in s. 474 // Spaces in 'encoded' separate entire test cases, not individual bytes.
|
/prebuilts/go/darwin-x86/src/cmd/gofmt/ |
internal.go | 125 // Spaces are ignored unless there are no tabs, 126 // in which case spaces count as one tab.
|
/prebuilts/go/darwin-x86/src/go/format/ |
internal.go | 125 // Spaces are ignored unless there are no tabs, 126 // in which case spaces count as one tab.
|
/prebuilts/go/linux-x86/src/cmd/gofmt/ |
internal.go | 125 // Spaces are ignored unless there are no tabs, 126 // in which case spaces count as one tab.
|
/prebuilts/go/linux-x86/src/go/format/ |
internal.go | 125 // Spaces are ignored unless there are no tabs, 126 // in which case spaces count as one tab.
|
/prebuilts/go/darwin-x86/src/cmd/vendor/golang.org/x/arch/x86/x86asm/ |
ext_test.go | 380 // Spaces and tabs between bytes are okay but any other non-hex is not. 447 // fixSpace rewrites runs of spaces, tabs, and newline characters into single spaces in s. 504 // Spaces in 'encoded' separate entire test cases, not individual bytes.
|