| /spdk/python/spdk/rpc/ |
| H A D | __init__.py | 83 def _json_dump(config, fd, indent): 84 if indent is None: 85 indent = 2 86 elif indent < 0: 87 indent = None 88 json.dump(config, fd, indent=indent) 103 def save_config(client, fd, indent=2, subsystems=None): 107 indent: Indent level. Value less than 0 mean compact mode. 108 Default indent leve 82 _json_dump(config, fd, indent) global() argument 102 save_config(client, fd, indent=2) global() argument 177 save_subsystem_config(client, fd, indent=2, name=None) global() argument [all...] |
| H A D | client.py | 15 print(json.dumps(d, indent=2)) 19 print(json.dumps(s, indent=2).strip('"')) 138 reqstr = "\n".join(json.dumps(req, indent=2) for req in self._reqs) 181 self._logger.info("response:\n%s\n", json.dumps(response, indent=2)) 203 msg = "\n".join(["request:", "%s" % json.dumps(params, indent=2), 206 json.dumps(response['error'], indent=2)]) 252 rpc_error = "\n".join(["request:", "%s" % json.dumps(command_info, indent=2), 275 msg = "\n".join(["request:", "%s" % json.dumps(params, indent=2), 278 json.dumps(json_resp['error'], indent=2)])
|
| /spdk/test/json_config/ |
| H A D | config_filter.py | 72 print(json.dumps(out, indent=2)) 112 print(json.dumps(sort_json_object(o)['the_object'], indent=2))
|
| /spdk/ |
| H A D | .astylerc | 7 indent=force-tab=8 # Use tabs for indentation, spaces for minor alignment 8 min-conditional-indent=0
|
| /spdk/lib/json/ |
| H A D | json_write.c | 14 uint32_t indent; member 59 w->indent = 0; in spdk_json_write_begin() 142 for (i = 0; i < w->indent; i++) { in emit_indent() 560 w->indent++; in spdk_json_write_array_begin() 569 if (w->indent == 0) { return fail(w); } in spdk_json_write_array_end() 570 w->indent--; in spdk_json_write_array_end() 585 w->indent++; in spdk_json_write_object_begin() 594 w->indent--; in spdk_json_write_object_end()
|
| /spdk/python/spdk/spdkcli/ |
| H A D | ui_node.py | 153 self.shell.log.info(json.dumps(ret, indent=2)) 558 self.shell.log.info(json.dumps(vars(self.bdev), indent=2)) 601 self.shell.log.info(json.dumps(vars(self.lvs), indent=2)) 704 self.shell.log.info(json.dumps(vars(self.ctrlr), indent=2)) 791 self.shell.log.info(json.dumps(self.target, indent=2))
|
| H A D | ui_root.py | 94 def ui_command_save_config(self, filename, indent=2): argument 96 rpc.save_config(self.client, fd, indent) 98 def ui_command_save_subsystem_config(self, filename, subsystem, indent=2): argument 100 rpc.save_subsystem_config(self.client, fd, indent, subsystem)
|
| H A D | ui_node_nvmf.py | 143 self.shell.log.info(json.dumps(vars(self.lvs), indent=2))
|
| /spdk/scripts/ |
| H A D | sma-client.py | 70 print(json.dumps(result, indent=2))
|
| H A D | rpc.py | 97 indent=args.indent, 102 p.add_argument('-i', '--indent', help="""Indent level. Value less than 0 mean compact mode. Default indent level is 2. 119 indent=args.indent, 124 p.add_argument('-i', '--indent', help="""Indent level. Value less than 0 mean compact mode. Default indent level is 2. 3965 print("Request:\n" + json.dumps({"method": method, "params": params}, indent=2))
|
| /spdk/test/iscsi_tgt/calsoft/ |
| H A D | calsoft.py | 124 json.dump(obj=result, fp=f, indent=2)
|
| /spdk/python/spdk/sma/ |
| H A D | qmp.py | 257 print(json.dumps(result, indent=2))
|
| /spdk/scripts/perf/nvmf/ |
| H A D | run_nvmf.py | 1135 fh.write(json.dumps(nvmet_cfg, indent=2)) 1642 return json.dumps(spdk_cfg_section, indent=2)
|
| /spdk/doc/ |
| H A D | stylesheet.css | 152 text-indent: -53px;
|