Home
last modified time | relevance | path

Searched refs:indent (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/openbmc/openbmc-test-automation/lib/
H A Dprint.tcl326 proc sprint_varx { var_name var_value { indent 0 } { width {} } { hex 0 } } {
364 set_var_default indent 0
369 if { $indent > 0 } {
370 set width [expr $width - $indent]
381 append buffer "[format "%-${indent}s%-${width}s0x%08x" "" "$var_name:" \
384 append buffer "[format "%-${indent}s%-${width}s%s" "" "$var_name:" \
450 set indent [lindex $args 0]
452 set_var_default indent 0
454 append buffer [format "%-${indent}s%s\n" "" "$var_name:"]
455 incr indent 2
[all …]
H A Dgen_print.py249 print_varx("var", var, indent=debug_indent)
250 print_varx("arg_num", arg_num, indent=debug_indent)
251 print_varx("stack_frame_ix", stack_frame_ix, indent=debug_indent)
286 print_varx("stack_frame_ix", stack_frame_ix, indent=debug_indent)
303 print_varx("frame", frame, indent=debug_indent + 2)
304 print_varx("filename", filename, indent=debug_indent + 2)
305 print_varx("cur_line_no", cur_line_no, indent=debug_indent + 2)
306 print_varx("function_name", function_name, indent=debug_indent + 2)
307 print_varx("lines", lines, indent=debug_indent + 2)
308 print_varx("index", index, indent=debug_indent + 2)
[all …]
H A Dgen_robot_ssh.py29 def sprint_connection(connection, indent=0): argument
38 buffer = gp.sindent("", indent)
40 indent += 2
41 buffer += gp.sprint_varx("index", connection.index, 0, indent)
42 buffer += gp.sprint_varx("host", connection.host, 0, indent)
43 buffer += gp.sprint_varx("alias", connection.alias, 0, indent)
44 buffer += gp.sprint_varx("port", connection.port, 0, indent)
45 buffer += gp.sprint_varx("timeout", connection.timeout, 0, indent)
46 buffer += gp.sprint_varx("newline", connection.newline, 0, indent)
47 buffer += gp.sprint_varx("prompt", connection.prompt, 0, indent)
[all …]
H A Dfunc_timer.py53 indent = 2
58 buffer += gp.sprint_var(func_name, indent=indent)
59 buffer += gp.sprint_varx("time_out", self.__time_out, indent=indent)
60 buffer += gp.sprint_varx("child_pid", self.__child_pid, indent=indent)
64 indent=indent,
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/indent/indent/
H A D0001-src-indent.c-correct-the-check-for-locale.h.patch4 Subject: [PATCH] src/indent.c: correct the check for locale.h
10 | ../../indent-2.2.12/src/indent.c: In function 'main':
11 | ../../indent-2.2.12/src/indent.c:1062:5: error: implicit declaration of function 'setlocale'; did…
15 | ../../indent-2.2.12/src/indent.c:1062:5: error: nested extern declaration of 'setlocale' [-Werror…
16 | ../../indent-2.2.12/src/indent.c:1062:15: error: 'LC_ALL' undeclared (first use in this function)
22 src/indent.c | 2 +-
25 diff --git a/src/indent.c b/src/indent.c
27 --- a/src/indent.c
28 +++ b/src/indent.c
37 #include "indent.h"
/openbmc/openbmc/poky/bitbake/lib/bs4/
H A Dformatter.py52 empty_attributes_are_booleans=False, indent=1, argument
89 if indent is None:
90 indent = 0
91 if isinstance(indent, int):
92 if indent < 0:
93 indent = 0
94 indent = ' ' * indent
95 elif isinstance(indent, str):
96 indent = indent
98 indent = ' '
[all …]
/openbmc/phosphor-dbus-monitor/src/templates/
H A Dmethod.mako.cpp2 ${indent(1)}ConfigInterfaces::get()[${c.service}],
3 ${indent(1)}ConfigPaths::get()[${c.path}],
4 ${indent(1)}ConfigInterfaces::get()[${c.interface}],
5 ${indent(1)}ConfigProperties::get()[${c.method}],
6 ${indent(1)}${(',\n' + indent(1)).join([val.argument(loader, indent=indent +1) for val in c.args])}…
H A Dcount.mako.cpp2 ${indent(1)}ConfigPropertyIndicies::get()[${c.instances}],
3 ${indent(1)}[](const auto& item){return item ${c.countop} ${c.countbound};}, in __anond6b521290102()
4 ${indent(1)}[](const auto& item){return item ${c.op} ${c.bound.argument(loader, indent=indent +1)};… in __anond6b521290202()
5 ${indent(1)}${c.oneshot.argument(loader, indent=indent +1)})\ in __anond6b521290502()
H A Dmedian.mako.cpp2 ${indent(1)}ConfigPropertyIndicies::get()[${c.instances}],
3 ${indent(1)}[](const auto& item){return item ${c.op} ${c.bound.argument(loader, indent=indent +1)};… in __anon0229ca8e0102()
4 ${indent(1)}${c.oneshot.argument(loader, indent=indent +1)})\ in __anon0229ca8e0302()
H A Dconditional.mako.cpp3 ${indent(1)}ConfigPropertyCallbackGroups::get()[${c.graph}],
4 ${indent(1)}*ConfigConditions::get()[${c.condition}],
5 ${indent(1)}${c.defer})\
8 ${indent(1)}ConfigPropertyCallbackGroups::get()[${c.graph}],
9 ${indent(1)}*ConfigConditions::get()[${c.condition}])\
H A Delog.mako.cpp2 ${indent(1)}${(',\n' + indent(1)).join(["phosphor::logging::" + meta.name + '(' +
3 meta.argument(loader, indent=indent +1) + ')' for meta in c.metadata]) })\
H A Delog_with_metadata.mako.cpp2 ${indent(1)}sdbusplus::${c.error},
3 ${indent(1)}phosphor::logging::${c.metadata},
4 ${indent(1)}${c.datatype}>>(
5 ${indent(1)}ConfigPropertyIndicies::get()[${c.instances}])\
/openbmc/qemu/tests/qemu-iotests/
H A D23666 log(query_bitmaps(vm), indent=2)
69 vm.qmp_log("transaction", indent=2, actions=[
79 log(query_bitmaps(vm), indent=2)
82 vm.qmp_log("transaction", indent=2, actions=[
105 vm.qmp_log("transaction", indent=2, actions=[
115 log(query_bitmaps(vm), indent=2)
118 vm.qmp_log("transaction", indent=2, actions=[
127 log(query_bitmaps(vm), indent=2)
131 vm.qmp_log("transaction", indent=2, actions=[
142 log(query_bitmaps(vm), indent=2)
[all …]
/openbmc/qemu/docs/sphinx/
H A Ddbusdoc.py56 self.indent = ""
61 self.result.append(self.indent + line, self._dbusfile, *lineno)
68 self.indent += " "
76 self.indent = self.indent[:-3]
81 self.indent += " "
87 self.indent = self.indent[:-3]
91 self.indent += " "
102 self.indent = self.indent[:-3]
107 self.indent += " "
116 self.indent = self.indent[:-3]
/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c26 static void regs_dump(FILE *stream, struct kvm_regs *regs, uint8_t indent) in regs_dump() argument
30 indent, "", in regs_dump()
34 indent, "", in regs_dump()
38 indent, "", in regs_dump()
42 indent, "", in regs_dump()
45 indent, "", in regs_dump()
50 uint8_t indent) in segment_dump() argument
54 indent, "", segment->base, segment->limit, in segment_dump()
58 indent, "", segment->present, segment->dpl, in segment_dump()
62 indent, "", segment->g, segment->avl, in segment_dump()
[all …]
/openbmc/phosphor-inventory-manager/
H A Dargument.mako.cpp2 ${indent(1)}${(',\n' + indent(1)).join([val.argument(loader, indent=indent +1) for val in arg.value…
3 ${indent(0)}}\
H A Dmethod.mako.cpp3 <${(',\n' + indent(1)).join([t.qualified() for t in method.templates])}>\
8 ${indent(1)}${(',\n' + indent(1)).join([arg.argument(loader, indent=indent +1) for arg in method.ar…
/openbmc/openbmc/poky/bitbake/contrib/vim/indent/
H A Dbitbake.vim1 " Vim indent file
16 runtime! indent/sh.vim
34 """" begin modified from indent/python.vim, upstream commit 7a9bd7c1e0ce1baf5a02daf36eeae3638aa315c7
49 return indent(a:lnum - 1)
51 …return indent(a:lnum - 1) + (exists("g:pyindent_continue") ? eval(g:pyindent_continue) : (shiftwid…
54 " If the start of the line is in a string don't change the indent.
64 " This is the first non-empty line, use zero indent.
75 let plindent = indent(plnum)
83 " If the previous line is inside parenthesis, use the indent of the starting
97 let plindent = indent(plnum)
[all …]
/openbmc/linux/tools/testing/selftests/x86/
H A Dsyscall_numbering.c72 unsigned int indent; /* Message indentation level */ member
80 unsigned int level = sh ? sh->indent : 0; in offset()
100 sh->indent = 0; \
175 sh->indent++; in _check_for()
177 sh->indent++; in _check_for()
191 sh->indent--; in _check_for()
203 sh->indent--; in _check_for()
234 sh->indent++; in test_x32()
245 sh->indent--; in test_x32()
310 sh->indent++; in test_syscall_numbering()
[all …]
/openbmc/linux/tools/testing/selftests/kvm/lib/s390x/
H A Dprocessor.c114 static void virt_dump_ptes(FILE *stream, struct kvm_vm *vm, uint8_t indent, in virt_dump_ptes() argument
124 indent, "", ptea, *pte); in virt_dump_ptes()
128 static void virt_dump_region(FILE *stream, struct kvm_vm *vm, uint8_t indent, in virt_dump_region() argument
138 indent, "", 4 - ((*entry & REGION_ENTRY_TYPE) >> 2), in virt_dump_region()
141 virt_dump_region(stream, vm, indent + 2, in virt_dump_region()
144 virt_dump_ptes(stream, vm, indent + 2, in virt_dump_region()
150 void virt_arch_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_arch_dump() argument
155 virt_dump_region(stream, vm, indent, vm->pgd); in virt_arch_dump()
214 void vcpu_arch_dump(FILE *stream, struct kvm_vcpu *vcpu, uint8_t indent) in vcpu_arch_dump() argument
217 indent, "", vcpu->run->psw_mask, vcpu->run->psw_addr); in vcpu_arch_dump()
/openbmc/phosphor-dbus-monitor/src/
H A Dpdmgen.py150 def argument(self, loader, indent): argument
169 def argument(self, loader, indent): argument
188 def argument(self, loader, indent): argument
212 def argument(self, loader, indent): argument
787 def construct(self, loader, indent): argument
789 loader, "conditional.mako.cpp", c=self, indent=indent
840 def construct(self, loader, indent): argument
841 return self.render(loader, "count.mako.cpp", c=self, indent=indent)
861 def construct(self, loader, indent): argument
862 return self.render(loader, "median.mako.cpp", c=self, indent=indent)
[all …]
/openbmc/u-boot/scripts/kconfig/
H A Dconf.c40 static int indent = 1; variable
136 printf("%*s%s ", indent - 1, "", _(menu->prompt->text)); in conf_string()
169 printf("%*s%s ", indent - 1, "", _(menu->prompt->text)); in conf_sym()
254 printf("%*s%s\n", indent - 1, "", _(menu_get_prompt(menu))); in conf_choice()
264 printf("%*s%s\n", indent - 1, "", _(menu_get_prompt(menu))); in conf_choice()
272 printf("%*c %s\n", indent, '*', _(menu_get_prompt(child))); in conf_choice()
278 printf("%*c", indent, '>'); in conf_choice()
280 printf("%*c", indent, ' '); in conf_choice()
288 printf(_("%*schoice"), indent - 1, ""); in conf_choice()
337 indent += 2; in conf_choice()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/apt/apt/
H A Dtriehash443 my ($self, $trie, $fh, $indent, $index) = @_;
444 $indent //= 0;
464 …printf { $fh } ((' ' x $indent) . "switch(%s | 0x%s) {\n", $self->switch_key($index, $key_lengt…
466 … printf { $fh } ((' ' x $indent) . "switch(%s) {\n", $self->switch_key($index, $key_length));
472 printf { $fh } (' ' x $indent . " break;\n");
475 printf { $fh } (' ' x $indent . "case %s:\n", $self->case_label(lc($key)));
476 …printf { $fh } (' ' x $indent . "case %s:\n", $self->case_label(uc($key))) if lc($key) ne uc($k…
478 printf { $fh } (' ' x $indent . "case %s:\n", $self->case_label($key));
481 … $self->print_table($trie->{children}{$key}, $fh, $indent + 1, $index + length($key));
486 printf { $fh } (' ' x $indent . "}\n");
[all …]
/openbmc/phosphor-fan-presence/presence/
H A Dpfpgen.py148 def construct(self, loader, indent): argument
149 return self.render(loader, "gpio.mako.hpp", g=self, indent=indent)
163 def construct(self, loader, indent): argument
164 return self.render(loader, "tach.mako.hpp", t=self, indent=indent)
202 def construct(self, loader, indent): argument
203 return self.render(loader, "anyof.mako.hpp", f=self, indent=indent)
216 def construct(self, loader, indent): argument
217 return self.render(loader, "fallback.mako.hpp", f=self, indent=indent)
334 indent=Indent(),
/openbmc/openbmc/poky/scripts/tiny/
H A Dksize.py41 def show(self, indent=""): argument
43 (indent+self.title, self.total, self.text, self.data, self.bss))
86 def show(self, indent=""): argument
87 rule = str.ljust(indent, 80, '-')
89 (indent+self.title, "total", "text", "data", "bss"))
91 self.sizes.show(indent)
95 p.sizes.show(indent)
98 (indent+"sum", self.totals["total"], self.totals["text"],
101 (indent+"delta", self.deltas["total"], self.deltas["text"],

12345678910>>...12