Home
last modified time | relevance | path

Searched full:json (Results 1 – 25 of 2958) sorted by relevance

12345678910>>...119

/openbmc/entity-manager/configurations/
H A Dmeson.build4 '1ux16_riser.json',
5 '2ux8_riser.json',
6 '3ypower_vast2112_psu.json',
7 '8x25_hsbp.json',
8 'a2ul16riser.json',
9 'a2ux8x4riser.json',
10 'acbel/acbel_r1ca2122a_psu.json',
11 'acbel/acbell_rica_psu.json',
12 'ahw1um2riser.json',
13 'ampere/mtjade.json',
[all …]
/openbmc/qemu/tests/qapi-schema/
H A Dmeson.build6 'alternate-any.json',
7 'alternate-array.json',
8 'alternate-base.json',
9 'alternate-branch-if-invalid.json',
10 'alternate-clash.json',
11 'alternate-conflict-dict.json',
12 'alternate-conflict-enum-bool.json',
13 'alternate-conflict-enum-int.json',
14 'alternate-conflict-lists.json',
15 'alternate-conflict-string.json',
[all …]
/openbmc/qemu/qapi/
H A Dqapi-schema.json28 { 'include': 'pragma.json' }
36 { 'include': 'error.json' }
37 { 'include': 'common.json' }
38 { 'include': 'sockets.json' }
39 { 'include': 'run-state.json' }
40 { 'include': 'crypto.json' }
41 { 'include': 'job.json' }
42 { 'include': 'accelerator.json' }
43 { 'include': 'block.json' }
44 { 'include': 'block-export.json' }
[all …]
/openbmc/entity-manager/schemas/
H A Dmeson.build4 'cpld.json',
5 'exposes_record.json',
6 'firmware.json',
7 'global.json',
8 'gpio_presence.json',
9 'ibm.json',
10 'intel.json',
11 'leak_detector.json',
12 'legacy.json',
13 'mctp.json',
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/
H A Dphosphor-ipmi-config.bb7 file://cipher_list.json \
8 file://dcmi_cap.json \
9 file://dcmi_sensors.json \
10 file://dev_id.json \
11 file://power_reading.json \
12 file://channel_access.json \
13 file://channel_config.json \
14 file://entity-map.json \
15 file://cs_privilege_levels.json \
29 install -m 0644 -D ${UNPACKDIR}/cipher_list.json \
[all …]
/openbmc/bmcweb/test/redfish-core/lib/
H A Dservice_root_test.cpp9 #include <nlohmann/json.hpp>
24 nlohmann::json& json = res.jsonValue; in assertServiceRootGet() local
25 EXPECT_EQ(json["@odata.id"], "/redfish/v1"); in assertServiceRootGet()
26 EXPECT_EQ(json["@odata.type"], "#ServiceRoot.v1_15_0.ServiceRoot"); in assertServiceRootGet()
28 EXPECT_EQ(json["AccountService"]["@odata.id"], in assertServiceRootGet()
30 EXPECT_EQ(json["AccountService"].size(), 1); in assertServiceRootGet()
32 EXPECT_EQ(json["CertificateService"]["@odata.id"], in assertServiceRootGet()
34 EXPECT_EQ(json["CertificateService"].size(), 1); in assertServiceRootGet()
36 EXPECT_EQ(json["Chassis"]["@odata.id"], "/redfish/v1/Chassis"); in assertServiceRootGet()
37 EXPECT_EQ(json["Chassis"].size(), 1); in assertServiceRootGet()
[all …]
/openbmc/phosphor-power/phosphor-regulators/src/
H A Dconfig_file_parser.hpp49 #include <nlohmann/json.hpp>
63 * Parses the specified JSON configuration file.
83 * Returns the specified property of the specified JSON element.
87 * @param element JSON element
94 inline const nlohmann::json& getRequiredProperty(const nlohmann::json& element, in getRequiredProperty()
107 * Parses a JSON element containing an action.
113 * @param element JSON element
116 std::unique_ptr<Action> parseAction(const nlohmann::json& element);
119 * Parses a JSON element containing an array of actions.
125 * @param element JSON element
[all …]
/openbmc/phosphor-fan-presence/control/
H A Dmeson.build16 include_dirs += ['./json', './json/actions', './json/triggers']
18 'json/dbus_zone.cpp',
19 'json/event.cpp',
20 'json/fan.cpp',
21 'json/group.cpp',
22 'json/manager.cpp',
23 'json/profile.cpp',
24 'json/zone.cpp',
25 'json/actions/count_state_floor.cpp',
26 'json/actions/count_state_target.cpp',
[all …]
/openbmc/bmcweb/redfish-core/include/
H A Derror_messages.hpp18 #include <nlohmann/json.hpp>
31 * @brief Formats Success message into JSON
35 * @returns Message Success formatted to JSON */
36 nlohmann::json::object_t success();
41 * @brief Formats GeneralError message into JSON
47 * @returns Message GeneralError formatted to JSON */
48 nlohmann::json::object_t generalError();
53 * @brief Formats Created message into JSON
57 * @returns Message Created formatted to JSON */
58 nlohmann::json::object_t created();
[all …]
H A Dresource_messages.hpp18 #include <nlohmann/json.hpp>
30 nlohmann::json::object_t resourceCreated();
32 nlohmann::json::object_t resourceRemoved();
34 nlohmann::json::object_t resourceErrorsDetected(std::string_view arg1,
37 nlohmann::json::object_t resourceErrorsCorrected(std::string_view arg1,
40 nlohmann::json::object_t resourceErrorThresholdExceeded(std::string_view arg1,
43 nlohmann::json::object_t resourceErrorThresholdCleared(std::string_view arg1,
46 nlohmann::json::object_t resourceWarningThresholdExceeded(
49 nlohmann::json::object_t resourceWarningThresholdCleared(std::string_view arg1,
52 nlohmann::json::object_t resourceStatusChangedOK(std::string_view arg1,
[all …]
/openbmc/libcper/specification/json/
H A Dcper-json-full-log.json2 "$id": "cper-json-full-log",
3 "$schema": "https://json-schema.org/draft/2020-12/schema",
5 … "A Common Platform Error Record as defined in UEFI Specification Appendix N represented as JSON.",
10 "$ref": "./cper-json-header.json"
16 "$ref": "./cper-json-section-descriptor.json"
33 "$ref": "./sections/cper-generic-processor.json"
36 "$ref": "./sections/cper-ia32x64-processor.json"
39 "$ref": "./sections/cper-arm-processor.json"
42 "$ref": "./sections/cper-memory.json"
45 "$ref": "./sections/cper-memory2.json"
[all …]
H A Dcper-json-section-log.json7 "$ref": "./cper-json-header.json"
10 "$ref": "./cper-json-section-descriptor.json"
24 "$ref": "./sections/cper-generic-processor.json"
27 "$ref": "./sections/cper-ia32x64-processor.json"
30 "$ref": "./sections/cper-arm-processor.json"
33 "$ref": "./sections/cper-memory.json"
36 "$ref": "./sections/cper-memory2.json"
39 "$ref": "./sections/cper-pcie.json"
42 "$ref": "./sections/cper-pci-bus.json"
45 "$ref": "./sections/cper-pci-component.json"
[all …]
/openbmc/entity-manager/test/entity_manager/
H A Dtest_entity-manager.cpp4 #include <nlohmann/json.hpp>
15 nlohmann::json j = {{"foo", "$bus"}}; in TEST()
22 nlohmann::json expected = 23; in TEST()
28 nlohmann::json j = {{"foo", "$TEST"}}; in TEST()
35 nlohmann::json expected = "Test"; in TEST()
41 nlohmann::json j = {{"foo", "the $TEST"}}; in TEST()
48 nlohmann::json expected = "the Test"; in TEST()
54 nlohmann::json j = {{"foo", "the $TEST worked"}}; in TEST()
61 nlohmann::json expected = "the Test worked"; in TEST()
67 nlohmann::json in TEST()
[all...]
/openbmc/openbmc/meta-ampere/meta-jade/recipes-phosphor/fans/
H A Dphosphor-fan_%.bbappend5 PACKAGECONFIG:append = " json"
7 SRC_URI:append = " file://events.json \
8 file://fans.json \
9 file://groups.json \
10 file://zones.json \
11 file://monitor.json \
12 file://presence.json \
20 cp ${UNPACKDIR}/events.json ${S}/control/config_files/${MACHINE}/events.json
21 cp ${UNPACKDIR}/fans.json ${S}/control/config_files/${MACHINE}/fans.json
22 cp ${UNPACKDIR}/groups.json ${S}/control/config_files/${MACHINE}/groups.json
[all …]
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-phosphor/fans/
H A Dphosphor-fan_%.bbappend3 PACKAGECONFIG:append = " json"
7 CONTROL_CONFIGS = "events.json fans.json zones.json groups_2p.json groups_1p.json"
11 file://events.json \
12 file://fans.json \
13 file://groups_1p.json \
14 file://groups_2p.json \
[all...]
/openbmc/openbmc/meta-ibm/recipes-phosphor/inventory/
H A Dphosphor-inventory-manager_%.bbappend3 SRC_URI:append:ibm-ac-server = " file://associations.json"
9 file://ibm,rainier-2u_associations.json \
10 file://ibm,rainier-4u_associations.json \
11 file://ibm,everest_associations.json \
12 file://ibm,blueridge-2u_associations.json \
13 file://ibm,blueridge-4u_associations.json \
14 file://ibm,fuji_associations.json \
19 install -m 0755 ${UNPACKDIR}/associations.json ${D}${base_datadir}/associations.json
24 …m 0755 ${UNPACKDIR}/ibm,rainier-2u_associations.json ${D}${base_datadir}/ibm,rainier-2u_associatio…
25 …m 0755 ${UNPACKDIR}/ibm,rainier-4u_associations.json ${D}${base_datadir}/ibm,rainier-4u_associatio…
[all …]
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Dconfig_file_parser.hpp20 #include <nlohmann/json.hpp>
33 * Standard JSON configuration file directory on the BMC.
38 * Finds the JSON configuration file for the current system based on the
55 * @return path to the JSON configuration file, or an empty path if none was
63 * Parses the specified JSON configuration file.
81 * Returns the specified property of the specified JSON element.
85 * @param element JSON element
92 inline const nlohmann::json& getRequiredProperty(const nlohmann::json& element, in getRequiredProperty()
105 * Parses a JSON element containing a boolean.
111 * @param element JSON element
[all …]
/openbmc/bmcweb/redfish-core/src/
H A Dresource_messages.cpp16 #include <nlohmann/json.hpp>
34 static nlohmann::json::object_t getLog( in getLog()
50 * @brief Formats ResourceCreated message into JSON
55 nlohmann::json::object_t resourceCreated() in resourceCreated()
63 * @brief Formats ResourceRemoved message into JSON
68 nlohmann::json::object_t resourceRemoved() in resourceRemoved()
76 * @brief Formats ResourceErrorsDetected message into JSON
81 nlohmann::json::object_t resourceErrorsDetected(std::string_view arg1, in resourceErrorsDetected()
91 * @brief Formats ResourceErrorsCorrected message into JSON
96 nlohmann::json::object_t resourceErrorsCorrected(std::string_view arg1, in resourceErrorsCorrected()
[all …]
H A Derror_messages.cpp22 #include <nlohmann/json.hpp>
43 static nlohmann::json::object_t getLog(redfish::registries::Base::Index name, in getLog()
57 * @brief Formats Success message into JSON
62 nlohmann::json::object_t success() in success()
74 * @brief Formats GeneralError message into JSON
79 nlohmann::json::object_t generalError() in generalError()
92 * @brief Formats Created message into JSON
97 nlohmann::json::object_t created() in created()
110 * @brief Formats NoOperation message into JSON
115 nlohmann::json::object_t noOperation() in noOperation()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/
H A D0001-Remove-whitespace-in-operator-_json.patch9 git/3rdParty/json/include/json.hpp:24428:58: error: identifier '_json' preceded by whitespace in a …
14 Upstream-Status: Backport [ Its fixed in json import post 2024.9 release ]
17 3rdParty/json/include/json.hpp | 8 ++++----
20 diff --git a/3rdParty/json/include/json.hpp b/3rdParty/json/include/json.hpp
22 --- a/3rdParty/json/include/json.hpp
23 +++ b/3rdParty/json/include/json.hpp
25 /// @brief user-defined string literal for JSON values
26 /// @sa https://json.nlohmann.me/api/basic_json/operator_literal_json/
28 -inline nlohmann::json operator "" _json(const char* s, std::size_t n)
29 +inline nlohmann::json operator ""_json(const char* s, std::size_t n)
[all …]
/openbmc/bmcweb/test/include/
H A Dhttp_utility_test.cpp21 isContentTypeAllowed("application/json", ContentType::JSON, false)); in TEST()
24 EXPECT_TRUE(isContentTypeAllowed("application/json, text/html", in TEST()
33 isContentTypeAllowed("application/html", ContentType::JSON, false)); in TEST()
35 isContentTypeAllowed("application/json", ContentType::CBOR, false)); in TEST()
38 EXPECT_FALSE(isContentTypeAllowed("application/json, text/html", in TEST()
58 getPreferredContentType("text/html, application/json", contentType), in TEST()
61 std::array<ContentType, 2> htmlJson{ContentType::HTML, ContentType::JSON}; in TEST()
62 EXPECT_EQ(getPreferredContentType("text/html, application/json", htmlJson), in TEST()
77 std::array<ContentType, 2> jsonHtml{ContentType::JSON, ContentType::HTML}; in TEST()
78 EXPECT_EQ(getPreferredContentType("text/html, application/json", jsonHtml), in TEST()
[all …]
/openbmc/phosphor-host-ipmid/oem/nvidia/
H A Dbiosconfigcommands.cpp17 #include <nlohmann/json.hpp>
45 nlohmann::json json; in ipmiSetBiosPassword() local
51 // key names for json object in ipmiSetBiosPassword()
62 json[keyHashAlgo] = "SHA256"; in ipmiSetBiosPassword()
67 json[keySeed] = salt; in ipmiSetBiosPassword()
68 json[keyAdminPwdHash] = hash; in ipmiSetBiosPassword()
71 json[keyHashAlgo] = "SHA256"; in ipmiSetBiosPassword()
72 json[keySeed] = salt; in ipmiSetBiosPassword()
73 json[keyAdminPwdHash] = hash; in ipmiSetBiosPassword()
76 json[keyHashAlgo] = "SHA384"; in ipmiSetBiosPassword()
[all …]
/openbmc/openbmc/meta-ampere/meta-jefferson/recipes-phosphor/fans/
H A Dphosphor-fan_%.bbappend3 PACKAGECONFIG:append = " json"
7 CONTROL_CONFIGS = "events.json fans.json zones.json groups.json"
11 file://events.json \
12 file://fans.json \
13 file://groups.json \
14 file://zones.json \
15 file://monitor.json \
[all...]
/openbmc/phosphor-led-manager/manager/
H A Djson-parser.hpp4 #include "json-config.hpp"
7 #include <nlohmann/json.hpp>
18 using Json = nlohmann::json; typedef
25 /** @brief Parse LED JSON file and output Json object
27 * @param[in] path - path of LED JSON file
29 * @return const Json - Json object
31 Json readJson(const fs::path& path) in readJson()
43 return Json::parse(jsonFile); in readJson()
79 static void loadJsonConfigV1GroupMember(const Json& member, in loadJsonConfigV1GroupMember()
100 static void loadJsonConfigV1Group(const Json& entry, in loadJsonConfigV1Group()
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/logging/
H A Dphosphor-logging_%.bbappend5 SRC_URI:append:p10bmc = " file://com.ibm.Hardware.Chassis.Model.Rainier2U_dev_callouts.json"
6 SRC_URI:append:p10bmc = " file://com.ibm.Hardware.Chassis.Model.Rainier4U_dev_callouts.json"
7 SRC_URI:append:p10bmc = " file://com.ibm.Hardware.Chassis.Model.Everest_dev_callouts.json"
8 SRC_URI:append:p10bmc = " file://com.ibm.Hardware.Chassis.Model.Bonnell_dev_callouts.json"
9 …mc = " ${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Rainier2U_dev_callouts.json"
10 …mc = " ${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Rainier4U_dev_callouts.json"
11 …0bmc = " ${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Everest_dev_callouts.json"
12 …0bmc = " ${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Model.Bonnell_dev_callouts.json"
20 …el.Rainier2U_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Mode…
21 …el.Rainier4U_dev_callouts.json ${D}/${datadir}/phosphor-logging/pels/com.ibm.Hardware.Chassis.Mode…
[all …]

12345678910>>...119