Home
last modified time | relevance | path

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

/external/python/cpython3/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.py379 indent_level = 2
392 ob.indent = obj.indent + indent_level
Dplistlib.py352 def __init__(self, file, indent_level=0, indent="\t"): argument
355 self._indent_level = indent_level
391 self, file, indent_level=0, indent=b"\t", writeHeader=1, argument
396 _DumbXMLWriter.__init__(self, file, indent_level, indent)
Dconfigparser.py1012 indent_level = 0
1047 indent_level = sys.maxsize
1053 cur_indent_level > indent_level):
1057 indent_level = cur_indent_level
/external/python/cpython2/Lib/
Dtabnanny.py184 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/fonttools/Lib/fontTools/misc/
Dplistlib.py93 def _encode_base64(data, maxlinelength=76, indent_level=1): argument
97 indent = b"\n" + b" " * indent_level
122 def asBase64(self, maxlinelength=76, indent_level=1): argument
124 self.data, maxlinelength=maxlinelength, indent_level=indent_level
324 ctx.indent_level += 1
333 ctx.indent_level -= 1
341 ctx.indent_level += 1
344 ctx.indent_level -= 1
359 indent_level=ctx.indent_level,
436 indent_level=1, argument
[all …]
/external/flatbuffers/include/flatbuffers/
Dminireflect.h289 size_t indent_level; member
291 : d(delimiter), q(quotes), in(indent), indent_level(0) {} in ToStringVisitor()
293 : d(delimiter), q(false), in(""), indent_level(0) {} in ToStringVisitor()
296 for (size_t i = 0; i < indent_level; i++) { s += in; } in append_indent()
302 indent_level++; in StartSequence()
306 indent_level--; in EndSequence()
354 indent_level++; in StartVector()
359 indent_level--; in EndVector()
/external/yapf/yapf/yapflib/
Dformat_token.py142 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)
Dformat_decision_state.py562 indent_level = self.line.depth
565 spaces -= indent_level * style.Get('INDENT_WIDTH')
567 newlines_before=1, spaces=spaces, indent_level=indent_level)
Dreformatter.py430 indent_level=indent_depth)
/external/python/cpython3/Modules/
D_json.c110 encoder_listencode_list(PyEncoderObject *s, _PyAccu *acc, PyObject *seq, Py_ssize_t indent_level);
112 encoder_listencode_obj(PyEncoderObject *s, _PyAccu *acc, PyObject *obj, Py_ssize_t indent_level);
114 encoder_listencode_dict(PyEncoderObject *s, _PyAccu *acc, PyObject *dct, Py_ssize_t indent_level);
1350 Py_ssize_t indent_level; in encoder_call() local
1357 &obj, &indent_level)) in encoder_call()
1361 if (encoder_listencode_obj(s, &acc, obj, indent_level)) { in encoder_call()
1459 PyObject *obj, Py_ssize_t indent_level) in encoder_listencode_obj() argument
1493 rv = encoder_listencode_list(s, acc, obj, indent_level); in encoder_listencode_obj()
1500 rv = encoder_listencode_dict(s, acc, obj, indent_level); in encoder_listencode_obj()
1534 rv = encoder_listencode_obj(s, acc, newobj, indent_level); in encoder_listencode_obj()
[all …]
/external/python/cpython2/Modules/
D_json.c109 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/
Dblockprocessors.py163 indent_level = len(m.group(1))/markdown.TAB_LENGTH
165 indent_level = 0
173 while indent_level > level:
/external/protobuf/src/google/protobuf/
Dtext_format.h153 void SetInitialIndentLevel(int indent_level) { in SetInitialIndentLevel() argument
154 initial_indent_level_ = indent_level; in SetInitialIndentLevel()
/external/swiftshader/third_party/LLVM/lib/Target/CppBackend/
DCPPBackend.cpp102 unsigned indent_level; member in __anon755c64820111::CppWriter
107 ModulePass(ID), Out(o), uniqueNum(0), is_inline(false), indent_level(0){} in CppWriter()
126 inline void in() { indent_level++; } in in()
127 inline void out() { if (indent_level >0) indent_level--; } in out()
165 if (delta >= 0 || indent_level >= unsigned(-delta)) in nl()
166 indent_level += delta; in nl()
167 Out.indent(indent_level); in nl()
/external/fonttools/Lib/fontTools/designspaceLib/
D__init__.py555 libElement.append(plistlib.totree(instanceObject.lib, indent_level=4))
608 libElement.append(plistlib.totree(dict, indent_level=2))
/external/virglrenderer/src/
Dvrend_shader.c199 int indent_level; member
1683 for (i = 0; i < ctx->indent_level; i++) { in emit_buf()
3381 ctx->indent_level++; in iter_instruction()
3385 ctx->indent_level--; in iter_instruction()
3387 ctx->indent_level++; in iter_instruction()
3391 ctx->indent_level--; in iter_instruction()
3766 ctx->indent_level++; in iter_instruction()
3769 ctx->indent_level--; in iter_instruction()
/external/fonttools/Lib/fontTools/ufoLib/
DglifLib.py802 e = plistlib.totree(lib, indent_level=2)