Searched refs:jsonPtr (Results 1 – 4 of 4) sorted by relevance
| /openbmc/bmcweb/redfish-core/lib/ |
| H A D | memory.hpp | 162 const nlohmann::json::json_pointer& jsonPtr) in dimmPropToHex() argument 168 asyncResp->res.jsonValue[jsonPtr][key] = std::format("{:#04X}", *value); in dimmPropToHex() 174 const nlohmann::json::json_pointer& jsonPtr) in getPersistentMemoryProperties() argument 234 jsonPtr); in getPersistentMemoryProperties() 235 dimmPropToHex(asyncResp, "ModuleProductID", moduleProductID, jsonPtr); in getPersistentMemoryProperties() 237 subsystemVendorID, jsonPtr); in getPersistentMemoryProperties() 239 subsystemDeviceID, jsonPtr); in getPersistentMemoryProperties() 243 asyncResp->res.jsonValue[jsonPtr]["VolatileRegionSizeLimitMiB"] = in getPersistentMemoryProperties() 249 asyncResp->res.jsonValue[jsonPtr]["PersistentRegionSizeLimitMiB"] = in getPersistentMemoryProperties() 255 asyncResp->res.jsonValue[jsonPtr]["VolatileSizeMiB"] = in getPersistentMemoryProperties() [all …]
|
| /openbmc/bmcweb/redfish-core/include/utils/ |
| H A D | json_utils.hpp | 162 double* jsonPtr = jsonValue.get_ptr<double*>(); in unpackValueWithErrorCode() local 164 if (jsonPtr == nullptr) in unpackValueWithErrorCode() 170 jsonPtr = &helper; in unpackValueWithErrorCode() 173 if (jsonPtr == nullptr) in unpackValueWithErrorCode() 177 if (!checkRange<Type>(*jsonPtr, key)) in unpackValueWithErrorCode() 181 value = static_cast<Type>(*jsonPtr); in unpackValueWithErrorCode() 186 int64_t* jsonPtr = jsonValue.get_ptr<int64_t*>(); in unpackValueWithErrorCode() local 187 if (jsonPtr == nullptr) in unpackValueWithErrorCode() 203 if (!checkRange<Type>(*jsonPtr, key)) in unpackValueWithErrorCode() 207 value = static_cast<Type>(*jsonPtr); in unpackValueWithErrorCode() [all …]
|
| H A D | query_param.hpp | 555 const nlohmann::json::json_pointer& jsonPtr, int depth, int skipDepth, 560 const nlohmann::json::json_pointer& jsonPtr, int depth, int skipDepth, 571 const nlohmann::json::json_pointer& jsonPtr, int depth, int skipDepth, in findNavigationReferencesRecursive() argument 584 findNavigationReferencesInArrayRecursive(eType, *array, jsonPtr, depth, in findNavigationReferencesRecursive() 593 findNavigationReferencesInObjectRecursive(eType, *obj, jsonPtr, depth, in findNavigationReferencesRecursive() 599 const nlohmann::json::json_pointer& jsonPtr, int depth, int skipDepth, in findNavigationReferencesInArrayRecursive() argument 606 nlohmann::json::json_pointer newPtr = jsonPtr / index; in findNavigationReferencesInArrayRecursive() 616 const nlohmann::json::json_pointer& jsonPtr, int depth, int skipDepth, in findNavigationReferencesInObjectRecursive() argument 628 BMCWEB_LOG_DEBUG("Found {} at {}", *uri, jsonPtr.to_string()); in findNavigationReferencesInObjectRecursive() 631 out.push_back({jsonPtr, *uri}); in findNavigationReferencesInObjectRecursive() [all …]
|
| /openbmc/phosphor-logging/extensions/openpower-pels/ |
| H A D | json_utils.cpp | 248 nlohmann::json* jsonPtr = &jsonData; in lookupComponentName() local 256 jsonPtr = &(jsonIt->second); in lookupComponentName() 283 auto it = jsonPtr->find(id); in lookupComponentName() 284 if (it == jsonPtr->end()) in lookupComponentName()
|