Home
last modified time | relevance | path

Searched refs:map_error (Results 1 – 10 of 10) sorted by relevance

/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus/
H A D0003-Support-transformation-between-D-Bus-errors-and-exce.patch40 +To handle D-Bus errors, use the ``@map_error`` decorator::
42 + from pydbus.error import map_error
44 + @map_error("org.freedesktop.DBus.Error.InvalidArgs")
104 +def map_error(error_name):
107 + error_registration.map_error(cls, error_name)
130 + def map_error(self, exception_cls, name):
137 + self.map_error(exception_cls, name)
298 + r.map_error(ExceptionA, "net.lew21.pydbus.tests.ErrorA")
299 + r.map_error(ExceptionB, "net.lew21.pydbus.tests.ErrorB")
300 + r.map_error(ExceptionC, "net.lew21.pydbus.tests.ErrorC")
[all …]
/openbmc/linux/arch/um/drivers/
H A Dubd_kern.c1412 static int map_error(int error_code) in map_error() function
1444 return map_error(0); in update_bitmap()
1449 return map_error(-n); in update_bitmap()
1451 return map_error(0); in update_bitmap()
1465 req->error = map_error(-os_sync_file(req->fds[0])); in do_io()
1492 req->error = map_error(-n); in do_io()
1501 req->error = map_error(-n); in do_io()
1508 req->error = map_error(-n); in do_io()
1515 req->error = map_error(-n); in do_io()
/openbmc/linux/drivers/net/ethernet/aeroflex/
H A Dgreth.c511 goto map_error; in greth_start_xmit_gbit()
575 map_error: in greth_start_xmit_gbit()
/openbmc/linux/fs/smb/client/
H A Dsmb2ops.c4566 rdata->result = server->ops->map_error(buf, true); in handle_read_data()
5132 .map_error = map_smb2_to_linux_error,
5235 .map_error = map_smb2_to_linux_error,
5339 .map_error = map_smb2_to_linux_error,
5455 .map_error = map_smb2_to_linux_error,
H A Dsmb1ops.c1104 .map_error = map_smb_to_linux_error,
H A Dcifsglob.h313 int (*map_error)(char *, bool); member
H A Dtransport.c1751 rdata->result = server->ops->map_error(buf, false); in cifs_readv_receive()
/openbmc/linux/drivers/net/ethernet/qlogic/
H A Dqla3xxx.c2365 goto map_error; in ql_send_map()
2388 goto map_error; in ql_send_map()
2401 map_error: in ql_send_map()
/openbmc/linux/drivers/net/ethernet/cortina/
H A Dgemini.c1226 goto map_error; in gmac_map_tx_bufs()
1243 map_error: in gmac_map_tx_bufs()
/openbmc/linux/drivers/staging/qlge/
H A Dqlge_main.c1301 goto map_error; in qlge_map_send()
1329 goto map_error; in qlge_map_send()
1344 map_error: in qlge_map_send()