Home
last modified time | relevance | path

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

12

/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 …]
H A D24660 log(query_bitmaps(vm), indent=2)
66 log(query_bitmaps(vm), indent=2)
75 log(query_bitmaps(vm), indent=2)
83 log(query_bitmaps(vm), indent=2)
106 log(query_bitmaps(vm), indent=2)
114 log(query_bitmaps(vm), indent=2)
H A D25444 vm.qmp_log('transaction', indent=2, actions=[
77 log(result['inserted']['dirty-bitmaps'], indent=2)
80 ['data']['bitmaps'], indent=2)
H A D25681 ret = vm.qmp_log('transaction', indent=2, actions=[
105 ret = vm.qmp_log('transaction', indent=2, actions=[
H A D257232 log({'bitmaps': bitmaps}, indent=2)
383 log({'bitmaps': bitmaps}, indent=2)
413 log({'bitmaps': bitmaps}, indent=2)
423 log({'bitmaps': bitmaps}, indent=2)
/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]
/qemu/tests/qapi-schema/
H A Dtest-qapi.py39 self._print_if(m.ifcond, indent=8)
40 self._print_features(m.features, indent=8)
59 self._print_features(m.features, indent=8)
95 QAPISchemaTestVisitor._print_if(v.ifcond, indent=8)
98 def _print_if(ifcond, indent=4): argument
109 print('%sif %s' % (' ' * indent, _massage(ifcond.ifcond)))
112 def _print_features(cls, features, indent=4): argument
115 print('%sfeature %s' % (' ' * indent, f.name))
116 cls._print_if(f.ifcond, indent + 4)
H A Ddoc-bad-indent.err1 doc-bad-indent.json:7:1: unexpected de-indent (expected at least 2 spaces)
/qemu/scripts/
H A Dmeson-buildoptions.py94 def wrap(left, text, indent): argument
95 spaces = " " * indent
96 if len(left) >= indent:
100 left = (left + spaces)[0:indent]
110 def help_line(left, opt, indent, long): argument
119 for x in wrap(" " + left, right, indent):
H A Dfeature_to_c.py6 def writeliteral(indent, bytes): argument
7 sys.stdout.write(' ' * indent)
14 sys.stdout.write(' ' * indent)
H A Ddecodetree.py504 def output_fields(self, indent, lvalue_formatter): argument
521 output(indent, lvalue_formatter(n), ' = ',
1264 indent = len1 - len2
1268 if indent != nesting:
1269 error(lineno, 'indentation ', indent, ' != ', nesting)
1297 if indent != nesting:
1298 error(lineno, 'indentation ', indent, ' != ', nesting)
1304 if indent != nesting:
1305 error(start_lineno, 'indentation ', indent, ' != ', nesting)
/qemu/qom/
H A Dqom-hmp-cmds.c93 int indent; member
96 static void print_qom_composition(Monitor *mon, Object *obj, int indent);
110 static void print_qom_composition(Monitor *mon, Object *obj, int indent) in print_qom_composition() argument
121 monitor_printf(mon, "%*s/%s (%s)\n", indent, "", name, in print_qom_composition()
129 indent + 2); in print_qom_composition()
/qemu/scripts/qapi/
H A Dintrospect.py110 def indent(level: int) -> str: function
122 ret += indent(level) + f"/* {obj.comment} */\n"
132 ret += indent(level)
147 ret += indent(level + 1) + '{}\n'
148 ret += indent(level) + '}))'
152 ret += indent(level + 1) + "{{ {:s}, {:s} }},\n".format(
156 ret += indent(level + 1) + '{}\n'
157 ret += indent(level) + '}))'
H A Dvisit.py21 indent,
105 indent.increase()
115 indent.increase()
124 indent.decrease()
129 indent.decrease()
H A Dparser.py448 indent = must_match(r'\s*', line).end()
449 if not indent:
451 doc.append_line(line[indent:])
461 if line != '' and cur_indent < indent:
467 indent)
468 doc.append_line(line[indent:])
H A Dcommon.py153 indent = Indentation() variable
163 pfx = str(indent)
/qemu/migration/
H A Dsavevm.c533 int indent) in dump_vmstate_vmsf() argument
535 fprintf(out_file, "%*s{\n", indent, ""); in dump_vmstate_vmsf()
536 indent += 2; in dump_vmstate_vmsf()
550 fprintf(out_file, "\n%*s}", indent - 2, ""); in dump_vmstate_vmsf()
555 int indent) in dump_vmstate_vmss() argument
567 fprintf(out_file, "%*s{\n", indent, ""); in dump_vmstate_vmsd()
571 indent += 2; in dump_vmstate_vmsd()
597 fprintf(out_file, "\n%*s]", indent, ""); in dump_vmstate_vmsd()
613 fprintf(out_file, "\n%*s]", indent, ""); in dump_vmstate_vmsd()
643 int indent = 2; in dump_vmstate_json_to_file() local
[all …]
/qemu/system/
H A Dqdev-monitor.c746 #define qdev_printf(fmt, ...) monitor_printf(mon, "%*s" fmt, indent, "", ## __VA_ARGS__)
749 int indent) in qdev_print_props() argument
774 static void bus_print_dev(BusState *bus, Monitor *mon, DeviceState *dev, int indent) in bus_print_dev() argument
779 bc->print_dev(mon, dev, indent); in bus_print_dev()
783 static void qdev_print(Monitor *mon, DeviceState *dev, int indent) in qdev_print() argument
808 qdev_print_props(mon, dev, DEVICE_CLASS(class)->props_, indent); in qdev_print()
811 bus_print_dev(dev->parent_bus, mon, dev, indent); in qdev_print()
814 static void qbus_print(Monitor *mon, BusState *bus, int indent, bool details) in qbus_print() argument
819 indent += 2; in qbus_print()
827 qdev_print(mon, dev, indent + 2); in qbus_print()
[all …]
/qemu/hw/misc/
H A Dauxbus.c49 static void aux_slave_dev_print(Monitor *mon, DeviceState *dev, int indent);
290 static void aux_slave_dev_print(Monitor *mon, DeviceState *dev, int indent) in aux_slave_dev_print() argument
303 indent, "", in aux_slave_dev_print()
/qemu/hw/pci/
H A Dpci-hmp-cmds.c127 void pcibus_dev_print(Monitor *mon, DeviceState *dev, int indent) in pcibus_dev_print() argument
144 indent, "", ctxt, pci_dev_bus_num(d), in pcibus_dev_print()
157 indent, "", in pcibus_dev_print()
H A Dpci-internal.h19 void pcibus_dev_print(Monitor *mon, DeviceState *dev, int indent);
/qemu/python/qemu/qmp/
H A Dmessage.py109 return json.dumps(self._object, indent=2)
205 strval = json.dumps(self.value, indent=2)
/qemu/hw/core/
H A Dsysbus.c27 static void sysbus_dev_print(Monitor *mon, DeviceState *dev, int indent);
264 static void sysbus_dev_print(Monitor *mon, DeviceState *dev, int indent) in sysbus_dev_print() argument
273 indent, "", s->mmio[i].addr, size); in sysbus_dev_print()
/qemu/target/hexagon/
H A Dmeson.build325 indent = find_program('indent', required: false) variable
326 if indent.found()
328 'indent',
331 command: [indent, '-linux', '@INPUT@', '-o', '@OUTPUT@']
/qemu/scripts/simplebench/
H A Dimg_bench_templater.py95 json.dump(result, f, indent=4)

12