Home
last modified time | relevance | path

Searched refs:current_indent (Results 1 – 11 of 11) sorted by relevance

/third_party/boost/tools/quickbook/src/
Dpost_process.cpp29 , current_indent(current_indent_) in pretty_printer()
38 BOOST_ASSERT(current_indent >= 0); // this should not happen! in indent()
39 for (int i = 0; i < current_indent; ++i) in indent()
41 column = current_indent; in indent()
58 for (iter_type i = out.end() - (column - current_indent); in line_is_empty()
68 if (column != current_indent) { in align_indent()
69 if (column > current_indent) { in align_indent()
74 out.end() - (column - current_indent), out.end()); in align_indent()
75 column = current_indent; in align_indent()
84 while (column != current_indent) { in align_indent()
[all …]
/third_party/skia/third_party/externals/tint/src/writer/
Dtext_generator.cc70 current_indent += 2; in IncrementIndent()
74 current_indent = std::max(2u, current_indent) - 2u; in DecrementIndent()
78 lines.emplace_back(Line{current_indent, line}); in Append()
98 lines.emplace_back(Line{current_indent + line.indent, line.content}); in Append()
Dtext_generator.h84 uint32_t current_indent = 0; member
/third_party/json/include/nlohmann/detail/output/
Dserializer.hpp100 const unsigned int current_indent = 0) in dump() argument
117 const auto new_indent = current_indent + indent_step; in dump()
145 o->write_characters(indent_string.c_str(), current_indent); in dump()
159 dump(i->second, false, ensure_ascii, indent_step, current_indent); in dump()
169 dump(i->second, false, ensure_ascii, indent_step, current_indent); in dump()
190 const auto new_indent = current_indent + indent_step; in dump()
211 o->write_characters(indent_string.c_str(), current_indent); in dump()
222 dump(*i, false, ensure_ascii, indent_step, current_indent); in dump()
228 … dump(val.m_value.array->back(), false, ensure_ascii, indent_step, current_indent); in dump()
251 const auto new_indent = current_indent + indent_step; in dump()
[all …]
/third_party/mesa3d/src/mapi/glapi/gen/
Dgl_marshal.py50 current_indent = 0 variable
55 print(' '*current_indent + str)
62 global current_indent
63 current_indent += delta
65 current_indent -= delta
/third_party/python/Lib/
Doptparse.py222 self.current_indent = 0
247 self.current_indent += self.indent_increment
251 self.current_indent -= self.indent_increment
252 assert self.current_indent >= 0, "Indent decreased below 0."
266 text_width = max(self.width - self.current_indent, 11)
267 indent = " "*self.current_indent
313 opt_width = self.help_position - self.current_indent - 2
315 opts = "%*s%s\n" % (self.current_indent, "", opts)
318 opts = "%*s%-*s " % (self.current_indent, "", opt_width, opts)
337 max_len = max(max_len, len(strings) + self.current_indent)
[all …]
Dargparse.py224 current_indent = self.formatter._current_indent
225 heading = '%*s%s:\n' % (current_indent, '', self.heading)
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_dump.c40 int current_indent; member
47 d->current_indent = 0; in dxil_dump_create()
69 ++d->current_indent; in dxil_dump_indention_inc()
75 --d->current_indent; in dxil_dump_indention_dec()
76 assert(d->current_indent >= 0); in dxil_dump_indention_dec()
82 for (int i = 0; i < 2 * d->current_indent; ++i) in dxil_dump_indent()
/third_party/PyYAML/examples/pygments-lexer/
Dyaml.py98 current_indent = max(context.indent, 0)
100 context.block_scalar_indent = current_indent + increment
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
Dgenerator_impl.cc1030 init_buf.lines[i].indent += current_buffer_->current_indent; in EmitForLoop()
1055 cont_buf.lines[i].indent += current_buffer_->current_indent; in EmitForLoop()
/third_party/json/single_include/nlohmann/
Djson.hpp15537 const unsigned int current_indent = 0) in dump() argument
15554 const auto new_indent = current_indent + indent_step; in dump()
15582 o->write_characters(indent_string.c_str(), current_indent); in dump()
15596 dump(i->second, false, ensure_ascii, indent_step, current_indent); in dump()
15606 dump(i->second, false, ensure_ascii, indent_step, current_indent); in dump()
15627 const auto new_indent = current_indent + indent_step; in dump()
15648 o->write_characters(indent_string.c_str(), current_indent); in dump()
15659 dump(*i, false, ensure_ascii, indent_step, current_indent); in dump()
15665 … dump(val.m_value.array->back(), false, ensure_ascii, indent_step, current_indent); in dump()
15688 const auto new_indent = current_indent + indent_step; in dump()
[all …]