Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/
H A Dbuiltin-data.c31 const char *to_json; variable
41 OPT_STRING(0, "to-json", &to_json, NULL, "Convert to JSON format"),
61 if (to_json && to_ctf) { in cmd_data_convert()
66 if (!to_json && !to_ctf) { in cmd_data_convert()
71 if (!to_json) { in cmd_data_convert()
77 if (to_json) in cmd_data_convert()
78 return bt_convert__perf2json(input_name, to_json, &opts); in cmd_data_convert()
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/
H A Dtablefilter.py36 def to_json(self, queryset): member in TableFilter
56 obj = filter_action.to_json(queryset)
129 def to_json(self, queryset): member in TableFilterAction
242 def to_json(self, queryset): member in TableFilterActionDateRange
244 data = super(TableFilterActionDateRange, self).to_json(queryset)
273 def to_json(self, queryset): member in TableFilterMap
277 data[filter_name] = table_filter.to_json()
H A Dwidgets.py117 return json.dumps(table_filter.to_json(self.queryset),
/openbmc/qemu/tests/qemu-iotests/
H A Dqcow2_format.py28 return obj.to_json()
123 print(json.dumps(self.to_json(), indent=4, cls=ComplexEncoder))
135 def to_json(self): member in Qcow2Struct
170 def to_json(self): member in Qcow2BitmapExt
171 fields_dict = super().to_json()
213 def to_json(self): member in Qcow2BitmapDirEntry
217 **super().to_json(),
246 def to_json(self): member in Qcow2BitmapTableEntry
270 def to_json(self): member in Qcow2BitmapTable
288 def to_json(self): member in QcowHeaderExtension.Magic
[all …]
/openbmc/telemetry/src/utils/
H A Dlabeled_tuple.hpp35 inline void to_json(nlohmann::json& j, const double& val) in to_json() function
113 static std::true_type check(decltype(utils::to_json(ref<nlohmann::json>(),
160 nlohmann::json to_json() const in to_json() function
179 return to_json().dump(); in dump()
239 utils::to_json(item, std::get<Idx>(value)); in to_json_item()
290 inline void to_json(nlohmann::json& json, in to_json() function
293 json = tuple.to_json(); in to_json()
/openbmc/qemu/qobject/
H A Dqjson.c151 static void to_json(JSONWriter *writer, const char *name, in to_json() function
191 to_json(writer, qdict_entry_key(entry), qdict_entry_value(entry)); in to_json()
204 to_json(writer, NULL, qlist_entry_obj(entry)); in to_json()
225 to_json(writer, NULL, obj); in qobject_to_json_pretty()
/openbmc/sdbusplus/tools/sdbusplus/templates/
H A Devent.cpp.mako5 jsonString = to_json().dump();
15 jsonString = to_json().dump();
21 auto ${event.CamelCase}::to_json() const -> nlohmann::json
H A Devent.hpp.mako32 auto to_json() const -> nlohmann::json override;
/openbmc/phosphor-logging/lib/
H A Dlg2_commit.cpp63 auto j = t.to_json()[t.name()]; in data_from_json()
122 lg2::error("OPENBMC_MESSAGE_ID={DATA}", "DATA", t.to_json().dump()); in commit()
167 lg2::error("OPENBMC_MESSAGE_ID={DATA}", "DATA", t.to_json().dump()); in commit()
/openbmc/telemetry/tests/src/helpers/
H A Dlabeled_tuple_helpers.hpp16 to_json(json, labeledTuple); in PrintTo()
/openbmc/telemetry/src/types/
H A Dcollection_duration.hpp13 inline void to_json(nlohmann::json& json, const CollectionDuration& value) in BOOST_STRONG_TYPEDEF()
/openbmc/linux/tools/perf/scripts/python/
H A Dflamegraph.py61 def to_json(self): member in Node
133 stacks_json = json.dumps(self.stack, default=lambda x: x.to_json())
/openbmc/qemu/tests/migration/guestperf/
H A Dshell.py189 print(report.to_json())
192 print(report.to_json(), file=fh)
240 print(report.to_json(), file=fh)
H A Dreport.py88 def to_json(self): member in Report
/openbmc/openbmc/poky/meta/lib/oe/
H A Dsbom.py80 doc_sha1 = spdx_doc.to_json(f, sort_keys=True, indent=indent)
H A Dspdx.py298 def to_json(self, f, *, sort_keys=False, indent=None, separators=None): member in SPDXDocument
/openbmc/sdbusplus/include/sdbusplus/
H A Dexception.hpp54 virtual auto to_json() const -> nlohmann::json = 0;
/openbmc/bmcweb/http/
H A Dutility.hpp522 static void to_json(json& j, const URL& url) in to_json() function
/openbmc/qemu/scripts/
H A Dcompare-machine-types.py463 print(comp_table.to_json())
/openbmc/openbmc/poky/meta/classes/
H A Dcreate-spdx-2.2.bbclass882 doc.to_json(f, sort_keys=True, indent=get_json_indent(d))