Home
last modified time | relevance | path

Searched refs:error_code (Results 1 – 25 of 426) sorted by relevance

12345678910>>...18

/openbmc/openpower-vpd-parser/vpd-manager/include/
H A Derror_codes.hpp8 enum error_code enum
53 {error_code::FILE_NOT_FOUND, "File does not exist."},
54 {error_code::FILE_ACCESS_ERROR, "Failed to access the file."},
55 {error_code::EMPTY_FILE, "Empty file."},
56 {error_code::INVALID_JSON,
58 {error_code::MISSING_FLAG,
60 {error_code::MISSING_ACTION_TAG,
62 {error_code::FRU_PATH_NOT_FOUND, "The FRU path is not found in the JSON."},
63 {error_code::JSON_PARSE_ERROR, "Error while parsing JSON file."},
64 {error_code::INVALID_INPUT_PARAMETER,
[all …]
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/
H A Djson_utility.hpp66 o_errCode = error_code::INVALID_INPUT_PARAMETER; in getVPDOffset()
109 o_errCode = error_code::INVALID_INPUT_PARAMETER; in getParsedJson()
115 o_errCode = error_code::FILE_NOT_FOUND; in getParsedJson()
121 o_errCode = error_code::EMPTY_FILE; in getParsedJson()
128 o_errCode = error_code::FILE_ACCESS_ERROR; in getParsedJson()
138 o_errCode = error_code::JSON_PARSE_ERROR; in getParsedJson()
165 o_errCode = error_code::INVALID_INPUT_PARAMETER; in getInventoryObjPathFromJson()
171 o_errCode = error_code::INVALID_JSON; in getInventoryObjPathFromJson()
226 o_errCode = error_code::INVALID_INPUT_PARAMETER; in executePostFailAction()
232 o_errCode = error_code::INVALID_JSON; in executePostFailAction()
[all …]
H A Dvpd_specific_utility.hpp45 o_errCode = error_code::INVALID_INPUT_PARAMETER; in generateBadVPDFileName()
74 o_errCode = error_code::STANDARD_EXCEPTION; in generateBadVPDFileName()
99 o_errCode = error_code::INVALID_INPUT_PARAMETER; in dumpBadVpd()
122 std::error_code l_ec; in dumpBadVpd()
126 o_errCode = error_code::FILE_SYSTEM_ERROR; in dumpBadVpd()
134 o_errCode = error_code::FILE_ACCESS_ERROR; in dumpBadVpd()
146 o_errCode = error_code::STANDARD_EXCEPTION; in dumpBadVpd()
170 o_errCode = error_code::INVALID_INPUT_PARAMETER; in getKwVal()
181 o_errCode = error_code::KEYWORD_NOT_FOUND; in getKwVal()
203 o_errCode = error_code::INVALID_INPUT_PARAMETER; in encodeKeyword()
[all …]
H A Dcommon_utility.hpp123 o_errCode = error_code::POPEN_FAILED; in executeCmd()
137 o_errCode = error_code::STANDARD_EXCEPTION; in executeCmd()
219 o_errCode = error_code::STANDARD_EXCEPTION; in getPrintableValue()
244 o_errCode = error_code::INVALID_INPUT_PARAMETER; in convertToBinary()
254 o_errCode = error_code::INVALID_HEXADECIMAL_VALUE_LENGTH; in convertToBinary()
262 o_errCode = error_code::INVALID_HEXADECIMAL_VALUE; in convertToBinary()
269 o_errCode = error_code::INVALID_HEXADECIMAL_VALUE; in convertToBinary()
287 o_errCode = error_code::STANDARD_EXCEPTION; in convertToBinary()
339 o_errCode = error_code::STANDARD_EXCEPTION; in isFieldModeEnabled()
391 o_errCode = error_code::STANDARD_EXCEPTION; in getVpdCollectionMode()
[all …]
/openbmc/qemu/target/ppc/
H A Duser_only_helper.c30 int exception, error_code; in ppc_cpu_record_sigsegv() local
41 error_code = 0x40000000; in ppc_cpu_record_sigsegv()
44 error_code = 0x40000000; in ppc_cpu_record_sigsegv()
46 error_code |= 0x02000000; in ppc_cpu_record_sigsegv()
49 env->spr[SPR_DSISR] = error_code; in ppc_cpu_record_sigsegv()
52 env->error_code = error_code; in ppc_cpu_record_sigsegv()
H A Dmmu-hash32.c128 env->error_code = 0x10000000; in ppc_hash32_direct_store()
144 env->error_code = POWERPC_EXCP_ALIGN_FP; in ppc_hash32_direct_store()
149 env->error_code = 0; in ppc_hash32_direct_store()
169 env->error_code = 0; in ppc_hash32_direct_store()
193 env->error_code = 0; in ppc_hash32_direct_store()
325 env->error_code = 0x08000000; in ppc_hash32_xlate()
328 env->error_code = 0; in ppc_hash32_xlate()
357 env->error_code = 0x10000000; in ppc_hash32_xlate()
368 env->error_code = 0x40000000; in ppc_hash32_xlate()
371 env->error_code = 0; in ppc_hash32_xlate()
[all …]
/openbmc/bmcweb/src/
H A Ddbus_utility.cpp36 void logError(const boost::system::error_code& ec) in logError()
46 std::function<void(const boost::system::error_code&, in getAllProperties() argument
57 std::function<void(const boost::system::error_code&, in getAllProperties() argument
67 [callback = std::move(callback)](const boost::system::error_code& ec, in checkDbusPathExists()
79 std::function<void(const boost::system::error_code&, in getSubTree() argument
84 const boost::system::error_code& ec, in getSubTree()
95 std::function<void(const boost::system::error_code&, in getSubTreePaths() argument
100 const boost::system::error_code& ec, in getSubTreePaths()
114 std::function<void(const boost::system::error_code&, in getAssociatedSubTree() argument
119 const boost::system::error_code& ec, in getAssociatedSubTree()
[all …]
/openbmc/qemu/target/i386/tcg/
H A Dexcp_helper.c43 static int check_exception(CPUX86State *env, int intno, int *error_code, in check_exception() argument
72 *error_code = 0; in check_exception()
91 int is_int, int error_code, in raise_interrupt2() argument
99 error_code, retaddr); in raise_interrupt2()
100 intno = check_exception(env, intno, &error_code, retaddr); in raise_interrupt2()
106 env->error_code = error_code; in raise_interrupt2()
120 int error_code) in raise_exception_err() argument
122 raise_interrupt2(env, exception_index, 0, error_code, 0, 0); in raise_exception_err()
126 int error_code, uintptr_t retaddr) in raise_exception_err_ra() argument
128 raise_interrupt2(env, exception_index, 0, error_code, 0, retaddr); in raise_exception_err_ra()
[all …]
/openbmc/boost-dbus/include/dbus/
H A Derror.hpp67 boost::system::error_code error_code() const;
72 inline boost::system::error_code error::error_code() const { in error_code() function in dbus::error
73 return boost::system::error_code(is_set(), get_dbus_category()); in error_code()
78 error_code(), string(error_.name) + ":" + error_.message); in system_error()
/openbmc/bmcweb/redfish-core/lib/
H A Dled.hpp47 [asyncResp](const boost::system::error_code& ec, const bool blinking) { in getIndicatorLedState()
70 [asyncResp](const boost::system::error_code& ec2, in getIndicatorLedState()
136 ledBlinkng](const boost::system::error_code& ec) mutable { in setIndicatorLedState()
171 [asyncResp](const boost::system::error_code& ec, const bool blinking) { in getSystemLocationIndicatorActive()
193 [asyncResp](const boost::system::error_code& ec2, in getSystemLocationIndicatorActive()
230 [asyncResp, ledState](const boost::system::error_code& ec) { in setSystemLocationIndicatorActive()
247 const std::string& objPath, const boost::system::error_code& ec, in handleLedGroupSubtree()
249 const std::function<void(const boost::system::error_code& ec, in handleLedGroupSubtree()
288 std::function<void(const boost::system::error_code& ec, in getLedGroupPath()
301 const boost::system::error_code& ec, in getLedGroupPath()
[all …]
/openbmc/boost-dbus/test/
H A Davahi.cpp26 m, [&](const boost::system::error_code ec, dbus::message r) { in TEST()
45 t.async_wait([&](const boost::system::error_code& /*e*/) { in TEST() argument
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()
85 t.async_wait([&](const boost::system::error_code& /*e*/) { in TEST() argument
95 t.async_wait([&](const boost::system::error_code& /*e*/) { in TEST() argument
107 m, [&](const boost::system::error_code ec, dbus::message r) { in TEST()
134 f.async_dispatch([&](boost::system::error_code ec, dbus::message s) { in TEST()
166 [&](boost::system::error_code ec, dbus::message s) {}); in TEST()
183 std::function<void(boost::system::error_code, dbus::message)> callback = [&]( in TEST()
[all …]
/openbmc/qemu/target/alpha/
H A Dfpu_helper.c76 uint32_t exc = env->error_code; in helper_fp_exc_raise()
89 uint32_t exc = env->error_code & ~ignore; in helper_fp_exc_raise_s()
222 env->error_code = soft_to_fpcr_exc(env); in helper_adds()
234 env->error_code = soft_to_fpcr_exc(env); in helper_subs()
246 env->error_code = soft_to_fpcr_exc(env); in helper_muls()
258 env->error_code = soft_to_fpcr_exc(env); in helper_divs()
269 env->error_code = soft_to_fpcr_exc(env); in helper_sqrts()
299 env->error_code = soft_to_fpcr_exc(env); in helper_addt()
311 env->error_code = soft_to_fpcr_exc(env); in helper_subt()
323 env->error_code = soft_to_fpcr_exc(env); in helper_mult()
[all …]
/openbmc/phosphor-host-ipmid/include/ipmid/
H A Dutils.hpp200 boost::system::error_code getService(Context::ptr ctx, const std::string& intf,
213 boost::system::error_code getSubTree(
226 boost::system::error_code getDbusObject(
232 static inline boost::system::error_code getDbusObject( in getDbusObject()
239 static inline boost::system::error_code getDbusObject( in getDbusObject()
257 boost::system::error_code getDbusProperty( in getDbusProperty()
262 boost::system::error_code ec; in getDbusProperty()
290 boost::system::error_code getAllDbusProperties(
303 boost::system::error_code setDbusProperty(
317 boost::system::error_code getAllDbusObjects(
[all …]
/openbmc/bmcweb/include/
H A Ddbus_utility.hpp93 void logError(const boost::system::error_code& ec);
97 std::function<void(const boost::system::error_code&,
126 std::function<void(const boost::system::error_code&, in getProperty() argument
138 std::function<void(const boost::system::error_code&, in getProperty() argument
148 std::function<void(const boost::system::error_code&,
157 std::function<void(const boost::system::error_code&,
163 std::function<void(const boost::system::error_code&,
170 std::function<void(const boost::system::error_code&,
177 std::function<void(const boost::system::error_code&,
185 std::function<void(const boost::system::error_code&,
[all …]
/openbmc/boost-dbus/include/dbus/detail/
H A Dqueue.hpp22 typedef std::function<void(boost::system::error_code, Message)> handler_type;
42 boost::system::error_code error_;
47 boost::system::error_code e = boost::system::error_code()) in closure()
68 void(boost::system::error_code, in BOOST_ASIO_INITFN_RESULT_TYPE() argument
72 MessageHandler, void(boost::system::error_code, message_type)> in BOOST_ASIO_INITFN_RESULT_TYPE()
/openbmc/qemu/target/mips/tcg/
H A Dexception.c47 int error_code) in helper_raise_exception_err() argument
49 do_raise_exception_err(env, exception, error_code, 0); in helper_raise_exception_err()
140 int error_code, uintptr_t pc) in do_raise_exception_err() argument
146 error_code); in do_raise_exception_err()
148 env->error_code = error_code; in do_raise_exception_err()
/openbmc/qemu/target/i386/tcg/system/
H A Dexcp_helper.c53 int error_code; member
79 .error_code = inout->env->error_code, in ptw_translate()
159 int error_code; in mmu_translate() local
454 .error_code = env->error_code, in mmu_translate()
489 error_code = PG_ERROR_RSVD_MASK; in mmu_translate()
492 error_code = PG_ERROR_P_MASK; in mmu_translate()
496 error_code = PG_ERROR_PK_MASK | PG_ERROR_P_MASK; in mmu_translate()
499 error_code = 0; in mmu_translate()
502 error_code |= PG_ERROR_U_MASK; in mmu_translate()
508 error_code |= PG_ERROR_W_MASK; in mmu_translate()
[all …]
/openbmc/sdbusplus/test/utility/
H A Dmake_dbus_args_tuple.cpp14 std::tuple<boost::system::error_code, sdbusplus::message_t, int> in TEST()
28 std::tuple<boost::system::error_code, int> input_tuple{ in TEST()
29 boost::system::error_code(), 42}; in TEST()
43 std::tuple<boost::system::error_code> input_tuple; in TEST()
/openbmc/bmcweb/http/
H A Dhttp_body.hpp126 boost::system::error_code& ec) in open()
133 boost::system::error_code ec2; in open()
154 void setFd(int fd, boost::system::error_code& ec) in setFd()
158 boost::system::error_code ec2; in setFd()
203 static void init(boost::beast::error_code& ec) in init()
209 boost::beast::error_code& ec) in get()
215 boost::beast::error_code& ec, size_t maxSize) in getWithMaxSize()
232 boost::system::error_code readEc; in getWithMaxSize()
294 boost::beast::error_code& ec) in init()
308 boost::system::error_code& ec) in put()
[all …]
/openbmc/dbus-sensors/src/nvidia-gpu/
H A DMctpRequester.cpp87 void MctpRequester::processRecvMsg(const boost::system::error_code& ec, in processRecvMsg()
117 handleResult(eid, static_cast<std::error_code>(ec), {}); in processRecvMsg()
168 handleResult(eid, std::error_code{}, responseBuffer); in processRecvMsg()
172 uint8_t eid, const boost::system::error_code& ec, size_t /* length */) in handleSendMsgCompletion()
179 handleResult(eid, static_cast<std::error_code>(ec), {}); in handleSendMsgCompletion()
197 expiryTimer.async_wait([this, eid](const boost::system::error_code& ec) { in handleSendMsgCompletion()
208 std::move_only_function<void(const std::error_code&, in sendRecvMsg() argument
227 static bool isFatalError(const std::error_code& ec) in isFatalError()
233 void MctpRequester::handleResult(uint8_t eid, const std::error_code& ec, in handleResult()
290 static std::expected<void, std::error_code> injectIid(std::span<uint8_t> buffer, in injectIid()
[all …]
H A DMctpRequester.hpp48 std::move_only_function<void(const std::error_code&,
53 using cb_t = std::move_only_function<void(const std::error_code&,
90 void processRecvMsg(const boost::system::error_code& ec, size_t length);
92 const boost::system::error_code& ec,
95 void handleResult(uint8_t eid, const std::error_code& ec,
/openbmc/sdbusplus/example/
H A Dregister-property.cpp48 return [this](boost::system::error_code error) { in getFailed()
59 [this](boost::system::error_code ec, uint32_t) { in asyncReadPropertyWithIncorrectType()
79 [this](boost::system::error_code ec, std::string value) { in asyncReadProperties()
91 [this](boost::system::error_code ec, std::string value) { in asyncReadProperties()
106 [this](const boost::system::error_code& ec) { in asyncChangeProperty()
123 [this](const boost::system::error_code& ec) { in asyncChangeProperty()
161 signals.async_wait([&ioc](const boost::system::error_code&, const int&) { in main() argument
/openbmc/qemu/linux-user/ppc/
H A Dcpu_loop.c108 switch (env->error_code & ~0xF) { in cpu_loop()
111 switch (env->error_code & 0xF) { in cpu_loop()
139 env->error_code); in cpu_loop()
146 switch (env->error_code & 0xF) { in cpu_loop()
161 env->error_code & 0xF); in cpu_loop()
168 switch (env->error_code & 0xF) { in cpu_loop()
177 env->error_code & 0xF); in cpu_loop()
189 env->error_code); in cpu_loop()
/openbmc/telemetry/tests/src/
H A Ddbus_environment.hpp105 [&propertyPromise](const boost::system::error_code& ec, T t) { in getProperty()
117 static boost::system::error_code setProperty( in setProperty()
121 auto promise = std::promise<boost::system::error_code>(); in setProperty()
127 boost::system::error_code ec) mutable { in setProperty()
134 static boost::system::error_code callMethod( in callMethod()
138 auto promise = std::promise<boost::system::error_code>(); in callMethod()
142 boost::system::error_code ec) mutable { in callMethod()
/openbmc/bmcweb/test/include/
H A Ddbus_privileges_test.cpp20 const boost::system::error_code ec = {}; in TEST()
36 const boost::system::error_code ec = {1, boost::system::system_category()}; in TEST()
52 const boost::system::error_code ec = {boost::system::errc::host_unreachable, in TEST()
70 const boost::system::error_code ec = {boost::system::errc::io_error, in TEST()

12345678910>>...18