Searched refs:jsonPtr (Results 1 – 4 of 4) sorted by relevance
/openbmc/bmcweb/redfish-core/lib/ |
H A D | memory.hpp | 156 const nlohmann::json::json_pointer& jsonPtr) in dimmPropToHex() argument 162 asyncResp->res.jsonValue[jsonPtr][key] = "0x" + intToHexString(*value, 4); in dimmPropToHex() 168 const nlohmann::json::json_pointer& jsonPtr) in getPersistentMemoryProperties() argument 228 jsonPtr); in getPersistentMemoryProperties() 229 dimmPropToHex(asyncResp, "ModuleProductID", moduleProductID, jsonPtr); in getPersistentMemoryProperties() 231 subsystemVendorID, jsonPtr); in getPersistentMemoryProperties() 233 subsystemDeviceID, jsonPtr); in getPersistentMemoryProperties() 237 asyncResp->res.jsonValue[jsonPtr]["VolatileRegionSizeLimitMiB"] = in getPersistentMemoryProperties() 243 asyncResp->res.jsonValue[jsonPtr]["PersistentRegionSizeLimitMiB"] = in getPersistentMemoryProperties() 249 asyncResp->res.jsonValue[jsonPtr]["VolatileSizeMiB"] = in getPersistentMemoryProperties() [all …]
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | json_utils.hpp | 165 double* jsonPtr = jsonValue.get_ptr<double*>(); in unpackValueWithErrorCode() local 167 if (jsonPtr == nullptr) in unpackValueWithErrorCode() 173 jsonPtr = &helper; in unpackValueWithErrorCode() 176 if (jsonPtr == nullptr) in unpackValueWithErrorCode() 180 if (!checkRange<Type>(*jsonPtr, key)) in unpackValueWithErrorCode() 184 value = static_cast<Type>(*jsonPtr); in unpackValueWithErrorCode() 189 int64_t* jsonPtr = jsonValue.get_ptr<int64_t*>(); in unpackValueWithErrorCode() local 190 if (jsonPtr == nullptr) in unpackValueWithErrorCode() 194 if (!checkRange<Type>(*jsonPtr, key)) in unpackValueWithErrorCode() 198 value = static_cast<Type>(*jsonPtr); in unpackValueWithErrorCode() [all …]
|
H A D | query_param.hpp | 552 const nlohmann::json::json_pointer& jsonPtr, int depth, int skipDepth, 557 const nlohmann::json::json_pointer& jsonPtr, int depth, int skipDepth, 568 const nlohmann::json::json_pointer& jsonPtr, int depth, int skipDepth, in findNavigationReferencesRecursive() argument 581 findNavigationReferencesInArrayRecursive(eType, *array, jsonPtr, depth, in findNavigationReferencesRecursive() 590 findNavigationReferencesInObjectRecursive(eType, *obj, jsonPtr, depth, in findNavigationReferencesRecursive() 596 const nlohmann::json::json_pointer& jsonPtr, int depth, int skipDepth, in findNavigationReferencesInArrayRecursive() argument 603 nlohmann::json::json_pointer newPtr = jsonPtr / index; in findNavigationReferencesInArrayRecursive() 613 const nlohmann::json::json_pointer& jsonPtr, int depth, int skipDepth, in findNavigationReferencesInObjectRecursive() argument 625 BMCWEB_LOG_DEBUG("Found {} at {}", *uri, jsonPtr.to_string()); in findNavigationReferencesInObjectRecursive() 628 out.push_back({jsonPtr, *uri}); in findNavigationReferencesInObjectRecursive() [all …]
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | json_utils.cpp | 260 nlohmann::json* jsonPtr = &jsonData; in lookupComponentName() local 268 jsonPtr = &(jsonIt->second); in lookupComponentName() 295 auto it = jsonPtr->find(id); in lookupComponentName() 296 if (it == jsonPtr->end()) in lookupComponentName()
|