Home
last modified time | relevance | path

Searched refs:to_json (Results 1 – 15 of 15) 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()
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
353 def to_json(self): member in QcowHeaderExtension
[all …]
/openbmc/telemetry/src/utils/
H A Dlabeled_tuple.hpp35 inline void to_json(nlohmann::json& j, const double& val) in to_json() function
114 check(decltype(utils::to_json(ref<nlohmann::json>(), ref<const U>()))*);
160 nlohmann::json to_json() const in to_json() function
179 return to_json().dump(); in dump()
237 utils::to_json(item, std::get<Idx>(value)); in to_json_item()
288 inline void to_json(nlohmann::json& json, in to_json() function
291 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/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/bmcweb/http/
H A Dutility.hpp545 static void to_json(json& j, const URL& url) in to_json() function
/openbmc/openbmc/poky/meta/classes/
H A Dcreate-spdx-2.2.bbclass1082 doc.to_json(f, sort_keys=True, indent=get_json_indent(d))