Home
last modified time | relevance | path

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

/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.hpp111 const unsigned int current_indent = 0) in dump() argument
128 const auto new_indent = current_indent + indent_step; in dump()
156 o->write_characters(indent_string.c_str(), current_indent); in dump()
170 dump(i->second, false, ensure_ascii, indent_step, current_indent); in dump()
180 dump(i->second, false, ensure_ascii, indent_step, current_indent); in dump()
201 const auto new_indent = current_indent + indent_step; in dump()
222 o->write_characters(indent_string.c_str(), current_indent); in dump()
233 dump(*i, false, ensure_ascii, indent_step, current_indent); in dump()
239 … dump(val.m_value.array->back(), false, ensure_ascii, indent_step, current_indent); in dump()
262 const auto new_indent = current_indent + indent_step; in dump()
[all …]
/third_party/mesa3d/src/mapi/glapi/gen/
Dgl_marshal.py52 current_indent = 0 variable
57 print(' '*current_indent + str)
64 global current_indent
65 current_indent += delta
67 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/tests/abi/include/nlohmann/
Djson_v3_10_5.hpp16145 const unsigned int current_indent = 0) in dump() argument
16162 const auto new_indent = current_indent + indent_step; in dump()
16190 o->write_characters(indent_string.c_str(), current_indent); in dump()
16204 dump(i->second, false, ensure_ascii, indent_step, current_indent); in dump()
16214 dump(i->second, false, ensure_ascii, indent_step, current_indent); in dump()
16235 const auto new_indent = current_indent + indent_step; in dump()
16256 o->write_characters(indent_string.c_str(), current_indent); in dump()
16267 dump(*i, false, ensure_ascii, indent_step, current_indent); in dump()
16273 … dump(val.m_value.array->back(), false, ensure_ascii, indent_step, current_indent); in dump()
16296 const auto new_indent = current_indent + indent_step; in dump()
[all …]
/third_party/json/single_include/nlohmann/
Djson.hpp17995 const unsigned int current_indent = 0) in dump() argument
18012 const auto new_indent = current_indent + indent_step; in dump()
18040 o->write_characters(indent_string.c_str(), current_indent); in dump()
18054 dump(i->second, false, ensure_ascii, indent_step, current_indent); in dump()
18064 dump(i->second, false, ensure_ascii, indent_step, current_indent); in dump()
18085 const auto new_indent = current_indent + indent_step; in dump()
18106 o->write_characters(indent_string.c_str(), current_indent); in dump()
18117 dump(*i, false, ensure_ascii, indent_step, current_indent); in dump()
18123 … dump(val.m_value.array->back(), false, ensure_ascii, indent_step, current_indent); in dump()
18146 const auto new_indent = current_indent + indent_step; in dump()
[all …]