Home
last modified time | relevance | path

Searched refs:PyErr_SetFromErrno (Results 1 – 25 of 44) sorted by relevance

12

/third_party/selinux/libselinux/src/
Dselinuxswig_python_exception.i5 PyErr_SetFromErrno(PyExc_OSError);
13 PyErr_SetFromErrno(PyExc_OSError);
21 PyErr_SetFromErrno(PyExc_OSError);
29 PyErr_SetFromErrno(PyExc_OSError);
37 PyErr_SetFromErrno(PyExc_OSError);
45 PyErr_SetFromErrno(PyExc_OSError);
53 PyErr_SetFromErrno(PyExc_OSError);
61 PyErr_SetFromErrno(PyExc_OSError);
69 PyErr_SetFromErrno(PyExc_OSError);
77 PyErr_SetFromErrno(PyExc_OSError);
[all …]
/third_party/python/Modules/
Dossaudiodev.c254 return PyErr_SetFromErrno(PyExc_OSError); in _do_ioctl_1()
279 return PyErr_SetFromErrno(PyExc_OSError); in _do_ioctl_1_internal()
307 return PyErr_SetFromErrno(PyExc_OSError); in _do_ioctl_0()
325 return PyErr_SetFromErrno(PyExc_OSError); in oss_nonblock()
347 return PyErr_SetFromErrno(PyExc_OSError); in oss_getfmts()
492 return PyErr_SetFromErrno(PyExc_OSError); in oss_writeall()
576 return PyErr_SetFromErrno(PyExc_OSError); in oss_setparameters()
587 return PyErr_SetFromErrno(PyExc_OSError); in oss_setparameters()
598 return PyErr_SetFromErrno(PyExc_OSError); in oss_setparameters()
657 PyErr_SetFromErrno(PyExc_OSError); in oss_bufsize()
[all …]
Dtermios.c86 return PyErr_SetFromErrno(state->TermiosError); in termios_tcgetattr_impl()
173 return PyErr_SetFromErrno(state->TermiosError); in termios_tcsetattr_impl()
211 return PyErr_SetFromErrno(state->TermiosError); in termios_tcsetattr_impl()
213 return PyErr_SetFromErrno(state->TermiosError); in termios_tcsetattr_impl()
215 return PyErr_SetFromErrno(state->TermiosError); in termios_tcsetattr_impl()
239 return PyErr_SetFromErrno(state->TermiosError); in termios_tcsendbreak_impl()
260 return PyErr_SetFromErrno(state->TermiosError); in termios_tcdrain_impl()
286 return PyErr_SetFromErrno(state->TermiosError); in termios_tcflush_impl()
312 return PyErr_SetFromErrno(state->TermiosError); in termios_tcflow_impl()
Dsignalmodule.c256 PyErr_SetFromErrno(PyExc_OSError); in report_wakeup_write_error()
467 return PyErr_SetFromErrno(PyExc_OSError); in signal_raise_signal_impl()
549 PyErr_SetFromErrno(PyExc_OSError); in signal_signal_impl()
714 PyErr_SetFromErrno(PyExc_OSError);
900 PyErr_SetFromErrno(modstate->itimer_error);
927 PyErr_SetFromErrno(modstate->itimer_error);
995 PyErr_SetFromErrno(PyExc_OSError);
1028 return PyErr_SetFromErrno(PyExc_OSError);
1061 return PyErr_SetFromErrno(PyExc_OSError);
1102 return PyErr_SetFromErrno(PyExc_OSError);
[all …]
Dfcntlmodule.c77 return !async_err ? PyErr_SetFromErrno(PyExc_OSError) : NULL; in fcntl_fcntl_impl()
98 return !async_err ? PyErr_SetFromErrno(PyExc_OSError) : NULL; in fcntl_fcntl_impl()
213 PyErr_SetFromErrno(PyExc_OSError); in fcntl_ioctl_impl()
241 PyErr_SetFromErrno(PyExc_OSError); in fcntl_ioctl_impl()
261 PyErr_SetFromErrno(PyExc_OSError); in fcntl_ioctl_impl()
328 return !async_err ? PyErr_SetFromErrno(PyExc_OSError) : NULL; in fcntl_flock_impl()
431 return !async_err ? PyErr_SetFromErrno(PyExc_OSError) : NULL; in fcntl_lockf_impl()
Dresource.c102 PyErr_SetFromErrno(PyExc_OSError); in resource_getrusage_impl()
213 PyErr_SetFromErrno(PyExc_OSError); in resource_getrlimit_impl()
257 PyErr_SetFromErrno(PyExc_OSError); in resource_setrlimit_impl()
310 PyErr_SetFromErrno(PyExc_OSError); in resource_prlimit_impl()
Dtimemodule.c194 PyErr_SetFromErrno(PyExc_OSError);
219 PyErr_SetFromErrno(PyExc_OSError);
255 PyErr_SetFromErrno(PyExc_OSError);
288 PyErr_SetFromErrno(PyExc_OSError);
313 PyErr_SetFromErrno(PyExc_OSError);
344 PyErr_SetFromErrno(PyExc_OSError);
1244 PyErr_SetFromErrno(PyExc_OSError);
1425 PyErr_SetFromErrno(PyExc_OSError);
1476 PyErr_SetFromErrno(PyExc_OSError);
1485 PyErr_SetFromErrno(PyExc_OSError);
[all …]
Dselectmodule.c358 PyErr_SetFromErrno(PyExc_OSError); in select_select_impl()
509 PyErr_SetFromErrno(PyExc_OSError); in select_poll_modify_impl()
663 PyErr_SetFromErrno(PyExc_OSError); in select_poll_poll_impl()
971 PyErr_SetFromErrno(PyExc_OSError); in select_devpoll_poll_impl()
1032 PyErr_SetFromErrno(PyExc_OSError); in select_devpoll_close_impl()
1084 PyErr_SetFromErrno(PyExc_OSError); in newDevPollObject()
1273 PyErr_SetFromErrno(PyExc_OSError); in newPyEpoll_Object()
1351 PyErr_SetFromErrno(PyExc_OSError); in select_epoll_close_impl()
1434 PyErr_SetFromErrno(PyExc_OSError); in pyepoll_internal_ctl()
1598 PyErr_SetFromErrno(PyExc_OSError); in select_epoll_poll_impl()
[all …]
D_cryptmodule.c49 return PyErr_SetFromErrno(PyExc_OSError); in crypt_crypt_impl()
D_localemodule.c418 PyErr_SetFromErrno(PyExc_OSError); in _locale_strxfrm_impl()
432 PyErr_SetFromErrno(PyExc_OSError); in _locale_strxfrm_impl()
699 PyErr_SetFromErrno(PyExc_OSError); in _locale_textdomain_impl()
739 PyErr_SetFromErrno(PyExc_OSError); in _locale_bindtextdomain_impl()
Dreadline.c239 return PyErr_SetFromErrno(PyExc_OSError); in readline_read_init_file_impl()
270 return PyErr_SetFromErrno(PyExc_OSError); in readline_read_history_file_impl()
310 return PyErr_SetFromErrno(PyExc_OSError); in readline_write_history_file_impl()
352 return PyErr_SetFromErrno(PyExc_OSError); in readline_append_history_file_impl()
D_gdbmmodule.c132 PyErr_SetFromErrno(state->gdbm_error); in gdbm_length()
269 PyErr_SetFromErrno(state->gdbm_error); in gdbm_ass_sub()
506 PyErr_SetFromErrno(state->gdbm_error); in _gdbm_gdbm_reorganize_impl()
Dmmapmodule.c562 PyErr_SetFromErrno(PyExc_OSError); in mmap_resize_method()
577 PyErr_SetFromErrno(PyExc_OSError); in mmap_resize_method()
620 PyErr_SetFromErrno(PyExc_OSError); in mmap_flush_method()
812 PyErr_SetFromErrno(PyExc_OSError); in mmap_madvise_method()
1295 PyErr_SetFromErrno(PyExc_OSError); in new_mmap_object()
Dspwdmodule.c152 PyErr_SetFromErrno(PyExc_OSError); in spwd_getspnam_impl()
Dfaulthandler.c457 PyErr_SetFromErrno(PyExc_OSError); in faulthandler_allocate_stack()
507 PyErr_SetFromErrno(PyExc_RuntimeError); in faulthandler_enable()
932 PyErr_SetFromErrno(PyExc_OSError); in faulthandler_register_py()
Dsocketmodule.c604 return PyErr_SetFromErrno(PyExc_OSError); in set_error()
696 PyErr_SetFromErrno(PyExc_OSError); in internal_setblocking()
1192 PyErr_SetFromErrno(PyExc_OSError); in make_ipv4_addr()
1206 PyErr_SetFromErrno(PyExc_OSError); in make_ipv6_addr()
5536 PyErr_SetFromErrno(PyExc_OSError);
6348 PyErr_SetFromErrno(PyExc_OSError);
6416 PyErr_SetFromErrno(PyExc_OSError);
6742 PyErr_SetFromErrno(PyExc_OSError);
6829 PyErr_SetFromErrno(PyExc_OSError);
/third_party/python/PC/
Dmsvcrtmodule.c91 return PyErr_SetFromErrno(PyExc_OSError); in msvcrt_heapmin_impl()
129 return PyErr_SetFromErrno(PyExc_OSError); in msvcrt_locking_impl()
157 PyErr_SetFromErrno(PyExc_OSError); in msvcrt_setmode_impl()
364 return PyErr_SetFromErrno(PyExc_OSError); in msvcrt_ungetch_impl()
388 return PyErr_SetFromErrno(PyExc_OSError); in msvcrt_ungetwch_impl()
440 PyErr_SetFromErrno(PyExc_OSError); in msvcrt_CrtSetReportMode_impl()
/third_party/python/Modules/_multiprocessing/
Dsemaphore.c157 return PyErr_SetFromErrno(PyExc_OSError); in _multiprocessing_SemLock_acquire_impl()
327 PyErr_SetFromErrno(PyExc_OSError); in _multiprocessing_SemLock_acquire_impl()
369 return PyErr_SetFromErrno(PyExc_OSError); in _multiprocessing_SemLock_acquire_impl()
407 PyErr_SetFromErrno(PyExc_OSError); in _multiprocessing_SemLock_release_impl()
414 PyErr_SetFromErrno(PyExc_OSError); in _multiprocessing_SemLock_release_impl()
429 return PyErr_SetFromErrno(PyExc_OSError); in _multiprocessing_SemLock_release_impl()
439 return PyErr_SetFromErrno(PyExc_OSError); in _multiprocessing_SemLock_release_impl()
560 return PyErr_SetFromErrno(PyExc_OSError); in _multiprocessing_SemLock__rebuild_impl()
Dmultiprocessing.c51 PyErr_SetFromErrno(Type); in _PyMp_SetError()
/third_party/python/Python/
Dfileutils.c1201 PyErr_SetFromErrno(PyExc_OSError); in _Py_fstat()
1269 PyErr_SetFromErrno(PyExc_OSError); in get_inheritable()
1286 PyErr_SetFromErrno(PyExc_OSError); in get_inheritable()
1340 PyErr_SetFromErrno(PyExc_OSError); in set_inheritable()
1389 PyErr_SetFromErrno(PyExc_OSError); in set_inheritable()
1412 PyErr_SetFromErrno(PyExc_OSError); in set_inheritable()
1431 PyErr_SetFromErrno(PyExc_OSError); in set_inheritable()
1764 PyErr_SetFromErrno(PyExc_OSError); in _Py_read()
1842 PyErr_SetFromErrno(PyExc_OSError); in _Py_write_impl()
2132 PyErr_SetFromErrno(PyExc_OSError); in _Py_dup()
[all …]
Dpytime.c711 PyErr_SetFromErrno(PyExc_OSError); in py_get_system_clock()
744 PyErr_SetFromErrno(PyExc_OSError); in py_get_system_clock()
901 PyErr_SetFromErrno(PyExc_OSError); in py_get_monotonic_clock()
929 PyErr_SetFromErrno(PyExc_OSError); in py_get_monotonic_clock()
941 PyErr_SetFromErrno(PyExc_OSError); in py_get_monotonic_clock()
1095 PyErr_SetFromErrno(PyExc_OSError); in _PyTime_localtime()
1117 PyErr_SetFromErrno(PyExc_OSError); in _PyTime_localtime()
1133 PyErr_SetFromErrno(PyExc_OSError); in _PyTime_gmtime()
1144 PyErr_SetFromErrno(PyExc_OSError); in _PyTime_gmtime()
Dbootstrap_hash.c196 PyErr_SetFromErrno(PyExc_OSError); in py_getrandom()
278 PyErr_SetFromErrno(PyExc_OSError); in py_getentropy()
/third_party/python/Modules/_io/
Dfileio.c126 PyErr_SetFromErrno(PyExc_OSError); in internal_close()
451 PyErr_SetFromErrno(PyExc_OSError);
931 return PyErr_SetFromErrno(PyExc_OSError);
1046 PyErr_SetFromErrno(PyExc_OSError);
/third_party/python/Include/
Dpyerrors.h157 PyAPI_FUNC(PyObject *) PyErr_SetFromErrno(PyObject *);
/third_party/libexif/contrib/c++/
Dexif_module.cxx251 PyErr_SetFromErrno(PyExc_IOError); in PythonData()

12