Home
last modified time | relevance | path

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

12

/external/python/cpython2/Modules/
Dlinuxaudiodev.c170 PyErr_SetFromErrno(LinuxAudioError); in lad_read()
203 PyErr_SetFromErrno(LinuxAudioError); in lad_write()
215 PyErr_SetFromErrno(LinuxAudioError); in lad_write()
288 PyErr_SetFromErrno(LinuxAudioError); in lad_setparameters()
292 PyErr_SetFromErrno(LinuxAudioError); in lad_setparameters()
296 PyErr_SetFromErrno(LinuxAudioError); in lad_setparameters()
346 PyErr_SetFromErrno(LinuxAudioError); in lad_bufsize()
350 PyErr_SetFromErrno(LinuxAudioError); in lad_bufsize()
365 PyErr_SetFromErrno(LinuxAudioError); in lad_obufcount()
369 PyErr_SetFromErrno(LinuxAudioError); in lad_obufcount()
[all …]
Dossaudiodev.c238 return PyErr_SetFromErrno(PyExc_IOError); in _do_ioctl_1()
263 return PyErr_SetFromErrno(PyExc_IOError); in _do_ioctl_1_internal()
291 return PyErr_SetFromErrno(PyExc_IOError); in _do_ioctl_0()
307 return PyErr_SetFromErrno(PyExc_IOError); in oss_nonblock()
323 return PyErr_SetFromErrno(PyExc_IOError); in oss_getfmts()
380 PyErr_SetFromErrno(PyExc_IOError); in oss_read()
404 return PyErr_SetFromErrno(PyExc_IOError); in oss_write()
444 return PyErr_SetFromErrno(PyExc_IOError); in oss_writeall()
454 return PyErr_SetFromErrno(PyExc_IOError); in oss_writeall()
501 return PyErr_SetFromErrno(PyExc_IOError); in oss_setparameters()
[all …]
Dsunaudiodev.c147 PyErr_SetFromErrno(SunAudioError); in sad_read()
177 PyErr_SetFromErrno(SunAudioError); in sad_write()
199 PyErr_SetFromErrno(SunAudioError); in sad_getinfo()
215 PyErr_SetFromErrno(SunAudioError); in sad_setinfo()
228 PyErr_SetFromErrno(SunAudioError); in sad_ibufcount()
240 PyErr_SetFromErrno(SunAudioError); in sad_obufcount()
254 PyErr_SetFromErrno(SunAudioError); in sad_drain()
268 PyErr_SetFromErrno(SunAudioError); in sad_getdev()
279 PyErr_SetFromErrno(SunAudioError); in sad_flush()
Dtermios.c84 return PyErr_SetFromErrno(TermiosError); in termios_tcgetattr()
165 return PyErr_SetFromErrno(TermiosError); in termios_tcsetattr()
198 return PyErr_SetFromErrno(TermiosError); in termios_tcsetattr()
200 return PyErr_SetFromErrno(TermiosError); in termios_tcsetattr()
202 return PyErr_SetFromErrno(TermiosError); in termios_tcsetattr()
224 return PyErr_SetFromErrno(TermiosError); in termios_tcsendbreak()
244 return PyErr_SetFromErrno(TermiosError); in termios_tcdrain()
267 return PyErr_SetFromErrno(TermiosError); in termios_tcflush()
290 return PyErr_SetFromErrno(TermiosError); in termios_tcflow()
Dbsddbmodule.c77 PyErr_SetFromErrno(BsddbError); in newdbhashobject()
127 PyErr_SetFromErrno(BsddbError); in newdbbtobject()
186 PyErr_SetFromErrno(BsddbError); in newdbrnobject()
260 PyErr_SetFromErrno(BsddbError); in bsddb_length()
310 PyErr_SetFromErrno(BsddbError); in bsddb_subscript()
369 PyErr_SetFromErrno(BsddbError); in bsddb_ass_sub()
393 PyErr_SetFromErrno(BsddbError); in bsddb_close()
455 PyErr_SetFromErrno(BsddbError); in bsddb_keys()
495 PyErr_SetFromErrno(BsddbError); in bsddb_has_key()
542 PyErr_SetFromErrno(BsddbError); in bsddb_set_location()
[all …]
Dfcntlmodule.c55 PyErr_SetFromErrno(PyExc_IOError); in fcntl_fcntl()
73 PyErr_SetFromErrno(PyExc_IOError); in fcntl_fcntl()
161 PyErr_SetFromErrno(PyExc_IOError); in fcntl_ioctl()
186 PyErr_SetFromErrno(PyExc_IOError); in fcntl_ioctl()
208 PyErr_SetFromErrno(PyExc_IOError); in fcntl_ioctl()
293 PyErr_SetFromErrno(PyExc_IOError); in fcntl_flock()
373 PyErr_SetFromErrno(PyExc_IOError); in fcntl_lockf()
Dtimemodule.c133 PyErr_SetFromErrno(PyExc_IOError); in time_time()
289 return PyErr_SetFromErrno(PyExc_ValueError); in time_convert()
955 PyErr_SetFromErrno(PyExc_IOError);
994 PyErr_SetFromErrno(PyExc_IOError);
1005 PyErr_SetFromErrno(PyExc_IOError);
1020 PyErr_SetFromErrno( PyExc_IOError );
1044 PyErr_SetFromErrno(PyExc_IOError);
Dcdmodule.c57 PyErr_SetFromErrno(CdError); /* XXX - ??? */ in CD_close()
96 PyErr_SetFromErrno(CdError); /* XXX - ??? */ in CD_getstatus()
250 PyErr_SetFromErrno(CdError); in CD_readda()
270 PyErr_SetFromErrno(CdError); in CD_seek()
288 PyErr_SetFromErrno(CdError); in CD_seektrack()
305 PyErr_SetFromErrno(CdError); in CD_seekblock()
438 PyErr_SetFromErrno(CdError); in CD_open()
Dresource.c77 PyErr_SetFromErrno(ResourceError); in resource_getrusage()
129 PyErr_SetFromErrno(ResourceError); in resource_getrlimit()
201 PyErr_SetFromErrno(ResourceError); in resource_setrlimit()
Dselectmodule.c276 PyErr_SetFromErrno(SelectError); in select_select()
445 PyErr_SetFromErrno(PyExc_IOError); in poll_modify()
555 PyErr_SetFromErrno(SelectError); in poll_poll()
788 PyErr_SetFromErrno(PyExc_IOError); in newPyEpoll_Object()
821 PyErr_SetFromErrno(PyExc_IOError); in pyepoll_close()
914 PyErr_SetFromErrno(PyExc_IOError); in pyepoll_internal_ctl()
1037 PyErr_SetFromErrno(PyExc_IOError); in pyepoll_poll()
1449 PyErr_SetFromErrno(PyExc_IOError); in newKqueue_Object()
1481 PyErr_SetFromErrno(PyExc_IOError); in kqueue_queue_close()
1643 PyErr_SetFromErrno(PyExc_OSError); in kqueue_queue_control()
Dmmapmodule.c419 PyErr_SetFromErrno(mmap_module_error); in mmap_size_method()
513 PyErr_SetFromErrno(mmap_module_error); in mmap_resize_method()
528 PyErr_SetFromErrno(mmap_module_error); in mmap_resize_method()
569 PyErr_SetFromErrno(mmap_module_error); in mmap_flush_method()
1219 PyErr_SetFromErrno(mmap_module_error); in new_mmap_object()
1227 PyErr_SetFromErrno(mmap_module_error); in new_mmap_object()
1243 PyErr_SetFromErrno(mmap_module_error); in new_mmap_object()
1324 PyErr_SetFromErrno(mmap_module_error); in new_mmap_object()
1329 PyErr_SetFromErrno(mmap_module_error); in new_mmap_object()
Dgdbmmodule.c70 PyErr_SetFromErrno(DbmError); in newdbmobject()
171 PyErr_SetFromErrno(DbmError); in dbm_ass_sub()
366 PyErr_SetFromErrno(DbmError); in dbm_reorganize()
Dsgimodule.c38 PyErr_SetFromErrno(PyExc_IOError); in sgi__getpty()
Dsignalmodule.c317 PyErr_SetFromErrno(PyExc_RuntimeError); in signal_signal()
394 PyErr_SetFromErrno(PyExc_RuntimeError); in signal_siginterrupt()
464 PyErr_SetFromErrno(ItimerError); in signal_setitimer()
494 PyErr_SetFromErrno(ItimerError); in signal_getitimer()
Dreadline.c113 return PyErr_SetFromErrno(PyExc_IOError); in read_init_file()
133 return PyErr_SetFromErrno(PyExc_IOError); in read_history_file()
156 return PyErr_SetFromErrno(PyExc_IOError); in write_history_file()
Dimgfile.c62 PyErr_SetFromErrno(ImgfileError); in imgfile_open()
432 PyErr_SetFromErrno(ImgfileError); in imgfile_write()
D_localemodule.c608 PyErr_SetFromErrno(PyExc_OSError); in PyIntl_textdomain()
630 PyErr_SetFromErrno(PyExc_OSError); in PyIntl_bindtextdomain()
/external/python/cpython2/PC/
Dmsvcrtmodule.c40 return PyErr_SetFromErrno(PyExc_IOError); in msvcrt_heapmin()
68 return PyErr_SetFromErrno(PyExc_IOError); in msvcrt_locking()
96 return PyErr_SetFromErrno(PyExc_IOError); in msvcrt_setmode()
121 return PyErr_SetFromErrno(PyExc_IOError); in msvcrt_open_osfhandle()
145 return PyErr_SetFromErrno(PyExc_IOError); in msvcrt_get_osfhandle()
149 return PyErr_SetFromErrno(PyExc_IOError); in msvcrt_get_osfhandle()
329 return PyErr_SetFromErrno(PyExc_IOError); in msvcrt_ungetch()
350 return PyErr_SetFromErrno(PyExc_IOError); in msvcrt_ungetwch()
/external/python/cpython2/Python/
Drandom.c121 PyErr_SetFromErrno(PyExc_OSError); in py_getentropy()
235 PyErr_SetFromErrno(PyExc_OSError); in dev_urandom_python()
254 PyErr_SetFromErrno(PyExc_OSError); in dev_urandom_python()
282 PyErr_SetFromErrno(PyExc_OSError); in dev_urandom_python()
/external/python/cpython2/Modules/_multiprocessing/
Dsemaphore.c303 PyErr_SetFromErrno(PyExc_OSError); in semlock_acquire()
333 return PyErr_SetFromErrno(PyExc_OSError); in semlock_acquire()
364 PyErr_SetFromErrno(PyExc_OSError); in semlock_release()
371 PyErr_SetFromErrno(PyExc_OSError); in semlock_release()
386 return PyErr_SetFromErrno(PyExc_OSError); in semlock_release()
396 return PyErr_SetFromErrno(PyExc_OSError); in semlock_release()
Dmultiprocessing.c46 PyErr_SetFromErrno(Type); in mp_SetError()
138 return PyErr_SetFromErrno(PyExc_OSError); in multiprocessing_sendfd()
178 return PyErr_SetFromErrno(PyExc_OSError); in multiprocessing_recvfd()
/external/python/cpython2/Modules/_io/
Dfileio.c95 PyErr_SetFromErrno(PyExc_IOError); in internal_close()
506 PyErr_SetFromErrno(PyExc_IOError); in fileio_readinto()
548 return PyErr_SetFromErrno(PyExc_IOError); in fileio_readall()
600 PyErr_SetFromErrno(PyExc_IOError); in fileio_readall()
660 PyErr_SetFromErrno(PyExc_IOError); in fileio_read()
706 PyErr_SetFromErrno(PyExc_IOError); in fileio_write()
763 return PyErr_SetFromErrno(PyExc_IOError); in portable_lseek()
891 PyErr_SetFromErrno(PyExc_IOError); in fileio_truncate()
/external/libcap-ng/libcap-ng-0.7/bindings/python/
Dcapng_swig.i31 PyErr_SetFromErrno(PyExc_OSError);
/external/python/cpython2/Objects/
Dfileobject.c460 return PyErr_SetFromErrno(PyExc_IOError); in close_the_file()
798 PyErr_SetFromErrno(PyExc_IOError); in file_seek()
915 PyErr_SetFromErrno(PyExc_IOError); in file_truncate()
934 PyErr_SetFromErrno(PyExc_IOError); in file_tell()
974 PyErr_SetFromErrno(PyExc_IOError); in file_flush()
1107 PyErr_SetFromErrno(PyExc_IOError); in file_read()
1172 PyErr_SetFromErrno(PyExc_IOError); in file_readinto()
1499 PyErr_SetFromErrno(PyExc_IOError); in get_line()
1712 PyErr_SetFromErrno(PyExc_IOError); in file_readlines()
1861 PyErr_SetFromErrno(PyExc_IOError); in file_write()
[all …]
/external/python/cpython2/RISCOS/Modules/
Driscosmodule.c39 if (remove(path1)) return PyErr_SetFromErrno(PyExc_OSError); in riscos_remove()
50 if (rename(path1,path2)) return PyErr_SetFromErrno(PyExc_OSError); in riscos_rename()

12