Home
last modified time | relevance | path

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

/u-boot/tools/binman/
A Dimage.py242 args = [' ' * entry.indent + entry.name]
303 indent = 0
306 if entry.indent > indent:
308 elif entry.indent < indent:
312 indent = entry.indent
316 if entry_paths and indent <= min_indent:
319 min_indent = indent
A Dentry.py554 def WriteMapLine(fd, indent, name, offset, size, image_pos): argument
555 print('%s %s%s %s %s' % (Entry.GetStr(image_pos), ' ' * indent,
559 def WriteMap(self, fd, indent): argument
566 self.WriteMapLine(fd, indent, self.name, self.offset, self.size,
709 def AddEntryInfo(entries, indent, name, etype, size, image_pos, argument
725 entries.append(EntryInfo(indent, name, etype, size, image_pos,
728 def ListEntries(self, entries, indent): argument
737 self.AddEntryInfo(entries, indent, self.name, self.etype, self.size,
A Dftest.py2437 self.assertEqual(0, ent.indent)
2446 self.assertEqual(1, ent.indent)
2455 self.assertEqual(1, ent.indent)
2464 self.assertEqual(2, ent.indent)
2473 self.assertEqual(3, ent.indent)
2482 self.assertEqual(3, ent.indent)
2491 self.assertEqual(2, ent.indent)
/u-boot/scripts/kconfig/
A Dconf.c39 static int indent = 1; variable
277 printf("%*c", indent, '>'); in conf_choice()
279 printf("%*c", indent, ' '); in conf_choice()
287 printf("%*schoice", indent - 1, ""); in conf_choice()
336 indent += 2; in conf_choice()
338 indent -= 2; in conf_choice()
373 indent, '*', in conf()
374 indent, '*', prompt, in conf()
375 indent, '*'); in conf()
404 indent += 2; in conf()
[all …]
A Dmconf.c275 static int indent; variable
496 indent + 1, ' ', prompt); in build_conf()
499 indent + 1, ' ', prompt, in build_conf()
509 item_make(" %*c*** %s ***", indent + 1, ' ', prompt); in build_conf()
517 item_make("---%*c%s", indent + 1, ' ', prompt); in build_conf()
561 item_add_str("%*c%s", indent + 1, ' ', menu_get_prompt(menu)); in build_conf()
567 indent += 2; in build_conf()
569 indent -= 2; in build_conf()
616 tmp = indent - tmp + 4; in build_conf()
637 indent += doint; in build_conf()
[all …]
A Dnconf.c258 static int indent; variable
762 indent + 1, ' ', prompt); in build_conf()
766 indent + 1, ' ', prompt, in build_conf()
777 indent + 1, ' ', in build_conf()
785 indent + 1, ' ', in build_conf()
839 indent += 2; in build_conf()
841 indent -= 2; in build_conf()
849 "---%*c%s", indent + 1, in build_conf()
893 tmp = indent - tmp + 4; in build_conf()
915 indent += doint; in build_conf()
[all …]
A Dgconf.c60 static gint indent; variable
1200 GtkTreeIter *parent = parents[indent - 1]; in place_node()
1201 GtkTreeIter *node = parents[indent]; in place_node()
1259 indent = 1; in update_tree()
1275 printf("%*c%s | %s\n", indent, ' ', in update_tree()
1324 indent++; in update_tree()
1326 indent--; in update_tree()
1342 indent = 1; in display_tree()
1367 printf("%*c%s: ", indent, ' ', menu_get_prompt(child)); in display_tree()
1395 indent++; in display_tree()
[all …]
/u-boot/scripts/
A DLindent3 RES=`indent --version`
18 indent $PARAM "$@"
A Dcheckpatch.pl2430 my $indent;
2626 ($length, $indent) = line_stats($rawline);
3408 my $indent = length($1);
3409 if ($indent % $tabsize) {
3752 $indent != $cindent) {
3804 if ($nindent > $indent) {
3904 ($sindent < $indent) ||
3905 ($sindent == $indent &&
3907 ($sindent > $indent + $tabsize))) {
5152 $previndent == $indent) {
[all …]
/u-boot/tools/binman/etype/
A Dcbfs.py261 def ListEntries(self, entries, indent): argument
263 super().ListEntries(entries, indent)
265 entry.ListEntries(entries, indent + 1)
A Dsection.py352 def WriteMap(self, fd, indent): argument
358 Entry.WriteMapLine(fd, indent, self.name, self.offset or 0,
361 entry.WriteMap(fd, indent + 1)
571 def ListEntries(self, entries, indent): argument
573 Entry.AddEntryInfo(entries, indent, self.name, 'section', self.size,
576 entry.ListEntries(entries, indent + 1)
/u-boot/tools/patman/
A Dstatus.py323 def show_responses(rtags, indent, is_new): argument
341 terminal.Print(indent + '%s %s: ' % ('+' if is_new else ' ', tag),
464 indent = ' ' * 2
465 show_responses(base_rtags, indent, False)
466 num_to_add += show_responses(new_rtags, indent, True)
A Dtest_checkpatch.py272 indent = ' '
282 indent = tab
285 return data % (signoff, license, tab, indent, tab)
A Dcheckpatch.py99 indent = ' ' * 6
113 if line.startswith(indent):
/u-boot/drivers/pci/
A Dpci.c350 static int indent = 0; in pci_hose_scan_bus() local
387 indent++; in pci_hose_scan_bus()
390 printf("%*c", indent + 1, ' '); in pci_hose_scan_bus()
394 PCI_BUS(dev), PCI_DEV(dev), 6 - indent, PCI_FUNC(dev), in pci_hose_scan_bus()
413 indent--; in pci_hose_scan_bus()
/u-boot/test/py/tests/
A Dvboot_forge.py352 def pretty_print_r(node, strblock, indent=0): argument
356 spaces = ' ' * indent
361 pretty_print_r(c, strblock, indent+1)
/u-boot/common/
A Dcli_hush.c438 static int free_pipe_list(struct pipe *head, int indent);
439 static int free_pipe(struct pipe *pi, int indent);
1934 static int free_pipe(struct pipe *pi, int indent) argument
1942 char *ind = indenter(indent);
1971 ret_code = free_pipe_list(child->group,indent+3);
1999 static int free_pipe_list(struct pipe *head, int indent) argument
2003 char *ind = indenter(indent);
2006 rcode = free_pipe(pi, indent);
/u-boot/tools/buildman/
A Dbuilder.py951 indent = ' ' * 15
953 tuple([indent, self.col.Color(self.col.YELLOW, fname)] + args))
954 Print('%s %-38s %7s %7s %+7s' % (indent, 'function', 'old', 'new',
959 msg = '%s %-38s %7s %7s %+7d' % (indent, name,
A Dkconfiglib.py3338 indent = len_(expline) - len_(expline.lstrip())
3339 if not indent:
3347 lines = [expline[indent:]]
3360 if len_(expline) - len_(expline.lstrip()) < indent:
3362 add_line(expline[indent:])
/u-boot/lib/efi_loader/
A Defi_boottime.c161 const char *indent = " "; in indent_string() local
162 const int max = strlen(indent); in indent_string()
165 return &indent[max - level]; in indent_string()

Completed in 55 milliseconds