Home
last modified time | relevance | path

Searched refs:indent_size (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/tools/json_schema_compiler/
Dcode.py11 def __init__(self, indent_size=2, comment_length=80): argument
14 self._indent_size = indent_size
/external/libxml2/
Dxmlsave.c92 int indent_size; member
343 ctxt->indent_size = len; in xmlSaveCtxtInit()
344 ctxt->indent_nr = MAX_INDENT / ctxt->indent_size; in xmlSaveCtxtInit()
346 memcpy(&ctxt->indent[i * ctxt->indent_size], xmlTreeIndentString, in xmlSaveCtxtInit()
347 ctxt->indent_size); in xmlSaveCtxtInit()
348 ctxt->indent[ctxt->indent_nr * ctxt->indent_size] = 0; in xmlSaveCtxtInit()
614 xmlOutputBufferWrite(ctxt->buf, ctxt->indent_size * in xmlOutputBufferWriteWSNonSig()
821 xmlOutputBufferWrite(buf, ctxt->indent_size * in xmlNodeListDumpOutput()
1077 xmlOutputBufferWrite(buf, ctxt->indent_size * in xmlNodeDumpOutputInternal()
1428 xmlOutputBufferWrite(buf, ctxt->indent_size * in xhtmlNodeListDumpOutput()
[all …]
/external/chromium_org/third_party/libxml/src/
Dxmlsave.c88 int indent_size; member
339 ctxt->indent_size = len; in xmlSaveCtxtInit()
340 ctxt->indent_nr = MAX_INDENT / ctxt->indent_size; in xmlSaveCtxtInit()
342 memcpy(&ctxt->indent[i * ctxt->indent_size], xmlTreeIndentString, in xmlSaveCtxtInit()
343 ctxt->indent_size); in xmlSaveCtxtInit()
344 ctxt->indent[ctxt->indent_nr * ctxt->indent_size] = 0; in xmlSaveCtxtInit()
663 xmlOutputBufferWrite(buf, ctxt->indent_size * in xmlNodeListDumpOutput()
910 xmlOutputBufferWrite(buf, ctxt->indent_size * in xmlNodeDumpOutputInternal()
1259 xmlOutputBufferWrite(buf, ctxt->indent_size * in xhtmlNodeListDumpOutput()
1464 xmlOutputBufferWrite(buf, ctxt->indent_size * in xhtmlNodeDumpOutput()
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc513 int indent_size = 0; in ~MemoryOutputStream() local
515 if (data_[i] == '\n') indent_size += indent_.size(); in ~MemoryOutputStream()
519 target->insert(pos, data_.size() + indent_size, '\0'); in ~MemoryOutputStream()
540 string_as_array(target) + pos + data_.size() + indent_size); in ~MemoryOutputStream()
/external/lldb/source/Interpreter/
DCommandInterpreter.cpp2704 int indent_size = max_word_len + strlen (separator) + 2; in OutputFormattedHelpText() local
2706 strm.IndentMore (indent_size); in OutputFormattedHelpText()
2738 text_width = max_columns - indent_size - 1; in OutputFormattedHelpText()
2774 strm.IndentLess(indent_size); in OutputFormattedHelpText()
2784 int indent_size = max_word_len + strlen (separator) + 2; in OutputHelpText() local
2786 strm.IndentMore (indent_size); in OutputHelpText()
2802 chars_left = max_columns - indent_size; in OutputHelpText()
2815 strm.IndentLess(indent_size); in OutputHelpText()
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc532 int indent_size = 0; in ~MemoryOutputStream() local
534 if (data_[i] == '\n') indent_size += indent_.size(); in ~MemoryOutputStream()
538 target->insert(pos, data_.size() + indent_size, '\0'); in ~MemoryOutputStream()
559 string_as_array(target) + pos + data_.size() + indent_size); in ~MemoryOutputStream()