/external/toolchain-utils/cros_utils/ |
D | tiny_render.py | 88 def _render_text_pieces(piece: Piece, indent_level: int, 92 into.append('\n' + indent_level * ' ') 101 _render_text_pieces(piece.inner, indent_level, into) 107 _render_text_pieces(piece.inner, indent_level, into) 112 _render_text_pieces([line_break, '- ', p], indent_level + 2, into) 116 _render_text_pieces(piece.text, indent_level, into) 121 _render_text_pieces(p, indent_level, into)
|
/external/python/cpython3/Lib/ |
D | tabnanny.py | 188 def indent_level(self, tabsize): member in Whitespace 223 if self.indent_level(ts) != other.indent_level(ts): 225 self.indent_level(ts), 226 other.indent_level(ts)) ) 251 if self.indent_level(ts) >= other.indent_level(ts): 264 if self.indent_level(ts) >= other.indent_level(ts): 266 self.indent_level(ts), 267 other.indent_level(ts)) )
|
D | pyclbr.py | 382 indent_level = 2 395 ob.indent = obj.indent + indent_level
|
D | plistlib.py | 275 def __init__(self, file, indent_level=0, indent="\t"): argument 278 self._indent_level = indent_level 314 self, file, indent_level=0, indent=b"\t", writeHeader=1, argument 319 _DumbXMLWriter.__init__(self, file, indent_level, indent)
|
D | configparser.py | 1015 indent_level = 0 1050 indent_level = sys.maxsize 1056 cur_indent_level > indent_level): 1060 indent_level = cur_indent_level
|
/external/python/cpython2/Lib/ |
D | tabnanny.py | 184 def indent_level(self, tabsize): member in Whitespace 219 if self.indent_level(ts) != other.indent_level(ts): 221 self.indent_level(ts), 222 other.indent_level(ts)) ) 247 if self.indent_level(ts) >= other.indent_level(ts): 260 if self.indent_level(ts) >= other.indent_level(ts): 262 self.indent_level(ts), 263 other.indent_level(ts)) )
|
/external/tensorflow/tensorflow/compiler/mlir/lite/ |
D | flatbuffer_to_string.cc | 67 int indent_level; member 71 : ToStringVisitor(delimiter), indent_str(indent), indent_level(0) {} in IndentedToStringVisitor() 74 for (int i = 0; i < indent_level; ++i) s.append(indent_str); in indent() 82 ++indent_level; in StartSequence() 87 --indent_level; in EndSequence()
|
/external/fonttools/Lib/fontTools/misc/plistlib/ |
D | __init__.py | 111 def asBase64(self, maxlinelength: int = 76, indent_level: int = 1) -> bytes: 113 self.data, maxlinelength=maxlinelength, indent_level=indent_level 129 data: bytes, maxlinelength: Optional[int] = 76, indent_level: int = 1 134 indent = b"\n" + b" " * indent_level 361 ctx.indent_level += 1 370 ctx.indent_level -= 1 378 ctx.indent_level += 1 381 ctx.indent_level -= 1 397 indent_level=ctx.indent_level, 448 indent_level: int = 1, [all …]
|
/external/flatbuffers/include/flatbuffers/ |
D | minireflect.h | 290 size_t indent_level; member 297 indent_level(0), in d() 303 indent_level(0), in ToStringVisitor() 307 for (size_t i = 0; i < indent_level; i++) { s += in; } in append_indent() 313 indent_level++; in StartSequence() 317 indent_level--; in EndSequence() 366 indent_level++; in StartVector() 375 indent_level--; in EndVector()
|
/external/python/pycparser/pycparser/ |
D | c_generator.py | 21 self.indent_level = 0 24 return ' ' * self.indent_level 155 self.indent_level = 0 176 self.indent_level += 2 179 self.indent_level -= 2 320 self.indent_level += 2 323 self.indent_level -= 2 340 if add_indent: self.indent_level += 2 342 if add_indent: self.indent_level -= 2
|
/external/pigweed/pw_metric/public/pw_metric/ |
D | metric.h | 61 void Dump(int indent_level = 0); 62 static void Dump(IntrusiveList<Metric>& metrics, int indent_level = 0); 182 void Dump(int indent_level = 0); 183 static void Dump(IntrusiveList<Group>& groups, int indent_level = 0);
|
/external/yapf/yapf/yapflib/ |
D | format_token.py | 142 def AddWhitespacePrefix(self, newlines_before, spaces=0, indent_level=0): argument 154 indent_before = '\t' * indent_level + _TabbedContinuationAlignPadding( 158 indent_before = '\t' * indent_level + ' ' * spaces 161 ' ' * indent_level * style.Get('INDENT_WIDTH') + ' ' * spaces)
|
D | format_decision_state.py | 562 indent_level = self.line.depth 565 spaces -= indent_level * style.Get('INDENT_WIDTH') 567 newlines_before=1, spaces=spaces, indent_level=indent_level)
|
D | reformatter.py | 430 indent_level=indent_depth)
|
/external/python/cpython3/Modules/ |
D | _json.c | 100 encoder_listencode_list(PyEncoderObject *s, _PyAccu *acc, PyObject *seq, Py_ssize_t indent_level); 102 encoder_listencode_obj(PyEncoderObject *s, _PyAccu *acc, PyObject *obj, Py_ssize_t indent_level); 104 encoder_listencode_dict(PyEncoderObject *s, _PyAccu *acc, PyObject *dct, Py_ssize_t indent_level); 1292 Py_ssize_t indent_level; in encoder_call() local 1295 &obj, &indent_level)) in encoder_call() 1299 if (encoder_listencode_obj(self, &acc, obj, indent_level)) { in encoder_call() 1397 PyObject *obj, Py_ssize_t indent_level) in encoder_listencode_obj() argument 1431 rv = encoder_listencode_list(s, acc, obj, indent_level); in encoder_listencode_obj() 1438 rv = encoder_listencode_dict(s, acc, obj, indent_level); in encoder_listencode_obj() 1472 rv = encoder_listencode_obj(s, acc, newobj, indent_level); in encoder_listencode_obj() [all …]
|
/external/openscreen/tools/cddl/ |
D | sema.cc | 835 void DumpType(CddlType* type, int indent_level) { in DumpType() argument 837 for (int i = 0; i <= indent_level; ++i) in DumpType() 844 DumpType(option, indent_level + 1); in DumpType() 857 DumpGroup(type->map, indent_level + 1); in DumpType() 862 DumpGroup(type->array, indent_level + 1); in DumpType() 867 DumpGroup(type->group_choice, indent_level + 1); in DumpType() 877 DumpType(type->tagged_type.type, indent_level + 1); in DumpType() 882 void DumpGroup(CddlGroup* group, int indent_level) { in DumpGroup() argument 885 for (int i = 0; i <= indent_level; ++i) in DumpGroup() 901 DumpType(entry->type.value, indent_level + 1); in DumpGroup() [all …]
|
D | sema.h | 370 void DumpType(CddlType* type, int indent_level = 0); 371 void DumpGroup(CddlGroup* group, int indent_level = 0);
|
D | parse.h | 155 void DumpAst(AstNode* node, int indent_level = 0);
|
D | parse.cc | 1005 void DumpAst(AstNode* node, int indent_level) { in DumpAst() argument 1009 for (int i = 0; i <= indent_level; ++i) { in DumpAst() 1110 DumpAst(node->children, indent_level + 1); in DumpAst()
|
/external/python/cpython2/Modules/ |
D | _json.c | 109 encoder_listencode_list(PyEncoderObject *s, PyObject *rval, PyObject *seq, Py_ssize_t indent_level); 111 encoder_listencode_obj(PyEncoderObject *s, PyObject *rval, PyObject *obj, Py_ssize_t indent_level); 113 encoder_listencode_dict(PyEncoderObject *s, PyObject *rval, PyObject *dct, Py_ssize_t indent_level); 1870 Py_ssize_t indent_level; in encoder_call() local 1875 &obj, _convertPyInt_AsSsize_t, &indent_level)) in encoder_call() 1880 if (encoder_listencode_obj(s, rval, obj, indent_level)) { in encoder_call() 1965 encoder_listencode_obj(PyEncoderObject *s, PyObject *rval, PyObject *obj, Py_ssize_t indent_level) in encoder_listencode_obj() argument 1999 rv = encoder_listencode_list(s, rval, obj, indent_level); in encoder_listencode_obj() 2006 rv = encoder_listencode_dict(s, rval, obj, indent_level); in encoder_listencode_obj() 2040 rv = encoder_listencode_obj(s, rval, newobj, indent_level); in encoder_listencode_obj() [all …]
|
/external/markdown/markdown/ |
D | blockprocessors.py | 163 indent_level = len(m.group(1))/markdown.TAB_LENGTH 165 indent_level = 0 173 while indent_level > level:
|
/external/llvm-project/lldb/source/Utility/ |
D | Stream.cpp | 163 void Stream::SetIndentLevel(unsigned indent_level) { in SetIndentLevel() argument 164 m_indent_level = indent_level; in SetIndentLevel()
|
/external/llvm-project/lldb/utils/lui/ |
D | lldbutil.py | 1016 def __init__(self, indent_level=0, indent_child=2): argument 1017 self.lindent = indent_level 1034 rdf = RecursiveDecentFormatter(indent_level=new_indent)
|
/external/protobuf/src/google/protobuf/ |
D | text_format.h | 256 void SetInitialIndentLevel(int indent_level) { in SetInitialIndentLevel() argument 257 initial_indent_level_ = indent_level; in SetInitialIndentLevel()
|
/external/llvm-project/lldb/packages/Python/lldbsuite/test/ |
D | lldbutil.py | 1370 def __init__(self, indent_level=0, indent_child=2): argument 1371 self.lindent = indent_level 1388 rdf = RecursiveDecentFormatter(indent_level=new_indent)
|