| /openbmc/phosphor-host-ipmid/user_channel/ |
| H A D | cipher_mgmt.cpp | 31 using Json = nlohmann::json; typedef 58 Json data = readCSPrivilegeLevels(cipherSuiteDefaultPrivFileName); in loadCSPrivilegesToMap() 77 void CipherConfig::updateCSPrivilegesMap(const Json& jsonData) in updateCSPrivilegesMap() 95 Json CipherConfig::readCSPrivilegeLevels(const std::string& csFileName) in readCSPrivilegeLevels() 104 Json data = nullptr; in readCSPrivilegeLevels() 107 data = Json::parse(jsonFile, nullptr, false); in readCSPrivilegeLevels() 109 catch (const Json::parse_error& e) in readCSPrivilegeLevels() 119 int CipherConfig::writeCSPrivilegeLevels(const Json& jsonData) in writeCSPrivilegeLevels() 205 Json jsonData; in setCSPrivilegeLevels() 220 Json privData; in setCSPrivilegeLevels()
|
| H A D | channel_mgmt.cpp | 812 Json ChannelConfig::readJsonFile(const std::string& configFile) in readJsonFile() 821 Json data = nullptr; in readJsonFile() 824 data = Json::parse(jsonFile, nullptr, false); in readJsonFile() 826 catch (const Json::parse_error& e) in readJsonFile() 836 const Json& jsonData) in writeJsonFile() 917 Json data = readJsonFile(channelConfigDefaultFilename); in loadChannelConfig() 940 Json jsonChData = data[chKey].get<Json>(); in loadChannelConfig() 948 Json jsonChInfo = jsonChData[channelInfoString].get<Json>(); in loadChannelConfig() 1000 catch (const Json::exception& e) in loadChannelConfig() 1024 Json data = readJsonFile(channelVolatileDataFilename); in readChannelVolatileData() [all …]
|
| H A D | channel_mgmt.hpp | 33 using Json = nlohmann::json; typedef 331 Json readJsonFile(const std::string& configFile); 340 int writeJsonFile(const std::string& configFile, const Json& jsonData);
|
| H A D | user_mgmt.cpp | 47 using Json = nlohmann::json; typedef 1042 static const Json constructJsonPayloadEnables( in constructJsonPayloadEnables() 1048 Json jsonPayloadEnabled; in constructJsonPayloadEnables() 1058 jsonPayloadEnabled.push_back(Json::object_t::value_type( in constructJsonPayloadEnables() 1061 jsonPayloadEnabled.push_back(Json::object_t::value_type( in constructJsonPayloadEnables() 1117 Json jsonUsersTbl = Json::array(); in readUserData() 1118 jsonUsersTbl = Json::parse(iUsrData, nullptr, false); in readUserData() 1130 Json userInfo = jsonUsersTbl[usrIndex - 1]; // json array starts with 0. in readUserData() 1188 catch (const Json::out_of_range& e) in readUserData() 1239 Json jsonUsersTbl = Json::array(); in writeUserData() [all …]
|
| /openbmc/phosphor-led-manager/manager/ |
| H A D | json-parser.hpp | 18 using Json = nlohmann::json; typedef 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() 103 const Json empty{}; in loadJsonConfigV1Group() 136 phosphor::led::GroupMap loadJsonConfigV1(const Json& json) in loadJsonConfigV1() 141 const Json empty{}; in loadJsonConfigV1()
|
| /openbmc/pldm/libpldmresponder/test/ |
| H A D | libpldmresponder_bios_attribute_test.cpp | 13 TestAttribute(const Json& entry, DBusHandler* const dbusHandler) : in TestAttribute() 61 using Json = nlohmann::json; in TEST() typedef 63 EXPECT_THROW((TestAttribute{jsonReadOnlyError, nullptr}), Json::exception); in TEST() 99 EXPECT_THROW((TestAttribute{jsonReadWriteError, nullptr}), Json::exception); in TEST()
|
| H A D | libpldmresponder_bios_config_test.cpp | 42 auto j = Json::parse(file); in SetUpTestCase() 47 std::optional<Json> findJsonEntry(const std::string& name) in findJsonEntry() 71 static std::vector<Json> jsons; 75 std::vector<Json> TestBIOSConfig::jsons;
|
| /openbmc/pldm/libpldmresponder/ |
| H A D | event_parser.cpp | 18 const Json emptyJson{}; 19 const std::vector<Json> emptyJsonList{}; 39 auto data = Json::parse(jsonFile, nullptr, false); in StateSensorHandler() 107 const Json& eventStates, const Json& propertyValues, std::string_view type) in mapStateToDBusVal()
|
| H A D | pdr_utils.hpp | 72 using Json = nlohmann::json; typedef 92 inline Json readJson(const std::string& path) in readJson() 107 return Json::parse(jsonFile); in readJson() 119 StatestoDbusVal populateMapping(const std::string& type, const Json& dBusValues,
|
| H A D | fru_parser.cpp | 24 using Json = nlohmann::json; typedef 35 const Json emptyJson{}; 36 const std::vector<Json> emptyJsonList{}; 59 auto data = Json::parse(jsonFile, nullptr, false); in setupDefaultDBusLookup() 132 auto data = Json::parse(jsonFile, nullptr, false); in setupFruRecordMap()
|
| H A D | event_parser.hpp | 74 using Json = nlohmann::json; typedef 135 StateToDBusValue mapStateToDBusVal(const Json& eventStates, 136 const Json& propertyValues,
|
| H A D | pdr_state_effecter.hpp | 18 using Json = nlohmann::json; typedef 20 static const Json empty{}; 30 void generateStateEffecterPDR(const DBusInterface& dBusIntf, const Json& json, in generateStateEffecterPDR() 33 static const std::vector<Json> emptyList{}; in generateStateEffecterPDR()
|
| H A D | bios_attribute.hpp | 24 using Json = nlohmann::json; typedef 37 BIOSAttribute(const Json& entry,
|
| H A D | pdr_state_sensor.hpp | 17 using Json = nlohmann::json; typedef 19 static const Json empty{}; 29 void generateStateSensorPDR(const DBusInterface& dBusIntf, const Json& json, in generateStateSensorPDR() 32 static const std::vector<Json> emptyList{}; in generateStateSensorPDR()
|
| H A D | bios_enum_attribute.cpp | 17 BIOSEnumAttribute::BIOSEnumAttribute(const Json& entry, in BIOSEnumAttribute() 22 Json pv = entry.at("possible_values"); in BIOSEnumAttribute() 29 Json dv = entry.at("default_values"); in BIOSEnumAttribute() 35 Json vdn = entry.at("value_names"); in BIOSEnumAttribute() 75 void BIOSEnumAttribute::buildValMap(const Json& dbusVals) in buildValMap()
|
| H A D | bios_enum_attribute.hpp | 31 BIOSEnumAttribute(const Json& entry, 105 void buildValMap(const Json& dbusVals);
|
| H A D | pdr_numeric_effecter.hpp | 17 using Json = nlohmann::json; typedef 19 static const Json empty{}; 29 void generateNumericEffecterPDR(const DBusInterface& dBusIntf, const Json& json, in generateNumericEffecterPDR() 33 static const std::vector<Json> emptyList{}; in generateNumericEffecterPDR()
|
| H A D | bios_attribute.cpp | 17 BIOSAttribute::BIOSAttribute(const Json& entry, in BIOSAttribute()
|
| H A D | bios_integer_attribute.hpp | 27 BIOSIntegerAttribute(const Json& entry,
|
| /openbmc/pldm/softoff/ |
| H A D | softoff.hpp | 16 using Json = nlohmann::json; typedef 88 Json parseConfig();
|
| /openbmc/phosphor-virtual-sensor/src/ |
| H A D | virtualSensor.hpp | 32 using Json = nlohmann::json; typedef 100 const Json& sensorConfig, const std::string& name, in VirtualSensor() 191 void initVirtualSensor(const Json& sensorConfig, const std::string& objPath, 206 void createThresholds(const Json& threshold, const std::string& objPath, 303 Json parseConfigFile();
|
| H A D | virtualSensor.cpp | 64 AssociationList getAssociationsFromJson(const Json& j) in getAssociationsFromJson() 166 void parseThresholds(Json& thresholds, const PropertyMap& propertyMap, in parseThresholds() 235 void VirtualSensor::initVirtualSensor(const Json& sensorConfig, in initVirtualSensor() 239 static const Json empty{}; in initVirtualSensor() 393 Json thresholds; in initVirtualSensor() 514 const Json& threshold, const std::string& objPath, ValueIface::Unit units) in createThresholds() 685 Json VirtualSensors::parseConfigFile() in parseConfigFile() 711 auto data = Json::parse(jsonFile, nullptr, false); in parseConfigFile() 857 static const Json empty{}; in createVirtualSensors()
|
| /openbmc/openbmc-test-automation/redfish/account_service/ |
| H A D | test_redfish_privilege_registry.robot | 40 ${url}= Get Redfish Privilege Registry Json URL 108 ${url}= Get Redfish Privilege Registry Json URL 190 Get Redfish Privilege Registry Json URL 191 [Documentation] Return the complete Privilege Registry Json URL. 193 # Get Privilege Registry version Json path in redfish.
|
| /openbmc/phosphor-host-ipmid/app/ |
| H A D | channel.hpp | 31 using Json = nlohmann::json; typedef
|
| /openbmc/google-ipmi-sys/ |
| H A D | meson.options | 6 description: 'Path to Static Bifurcation Json config',
|