Home
last modified time | relevance | path

Searched refs:exception (Results 1 – 25 of 976) sorted by relevance

12345678910>>...40

/openbmc/openbmc-test-automation/lib/
H A Dpel_utils.py106 except Exception as exception:
108 "Failed to get PEL data from BMC : " + str(exception)
109 ) from exception
126 except Exception as exception:
128 "Failed to get PEL data from BMC : " + str(exception)
129 ) from exception
195 except Exception as exception:
199 "time : " + str(exception)
200 ) from exception
230 except Exception as exception:
[all …]
H A Dvpd_utils.py70 except Exception as exception:
72 "Failed to get VPD data from BMC : " + str(exception)
73 ) from exception
/openbmc/qemu/target/mips/tcg/
H A Dexception.c46 void helper_raise_exception_err(CPUMIPSState *env, uint32_t exception, in helper_raise_exception_err() argument
49 do_raise_exception_err(env, exception, error_code, 0); in helper_raise_exception_err()
52 void helper_raise_exception(CPUMIPSState *env, uint32_t exception) in helper_raise_exception() argument
54 do_raise_exception(env, exception, GETPC()); in helper_raise_exception()
62 static void raise_exception(CPUMIPSState *env, uint32_t exception) in raise_exception() argument
64 do_raise_exception(env, exception, 0); in raise_exception()
131 const char *mips_exception_name(int32_t exception) in mips_exception_name() argument
133 if (exception < 0 || exception > EXCP_LAST) { in mips_exception_name()
136 return excp_names[exception]; in mips_exception_name()
139 void do_raise_exception_err(CPUMIPSState *env, uint32_t exception, in do_raise_exception_err() argument
[all …]
H A Dtcg-internal.h30 const char *mips_exception_name(int32_t exception);
32 G_NORETURN void do_raise_exception_err(CPUMIPSState *env, uint32_t exception,
37 uint32_t exception, in do_raise_exception() argument
40 do_raise_exception_err(env, exception, 0, pc); in do_raise_exception()
/openbmc/qemu/target/openrisc/
H A Dinterrupt.c32 int exception = cs->exception_index; in openrisc_cpu_do_interrupt() local
38 if (exception == EXCP_ILLEGAL) { in openrisc_cpu_do_interrupt()
62 if (exception == EXCP_SYSCALL || exception == EXCP_FPE) { in openrisc_cpu_do_interrupt()
67 if (exception > 0 && exception < EXCP_NR) { in openrisc_cpu_do_interrupt()
87 int_name[exception]); in openrisc_cpu_do_interrupt()
89 hwaddr vect_pc = exception << 8; in openrisc_cpu_do_interrupt()
98 cpu_abort(cs, "Unhandled exception 0x%x\n", exception); in openrisc_cpu_do_interrupt()
/openbmc/qemu/tests/tcg/s390x/
H A Dsignals-s390x.c44 enum exception { enum
54 enum exception exception; member
78 switch (expected.exception) { in handle_signal()
110 static void check_sigsegv(void *func, enum exception exception, in check_sigsegv() argument
118 prot = exception == exception_translation ? PROT_NONE : PROT_READ; in check_sigsegv()
121 if (exception == exception_translation) { in check_sigsegv()
131 expected.exception = exception; in check_sigsegv()
161 expected.exception = exception_operation; in main_1()
/openbmc/sdbusplus/include/sdbusplus/message/
H A Dread.hpp87 throw exception::SdBusError( in op()
102 throw sdbusplus::exception::InvalidEnumString(); in op()
129 throw exception::SdBusError(-r, "sd_bus_message_read_basic string"); in op()
147 throw exception::SdBusError(-r, "sd_bus_message_read_basic bool"); in op()
170 throw exception::SdBusError( in op()
182 throw exception::SdBusError( in op()
189 throw exception::SdBusError( in op()
217 throw exception::SdBusError(-r, "sd_bus_message_read_array"); in op()
236 throw exception::SdBusError( in op()
248 throw exception::SdBusError( in op()
[all …]
/openbmc/sdbusplus/src/
H A Dbus.cpp30 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_default()
42 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_default_user()
54 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_default_system()
66 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_bus()
80 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_user()
94 throw exception::SdBusError(-rc, __PRETTY_FUNCTION__); in new_system()
149 throw exception::SdBusError(-r, "sd_notify WATCHDOG=1"); in watchdog_pet()
158 throw exception::SdBusError(-r, "sd_notify WATCHDOG=trigger"); in watchdog_trigger()
168 throw exception::SdBusError(-r, "sd_watchdog_enabled"); in watchdog_enabled()
H A Devent.cpp71 throw exception::SdBusError(errno, __func__); in signal()
81 throw exception::SdBusError(errno, __func__); in ack()
89 throw exception::SdBusError(-rc, __func__); in event()
101 throw exception::SdBusError(-rc, __func__); in run_one()
120 throw exception::SdBusError(-rc, __func__); in add_io()
134 throw exception::SdBusError(errno, __func__); in add_condition()
162 throw exception::SdBusError(-rc, __func__); in add_oneshot_timer()
/openbmc/phosphor-bmc-code-mgmt/bmc/side-switch/
H A Dside_switch.cpp36 catch (const std::exception& e) in sideSwitchNeeded()
52 catch (const std::exception& e) in sideSwitchNeeded()
85 catch (const std::exception& e) in sideSwitchNeeded()
114 catch (const std::exception& e) in sideSwitchNeeded()
136 catch (const std::exception& e) in powerOffSystem()
183 catch (const std::exception& e) in powerOffSystem()
208 catch (const std::exception& e) in setAutoPowerRestart()
228 catch (const std::exception& e) in rebootTheBmc()
/openbmc/sdbusplus/include/sdbusplus/
H A Dexception.hpp22 namespace exception namespace
27 struct exception : public std::exception struct
45 struct generated_exception : public exception
96 struct internal_exception : public exception
216 using exception_t = exception::exception;
217 using internal_exception_t = exception::internal_exception;
H A Dbus.hpp181 throw exception::SdBusError(-r, "sd_bus_flush"); in flush()
197 throw exception::SdBusError(-r, "sd_bus_is_open"); in is_open()
211 throw exception::SdBusError(-r, "sd_bus_wait"); in wait()
233 throw exception::SdBusError(-r, "sd_bus_process"); in process()
251 throw exception::SdBusError(-r, "sd_bus_process discard"); in process_discard()
279 throw exception::SdBusError(-r, "sd_bus_request_name"); in request_name()
300 throw exception::SdBusError(-r, "sd_bus_message_new_method_call"); in new_method_call()
321 throw exception::SdBusError(-r, "sd_bus_message_new_signal"); in new_signal()
346 throw exception::SdBusError(&error, "sd_bus_call"); in call()
368 throw exception::SdBusError(&error, "sd_bus_call noreply"); in call_noreply()
[all …]
H A Dmessage.hpp289 throw exception::SdBusError(-r, "sd_bus_message_get_type"); in get_type()
304 throw exception::SdBusError(-r, "sd_bus_message_get_cookie"); in get_cookie()
319 throw exception::SdBusError(-r, "sd_bus_message_get_reply_cookie"); in get_reply_cookie()
357 throw exception::SdBusError(-r, "sd_bus_message_new_method_return"); in new_method_return()
368 message new_method_error(const sdbusplus::exception::exception& e) in new_method_error()
378 throw exception::SdBusError(-r, "sd_bus_message_new_method_error"); in new_method_error()
397 throw exception::SdBusError(-r, "sd_bus_message_new_method_errno"); in new_method_errno()
410 throw exception::SdBusError(-r, "sd_bus_send"); in method_return()
438 throw exception::SdBusError(&error, "sd_bus_call"); in call()
463 throw exception::SdBusError(-r, "sd_bus_call_async"); in call_async()
[all …]
/openbmc/qemu/target/ppc/
H A Duser_only_helper.c30 int exception, error_code; in ppc_cpu_record_sigsegv() local
40 exception = POWERPC_EXCP_ISI; in ppc_cpu_record_sigsegv()
43 exception = POWERPC_EXCP_DSI; in ppc_cpu_record_sigsegv()
51 cs->exception_index = exception; in ppc_cpu_record_sigsegv()
/openbmc/phosphor-power/phosphor-regulators/test/
H A Did_map_tests.cpp60 catch (const std::exception& error) in TEST()
108 catch (const std::exception& error) in TEST()
150 catch (const std::exception& error) in TEST()
196 catch (const std::exception& error) in TEST()
212 catch (const std::exception& error) in TEST()
234 catch (const std::exception& error) in TEST()
249 catch (const std::exception& error) in TEST()
271 catch (const std::exception& error) in TEST()
287 catch (const std::exception& error) in TEST()
/openbmc/sdbusplus/test/exception/
H A Dsdbus_error.cpp24 using sdbusplus::exception::SdBusError;
42 sdbusplus::exception::exception& sdbusErr = err; in TEST()
47 std::exception& stdErr = sdbusErr; in TEST()
174 sdbusplus::exception::internal_exception); in TEST()
177 sdbusplus::exception::exception); in TEST()
179 { throw SdBusError(-EINVAL, "std::exception"); }, std::exception); in TEST()
/openbmc/openpower-debug-collector/watchdog/
H A Dwatchdog_main.cpp65 catch (const sdbusplus::exception::SdBusError& e) in triggerSystemDump()
106 catch (const std::exception& e) in getSBECallout()
125 catch (const std::exception& e) in handleSbeBootError()
134 if ((sbeError.errType() == exception::SBE_FFDC_NO_DATA) || in handleSbeBootError()
135 (sbeError.errType() == exception::SBE_CMD_TIMEOUT) || (dumpIsRequired)) in handleSbeBootError()
189 catch (const std::exception& e) in handleSbeBootError()
212 catch (const std::exception& e) in handleSbeBootError()
/openbmc/phosphor-power/tools/power-utils/
H A Dvalidator.cpp35 catch (const std::exception& e) in areAllPsuSameModel()
64 catch (const std::exception& e) in countPresentPsus()
80 catch (std::exception& e) in getRequiredPsus()
98 catch (const std::exception& e) in getRequiredPsus()
150 catch (const std::exception& e) in isItFunctional()
/openbmc/openpower-vpd-parser/test/
H A Dutest_ipz_parser.cpp80 EXPECT_THROW(l_vpdParser.parse(), std::exception); in TEST()
90 EXPECT_THROW(l_vpdParser.parse(), std::exception); in TEST()
100 EXPECT_THROW(l_vpdParser.parse(), std::exception); in TEST()
112 EXPECT_THROW(l_vpdParser.parse(), std::exception); in TEST()
123 EXPECT_THROW(l_vpdParser.parse(), std::exception); in TEST()
133 EXPECT_THROW(l_vpdParser.parse(), std::exception); in TEST()
/openbmc/openbmc/poky/meta/files/common-licenses/
H A DGPL-3-with-bison-exception5exception, you may create a larger work that contains part or all of the Bison parser skeleton and…
6 This special exception was added by the Free Software Foundation in version 2.2 of Bison.
H A DGPL-2.0-with-font-exception5 As a special exception, if you create a document which uses this font, and
8 General Public License. This exception does not however invalidate any other
10 you modify this font, you may extend this exception to your version of the
12 this exception statement from your version.
H A DGPL-2-with-bison-exception5exception, you may create a larger work that contains part or all of the Bison parser skeleton and…
6 This special exception was added by the Free Software Foundation in version 2.2 of Bison.
/openbmc/phosphor-pid-control/errors/
H A Dexception.hpp6 class SensorBuildException : public std::exception
21 class ControllerBuildException : public std::exception
37 class ConfigurationException : public std::exception
/openbmc/u-boot/tools/binman/
H A Dftest.py479 str(e.exception))
487 'No such file or directory'], str(e.exception))
498 str(e.exception))
504 self.assertIn("does not have a 'binman' node", str(e.exception))
518 "'/binman/not-a-valid-type'", str(e.exception))
560 "of two", str(e.exception))
653 "of two", str(e.exception))
660 "power of two", str(e.exception))
667 "align 0x4 (4)", str(e.exception))
674 "align-size 0x4 (4)", str(e.exception))
[all …]
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dmigration-permissions77 if 'Is another process using the image' not in ctx.exception.stdout:
78 raise ctx.exception
91 if 'Is another process using the image' not in ctx.exception.stdout:
92 raise ctx.exception

12345678910>>...40