Home
last modified time | relevance | path

Searched refs:hashPos (Results 1 – 2 of 2) sorted by relevance

/openbmc/bmcweb/redfish-core/include/
H A Dredfish_oem_routing.hpp131 size_t hashPos = rule.find("/#/"); in internalAdd() local
132 if (hashPos != std::string_view::npos) in internalAdd()
134 std::string url(rule.substr(0, hashPos)); in internalAdd()
136 url += rule.substr(hashPos + 2); // Skip "/#" (2 characters) in internalAdd()
/openbmc/bmcweb/redfish-core/include/utils/
H A Djson_utils.hpp749 auto hashPos = input.find('#'); in createJsonPointerFromFragment() local
750 if (hashPos == std::string_view::npos || hashPos + 1 >= input.size()) in createJsonPointerFromFragment()
757 std::string_view fragment = input.substr(hashPos + 1); in createJsonPointerFromFragment()