Home
last modified time | relevance | path

Searched refs:string_view (Results 1 – 25 of 323) sorted by relevance

12345678910>>...13

/openbmc/bmcweb/redfish-core/include/
H A Derror_messages.hpp80 nlohmann::json propertyDuplicate(std::string_view arg1);
82 void propertyDuplicate(crow::Response& res, std::string_view arg1);
92 nlohmann::json 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 Dresource_messages.hpp34 nlohmann::json resourceErrorsDetected(std::string_view arg1,
35 std::string_view arg2);
37 nlohmann::json resourceErrorsCorrected(std::string_view arg1,
38 std::string_view arg2);
40 nlohmann::json resourceErrorThresholdExceeded(std::string_view arg1,
41 std::string_view arg2);
43 nlohmann::json resourceErrorThresholdCleared(std::string_view arg1,
44 std::string_view arg2);
46 nlohmann::json resourceWarningThresholdExceeded(std::string_view arg1,
47 std::string_view arg2);
[all …]
H A Dtask_messages.hpp30 nlohmann::json taskStarted(std::string_view arg1);
32 nlohmann::json taskCompletedOK(std::string_view arg1);
34 nlohmann::json taskCompletedWarning(std::string_view arg1);
36 nlohmann::json taskAborted(std::string_view arg1);
38 nlohmann::json taskCancelled(std::string_view arg1);
40 nlohmann::json taskRemoved(std::string_view arg1);
42 nlohmann::json taskPaused(std::string_view arg1);
44 nlohmann::json taskResumed(std::string_view arg1);
46 nlohmann::json taskProgressChanged(std::string_view arg1, uint64_t arg2);
/openbmc/bmcweb/redfish-core/src/
H A Dresource_messages.cpp35 std::span<const std::string_view> args) in getLog()
80 nlohmann::json resourceErrorsDetected(std::string_view arg1, in resourceErrorsDetected()
81 std::string_view arg2) in resourceErrorsDetected()
95 nlohmann::json resourceErrorsCorrected(std::string_view arg1, in resourceErrorsCorrected()
96 std::string_view arg2) in resourceErrorsCorrected()
110 nlohmann::json resourceErrorThresholdExceeded(std::string_view arg1, in resourceErrorThresholdExceeded()
111 std::string_view arg2) in resourceErrorThresholdExceeded()
125 nlohmann::json resourceErrorThresholdCleared(std::string_view arg1, in resourceErrorThresholdCleared()
126 std::string_view arg2) in resourceErrorThresholdCleared()
140 nlohmann::json resourceWarningThresholdExceeded(std::string_view arg1, in resourceWarningThresholdExceeded()
[all …]
H A Derror_messages.cpp44 std::span<const std::string_view> args) in getLog()
133 nlohmann::json propertyDuplicate(std::string_view arg1) in propertyDuplicate()
139 void propertyDuplicate(crow::Response& res, std::string_view arg1) in propertyDuplicate()
152 nlohmann::json propertyUnknown(std::string_view arg1) in propertyUnknown()
158 void propertyUnknown(crow::Response& res, std::string_view arg1) in propertyUnknown()
172 std::string_view arg2) in propertyValueTypeError()
177 std::to_array<std::string_view>({arg1Str, arg2})); in propertyValueTypeError()
181 std::string_view arg2) in propertyValueTypeError()
195 std::string_view arg2) in propertyValueFormatError()
200 std::to_array<std::string_view>({arg1Str, arg2})); in propertyValueFormatError()
[all …]
H A Dtask_messages.cpp37 std::span<const std::string_view> args) in getLog()
56 nlohmann::json taskStarted(std::string_view arg1) in taskStarted()
69 nlohmann::json taskCompletedOK(std::string_view arg1) in taskCompletedOK()
82 nlohmann::json taskCompletedWarning(std::string_view arg1) in taskCompletedWarning()
95 nlohmann::json taskAborted(std::string_view arg1) in taskAborted()
108 nlohmann::json taskCancelled(std::string_view arg1) in taskCancelled()
121 nlohmann::json taskRemoved(std::string_view arg1) in taskRemoved()
134 nlohmann::json taskPaused(std::string_view arg1) in taskPaused()
147 nlohmann::json taskResumed(std::string_view arg1) in taskResumed()
160 nlohmann::json taskProgressChanged(std::string_view arg1, uint64_t arg2) in taskProgressChanged()
[all …]
/openbmc/sdbusplus/include/sdbusplus/bus/
H A Dmatch.hpp81 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 Dconfig_parser.hpp19 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 Dutil.cpp78 std::string_view getIgnoredInterfacesEnv() in getIgnoredInterfacesEnv()
89 std::unordered_set<std::string_view>
90 parseInterfaces(std::string_view interfaces) in parseInterfaces()
92 std::unordered_set<std::string_view> result; in parseInterfaces()
119 const std::unordered_set<std::string_view>& getIgnoredInterfaces() in getIgnoredInterfaces()
127 std::optional<std::string> interfaceToUbootEthAddr(std::string_view intf) in interfaceToUbootEthAddr()
152 static std::optional<DHCPVal> systemdParseDHCP(std::string_view str) in systemdParseDHCP()
170 std::string_view section, std::string_view key, in systemdParseLast()
194 return decltype(fun(std::string_view{}))(std::nullopt); in systemdParseLast()
216 std::string_view key) in getDHCPProp()
[all …]
H A Dutil.hpp26 constexpr stdplus::InAnyAddr addrFromBuf(int family, std::string_view buf) in addrFromBuf()
44 std::optional<std::string> interfaceToUbootEthAddr(std::string_view intf);
73 std::string_view key);
85 std::string_view getIgnoredInterfacesEnv();
88 std::unordered_set<std::string_view>
89 parseInterfaces(std::string_view interfaces);
92 const std::unordered_set<std::string_view>& getIgnoredInterfaces();
H A Dconfig_parser.cpp26 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 Drtnetlink.hpp11 InterfaceInfo intfFromRtm(std::string_view msg);
14 gatewayFromRtm(std::string_view msg);
16 AddressInfo addrFromRtm(std::string_view msg);
18 NeighborInfo neighFromRtm(std::string_view msg);
/openbmc/phosphor-networkd/test/
H A Dtest_netlink.cpp30 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/bmcweb/test/include/
H A Dmultipart_test.cpp28 std::string_view body = in TEST_F()
69 std::string_view body = in TEST_F()
88 std::string_view body = in TEST_F()
106 std::string_view body = in TEST_F()
126 std::string_view body = in TEST_F()
145 std::string_view body = in TEST_F()
165 std::string_view body = in TEST_F()
185 std::string_view body = in TEST_F()
204 std::string_view body = in TEST_F()
223 std::string_view body = in TEST_F()
[all …]
/openbmc/bmcweb/http/
H A Dhttp_request.hpp49 Request(std::string_view bodyIn, std::error_code& /*ec*/) : req({}, bodyIn) in Request()
61 void addHeader(std::string_view key, std::string_view value) in addHeader()
66 void addHeader(boost::beast::http::field key, std::string_view value) in addHeader()
90 std::string_view methodString() in methodString()
95 std::string_view getHeaderValue(std::string_view key) const in getHeaderValue()
100 std::string_view getHeaderValue(boost::beast::http::field key) const in getHeaderValue()
110 std::string_view methodString() const in methodString()
115 std::string_view target() const in target()
140 bool target(std::string_view target) in target()
H A Dutility.hpp25 #include <string_view>
35 constexpr uint64_t getParameterTag(std::string_view url) in getParameterTag()
38 size_t urlSegmentIndex = std::string_view::npos; in getParameterTag()
45 if (urlSegmentIndex != std::string_view::npos) in getParameterTag()
53 if (urlSegmentIndex == std::string_view::npos) in getParameterTag()
57 std::string_view tag = in getParameterTag()
68 urlSegmentIndex = std::string_view::npos; in getParameterTag()
71 if (urlSegmentIndex != std::string_view::npos) in getParameterTag()
141 void encode(std::string_view data, std::string& output) in encode()
222 inline std::string base64encode(std::string_view dat in base64encode()
[all...]
H A Dmutual_tls_meta.hpp13 inline std::optional<std::string_view> mtlsMetaParseSslUser( in mtlsMetaParseSslUser()
14 std::string_view sslUser) in mtlsMetaParseSslUser()
27 if (colonIndex == std::string_view::npos) in mtlsMetaParseSslUser()
34 std::string_view entityType = sslUser.substr(0, colonIndex); in mtlsMetaParseSslUser()
46 std::string_view entity; in mtlsMetaParseSslUser()
47 if (slashIndex == std::string_view::npos) in mtlsMetaParseSslUser()
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/
H A Dutil.hpp41 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/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/
H A D0001-asio-Dont-use-experimental-with-clang.patch11 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 Ddbus_utils.hpp56 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/utils/
H A Dmake_id_name.cpp26 std::string generateId(std::string_view idIn, std::string_view nameIn, in generateId()
27 std::string_view defaultName, in generateId()
58 std::string_view::npos; in generateId()
90 std::string_view id, std::string_view name, std::string_view defaultName, in makeIdName()
H A Dconversion.hpp26 constexpr operator std::string_view() const in operator std::string_view()
34 [[noreturn]] inline void throwConversionError(std::string_view propertyName) in throwConversionError()
61 std::array<std::pair<std::string_view, T>, N> data) in minEnumValue() argument
76 std::array<std::pair<std::string_view, T>, N> data) in maxEnumValue() argument
90 inline T toEnum(const std::array<std::pair<std::string_view, T>, N>& data, in toEnum() argument
104 inline std::string_view enumToString( in enumToString()
105 const std::array<std::pair<std::string_view, T>, N>& data, T value) in enumToString() argument
/openbmc/telemetry/src/types/
H A Doperation_type.hpp26 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/bmcweb/src/
H A Ddbus_utility.cpp106 std::span<const std::string_view> interfaces, in getSubTree()
122 std::span<const std::string_view> interfaces, in getSubTreePaths()
141 std::span<const std::string_view> interfaces, in getAssociatedSubTree()
158 std::span<const std::string_view> interfaces, in getAssociatedSubTreePaths()
176 std::span<const std::string_view> subtreeInterfaces, in getAssociatedSubTreeById()
177 std::string_view association, in getAssociatedSubTreeById()
178 std::span<const std::string_view> endpointInterfaces, in getAssociatedSubTreeById()
194 std::span<const std::string_view> subtreeInterfaces, in getAssociatedSubTreePathsById()
195 std::string_view association, in getAssociatedSubTreePathsById()
196 std::span<const std::string_view> endpointInterfaces, in getAssociatedSubTreePathsById()
[all …]
/openbmc/estoraged/include/
H A Dsanitize.hpp30 virtual int doIoctl(std::string_view devPath, unsigned long request,
40 virtual int doIoctlMulti(std::string_view devPath, unsigned long request,
56 int doIoctl(std::string_view devPath, unsigned long request,
58 int doIoctlMulti(std::string_view devPath, unsigned long request,
79 Sanitize(std::string_view inDevPath, in Sanitize()

12345678910>>...13