Home
last modified time | relevance | path

Searched refs:indent_level (Results 1 – 16 of 16) sorted by relevance

/third_party/python/Lib/
Dtabnanny.py188 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)) )
Dpyclbr.py292 indent_level = 2
305 ob.indent = obj.indent + indent_level
Dplistlib.py275 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)
Dconfigparser.py1019 indent_level = 0
1054 indent_level = sys.maxsize
1060 cur_indent_level > indent_level):
1064 indent_level = cur_indent_level
/third_party/flatbuffers/include/flatbuffers/
Dminireflect.h301 size_t indent_level; member
308 indent_level(0), in d()
314 indent_level(0), in ToStringVisitor()
318 for (size_t i = 0; i < indent_level; i++) { s += in; } in append_indent()
324 indent_level++; in StartSequence()
328 indent_level--; in EndSequence()
377 indent_level++; in StartVector()
386 indent_level--; in EndVector()
/third_party/gn/src/gn/
Dcommand_refs.cc47 int indent_level);
58 int indent_level) { in RecursivePrintTarget() argument
59 std::string indent(indent_level * 2, ' '); in RecursivePrintTarget()
81 indent_level + 1); in RecursivePrintTarget()
91 int indent_level) { in RecursivePrintTargetDeps() argument
98 indent_level); in RecursivePrintTargetDeps()
Dparser.cc900 int indent_level, in RenderToText() argument
907 os << IndentFor(indent_level) << node_type << std::endl; in RenderToText()
908 os << IndentFor(indent_level + 1) << node.FindKey("value")->GetString() in RenderToText()
911 os << IndentFor(indent_level) << node_type; in RenderToText()
919 os << IndentFor(indent_level + 1) << "+BEFORE_COMMENT(\"" << v.GetString() in RenderToText()
925 os << IndentFor(indent_level + 1) << "+SUFFIX_COMMENT(\"" << v.GetString() in RenderToText()
931 os << IndentFor(indent_level + 1) << "+AFTER_COMMENT(\"" << v.GetString() in RenderToText()
937 RenderToText(n, indent_level + 1, os); in RenderToText()
944 RenderToText(*end, indent_level + 1, os); in RenderToText()
Dparser.h155 int indent_level,
Ddesc_builder.cc650 int indent_level) { in RecursivePrintDeps() argument
657 std::string indent(indent_level * 2, ' '); in RecursivePrintDeps()
680 RecursivePrintDeps(out, cur_dep, seen_targets, indent_level + 1); in RecursivePrintDeps()
/third_party/python/Modules/
D_json.c99 encoder_listencode_list(PyEncoderObject *s, _PyAccu *acc, PyObject *seq, Py_ssize_t indent_level);
101 encoder_listencode_obj(PyEncoderObject *s, _PyAccu *acc, PyObject *obj, Py_ssize_t indent_level);
103 encoder_listencode_dict(PyEncoderObject *s, _PyAccu *acc, PyObject *dct, Py_ssize_t indent_level);
1295 Py_ssize_t indent_level; in encoder_call() local
1298 &obj, &indent_level)) in encoder_call()
1302 if (encoder_listencode_obj(self, &acc, obj, indent_level)) { in encoder_call()
1400 PyObject *obj, Py_ssize_t indent_level) in encoder_listencode_obj() argument
1434 rv = encoder_listencode_list(s, acc, obj, indent_level); in encoder_listencode_obj()
1441 rv = encoder_listencode_dict(s, acc, obj, indent_level); in encoder_listencode_obj()
1475 rv = encoder_listencode_obj(s, acc, newobj, indent_level); in encoder_listencode_obj()
[all …]
/third_party/cef/tools/yapf/yapf/yapflib/
Dformat_token.py112 def AddWhitespacePrefix(self, newlines_before, spaces=0, indent_level=0): argument
124 indent_before = (indent_char * indent_level * style.Get('INDENT_WIDTH') +
Dreformatter.py413 indent_level=indent_depth)
/third_party/ffmpeg/fftools/
Dffprobe.c1462 int indent_level; member
1508 #define JSON_INDENT() printf("%*c", json->indent_level * 4, ' ')
1523 json->indent_level++; in json_print_section_header()
1529 json->indent_level++; in json_print_section_header()
1554 json->indent_level--; in json_print_section_footer()
1558 json->indent_level--; in json_print_section_footer()
1563 json->indent_level--; in json_print_section_footer()
1629 int indent_level; member
1675 #define XML_INDENT() printf("%*c", xml->indent_level * 4, ' ')
1701 xml->indent_level++; in xml_print_section_header()
[all …]
/third_party/libbpf/src/
Dbtf.h266 int indent_level; member
282 int indent_level; member
Dbtf_dump.c1280 lvl = OPTS_GET(opts, indent_level, 0); in btf_dump__emit_type_decl()
2508 d->typed_dump->indent_lvl = OPTS_GET(opts, indent_level, 0); in btf_dump__dump_type_data()
/third_party/protobuf/src/google/protobuf/
Dtext_format.h265 void SetInitialIndentLevel(int indent_level) { in SetInitialIndentLevel() argument
266 initial_indent_level_ = indent_level; in SetInitialIndentLevel()