| /openbmc/phosphor-host-ipmid/user_channel/ |
| H A D | cipher_mgmt.cpp | 77 void CipherConfig::updateCSPrivilegesMap(const Json& jsonData) in updateCSPrivilegesMap() argument 86 if (jsonData.find(chKey) != jsonData.end()) in updateCSPrivilegesMap() 89 static_cast<std::string>(jsonData[chKey][csKey])); in updateCSPrivilegesMap() 119 int CipherConfig::writeCSPrivilegeLevels(const Json& jsonData) in writeCSPrivilegeLevels() argument 136 const auto& writeData = jsonData.dump(4); in writeCSPrivilegeLevels() 205 Json jsonData; in setCSPrivilegeLevels() local 213 jsonData = readCSPrivilegeLevels(cipherSuitePrivFileName); in setCSPrivilegeLevels() 214 if (jsonData == nullptr) in setCSPrivilegeLevels() 236 jsonData[chKey] = privData; in setCSPrivilegeLevels() 238 if (writeCSPrivilegeLevels(jsonData)) in setCSPrivilegeLevels() [all …]
|
| H A D | cipher_mgmt.hpp | 93 int writeCSPrivilegeLevels(const nlohmann::json& jsonData); 120 void updateCSPrivilegesMap(const nlohmann::json& jsonData);
|
| H A D | channel_mgmt.hpp | 340 int writeJsonFile(const std::string& configFile, const Json& jsonData);
|
| H A D | channel_mgmt.cpp | 836 const Json& jsonData) in writeJsonFile() argument 847 const auto& writeData = jsonData.dump(4); in writeJsonFile()
|
| /openbmc/phosphor-user-manager/ |
| H A D | json_serializer.hpp | 20 mfaConfPath(path), jsonData(std::move(js)) in JsonSerializer() 47 nlohmann::json current = jsonData; in getLeafNode() 60 jsonData.merge_patch(makeJson(key, value)); in serialize() 73 if (jsonData.contains(key)) in erase() 75 jsonData.erase(key); in erase() 97 file << jsonData.dump(4); // Pretty print with 4 spaces in store() 116 file >> jsonData; in load() 142 nlohmann::json jsonData; member in JsonSerializer
|
| /openbmc/google-ipmi-sys/bifurcation/ |
| H A D | bifurcation_static.cpp | 57 nlohmann::json jsonData; in getBifurcation() local 60 jsonData = nlohmann::json::parse(jsonFile, nullptr, false); in getBifurcation() 75 auto value = jsonData[key]; in getBifurcation()
|
| /openbmc/phosphor-logging/extensions/openpower-pels/ |
| H A D | json_utils.cpp | 247 nlohmann::json jsonData; in lookupComponentName() local 248 nlohmann::json* jsonPtr = &jsonData; in lookupComponentName() 272 jsonData = nlohmann::json::parse(file, nullptr, false); in lookupComponentName() 273 if (jsonData.is_discarded()) in lookupComponentName() 278 jsonCache.emplace(creatorID, jsonData); in lookupComponentName()
|
| H A D | pel.cpp | 786 std::vector<uint8_t> jsonData(jsonString.begin(), jsonString.end()); in makeJSONUserDataSection() local 789 while ((jsonData.size() % 4) != 0) in makeJSONUserDataSection() 791 jsonData.push_back(0); in makeJSONUserDataSection() 797 static_cast<uint8_t>(UserDataFormatVersion::json), jsonData); in makeJSONUserDataSection()
|
| /openbmc/phosphor-pid-control/ |
| H A D | main.cpp | 142 auto jsonData = parseValidateJson(path); in restartControlLoops() local 143 sensorConfig = buildSensorsFromJson(jsonData); in restartControlLoops() 145 buildPIDsFromJson(jsonData); in restartControlLoops()
|
| /openbmc/pldm/softoff/ |
| H A D | softoff.cpp | 47 auto jsonData = parseConfig(); in SoftPowerOff() local 49 if (jsonData.is_discarded()) in SoftPowerOff() 61 auto entries = jsonData.value("entries", emptyJsonList); in SoftPowerOff()
|
| /openbmc/phosphor-webui/app/server-health/controllers/ |
| H A D | sensors-overview-controller.js | 26 $scope.jsonData = function(data) { function
|
| H A D | log-controller.js | 75 $scope.jsonData = function(data) { function
|
| /openbmc/x86-power-control/src/ |
| H A D | power_control.cpp | 2360 auto jsonData = nlohmann::json::parse(configFile, nullptr, true, true); in loadConfigValues() local 2362 if (jsonData.is_discarded()) in loadConfigValues() 2367 auto gpios = jsonData["gpio_configs"]; in loadConfigValues() 2368 auto timers = jsonData["timing_configs"]; in loadConfigValues() 2511 auto events = jsonData.value("event_configs", in loadConfigValues()
|
| /openbmc/phosphor-power/phosphor-regulators/test/ |
| H A D | validate-regulators-config_tests.cpp | 226 std::string jsonData = configFileJson.dump(); in writeDataToFile() local 228 out << jsonData; in writeDataToFile()
|