/openbmc/phosphor-fan-presence/test/ |
H A D | logger_test.cpp | 19 auto messages = logger.getLogs(); in TEST() local 21 ASSERT_EQ(messages.size(), logSize); in TEST() 23 EXPECT_EQ((messages[0][1].get<std::string>()), "Test Message 0"); in TEST() 24 EXPECT_EQ((messages[1][1].get<std::string>()), "Test Message 1"); in TEST() 25 EXPECT_EQ((messages[2][1].get<std::string>()), "Test Message 2"); in TEST() 26 EXPECT_EQ((messages[3][1].get<std::string>()), "Test Message 3"); in TEST() 27 EXPECT_EQ((messages[4][1].get<std::string>()), "Test Message 4"); in TEST() 31 for (const auto& msg : messages) in TEST() 39 messages = logger.getLogs(); in TEST() 40 ASSERT_EQ(messages.size(), logSize); in TEST() [all …]
|
/openbmc/phosphor-power/phosphor-regulators/test/ |
H A D | exception_utils_tests.cpp | 113 std::vector<std::string> messages = exception_utils::getMessages(e); in TEST() local 114 EXPECT_EQ(messages.size(), 2); in TEST() 115 EXPECT_EQ(messages[0], "JSON element is not an array"); in TEST() 116 EXPECT_EQ(messages[1], "Unable to parse config file"); in TEST() 250 std::vector<std::string> messages{}; in TEST() local 251 exception_utils::internal::getMessages(e, messages); in TEST() 252 EXPECT_EQ(messages.size(), 1); in TEST() 253 EXPECT_EQ(messages[0], "JSON element is not an array"); in TEST() 279 std::vector<std::string> messages{}; in TEST() local 280 exception_utils::internal::getMessages(e, messages); in TEST() [all …]
|
/openbmc/bmcweb/redfish-core/src/utils/ |
H A D | dbus_utils.cpp | 36 messages::insufficientPrivilege(asyncResp->res); in afterSetProperty() 40 messages::resourceNotFound(asyncResp->res, "Set", in afterSetProperty() 52 messages::propertyValueIncorrect( in afterSetProperty() 61 messages::serviceTemporarilyUnavailable(asyncResp->res, "10"); in afterSetProperty() 68 messages::serviceTemporarilyUnavailable(asyncResp->res, "10"); in afterSetProperty() 73 messages::propertyNotWritable(asyncResp->res, in afterSetProperty() 79 messages::resourceInStandby(asyncResp->res); in afterSetProperty() 85 messages::internalError(asyncResp->res); in afterSetProperty() 110 messages::operationFailed(asyncResp->res); in afterSetPropertyAction() 114 messages::actionParameterValueError(asyncResp->res, in afterSetPropertyAction() [all …]
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | manager_logservices_journal.hpp | 49 messages::resourceNotFound(asyncResp->res, "Manager", managerId); in handleManagersLogServiceJournalGet() 87 messages::internalError(asyncResp->res); in readJournalEntries() 120 messages::internalError(asyncResp->res); in readJournalEntries() 128 messages::internalError(asyncResp->res); in readJournalEntries() 157 messages::resourceNotFound(asyncResp->res, "Manager", managerId); in handleManagersJournalLogEntryCollectionGet() 183 messages::internalError(asyncResp->res); in handleManagersJournalLogEntryCollectionGet() 194 messages::internalError(asyncResp->res); in handleManagersJournalLogEntryCollectionGet() 201 messages::internalError(asyncResp->res); in handleManagersJournalLogEntryCollectionGet() 211 messages::internalError(asyncResp->res); in handleManagersJournalLogEntryCollectionGet() 220 messages::internalError(asyncResp->res); in handleManagersJournalLogEntryCollectionGet() [all …]
|
H A D | event_service.hpp | 156 messages::queryParameterOutOfRange( in requestRoutesEventService() 171 messages::queryParameterOutOfRange( in requestRoutesEventService() 226 messages::serviceDisabled(asyncResp->res, in requestRoutesSubmitTestEvent() 248 messages::internalError(asyncResp->res); in doSubscriptionCollection() 259 messages::internalError(asyncResp->res); in doSubscriptionCollection() 325 messages::eventSubscriptionLimitExceeded(asyncResp->res); in requestRoutesEventDestinationCollection() 371 messages::stringValueTooLong(asyncResp->res, "Destination", in requestRoutesEventDestinationCollection() 380 messages::propertyValueConflict( in requestRoutesEventDestinationCollection() 392 messages::propertyValueFormatError(asyncResp->res, destUrl, in requestRoutesEventDestinationCollection() 403 messages::propertyValueFormatError(asyncResp->res, destUrl, in requestRoutesEventDestinationCollection() [all …]
|
H A D | update_service.hpp | 170 taskData->messages.emplace_back(messages::internalError()); in handleCreateTask() 185 taskData->messages.emplace_back(messages::taskAborted(index)); in handleCreateTask() 192 taskData->messages.emplace_back(messages::taskPaused(index)); in handleCreateTask() 205 taskData->messages.emplace_back(messages::taskCompletedOK(index)); in handleCreateTask() 220 taskData->messages.emplace_back(messages in handleCreateTask() [all...] |
H A D | log_services.hpp | 242 messages::internalError(asyncResp->res); in parseDumpEntryFromDbusObject() 259 messages::internalError(asyncResp->res); in parseDumpEntryFromDbusObject() 277 messages::internalError(asyncResp->res); in parseDumpEntryFromDbusObject() 296 messages::internalError(asyncResp->res); in parseDumpEntryFromDbusObject() 308 messages::internalError(asyncResp->res); in parseDumpEntryFromDbusObject() 315 messages::internalError(asyncResp->res); in parseDumpEntryFromDbusObject() 363 messages::internalError(asyncResp->res); in getDumpEntryCollection() 376 messages::internalError(asyncResp->res); in getDumpEntryCollection() 479 messages::internalError(asyncResp->res); in getDumpEntryById() 492 messages::internalError(asyncResp->res); in getDumpEntryById() [all …]
|
H A D | systems_logservices_postcodes.hpp | 66 messages::resourceNotFound(asyncResp->res, "ComputerSystem", in handleSystemsLogServicesPostCodesGet() 72 messages::resourceNotFound(asyncResp->res, "ComputerSystem", in handleSystemsLogServicesPostCodesGet() 113 messages::resourceNotFound(asyncResp->res, "ComputerSystem", in handleSystemsLogServicesPostCodesPost() 119 messages::resourceNotFound(asyncResp->res, "ComputerSystem", in handleSystemsLogServicesPostCodesPost() 135 messages::internalError(asyncResp->res); in handleSystemsLogServicesPostCodesPost() 138 messages::success(asyncResp->res); in handleSystemsLogServicesPostCodesPost() 274 messages::internalError(asyncResp->res); in fillPostCodeEntry() 333 messages::resourceNotFound(asyncResp->res, "LogEntry", entryId); in getPostCodeForEntry() 340 messages::resourceNotFound(asyncResp->res, "LogEntry", entryId); in getPostCodeForEntry() 353 messages::internalError(asyncResp->res); in getPostCodeForEntry() [all …]
|
H A D | managers.hpp | 105 messages::internalError(asyncResp->res); in doBMCGracefulRestart() 109 messages::success(asyncResp->res); in doBMCGracefulRestart() 132 messages::internalError(asyncResp->res); in doBMCForceRestart() 136 messages::success(asyncResp->res); in doBMCForceRestart() 164 messages::resourceNotFound(asyncResp->res, "Manager", in requestRoutesManagerResetAction() 193 messages::actionParameterNotSupported(asyncResp->res, resetType, in requestRoutesManagerResetAction() 234 messages::resourceNotFound(asyncResp->res, "Manager", in requestRoutesManagerResetToDefaultsAction() 252 messages::actionParameterMissing( in requestRoutesManagerResetToDefaultsAction() 269 messages::actionParameterNotSupported(asyncResp->res, in requestRoutesManagerResetToDefaultsAction() 279 messages::internalError(asyncResp->res); in requestRoutesManagerResetToDefaultsAction() [all …]
|
H A D | systems.hpp | 165 messages::internalError(asyncResp->res); in getProcessorProperties() 222 messages::internalError(asyncResp->res); in getProcessorSummary() 256 messages::internalError(asyncResp->res); in processMemoryProperties() 300 messages::internalError(asyncResp->res); in getMemorySummary() 314 messages::internalError(asyncResp->res); in afterGetUUID() 326 messages::internalError(asyncResp->res); in afterGetUUID() 371 messages::internalError(asyncResp->res); in afterGetInventory() 427 messages::internalError(asyncResp->res); in afterSystemGetSubTree() 549 messages::internalError(asyncResp->res); in getHostState() 818 messages::propertyValueNotInList(asyncResp->res, rfSource, in assignBootParameters() [all …]
|
H A D | fabric_adapters.hpp | 51 messages::internalError(asyncResp->res); in getFabricAdapterLocation() 77 messages::internalError(asyncResp->res); in getFabricAdapterAsset() 94 messages::internalError(asyncResp->res); in getFabricAdapterAsset() 133 messages::internalError(asyncResp->res); in getFabricAdapterState() 160 messages::internalError(asyncResp->res); in getFabricAdapterHealth() 250 messages::resourceNotFound(asyncResp->res, "FabricAdapter", in afterHandleFabricAdapterGet() 256 messages::internalError(asyncResp->res); in afterHandleFabricAdapterGet() 262 messages::resourceNotFound(asyncResp->res, "FabricAdapter", adapterId); in afterHandleFabricAdapterGet() 281 messages::resourceNotFound(asyncResp->res, "ComputerSystem", in handleFabricAdapterGet() 287 messages::resourceNotFound(asyncResp->res, "ComputerSystem", in handleFabricAdapterGet() [all …]
|
H A D | account_service.hpp | 224 messages::propertyValueNotInList(res, "AccountTypes", accountType); in getUserGroupFromAccountType() 234 messages::strictAccountTypes(res, "AccountTypes"); in getUserGroupFromAccountType() 266 messages::strictAccountTypes(asyncResp->res, "AccountTypes"); in patchAccountTypes() 290 messages::internalError(asyncResp->res); in userErrorMessageHandler() 298 messages::resourceAlreadyExists(asyncResp->res, "ManagerAccount", in userErrorMessageHandler() 304 messages::resourceNotFound(asyncResp->res, "ManagerAccount", username); in userErrorMessageHandler() 314 messages::propertyValueFormatError(asyncResp->res, newUser, "UserName"); in userErrorMessageHandler() 319 messages::createLimitReachedForResource(asyncResp->res); in userErrorMessageHandler() 324 messages::internalError(asyncResp->res); in userErrorMessageHandler() 401 messages::internalError(asyncResp->res); in handleRoleMapPatch() [all …]
|
H A D | processor.hpp | 75 messages::internalError(asyncResp->res); in getProcessorUUID() 102 messages::internalError(asyncResp->res); in getCpuDataByInterface() 117 messages::internalError(asyncResp->res); in getCpuDataByInterface() 132 messages::internalError(asyncResp->res); in getCpuDataByInterface() 176 messages::internalError(asyncResp->res); in getCpuDataByInterface() 200 messages::internalError(asyncResp->res); in getCpuDataByInterface() 214 messages::internalError(asyncResp->res); in getCpuDataByInterface() 242 messages::internalError(asyncResp->res); in getCpuDataByService() 308 messages::internalError(asyncResp->res); in readThrottleProperties() 319 messages::internalError(asyncResp->res); in readThrottleProperties() [all …]
|
H A D | certificate_service.hpp | 112 messages::internalError(asyncResp->res); in getCertificateFromReqBody() 118 messages::propertyValueNotInList(asyncResp->res, *certificateType, in getCertificateFromReqBody() 270 messages::internalError(asyncResp->res); in getCertificateList() 347 messages::resourceNotFound(asyncResp->res, "Certificate", in getCertificateProperties() 367 messages::internalError(asyncResp->res); in getCertificateProperties() 431 messages::resourceNotFound(asyncResp->res, "Certificate", id); in deleteCertificate() 451 messages::internalError(asyncResp->res); in handleCertificateServiceGet() 513 messages::resourceNotFound(asyncResp->res, "Certificate", id); in handleError() 518 messages::propertyValueIncorrect(asyncResp->res, "Certificate", in handleError() 523 messages in handleError() [all...] |
H A D | trigger.hpp | 309 messages::propertyValueIncorrect(res, "Activation", activation); in parseThreshold() 317 messages::propertyValueIncorrect(res, "DwellTime", dwellTimeStr); in parseThreshold() 424 messages::propertyValueIncorrect(res, "DwellTime", dwellTimeStr); in parseDiscreteTriggers() 431 messages::propertyValueIncorrect(res, "Severity", severity); in parseDiscreteTriggers() 451 messages::propertyValueConflict(res, "DiscreteTriggers", in parseTriggerThresholds() 453 messages::propertyValueConflict(res, "NumericThresholds", in parseTriggerThresholds() 462 messages::propertyValueConflict(res, "DiscreteTriggerCondition", in parseTriggerThresholds() 464 messages::propertyValueConflict(res, "NumericThresholds", in parseTriggerThresholds() 474 messages::propertyValueConflict(res, "NumericThresholds", in parseTriggerThresholds() 480 messages in parseTriggerThresholds() [all...] |
H A D | virtual_media.hpp | 466 messages::unrecognizedRequestBody(asyncResp->res); in doMountVmLegacy() 483 messages::internalError(asyncResp->res); in doMountVmLegacy() 500 messages::internalError(asyncResp->res); in doMountVmLegacy() 506 messages::internalError(asyncResp->res); in doMountVmLegacy() 528 messages::propertyValueFormatError(asyncResp->res, "<empty>", "Image"); in validateParams() 539 messages::actionParameterNotSupported(asyncResp->res, "Inserted", in validateParams() 552 messages::actionParameterNotSupported(asyncResp->res, "TransferMethod", in validateParams() 561 messages::actionParameterValueFormatError( in validateParams() 579 messages::resourceAtUriInUnknownFormat(asyncResp->res, *url); in validateParams() 592 messages::propertyValueNotInList( in validateParams() [all …]
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | journal.hpp | 74 virtual void logDebug(const std::vector<std::string>& messages) = 0; 88 virtual void logError(const std::vector<std::string>& messages) = 0; 102 virtual void logInfo(const std::vector<std::string>& messages) = 0; 134 virtual void logDebug(const std::vector<std::string>& messages) override in logDebug() argument 136 for (const std::string& message : messages) in logDebug() 150 virtual void logError(const std::vector<std::string>& messages) override in logError() argument 152 for (const std::string& message : messages) in logError() 166 virtual void logInfo(const std::vector<std::string>& messages) override in logInfo() argument 168 for (const std::string& message : messages) in logInfo()
|
H A D | exception_utils.cpp | 31 std::vector<std::string> messages{}; in getMessages() local 32 internal::getMessages(e, messages); in getMessages() 33 return messages; in getMessages() 62 void getMessages(const std::exception& e, std::vector<std::string>& messages) in getMessages() argument 71 getMessages(inner, messages); in getMessages() 77 messages.emplace_back(e.what()); in getMessages()
|
/openbmc/linux/drivers/media/pci/bt8xx/ |
H A D | dst_ca.c | 134 if ((dst_put_ci(state, command, sizeof(command), state->messages, GET_REPLY)) < 0) { in ca_get_app_info() 141 state->messages[7], (state->messages[8] << 8) | state->messages[9], in ca_get_app_info() 142 (state->messages[10] << 8) | state->messages[11], __func__, (char *)(&state->messages[12])); in ca_get_app_info() 146 length = state->messages[5]; in ca_get_app_info() 154 put_command_and_length(&state->messages[0], CA_APP_INFO, length); in ca_get_app_info() 157 memmove(&state->messages[4], &state->messages[7], 5); in ca_get_app_info() 160 state->messages[9] = str_length; in ca_get_app_info() 161 memmove(&state->messages[10], &state->messages[12], str_length); in ca_get_app_info() 173 if ((dst_put_ci(state, slot_command, sizeof (slot_command), state->messages, GET_REPLY)) < 0) { in ca_get_ca_info() 181 for (i = 0; i < state->messages[0] + 1; i++) { in ca_get_ca_info() [all …]
|
/openbmc/bmcweb/redfish-core/include/ |
H A D | snmp_trap_event_clients.hpp | 42 messages::internalError(asyncResp->res); in afterGetSnmpTrapClientdata() 55 messages::internalError(asyncResp->res); in afterGetSnmpTrapClientdata() 101 messages::internalError(asyncResp->res); in getSnmpTrapClient() 112 messages::internalError(asyncResp->res); in getSnmpTrapClient() 125 messages::resourceNotFound(asyncResp->res, "Subscriptions", id); in getSnmpTrapClient() 147 messages::propertyValueIncorrect(asyncResp->res, "Destination", in afterSnmpClientCreate() 154 messages::propertyValueOutOfRange(asyncResp->res, "SNMPv2c", in afterSnmpClientCreate() 159 messages::internalError(asyncResp->res); in afterSnmpClientCreate() 166 messages::internalError(asyncResp->res); in afterSnmpClientCreate() 175 messages::created(asyncResp->res); in afterSnmpClientCreate() [all …]
|
/openbmc/bmcweb/redfish-core/src/ |
H A D | error_message_utils.cpp | 13 namespace messages namespace 53 auto& extendedInfo = error[messages::messageAnnotation]; in addMessageToErrorJson() 72 messages::addMessageToErrorJson(target, source); in moveErrorsToErrorJson() 76 auto extendedInfoIt = errorIt->find(messages::messageAnnotation); in moveErrorsToErrorJson() 97 if (!target[messages::messageAnnotation].is_array()) in addMessageToJsonRoot() 100 target[messages::messageAnnotation] = nlohmann::json::array(); in addMessageToJsonRoot() 103 target[messages::messageAnnotation].push_back(message); in addMessageToJsonRoot() 110 extendedInfo += messages::messageAnnotation; in addMessageToJson()
|
/openbmc/linux/tools/testing/selftests/ipc/ |
H A D | msgque.c | 32 struct msg1 *messages; member 67 if (msgsnd(msgque->msq_id, &msgque->messages[i].mtype, in restore_queue() 68 msgque->messages[i].msize, IPC_NOWAIT) != 0) { in restore_queue() 97 if (ret != msgque->messages[cnt].msize) { in check_and_destroy_queue() 99 msgque->messages[cnt].msize); in check_and_destroy_queue() 103 if (message.mtype != msgque->messages[cnt].mtype) { in check_and_destroy_queue() 108 if (memcmp(message.mtext, msgque->messages[cnt].mtext, ret)) { in check_and_destroy_queue() 151 msgque->messages = malloc(sizeof(struct msg1) * ds.msg_qnum); in dump_queue() 152 if (msgque->messages == NULL) { in dump_queue() 162 ret = msgrcv(msgque->msq_id, &msgque->messages[i].mtype, in dump_queue() [all …]
|
/openbmc/linux/net/mac80211/ |
H A D | Kconfig | 88 bool "Trace all mac80211 debug messages" 93 collect all debugging messages, independent of 96 The overhead in this option is that all the messages 127 many debugging messages. It should not be selected 128 on production systems as some of the messages are 138 debugging messages for the managed-mode MLME. It 140 of the messages are remotely triggerable. 149 debugging messages for station addition/removal. 161 of the messages are remotely triggerable. 170 very verbose OCB debugging messages. It should not [all …]
|
/openbmc/openpower-hw-diags/util/ |
H A D | ffdc.cpp | 68 std::vector<std::string> messages; in sdjGetMessages() local 104 messages.insert(messages.begin(), value); in sdjGetMessages() 109 if (messages.size() >= max) in sdjGetMessages() 118 return messages; in sdjGetMessages() 180 std::vector<std::string> messages = in createFFDCTraceFiles() local 184 if (!messages.empty()) in createFFDCTraceFiles() 186 i_files.emplace_back(createFFDCTraceFile(messages)); in createFFDCTraceFiles()
|
/openbmc/boost-dbus/include/dbus/detail/ |
H A D | queue.hpp | 27 std::deque<message_type> messages; member in dbus::detail::queue 34 : io(m.io), messages(m.messages), handlers(m.handlers) { in queue() 55 messages.push_back(m); in push() 76 if (messages.empty()) { in BOOST_ASIO_INITFN_RESULT_TYPE() 86 message_type m = messages.front(); in BOOST_ASIO_INITFN_RESULT_TYPE() 87 messages.pop_front(); in BOOST_ASIO_INITFN_RESULT_TYPE()
|