| /openbmc/bmcweb/redfish-core/include/ |
| H A D | update_messages.hpp | 30 nlohmann::json::object_t targetDetermined(std::string_view arg1, 31 std::string_view arg2); 35 nlohmann::json::object_t noTargetsDetermined(std::string_view arg1); 39 nlohmann::json::object_t transferringToComponent(std::string_view arg1, 40 std::string_view arg2); 42 nlohmann::json::object_t verifyingAtComponent(std::string_view arg1, 43 std::string_view arg2); 45 nlohmann::json::object_t installingOnComponent(std::string_view arg1, 46 std::string_view arg2); 48 nlohmann::json::object_t applyingOnComponent(std::string_view arg1, [all …]
|
| H A D | error_messages.hpp | 80 nlohmann::json::object_t propertyDuplicate(std::string_view arg1); 82 void propertyDuplicate(crow::Response& res, std::string_view arg1); 92 nlohmann::json::object_t propertyUnknown(std::string_view arg1); 94 void propertyUnknown(crow::Response& res, std::string_view arg1); 106 std::string_view arg2); 109 std::string_view arg2); 121 std::string_view arg2); 124 std::string_view arg2); 136 std::string_view arg2); 139 std::string_view arg2); [all …]
|
| H A D | resource_messages.hpp | 34 nlohmann::json::object_t resourceErrorsDetected(std::string_view arg1, 35 std::string_view arg2); 37 nlohmann::json::object_t resourceErrorsCorrected(std::string_view arg1, 38 std::string_view arg2); 40 nlohmann::json::object_t resourceErrorThresholdExceeded(std::string_view arg1, 43 nlohmann::json::object_t resourceErrorThresholdCleared(std::string_view arg1, 46 nlohmann::json::object_t resourceWarningThresholdExceeded(std::string_view arg1, 49 nlohmann::json::object_t resourceWarningThresholdCleared(std::string_view arg1, 52 nlohmann::json::object_t resourceStatusChangedOK(std::string_view arg1, 53 std::string_view arg2); [all …]
|
| H A D | task_messages.hpp | 30 nlohmann::json::object_t taskStarted(std::string_view arg1); 32 nlohmann::json::object_t taskCompletedOK(std::string_view arg1); 34 nlohmann::json::object_t taskCompletedWarning(std::string_view arg1); 36 nlohmann::json::object_t taskAborted(std::string_view arg1); 38 nlohmann::json::object_t taskCancelled(std::string_view arg1); 40 nlohmann::json::object_t taskRemoved(std::string_view arg1); 42 nlohmann::json::object_t taskPaused(std::string_view arg1); 44 nlohmann::json::object_t taskResumed(std::string_view arg1); 46 nlohmann::json::object_t taskProgressChanged(std::string_view arg1,
|
| /openbmc/bmcweb/redfish-core/src/ |
| H A D | update_messages.cpp | 39 std::span<const std::string_view> args) in getLog() 58 nlohmann::json::object_t targetDetermined(std::string_view arg1, in targetDetermined() 59 std::string_view arg2) in targetDetermined() 84 nlohmann::json::object_t noTargetsDetermined(std::string_view arg1) in noTargetsDetermined() 109 nlohmann::json::object_t transferringToComponent(std::string_view arg1, in transferringToComponent() 110 std::string_view arg2) in transferringToComponent() 123 nlohmann::json::object_t verifyingAtComponent(std::string_view arg1, in verifyingAtComponent() 124 std::string_view arg2) in verifyingAtComponent() 137 nlohmann::json::object_t installingOnComponent(std::string_view arg1, in installingOnComponent() 138 std::string_view arg2) in installingOnComponent() [all …]
|
| H A D | resource_messages.cpp | 40 std::span<const std::string_view> args) in getLog() 85 nlohmann::json::object_t resourceErrorsDetected(std::string_view arg1, in resourceErrorsDetected() 86 std::string_view arg2) in resourceErrorsDetected() 100 nlohmann::json::object_t resourceErrorsCorrected(std::string_view arg1, in resourceErrorsCorrected() 101 std::string_view arg2) in resourceErrorsCorrected() 115 nlohmann::json::object_t resourceErrorThresholdExceeded(std::string_view arg1, in resourceErrorThresholdExceeded() 121 std::to_array<std::string_view>({arg1, arg2Str})); in resourceErrorThresholdExceeded() 131 nlohmann::json::object_t resourceErrorThresholdCleared(std::string_view arg1, in resourceErrorThresholdCleared() 137 std::to_array<std::string_view>({arg1, arg2Str})); in resourceErrorThresholdCleared() 147 nlohmann::json::object_t resourceWarningThresholdExceeded(std::string_view arg1, in resourceWarningThresholdExceeded() [all …]
|
| H A D | error_messages.cpp | 46 std::span<const std::string_view> args) in getLog() 135 nlohmann::json::object_t propertyDuplicate(std::string_view arg1) in propertyDuplicate() 141 void propertyDuplicate(crow::Response& res, std::string_view arg1) in propertyDuplicate() 154 nlohmann::json::object_t propertyUnknown(std::string_view arg1) in propertyUnknown() 160 void propertyUnknown(crow::Response& res, std::string_view arg1) in propertyUnknown() 174 std::string_view arg2) in propertyValueTypeError() 179 std::to_array<std::string_view>({arg1Str, arg2})); in propertyValueTypeError() 183 std::string_view arg2) in propertyValueTypeError() 197 std::string_view arg2) in propertyValueFormatError() 202 std::to_array<std::string_view>({arg1Str, arg2})); in propertyValueFormatError() [all …]
|
| H A D | task_messages.cpp | 40 std::span<const std::string_view> args) in getLog() 59 nlohmann::json::object_t taskStarted(std::string_view arg1) in taskStarted() 72 nlohmann::json::object_t taskCompletedOK(std::string_view arg1) in taskCompletedOK() 85 nlohmann::json::object_t taskCompletedWarning(std::string_view arg1) in taskCompletedWarning() 98 nlohmann::json::object_t taskAborted(std::string_view arg1) in taskAborted() 111 nlohmann::json::object_t taskCancelled(std::string_view arg1) in taskCancelled() 124 nlohmann::json::object_t taskRemoved(std::string_view arg1) in taskRemoved() 137 nlohmann::json::object_t taskPaused(std::string_view arg1) in taskPaused() 150 nlohmann::json::object_t taskResumed(std::string_view arg1) in taskResumed() 163 nlohmann::json::object_t taskProgressChanged(std::string_view arg1, in taskProgressChanged() [all …]
|
| /openbmc/sdbusplus/include/sdbusplus/bus/ |
| H A D | match.hpp | 81 constexpr auto sender(std::string_view s) noexcept in sender() 85 constexpr auto interface(std::string_view s) noexcept in interface() 89 constexpr auto member(std::string_view s) noexcept in member() 93 constexpr auto path(std::string_view s) noexcept in path() 97 constexpr auto path_namespace(std::string_view s) noexcept in path_namespace() 101 constexpr auto destination(std::string_view s) noexcept in destination() 105 inline auto argN(size_t n, std::string_view s) noexcept in argN() 109 inline auto argNpath(size_t n, std::string_view s) noexcept in argNpath() 116 constexpr auto arg0namespace(std::string_view s) noexcept in arg0namespace() 140 constexpr auto interfacesAdded(std::string_view p) noexcept in interfacesAdded() [all …]
|
| /openbmc/phosphor-networkd/src/ |
| H A D | config_parser.hpp | 19 bool icaseeq(std::string_view in, std::string_view expected) noexcept; 21 std::optional<bool> parseBool(std::string_view in) noexcept; 25 fs::path pathForIntfConf(const fs::path& dir, std::string_view intf); 26 fs::path pathForIntfDev(const fs::path& dir, std::string_view intf); 80 void operator()(std::string_view s); 84 void operator()(std::string_view s); 88 void operator()(std::string_view s); 91 struct string_hash : public std::hash<std::string_view> 98 return static_cast<const std::hash<std::string_view>&>(*this)(t.get()); in operator ()() 103 return static_cast<const std::hash<std::string_view>&>(*this)(t); in operator ()() [all …]
|
| H A D | util.hpp | 27 constexpr stdplus::InAnyAddr addrFromBuf(int family, std::string_view buf) in addrFromBuf() 45 std::optional<std::string> interfaceToUbootEthAddr(std::string_view intf); 74 std::string_view key); 90 std::string_view getIgnoredInterfacesEnv(); 93 std::unordered_set<std::string_view> parseInterfaces( 94 std::string_view interfaces); 97 const std::unordered_set<std::string_view>& getIgnoredInterfaces();
|
| H A D | util.cpp | 30 static constexpr std::string_view lldpdConfigFilePath = "/etc/lldpd.conf"; 80 std::string_view getIgnoredInterfacesEnv() in getIgnoredInterfacesEnv() 91 std::unordered_set<std::string_view> parseInterfaces( in parseInterfaces() 92 std::string_view interfaces) in parseInterfaces() 94 std::unordered_set<std::string_view> result; in parseInterfaces() 121 const std::unordered_set<std::string_view>& getIgnoredInterfaces() in getIgnoredInterfaces() 129 std::optional<std::string> interfaceToUbootEthAddr(std::string_view intf) in interfaceToUbootEthAddr() 154 static std::optional<DHCPVal> systemdParseDHCP(std::string_view str) in systemdParseDHCP() 172 std::string_view section, std::string_view key, in systemdParseLast() 196 return decltype(fun(std::string_view{}))(std::nullopt); in systemdParseLast() [all …]
|
| H A D | config_parser.cpp | 26 bool icaseeq(std::string_view in, std::string_view expected) noexcept in icaseeq() 32 std::optional<bool> parseBool(std::string_view in) noexcept in parseBool() 47 fs::path pathForIntfConf(const fs::path& dir, std::string_view intf) in pathForIntfConf() 52 fs::path pathForIntfDev(const fs::path& dir, std::string_view intf) in pathForIntfDev() 58 std::string_view section, std::string_view key) const noexcept in getLastValueString() 77 std::vector<std::string> SectionMap::getValueStrings(std::string_view section, in getValueStrings() 78 std::string_view key) const in getValueStrings() 84 void KeyCheck::operator()(std::string_view s) in operator ()() 96 void SectionCheck::operator()(std::string_view s) in operator ()() 108 void ValueCheck::operator()(std::string_view s) in operator ()() [all …]
|
| H A D | rtnetlink.hpp | 11 InterfaceInfo intfFromRtm(std::string_view msg); 14 std::string_view msg); 16 AddressInfo addrFromRtm(std::string_view msg); 18 NeighborInfo neighFromRtm(std::string_view msg);
|
| /openbmc/phosphor-networkd/test/ |
| H A D | test_netlink.cpp | 30 std::string_view data(buf, sizeof(buf)); in TEST() 33 auto cb = [&](const nlmsghdr&, std::string_view) { cbCalls++; }; in TEST() argument 45 std::string_view data(reinterpret_cast<char*>(&hdr), NLMSG_SPACE(0)); in TEST() 48 auto cb = [&](const nlmsghdr&, std::string_view) { cbCalls++; }; in TEST() argument 60 std::string_view data(reinterpret_cast<char*>(&hdr), NLMSG_SPACE(0)); in TEST() 63 auto cb = [&](const nlmsghdr&, std::string_view) { cbCalls++; }; in TEST() argument 76 std::string_view data(reinterpret_cast<char*>(&hdr), NLMSG_SPACE(0)); in TEST() 79 auto cb = [&](const nlmsghdr&, std::string_view) { cbCalls++; }; in TEST() argument 97 std::string_view data(reinterpret_cast<char*>(&buf), sizeof(buf)); in TEST() 100 auto cb = [&](const nlmsghdr&, std::string_view) { cbCalls++; }; in TEST() argument [all …]
|
| /openbmc/google-misc/subprojects/metrics-ipmi-blobs/ |
| H A D | util.hpp | 41 TcommUtimeStime parseTcommUtimeStimeString(std::string_view content, 43 std::string readFileThenGrepIntoString(std::string_view fileName, 44 std::string_view grepStr = ""); 45 bool isNumericPath(std::string_view path, int& value); 48 bool parseMeminfoValue(std::string_view content, std::string_view keyword, 50 bool parseProcUptime(const std::string_view content, double& uptime, 56 std::string trimStringRight(std::string_view s);
|
| /openbmc/bmcweb/http/ |
| H A D | http_request.hpp | 51 Request(std::string_view bodyIn, std::error_code& /*ec*/) : req({}, bodyIn) in Request() 67 void addHeader(std::string_view key, std::string_view value) in addHeader() 72 void addHeader(boost::beast::http::field key, std::string_view value) in addHeader() 96 std::string_view methodString() in methodString() 101 std::string_view getHeaderValue(std::string_view key) const in getHeaderValue() 106 std::string_view getHeaderValue(boost::beast::http::field key) const in getHeaderValue() 116 std::string_view methodString() const in methodString() 121 std::string_view target() const in target() 146 bool target(std::string_view target) in target()
|
| H A D | mutual_tls.cpp | 51 bool isUPNMatch(std::string_view upn, std::string_view hostname) in isUPNMatch() 56 if (upnDomainPos == std::string_view::npos) in isUPNMatch() 62 std::string_view upnDomain = upn.substr(upnDomainPos + 1); in isUPNMatch() 65 std::string_view upnDomainMatching = upnDomain; in isUPNMatch() 67 if (dotUPNPos != std::string_view::npos) in isUPNMatch() 72 std::string_view hostDomainMatching = hostname; in isUPNMatch() 74 if (dotHostPos != std::string_view::npos) in isUPNMatch() 84 if (dotUPNPos == std::string_view::npos) in isUPNMatch() 94 std::string getUPNFromCert(X509* peerCert, std::string_view hostname) in getUPNFromCert()
|
| H A D | utility.hpp | 37 constexpr uint64_t getParameterTag(std::string_view url) in getParameterTag() 40 size_t urlSegmentIndex = std::string_view::npos; in getParameterTag() 47 if (urlSegmentIndex != std::string_view::npos) in getParameterTag() 55 if (urlSegmentIndex == std::string_view::npos) in getParameterTag() 59 std::string_view tag = in getParameterTag() 70 urlSegmentIndex = std::string_view::npos; in getParameterTag() 73 if (urlSegmentIndex != std::string_view::npos) in getParameterTag() 143 void encode(std::string_view data, std::string& output) in encode() 224 inline std::string base64encode(std::string_view data) in base64encode() 235 inline std::string createBasicAuthHeader(std::string_view username, in createBasicAuthHeader() [all …]
|
| /openbmc/phosphor-bmc-code-mgmt/i2c-vr/mps/ |
| H A D | mps.hpp | 101 using value_type = std::vector<std::string_view>; 107 Iterator(std::string_view sv) : remaining(sv) in Iterator() 146 std::string_view remaining; 147 std::vector<std::string_view> currentTokens; 159 std::string_view line = remaining.substr(0, newlinePos); in next() 160 remaining = (newlinePos == std::string_view::npos) in next() 161 ? std::string_view{} in next() 169 if (start == std::string_view::npos) in next() 176 start = (end == std::string_view::npos) ? line.size() : end; in next() 192 std::string_view data; [all …]
|
| /openbmc/bmcweb/test/include/ |
| H A D | multipart_test.cpp | 26 std::string_view body = in TEST_F() 67 std::string_view body = in TEST_F() 86 std::string_view body = in TEST_F() 104 std::string_view body = in TEST_F() 124 std::string_view body = in TEST_F() 143 std::string_view body = in TEST_F() 163 std::string_view body = in TEST_F() 183 std::string_view body = in TEST_F() 202 std::string_view body = in TEST_F() 221 std::string_view body = in TEST_F() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/ |
| H A D | 0001-asio-Dont-use-experimental-with-clang.patch | 11 src/third_party/asio-master/asio/include/asio/detail/string_view.hpp | 4 ++-- 14 …io-master/asio/include/asio/detail/string_view.hpp b/src/third_party/asio-master/asio/include/asio… 16 --- a/src/third_party/asio-master/asio/include/asio/detail/string_view.hpp 17 +++ b/src/third_party/asio-master/asio/include/asio/detail/string_view.hpp 20 using std::string_view; 23 -using std::experimental::string_view; 25 +using std::string_view;
|
| /openbmc/bmcweb/redfish-core/include/utils/ |
| H A D | dbus_utils.hpp | 56 std::string_view redfishPropertyName, std::string_view processName, in setDbusProperty() 57 const sdbusplus::message::object_path& path, std::string_view interface, in setDbusProperty() 58 std::string_view dbusProperty, const PropertyType& prop) in setDbusProperty() 78 std::string_view processName, const sdbusplus::message::object_path& path, in setDbusPropertyAction() 79 std::string_view interface, std::string_view dbusProperty, in setDbusPropertyAction() 80 std::string_view redfishActionParameterName, in setDbusPropertyAction() 81 std::string_view redfishActionName, const DbusPropertyType& prop) in setDbusPropertyAction()
|
| /openbmc/telemetry/src/types/ |
| H A D | operation_type.hpp | 26 constexpr std::array<std::pair<std::string_view, OperationType>, 4> 28 {std::make_pair<std::string_view, OperationType>( 31 std::make_pair<std::string_view, OperationType>( 34 std::make_pair<std::string_view, OperationType>( 37 std::make_pair<std::string_view, OperationType>(
|
| /openbmc/entity-manager/src/ |
| H A D | utils.hpp | 90 auto iFindFirst(T&& str, std::string_view sub) in iFindFirst() 97 std::vector<std::string> split(std::string_view str, char delim); 99 void iReplaceAll(std::string& str, std::string_view search, 100 std::string_view replace); 102 void replaceAll(std::string& str, std::string_view search, 103 std::string_view replace); 105 std::string toLowerCopy(std::string_view str); 108 std::from_chars_result fromCharsWrapper(const std::string_view& str, T& out, in fromCharsWrapper()
|