/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() 31 for (const auto& msg : messages) in TEST() 39 messages = logger.getLogs(); in TEST() 40 ASSERT_EQ(messages.size(), logSize); in TEST() 44 EXPECT_EQ((messages[4][1].get<std::string>()), "New Message"); in TEST() 51 messages = logger.getLogs(); in TEST() [all …]
|
/openbmc/phosphor-power/phosphor-regulators/test/ |
H A D | exception_utils_tests.cpp | 114 EXPECT_EQ(messages.size(), 2); 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() 279 std::vector<std::string> messages{}; in TEST() local 280 exception_utils::internal::getMessages(e, messages); in TEST() 281 EXPECT_EQ(messages.size(), 3); in TEST() 310 std::vector<std::string> messages{}; in TEST() local 311 exception_utils::internal::getMessages(e, messages); in TEST() [all …]
|
/openbmc/bmcweb/redfish-core/src/utils/ |
H A D | dbus_utils.cpp | 34 messages::insufficientPrivilege(asyncResp->res); in afterSetProperty() 38 messages::resourceNotFound(asyncResp->res, "Set", in afterSetProperty() 50 messages::propertyValueIncorrect( in afterSetProperty() 59 messages::serviceTemporarilyUnavailable(asyncResp->res, "10"); in afterSetProperty() 71 messages::propertyNotWritable(asyncResp->res, in afterSetProperty() 77 messages::resourceInStandby(asyncResp->res); in afterSetProperty() 83 messages::internalError(asyncResp->res); in afterSetProperty() 108 messages::operationFailed(asyncResp->res); in afterSetPropertyAction() 112 messages::actionParameterValueError(asyncResp->res, in afterSetPropertyAction() 123 messages::resourceNotFound(asyncResp->res, "Actions", in afterSetPropertyAction() [all …]
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | update_service.hpp | 154 taskData->messages.emplace_back(messages::internalError()); in handleCreateTask() 169 taskData->messages.emplace_back(messages::taskAborted(index)); in handleCreateTask() 176 taskData->messages.emplace_back(messages::taskPaused(index)); in handleCreateTask() 189 taskData->messages.emplace_back(messages::taskCompletedOK(index)); in handleCreateTask() 204 taskData->messages.emplace_back(messages::internalError()); in handleCreateTask() 215 taskData->messages.emplace_back( in handleCreateTask() 361 redfish::messages::resourceAlreadyExists( in handleUpdateErrorType() 454 messages::internalError(asyncResp->res); in monitorForSoftwareAvailable() 610 redfish::messages::success(asyncResp->res); in doTftpUpdate() 698 messages::internalError(res); in uploadImageFile() [all …]
|
H A D | event_service.hpp | 138 messages::queryParameterOutOfRange( in requestRoutesEventService() 153 messages::queryParameterOutOfRange( in requestRoutesEventService() 182 messages::serviceDisabled(asyncResp->res, in requestRoutesSubmitTestEvent() 204 messages::internalError(asyncResp->res); in doSubscriptionCollection() 215 messages::internalError(asyncResp->res); in doSubscriptionCollection() 392 messages::propertyValueConflict( in requestRoutesEventDestinationCollection() 417 messages::propertyValueNotInList( in requestRoutesEventDestinationCollection() 441 messages::propertyValueNotInList( in requestRoutesEventDestinationCollection() 492 messages::arraySizeTooLong( in requestRoutesEventDestinationCollection() 618 messages::internalError(asyncResp->res); in requestRoutesEventDestinationCollection() [all …]
|
H A D | log_services.hpp | 518 messages::internalError(asyncResp->res); in getDumpEntryCollection() 633 messages::internalError(asyncResp->res); in getDumpEntryById() 758 messages::internalError(res); in checkSizeLimit() 768 messages::internalError(res); in checkSizeLimit() 775 messages::internalError(res); in checkSizeLimit() 795 messages::internalError(asyncResp->res); in downloadEntryCallback() 1029 taskData->messages.emplace_back(messages::internalError()); in createDumpTaskCallback() 1115 messages::actionParameterMissing( in createDump() 1136 messages::actionParameterMissing( in createDump() 1472 messages::success(asyncResp->res); in requestRoutesJournalEventLogClear() [all …]
|
H A D | fabric_adapters.hpp | 40 messages::internalError(asyncResp->res); in getFabricAdapterLocation() 66 messages::internalError(asyncResp->res); in getFabricAdapterAsset() 83 messages::internalError(asyncResp->res); in getFabricAdapterAsset() 123 messages::internalError(asyncResp->res); in getFabricAdapterState() 150 messages::internalError(asyncResp->res); in getFabricAdapterHealth() 246 messages::internalError(asyncResp->res); in afterHandleFabricAdapterGet() 272 messages::resourceNotFound(asyncResp->res, "ComputerSystem", in handleFabricAdapterGet() 278 messages::resourceNotFound(asyncResp->res, "ComputerSystem", in handleFabricAdapterGet() 299 messages::resourceNotFound(asyncResp->res, "ComputerSystem", in handleFabricAdapterCollectionGet() 305 messages::resourceNotFound(asyncResp->res, "ComputerSystem", in handleFabricAdapterCollectionGet() [all …]
|
H A D | managers.hpp | 74 messages::internalError(asyncResp->res); in doBMCGracefulRestart() 78 messages::success(asyncResp->res); in doBMCGracefulRestart() 101 messages::internalError(asyncResp->res); in doBMCForceRestart() 105 messages::success(asyncResp->res); in doBMCForceRestart() 850 messages::success(response->res); in createPidInterface() 865 messages::invalidObject( in createPidInterface() 976 messages::invalidObject( in createPidInterface() 1063 messages::invalidObject( in createPidInterface() 1109 messages::invalidObject( in createPidInterface() 1839 messages::propertyValueNotInList( in setActiveFirmwareImage() [all …]
|
H A D | systems.hpp | 163 messages::internalError(asyncResp->res); in getProcessorProperties() 222 messages::internalError(asyncResp->res); in getProcessorSummary() 256 messages::internalError(asyncResp->res); in processMemoryProperties() 315 messages::internalError(asyncResp->res); in afterGetUUID() 327 messages::internalError(asyncResp->res); in afterGetUUID() 372 messages::internalError(asyncResp->res); in afterGetInventory() 429 messages::internalError(asyncResp->res); in afterSystemGetSubTree() 2075 messages::internalError(asyncResp->res); in afterGetPowerMode() 2087 messages::internalError(asyncResp->res); in afterGetPowerMode() 2119 messages::internalError(asyncResp->res); in afterGetPowerMode() [all …]
|
H A D | account_service.hpp | 278 messages::internalError(asyncResp->res); in userErrorMessageHandler() 312 messages::internalError(asyncResp->res); in userErrorMessageHandler() 839 messages::actionNotSupported( in handleAuthMethodsPatch() 852 messages::actionNotSupported( in handleAuthMethodsPatch() 864 messages::actionNotSupported( in handleAuthMethodsPatch() 876 messages::actionNotSupported( in handleAuthMethodsPatch() 888 messages::actionNotSupported( in handleAuthMethodsPatch() 911 messages::success(asyncResp->res); in handleAuthMethodsPatch() 968 messages::propertyValueNotInList( in handleLDAPPatch() 1271 messages::internalError(asyncResp->res); in handleAccountServiceGet() [all …]
|
H A D | processor.hpp | 72 messages::internalError(asyncResp->res); in getProcessorUUID() 238 messages::internalError(asyncResp->res); in getCpuDataByService() 338 messages::internalError(asyncResp->res); in readThrottleProperties() 349 messages::internalError(asyncResp->res); in readThrottleProperties() 360 messages::internalError(asyncResp->res); in readThrottleProperties() 399 messages::internalError(asyncResp->res); in getCpuAssetData() 416 messages::internalError(asyncResp->res); in getCpuAssetData() 473 messages::internalError(asyncResp->res); in getCpuRevisionData() 484 messages::internalError(asyncResp->res); in getCpuRevisionData() 796 messages::internalError(resp->res); in getProcessorObject() [all …]
|
H A D | trigger.hpp | 481 messages::createFailedMissingReqProperties(res, in parseTriggerThresholds() 510 messages::createFailedMissingReqProperties( in parseTriggerThresholds() 554 messages::propertyValueIncorrect( in parseMetricProperties() 564 messages::propertyValueIncorrect( in parseMetricProperties() 573 messages::propertyValueIncorrect( in parseMetricProperties() 695 messages::internalError(asyncResp->res); in afterCreateTrigger() 704 messages::internalError(asyncResp->res); in afterCreateTrigger() 710 messages::created(asyncResp->res); in afterCreateTrigger() 1028 messages::internalError(asyncResp->res); in requestRoutesTrigger() 1034 messages::internalError(asyncResp->res); in requestRoutesTrigger() [all …]
|
H A D | certificate_service.hpp | 74 messages::internalError(asyncResp->res); in getCertificateFromReqBody() 232 messages::internalError(asyncResp->res); in getCertificateList() 326 messages::internalError(asyncResp->res); in getCertificateProperties() 409 messages::internalError(asyncResp->res); in handleCertificateServiceGet() 503 messages::actionParameterValueFormatError( in handleReplaceCertificateAction() 560 messages::internalError(asyncResp->res); in handleReplaceCertificateAction() 596 messages::internalError(asyncResp->res); in getCSR() 690 messages::actionParameterNotSupported( in handleGenerateCSRAction() 698 messages::actionParameterNotSupported( in handleGenerateCSRAction() 773 messages::internalError(asyncResp->res); in handleGenerateCSRAction() [all …]
|
H A D | virtual_media.hpp | 482 messages::internalError(asyncResp->res); in doMountVmLegacy() 499 messages::internalError(asyncResp->res); in doMountVmLegacy() 505 messages::internalError(asyncResp->res); in doMountVmLegacy() 560 messages::actionParameterValueFormatError( in validateParams() 591 messages::propertyValueNotInList( in validateParams() 620 messages::actionParameterValueTypeError( in validateParams() 669 messages::internalError(asyncResp->res); in doEjectAction() 684 messages::internalError(asyncResp->res); in doEjectAction() 798 messages::internalError(asyncResp->res); in handleManagersVirtualMediaActionEject() 864 messages::internalError(asyncResp->res); in handleManagersVirtualMediaCollectionGet() [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/bmcweb/redfish-core/include/ |
H A D | snmp_trap_event_clients.hpp | 32 messages::internalError(asyncResp->res); in afterGetSnmpTrapClientdata() 45 messages::internalError(asyncResp->res); in afterGetSnmpTrapClientdata() 100 messages::internalError(asyncResp->res); in getSnmpTrapClient() 111 messages::internalError(asyncResp->res); in getSnmpTrapClient() 124 messages::resourceNotFound(asyncResp->res, "Subscriptions", id); in getSnmpTrapClient() 158 messages::internalError(asyncResp->res); in afterSnmpClientCreate() 165 messages::internalError(asyncResp->res); in afterSnmpClientCreate() 174 messages::created(asyncResp->res); in afterSnmpClientCreate() 231 messages::resourceNotFound(asyncResp->res, "Subscription", in deleteSnmpTrapClient() 235 messages::internalError(asyncResp->res); in deleteSnmpTrapClient() [all …]
|
/openbmc/linux/drivers/media/pci/bt8xx/ |
H A D | dst_ca.c | 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() 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() 187 num_ids = state->messages[in_num_ids_pos]; in ca_get_ca_info() 198 …dprintk(verbose, DST_CA_INFO, 0, " 0x%02x%02x", state->messages[srcPtr + 0], state->messages[srcPt… in ca_get_ca_info() 200 state->messages[dstPtr + 0] = state->messages[srcPtr + 0]; in ca_get_ca_info() 201 state->messages[dstPtr + 1] = state->messages[srcPtr + 1]; in ca_get_ca_info() [all …]
|
/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/openpower-hw-diags/util/ |
H A D | ffdc.cpp | 69 std::vector<std::string> messages; in sdjGetMessages() local 105 messages.insert(messages.begin(), value); in sdjGetMessages() 110 if (messages.size() >= max) in sdjGetMessages() 119 return messages; in sdjGetMessages() 181 std::vector<std::string> messages = in createFFDCTraceFiles() local 185 if (!messages.empty()) in createFFDCTraceFiles() 187 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()
|
/openbmc/linux/net/mac80211/ |
H A D | Kconfig | 88 bool "Trace all mac80211 debug messages" 93 collect all debugging messages, independent of 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. 195 messages are remotely triggerable. 208 messages are remotely triggerable. 221 messages are remotely triggerable. 234 messages are remotely triggerable. [all …]
|
/openbmc/linux/sound/usb/line6/ |
H A D | driver.c | 542 line6->messages.active = 1; in line6_hwdep_open() 553 line6->messages.active = 0; in line6_hwdep_release() 573 if (line6->messages.nonblock) in line6_hwdep_read() 577 line6->messages.wait_queue, in line6_hwdep_read() 578 kfifo_len(&line6->messages.fifo) != 0); in line6_hwdep_read() 631 mutex_lock(&line6->messages.read_lock); in line6_hwdep_poll() 649 if (!line6->messages.active) in line6_hwdep_push_message() 654 kfifo_in(&line6->messages.fifo, in line6_hwdep_push_message() 668 line6->messages.active = 0; in line6_hwdep_init() 670 mutex_init(&line6->messages.read_lock); in line6_hwdep_init() [all …]
|
/openbmc/webui-vue/src/ |
H A D | i18n.js | 12 const messages = {}; 17 messages[locale] = locales(key); 20 return messages; 31 messages: loadLocaleMessages(), property in AnonymousClassd451f3dc0101
|
/openbmc/linux/arch/sh/kernel/cpu/sh2/ |
H A D | smp-j2.c | 25 unsigned messages, i; in j2_ipi_interrupt_handler() local 27 do messages = *pmsg; in j2_ipi_interrupt_handler() 28 while (cmpxchg(pmsg, messages, 0) != messages); in j2_ipi_interrupt_handler() 30 if (!messages) return IRQ_NONE; in j2_ipi_interrupt_handler() 33 if (messages & (1U<<i)) in j2_ipi_interrupt_handler()
|