Home
last modified time | relevance | path

Searched refs:system_error (Results 1 – 25 of 60) sorted by relevance

123

/openbmc/boost-dbus/include/dbus/
H A Derror.hpp68 boost::system::system_error system_error() const;
76 inline boost::system::system_error error::system_error() const { in system_error() function in dbus::error
77 return boost::system::system_error( in system_error()
82 if (is_set()) throw system_error(); in throw_if_set()
/openbmc/gpioplus/src/gpioplus/internal/
H A Dfd.cpp20 throw std::system_error(errno, std::generic_category(), "Opening FD"); in Fd()
29 throw std::system_error(errno, std::generic_category(), "Duping FD"); in dup()
107 throw std::system_error(errno, std::generic_category(), "fcntl_setfl"); in setFlags()
116 throw std::system_error(errno, std::generic_category(), "fcntl_getfl"); in getFlags()
132 throw std::system_error(errno, std::generic_category(), "Closing FD"); in reset()
/openbmc/openpower-pnor-code-mgmt/ubi/
H A Dwatch.cpp43 throw std::system_error(error, std::generic_category(), in Watch()
54 throw std::system_error(-rc, std::generic_category(), in Watch()
80 throw std::system_error(error, std::generic_category(), in callback()
110 throw std::system_error(error, std::generic_category(), in inotifyInit()
/openbmc/phosphor-hwmon/
H A Dsysfs.cpp96 catch (const std::system_error& e) in findCalloutPath()
121 catch (const std::system_error& e) in findCalloutPath()
139 catch (const std::system_error& e) in findCalloutPath()
154 catch (const std::system_error& e) in findCalloutPath()
179 catch (const std::system_error& e) in findHwmonFromOFPath()
H A Dfan_speed.cpp31 catch (const std::system_error& e) in target()
67 catch (const std::system_error& e) in enable()
H A Dsensor.hpp31 struct AsyncSensorReadTimeOut : public std::system_error
34 system_error(std::error_code(ETIMEDOUT, std::system_category()), in AsyncSensorReadTimeOut()
H A Dhwmonio.cpp158 throw std::system_error(rc, std::generic_category()); in read()
209 throw std::system_error(rc, std::generic_category()); in write()
/openbmc/hiomapd/vpnor/
H A Dpartition.cpp151 throw std::system_error(errno, std::system_category()); in read()
161 throw std::system_error(lerrno, std::system_category()); in read()
174 throw std::system_error(lerrno, std::system_category()); in read()
209 throw std::system_error(errno, std::system_category()); in write()
219 throw std::system_error(lerrno, std::system_category()); in write()
229 throw std::system_error(lerrno, std::system_category()); in write()
/openbmc/openpower-proc-control/procedures/openfsi/
H A Dscan.cpp58 throw std::system_error(err, std::generic_category()); in doScan()
81 catch (const std::system_error& e) in scan()
107 catch (const std::system_error& e) in scan()
/openbmc/gpioplus/src/gpioplus/
H A Devent.cpp46 throw std::system_error(-r, std::generic_category(), in build()
74 throw std::system_error(errno, std::generic_category(), in read()
91 throw std::system_error(-r, std::generic_category(), in getValue()
H A Dhandle.cpp70 throw std::system_error(-r, std::generic_category(), in build()
103 throw std::system_error(-r, std::generic_category(), in getValues()
130 throw std::system_error(-r, std::generic_category(), in setValues()
H A Dchip.cpp33 throw std::system_error(-r, std::generic_category(), in getChipInfo()
49 throw std::system_error(-r, std::generic_category(), in getLineInfo()
/openbmc/phosphor-ipmi-flash/tools/
H A Dpci.cpp64 throw std::system_error(ret, std::generic_category(), in PciAccessBridge()
90 throw std::system_error(ret, std::generic_category(), in PciAccessBridge()
139 throw std::system_error(ret, std::generic_category(), in enableBridge()
154 throw std::system_error(ret, std::generic_category(), in enableBridge()
/openbmc/phosphor-mboxd/vpnor/
H A Dpnor_partition.cpp112 throw std::system_error(errno, std::system_category()); in resize()
131 throw std::system_error(errno, std::system_category()); in fulfil()
142 throw std::system_error(errno, std::system_category()); in fulfil()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/minifi-cpp/files/
H A D0006-OsUtils.h-add-missing-header-cstdint-for-int64_t.patch11 21 | #include <system_error>
29 #include <system_error>
/openbmc/dbus-sensors/src/
H A DADCSensor.hpp38 catch (const std::system_error&) in BridgeGpio()
53 catch (const std::system_error& exc) in set()
/openbmc/phosphor-state-manager/
H A Dscheduled_host_transition.cpp150 throw std::system_error(eno, std::system_category()); in initialize()
165 throw std::system_error(eno, std::system_category()); in initialize()
177 throw std::system_error(eno, std::system_category()); in initialize()
/openbmc/gpioplus/test/internal/
H A Dfd.cpp73 EXPECT_THROW(Fd(expected_fd, &mock), std::system_error); in TEST_F()
121 EXPECT_THROW(Fd(path, flags, &mock), std::system_error); in TEST_F()
265 EXPECT_THROW(fd->setBlocking(true), std::system_error); in TEST_F()
273 EXPECT_THROW(fd->setBlocking(true), std::system_error); in TEST_F()
/openbmc/gpioplus/test/
H A Devent.cpp112 std::system_error); in TEST_F()
173 EXPECT_THROW(event->read(), std::system_error); in TEST_F()
196 EXPECT_THROW(event->getValue(), std::system_error); in TEST_F()
/openbmc/sdeventplus/src/sdeventplus/
H A Dexception.hpp12 class SdEventError final : public std::system_error
H A Dexception.cpp9 std::system_error(r, std::generic_category(), prefix) in SdEventError()
/openbmc/phosphor-ipmi-flash/internal/
H A Dsys.hpp96 inline std::system_error errnoException(const std::string& message) in errnoException()
98 return std::system_error(errno, std::generic_category(), message); in errnoException()
/openbmc/phosphor-event/test/
H A Dutest.cpp54 throw std::system_error(); in CreateEventPath()
62 throw std::system_error(); in CreateEventPath()
78 throw std::system_error(); in RemoveEventPath()
/openbmc/boost-dbus/test/
H A Derror.cpp23 boost::system::system_error); in TEST()
/openbmc/sdeventplus/test/
H A Dexception.cpp18 std::system_error expected(code, std::generic_category(), prefix); in TEST()

123