/openbmc/sdbusplus/test/message/ |
H A D | types.cpp | 10 sdbusplus::message::types::type_id<Args...>()) in dbus_string() 41 EXPECT_EQ(dbus_string(sdbusplus::message::object_path("/asdf")), "o"); in TEST() 46 EXPECT_EQ(sdbusplus::message::object_path("/abc/def").filename(), "def"); in TEST() 47 EXPECT_EQ(sdbusplus::message::object_path("/abc/").filename(), ""); in TEST() 48 EXPECT_EQ(sdbusplus::message::object_path("/abc").filename(), "abc"); in TEST() 49 EXPECT_EQ(sdbusplus::message::object_path("/_61bc").filename(), "abc"); in TEST() 50 EXPECT_EQ(sdbusplus::message::object_path("/").filename(), ""); in TEST() 51 EXPECT_EQ(sdbusplus::message::object_path("").filename(), ""); in TEST() 52 EXPECT_EQ(sdbusplus::message::object_path("abc").filename(), ""); in TEST() 53 EXPECT_EQ(sdbusplus::message::object_path("/_2d").filename(), "-"); in TEST() [all …]
|
H A D | native_types.cpp | 18 std::string s1 = sdbusplus::message::object_path("/asdf/"); in TEST() 19 sdbusplus::message::object_path p = std::move(s1); in TEST() 27 std::string s2 = sdbusplus::message::signature("iii"); in TEST() 28 sdbusplus::message::signature sig = s2; in TEST() 36 std::vector<sdbusplus::message::signature> v = { in TEST() 37 sdbusplus::message::signature("iii")}; in TEST() 44 std::map<sdbusplus::message::signature, int> m = { in TEST() 45 {sdbusplus::message::signature("iii"), 1}}; in TEST() 47 ASSERT_EQ(m[sdbusplus::message::signature("iii")], 1); in TEST() 52 std::unordered_map<sdbusplus::message::signature, int> u = { in TEST() [all …]
|
/openbmc/phosphor-pid-control/errors/ |
H A D | exception.hpp | 9 explicit SensorBuildException(const std::string& message) : message(message) in SensorBuildException() argument 14 return message.c_str(); in what() 18 std::string message; member in SensorBuildException 24 explicit ControllerBuildException(const std::string& message) : in ControllerBuildException() argument 25 message(message) in ControllerBuildException() 30 return message.c_str(); in what() 34 std::string message; member in ControllerBuildException 40 explicit ConfigurationException(const std::string& message) : in ConfigurationException() argument 41 message(message) in ConfigurationException() 46 return message.c_str(); in what() [all …]
|
/openbmc/linux/tools/testing/selftests/user_events/ |
H A D | user_events_selftests.h | 19 static inline bool tracefs_enabled(char **message, bool *fail, bool *umount) in tracefs_enabled() argument 24 *message = ""; in tracefs_enabled() 32 *message = "Tracefs is not installed"; in tracefs_enabled() 41 *message = "Cannot mount tracefs"; in tracefs_enabled() 52 *message = "Cannot access tracefs"; in tracefs_enabled() 60 static inline bool user_events_enabled(char **message, bool *fail, bool *umount) in user_events_enabled() argument 65 *message = ""; in user_events_enabled() 70 *message = "Must be run as root"; in user_events_enabled() 75 if (!tracefs_enabled(message, fail, umount)) in user_events_enabled() 84 *message = "user_events is not installed"; in user_events_enabled() [all …]
|
/openbmc/sdbusplus/include/sdbusplus/ |
H A D | message.hpp | 33 namespace message namespace 37 class message; 70 class message : private sdbusplus::slot::details::slot_friend class 80 message(message&&) = default; 81 message& operator=(message&&) = default; 82 ~message() = default; 84 message(msgp_t m, sdbusplus::SdBusInterface* intf) : in message() function in sdbusplus::message::message 93 explicit message(msgp_t m = nullptr) : message(m, &sdbus_impl) {} in message() function in sdbusplus::message::message 95 message(msgp_t m, sdbusplus::SdBusInterface* intf, std::false_type) : in message() function in sdbusplus::message::message 103 message(msgp_t m, std::false_type) : _intf(&sdbus_impl), _msg(m) {} in message() function in sdbusplus::message::message [all …]
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | journal.hpp | 67 virtual void logDebug(const std::string& message) = 0; 81 virtual void logError(const std::string& message) = 0; 95 virtual void logInfo(const std::string& message) = 0; 127 virtual void logDebug(const std::string& message) override in logDebug() argument 130 log<level::DEBUG>(message.c_str()); in logDebug() 136 for (const std::string& message : messages) in logDebug() local 138 logDebug(message); in logDebug() 143 virtual void logError(const std::string& message) override in logError() argument 146 log<level::ERR>(message.c_str()); in logError() 152 for (const std::string& message : messages) in logError() local [all …]
|
/openbmc/phosphor-webui/app/common/services/ |
H A D | toastService.js | 17 type = 'create', title = '', message = '', dismissOnTimeout = false) { argument 30 <p class="alert-content__body">${message}</p> 36 this.error = function(message) { argument 37 initToast('danger', 'Error', message); 40 this.success = function(message) { argument 41 initToast('success', 'Success!', message, true); 44 this.warn = function(message) { argument 45 initToast('warning', 'Warning', message); 48 this.info = function(title, message) { argument 49 initToast('info', title, message);
|
/openbmc/u-boot/lib/libavb/ |
H A D | avb_util.h | 62 #define avb_debug(message) \ argument 68 message, \ 71 #define avb_debugv(message, ...) \ argument 77 message, \ 81 #define avb_debug(message) 82 #define avb_debugv(message, ...) 88 #define avb_error(message) \ argument 94 message, \ 97 #define avb_errorv(message, ...) \ argument 103 message, \ [all …]
|
/openbmc/phosphor-net-ipmid/ |
H A D | message_parsers.cpp | 10 namespace message namespace 111 auto message = std::make_shared<Message>(); in unflatten() local 113 message->payloadType = PayloadType::IPMI; in unflatten() 114 message->bmcSessionID = session::sessionZero; in unflatten() 115 message->sessionSeqNum = endian::from_ipmi(header->sessSeqNum); in unflatten() 116 message->isPacketEncrypted = false; in unflatten() 117 message->isPacketAuthenticated = false; in unflatten() 118 message->rmcpMsgClass = in unflatten() 129 (message->payload) in unflatten() 133 return message; in unflatten() [all …]
|
/openbmc/phosphor-host-ipmid/test/message/ |
H A D | pack.cpp | 25 ipmi::message::Payload p; in TEST() 37 ipmi::message::Payload p; in TEST() 49 ipmi::message::Payload p; in TEST() 61 ipmi::message::Payload p; in TEST() 73 ipmi::message::Payload p; in TEST() 87 ipmi::message::Payload p; in TEST() 104 ipmi::message::Payload p; in TEST() 119 ipmi::message::Payload p; in TEST() 133 ipmi::message::Payload p; in TEST() 149 ipmi::message::Payload p; in TEST() [all …]
|
H A D | payload.cpp | 31 ipmi::message::Payload p(std::forward<ipmi::SecureBuffer>(i)); in TEST() 37 ipmi::message::Payload p; in TEST() 50 ipmi::message::Payload p; in TEST() 59 ipmi::message::Payload p; in TEST() 67 ipmi::message::Payload p; in TEST() 75 ipmi::message::Payload p; in TEST() 86 ipmi::message::Payload p; in TEST() 110 ipmi::message::Payload p; in TEST() 123 ipmi::message::Payload p; in TEST() 136 ipmi::message::Payload p; in TEST() [all …]
|
H A D | unpack.cpp | 24 ipmi::message::Payload p(std::forward<ipmi::SecureBuffer>(i)); in TEST() 38 ipmi::message::Payload p(std::forward<ipmi::SecureBuffer>(i)); in TEST() 52 ipmi::message::Payload p(std::forward<ipmi::SecureBuffer>(i)); in TEST() 65 ipmi::message::Payload p(std::forward<ipmi::SecureBuffer>(i)); in TEST() 79 ipmi::message::Payload p(std::forward<ipmi::SecureBuffer>(i)); in TEST() 93 ipmi::message::Payload p(std::forward<ipmi::SecureBuffer>(i)); in TEST() 106 ipmi::message::Payload p(std::forward<ipmi::SecureBuffer>(i)); in TEST() 120 ipmi::message::Payload p(std::forward<ipmi::SecureBuffer>(i)); in TEST() 134 ipmi::message::Payload p(std::forward<ipmi::SecureBuffer>(i)); in TEST() 147 ipmi::message::Payload p(std::forward<ipmi::SecureBuffer>(i)); in TEST() [all …]
|
/openbmc/webui-vue/src/store/modules/SecurityAndAccess/ |
H A D | UserManagementStore.js | 81 const message = i18n.global.t( 84 throw new Error(message); 98 const message = i18n.global.t( 101 throw new Error(message); 132 let message = 138 throw new Error(message); 162 const message = 168 throw new Error(message); 182 const message = i18n.global.t( 188 throw new Error(message); [all …]
|
/openbmc/boost-dbus/include/dbus/ |
H A D | connection.hpp | 82 message reply(message& m) { in reply() 95 message send(message& m) { in send() 112 message send(message& m, const Duration& t) { in send() 117 message method_call(const dbus::endpoint& e, const InputArgs&... a) { in method_call() 118 message m = dbus::message::new_call(e); in method_call() 135 void(boost::system::error_code, message)) in BOOST_ASIO_INITFN_RESULT_TYPE() argument 136 async_send(message& m, BOOST_ASIO_MOVE_ARG(MessageHandler) handler) { in BOOST_ASIO_INITFN_RESULT_TYPE() 155 message m = dbus::message::new_call(e); in async_method_call() 163 m, [handler](boost::system::error_code ec, dbus::message r) { in async_method_call()
|
H A D | message.hpp | 25 class message { class 31 static message new_call(const endpoint& destination) { in new_call() 32 auto x = message(dbus_message_new_method_call( in new_call() 40 static message new_call(const endpoint& destination, in new_call() 42 auto x = message(dbus_message_new_method_call( in new_call() 50 static message new_return(message& call) { in new_return() 51 auto x = message(dbus_message_new_method_return(call)); in new_return() 57 static message new_error(message& call, const string& error_name, in new_error() 59 auto x = message(dbus_message_new_error(call, error_name.c_str(), in new_error() 66 static message new_signal(const endpoint& origin, const string& signal_name) { in new_signal() [all …]
|
/openbmc/linux/drivers/mtd/devices/ |
H A D | mchp23k256.c | 65 struct spi_message message; in mchp23k256_write() local 69 spi_message_init(&message); in mchp23k256_write() 78 spi_message_add_tail(&transfer[0], &message); in mchp23k256_write() 82 spi_message_add_tail(&transfer[1], &message); in mchp23k256_write() 86 ret = spi_sync(flash->spi, &message); in mchp23k256_write() 93 if (retlen && message.actual_length > cmd_len) in mchp23k256_write() 94 *retlen += message.actual_length - cmd_len; in mchp23k256_write() 104 struct spi_message message; in mchp23k256_read() local 108 spi_message_init(&message); in mchp23k256_read() 118 spi_message_add_tail(&transfer[0], &message); in mchp23k256_read() [all …]
|
/openbmc/boost-dbus/test/ |
H A D | avahi.cpp | 23 dbus::message m = dbus::message::new_call(test_daemon, "GetHostName"); in TEST() 26 m, [&](const boost::system::error_code ec, dbus::message r) { in TEST() 59 dbus::message m1 = dbus::message::new_call(test_daemon, "ServiceBrowserNew"); in TEST() 62 dbus::message r = system_bus->send(m1); in TEST() 68 dbus::filter f(system_bus, [](dbus::message& m) { in TEST() 73 std::function<void(boost::system::error_code, dbus::message)> event_handler = in TEST() 74 [&](boost::system::error_code ec, dbus::message s) { in TEST() 105 dbus::message m = dbus::message::new_call(test_daemon, "ListNames"); in TEST() 107 m, [&](const boost::system::error_code ec, dbus::message r) { in TEST() 129 dbus::filter f(system_bus, [](dbus::message& m) { in TEST() [all …]
|
/openbmc/linux/tools/verification/rv/src/ |
H A D | utils.c | 21 char message[MAX_MSG_LENGTH]; in err_msg() local 25 vsnprintf(message, sizeof(message), fmt, ap); in err_msg() 28 fprintf(stderr, "%s", message); in err_msg() 36 char message[MAX_MSG_LENGTH]; in debug_msg() local 43 vsnprintf(message, sizeof(message), fmt, ap); in debug_msg() 46 fprintf(stderr, "%s", message); in debug_msg()
|
/openbmc/linux/drivers/hv/ |
H A D | hv_kvp.c | 69 * only one message at a time. 80 struct hv_kvp_msg *kvp_msg; /* current message */ 201 struct hv_kvp_msg *message = (struct hv_kvp_msg *)msg; in kvp_on_msg() local 205 if (len < sizeof(*message)) in kvp_on_msg() 214 return kvp_handle_handshake(message); in kvp_on_msg() 228 data = &message->body.kvp_enum_data; in kvp_on_msg() 241 * We use the message header information from in kvp_on_msg() 244 error = message->error; in kvp_on_msg() 253 kvp_respond_to_host(message, error); in kvp_on_msg() 376 struct hv_kvp_msg *message; in kvp_send_key() local [all...] |
/openbmc/linux/include/trace/events/ |
H A D | intel_ish.h | 12 TP_PROTO(const char *message), 14 TP_ARGS(message), 17 __string(message, message) 21 __assign_str(message, message); 24 TP_printk("%s", __get_str(message))
|
/openbmc/webui-vue/src/components/Mixins/ |
H A D | BVToastMixin.js | 22 return messageBody.map((message) => 23 this.$createElement('p', { class: 'mb-0' }, message), 58 message, argument 65 const body = this.$_BVToastMixin_createBody(message); 72 message, argument 79 const body = this.$_BVToastMixin_createBody(message); 86 message, argument 93 const body = this.$_BVToastMixin_createBody(message); 100 message, argument 107 const body = this.$_BVToastMixin_createBody(message);
|
/openbmc/linux/drivers/platform/x86/intel/ |
H A D | ishtp_eclite.c | 171 struct ecl_message message; in ecl_ish_cl_write() local 182 message.header.version = ECL_ISH_HEADER_VERSION; in ecl_ish_cl_write() 183 message.header.data_type = ECL_MSG_DATA; in ecl_ish_cl_write() 184 message.header.request_type = ECL_ISH_WRITE; in ecl_ish_cl_write() 185 message.header.offset = opr_dev->opr_context.cmd_area.offset; in ecl_ish_cl_write() 186 message.header.data_len = opr_dev->opr_context.cmd_area.length; in ecl_ish_cl_write() 187 message.header.event = opr_dev->opr_context.cmd_area.event_id; in ecl_ish_cl_write() 188 len = sizeof(struct ecl_message_header) + message.header.data_len; in ecl_ish_cl_write() 190 memcpy(message.payload, in ecl_ish_cl_write() 191 opr_dev->opr_context.data_area.data + message.header.offset, in ecl_ish_cl_write() [all …]
|
/openbmc/linux/lib/kunit/ |
H A D | assert.c | 33 static void kunit_assert_print_msg(const struct va_format *message, in kunit_assert_print_msg() argument 36 if (message->fmt) in kunit_assert_print_msg() 37 string_stream_add(stream, "\n%pV", message); in kunit_assert_print_msg() 41 const struct va_format *message, in kunit_fail_assert_format() argument 44 string_stream_add(stream, "%pV", message); in kunit_fail_assert_format() 49 const struct va_format *message, in kunit_unary_assert_format() argument 64 kunit_assert_print_msg(message, stream); in kunit_unary_assert_format() 69 const struct va_format *message, in kunit_ptr_not_err_assert_format() argument 87 kunit_assert_print_msg(message, stream); in kunit_ptr_not_err_assert_format() 115 const struct va_format *message, in kunit_binary_assert_format() argument [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | debugfs-scmi-raw | 1 What: /sys/kernel/debug/scmi/<n>/raw/message 5 Description: SCMI Raw synchronous message injection/snooping facility; write 6 a complete SCMI synchronous command message (header included) 12 and sent while the replies are read back one message at time 13 (receiving an EOF at each message boundary). 20 Description: SCMI Raw asynchronous message injection/snooping facility; write 21 a complete SCMI asynchronous command message (header included) 30 and sent while the replies are read back one message at time 31 (receiving an EOF at each message boundary). 38 Description: SCMI Raw message errors facility; any kind of timed-out or [all …]
|
/openbmc/webui-vue/src/views/Settings/Network/ |
H A D | NetworkGlobalSettings.vue | 225 .catch(({ message }) => this.errorToast(message)); 233 .then((message) => { 234 this.successToast(message); 236 .catch(({ message }) => this.errorToast(message)); 244 .then((message) => { 245 this.successToast(message); 247 .catch(({ message }) => this.errorToast(message)); 258 .catch(({ message }) => this.errorToast(message)); 266 .then((message) => { 267 this.successToast(message); [all …]
|