/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/tensorflow/tensorflow/core/framework/ |
op_gen_lib.h | 32 inline string Spaces(int n) { return string(n, ' '); } 35 // after the first by prefix.size() spaces. Intended use case is something 41 // (and any following spaces) from *description and return true. Otherwise
|
op_gen_lib.cc | 31 const string indent_next_line = "\n" + Spaces(prefix.size()); 54 // Remove spaces at break. 72 " ")) { // Also remove spaces after "=". 98 // Does this line start with "<spaces><field>:" where "<field>" is 105 ; // Remove leading spaces. 126 ; // Remove leading spaces.
|
/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);
|
/external/tensorflow/tensorflow/python/framework/ |
python_op_gen_internal.cc | 114 // Indent the first line by "initial" spaces and all following lines 115 // by "rest" spaces. 126 result = strings::StrCat(Spaces(initial), line, "\n"); 132 strings::StrAppend(&result, Spaces(rest), line, "\n"); 430 // NOTE: The return value may contain spaces (for example, it could be
|
/build/soong/cmd/dep_fixer/ |
deps_test.go | 92 name: "Spaces", 356 name: "Spaces",
|