/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/ |
D | SourcePrinter.java | 42 private final Deque<String> indents = new LinkedList<>(); field in SourcePrinter 58 indents.push(""); in SourcePrinter() 66 String currentIndent = indents.peek(); in indent() 70 indents.push(currentIndent + indentation); in indent() 74 indents.push(indentation + currentIndent); in indent() 88 indents.push(calculateIndentWithAlignTo(column)); in indentWithAlignTo() 140 if (indents.isEmpty()) { in unindent() 145 indents.pop(); in unindent() 169 lastPrintedIndent = indents.peek(); in print() 250 reindentedIndents.push(indents.pop()); in reindentWithAlignToCursor() [all …]
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/util/ |
D | DefaultIndenter.java | 36 private final char[] indents; field in DefaultIndenter 55 indents = new char[indent.length() * INDENT_LEVELS]; in DefaultIndenter() 58 indent.getChars(0, indent.length(), indents, offset); in DefaultIndenter() 90 while (level > indents.length) { // unlike to happen but just in case in writeIndentation() 91 jg.writeRaw(indents, 0, indents.length); in writeIndentation() 92 level -= indents.length; in writeIndentation() 94 jg.writeRaw(indents, 0, level); in writeIndentation() 103 return new String(indents, 0, charsPerLevel); in getIndent()
|
/external/python/cpython2/Lib/ |
D | tokenize.py | 201 indents = [] 211 indents.append(token) 214 indents.pop() 219 elif startline and indents: 220 indent = indents[-1] 234 indents = [] 254 indents.append(tokval) 257 indents.pop() 261 elif startline and indents: 262 toks_append(indents[-1]) [all …]
|
D | tabnanny.py | 278 indents = [Whitespace("")] 293 if not indents[-1].less(thisguy): 294 witness = indents[-1].not_less_witness(thisguy) 297 indents.append(thisguy) 311 del indents[-1] 322 if not indents[-1].equal(thisguy): 323 witness = indents[-1].not_equal_witness(thisguy)
|
D | textwrap.py | 391 indents = _leading_whitespace_re.findall(text) 392 for indent in indents:
|
/external/python/cpython3/Lib/lib2to3/pgen2/ |
D | tokenize.py | 201 indents = [] 215 indents.append(tokval) 218 indents.pop() 222 elif startline and indents: 223 toks_append(indents[-1]) 354 indents = [0] 419 if column > indents[-1]: # count indents or dedents 420 indents.append(column) 422 while column < indents[-1]: 423 if column not in indents: [all …]
|
/external/python/cpython3/Lib/ |
D | tokenize.py | 185 indents = [] 198 indents.append(token) 201 indents.pop() 206 elif startline and indents: 207 indent = indents[-1] 221 indents = [] 244 indents.append(tokval) 247 indents.pop() 251 elif startline and indents: 252 toks_append(indents[-1]) [all …]
|
D | tabnanny.py | 282 indents = [Whitespace("")] 297 if not indents[-1].less(thisguy): 298 witness = indents[-1].not_less_witness(thisguy) 301 indents.append(thisguy) 315 del indents[-1] 326 if not indents[-1].equal(thisguy): 327 witness = indents[-1].not_equal_witness(thisguy)
|
D | textwrap.py | 431 indents = _leading_whitespace_re.findall(text) 432 for indent in indents:
|
/external/python/cpython2/Lib/lib2to3/pgen2/ |
D | tokenize.py | 213 indents = [] 227 indents.append(tokval) 230 indents.pop() 234 elif startline and indents: 235 toks_append(indents[-1]) 367 indents = [0] 422 if column > indents[-1]: # count indents or dedents 423 indents.append(column) 425 while column < indents[-1]: 426 if column not in indents: [all …]
|
/external/perfetto/src/trace_processor/util/ |
D | protozero_to_text.cc | 164 std::string* indents, in ProtozeroToTextInternal() argument 177 output, output->empty() ? "" : "\n", *indents, in ProtozeroToTextInternal() 186 StrAppend(output, output->empty() ? "" : "\n", *indents, in ProtozeroToTextInternal() 188 IncreaseIndents(indents); in ProtozeroToTextInternal() 194 field.as_bytes(), new_lines_mode, pool, indents, in ProtozeroToTextInternal() 197 DecreaseIndents(indents); in ProtozeroToTextInternal() 198 StrAppend(output, "\n", *indents, "}"); in ProtozeroToTextInternal() 205 output->empty() ? "" : include_new_lines ? "\n" : " ", *indents, pool, in ProtozeroToTextInternal()
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_format.py | 582 indents = ft.Indents(editor) 585 indents.toggle_tabs_event(None) 589 indents.toggle_tabs_event(None) 596 indents = ft.Indents(editor) 599 indents.change_indentwidth_event(None) 603 indents.change_indentwidth_event(None) 608 indents.change_indentwidth_event(None)
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/emitter/ |
D | Emitter.java | 108 private final ArrayStack<Integer> indents; field in Emitter 165 this.indents = new ArrayStack<Integer>(10); in Emitter() 262 indents.push(indent); in increaseIndent() 425 indent = indents.pop(); in expectScalar() 444 indent = indents.pop(); in expect() 461 indent = indents.pop(); in expect() 498 indent = indents.pop(); in expect() 521 indent = indents.pop(); in expect() 591 indent = indents.pop(); in expect() 624 indent = indents.pop(); in expect()
|
/external/libyuv/files/ |
D | pylintrc | 16 # We use two spaces for indents, instead of the usual four spaces or tab.
|
/external/parameter-framework/upstream/parameter/ |
D | Element.cpp | 90 size_t indents = depth; in dumpContent() local 92 while (indents--) { in dumpContent()
|
/external/flatbuffers/src/ |
D | idl_gen_python.cpp | 1023 std::string *code_ptr, int indents) { in GenUnpackforScalarVectorHelper() argument 1029 code += GenIndents(indents) + "self." + field_instance_name + " = []"; in GenUnpackforScalarVectorHelper() 1030 code += GenIndents(indents) + "for i in range(" + struct_instance_name + in GenUnpackforScalarVectorHelper() 1032 code += GenIndents(indents + 1) + "self." + field_instance_name + in GenUnpackforScalarVectorHelper() 1201 std::string *code_ptr, int indents) { in GenPackForScalarVectorFieldHelper() argument 1208 code += GenIndents(indents) + struct_name + "Start" + field_accessor_name + in GenPackForScalarVectorFieldHelper() 1210 code += GenIndents(indents) + "for i in reversed(range(len(self." + in GenPackForScalarVectorFieldHelper() 1212 code += GenIndents(indents + 1) + "builder.Prepend"; in GenPackForScalarVectorFieldHelper()
|
/external/chromium-trace/catapult/dependency_manager/ |
D | pylintrc | 67 # We use two spaces for indents, instead of the usual four spaces or tab.
|
/external/python/cpython3/Doc/library/ |
D | tabnanny.rst | 60 .. XXX document errprint, format_witnesses, Whitespace, check_equal, indents,
|
/external/chromium-trace/catapult/systrace/ |
D | pylintrc | 66 # We use two spaces for indents, instead of the usual four spaces or tab.
|
/external/chromium-trace/catapult/devil/ |
D | pylintrc | 68 # We use two spaces for indents, instead of the usual four spaces or tab.
|
/external/python/cpython2/Doc/library/ |
D | tabnanny.rst | 59 .. XXX document errprint, format_witnesses, Whitespace, check_equal, indents,
|
/external/python/cpython3/Tools/clinic/ |
D | clinic.py | 3820 self.indents = [] 3824 if not self.indents: 3838 return self.indents[-1] 3851 if not self.indents: 3852 self.indents.append(indent) 3855 current = self.indents[-1] 3859 self.indents.append(indent) 3863 if indent not in self.indents: 3867 self.indents.pop() 3868 current = self.indents[-1] [all …]
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/scanner/ |
D | ScannerImpl.java | 175 private ArrayStack<Integer> indents; field in ScannerImpl 215 this.indents = new ArrayStack<Integer>(10); in ScannerImpl() 551 this.indent = this.indents.pop(); in unwindIndent() 561 this.indents.push(this.indent); in addIndent()
|
/external/openscreen/third_party/abseil/src/absl/strings/ |
D | cord.cc | 1826 absl::InlinedVector<int, kInlinedVectorSize> indents; in DumpNode() local 1838 indents.push_back(indent); in DumpNode() 1860 indent = indents.back(); in DumpNode() 1861 indents.pop_back(); in DumpNode() 1864 ABSL_INTERNAL_CHECK(indents.empty(), ""); in DumpNode()
|
/external/webrtc/third_party/abseil-cpp/absl/strings/ |
D | cord.cc | 1850 absl::InlinedVector<int, kInlinedVectorSize> indents; in DumpNode() local 1862 indents.push_back(indent); in DumpNode() 1884 indent = indents.back(); in DumpNode() 1885 indents.pop_back(); in DumpNode() 1888 ABSL_INTERNAL_CHECK(indents.empty(), ""); in DumpNode()
|