Home
last modified time | relevance | path

Searched refs:PyErr_SetFromWindowsErr (Results 1 – 25 of 30) sorted by relevance

12

/third_party/python/Modules/
D_winapi.c399 return PyErr_SetFromWindowsErr(0); in _winapi_CloseHandle_impl()
440 return PyErr_SetFromWindowsErr(err); in _winapi_ConnectNamedPipe_impl()
445 return PyErr_SetFromWindowsErr(0); in _winapi_ConnectNamedPipe_impl()
487 PyErr_SetFromWindowsErr(0); in _winapi_CreateFile_impl()
557 return PyErr_SetFromWindowsErr(ERROR_INVALID_PARAMETER); in _winapi_CreateJunction_impl()
560 return PyErr_SetFromWindowsErr(ERROR_INVALID_PARAMETER); in _winapi_CreateJunction_impl()
664 return PyErr_SetFromWindowsErr(ret); in _winapi_CreateJunction_impl()
706 PyErr_SetFromWindowsErr(0); in _winapi_CreateNamedPipe_impl()
741 return PyErr_SetFromWindowsErr(GetLastError()); in _winapi_CreatePipe_impl()
994 PyErr_SetFromWindowsErr(GetLastError()); in getattributelist()
[all …]
D_uuidmodule.c71 PyErr_SetFromWindowsErr(res); in py_UuidCreate()
Dmmapmodule.c456 return PyErr_SetFromWindowsErr(error); in mmap_size_method()
549 PyErr_SetFromWindowsErr(dwErrCode); in mmap_resize_method()
613 PyErr_SetFromWindowsErr(GetLastError()); in mmap_flush_method()
1413 PyErr_SetFromWindowsErr(dwErr); in new_mmap_object()
1424 return PyErr_SetFromWindowsErr(dwErr); in new_mmap_object()
1504 PyErr_SetFromWindowsErr(dwErr); in new_mmap_object()
Dposixmodule.c1684 return PyErr_SetFromWindowsErr(errno); in win32_error()
1697 return PyErr_SetFromWindowsErr(err); in win32_error_object_err()
3786 return PyErr_SetFromWindowsErr(0); in posix_getcwd()
5475 PyErr_SetFromWindowsErr(0); in os_utime_impl()
7785 return PyErr_SetFromWindowsErr(GetLastError()); in win32_getppid()
7803 result = PyErr_SetFromWindowsErr(GetLastError()); in win32_getppid()
7855 result = PyErr_SetFromWindowsErr(GetLastError()); in os_getlogin_impl()
7930 PyErr_SetFromWindowsErr(err); in os_kill_impl()
7941 return PyErr_SetFromWindowsErr(err); in os_kill_impl()
7946 result = PyErr_SetFromWindowsErr(err); in os_kill_impl()
[all …]
D_ssl.c641 return PyErr_SetFromWindowsErr(err.ws); in PySSL_SetError()
5340 return PyErr_SetFromWindowsErr(error); in parseKeyUsage()
5355 return PyErr_SetFromWindowsErr(error); in parseKeyUsage()
5461 return PyErr_SetFromWindowsErr(GetLastError()); in _ssl_enum_certificates_impl()
5518 return PyErr_SetFromWindowsErr(GetLastError()); in _ssl_enum_certificates_impl()
5559 return PyErr_SetFromWindowsErr(GetLastError()); in _ssl_enum_crls_impl()
5605 return PyErr_SetFromWindowsErr(GetLastError()); in _ssl_enum_crls_impl()
Dtimemodule.c1197 PyErr_SetFromWindowsErr(0);
1390 PyErr_SetFromWindowsErr(0);
Dsocketmodule.c2726 PyErr_SetFromWindowsErr(0); in sock_accept()
5264 PyErr_SetFromWindowsErr(0);
5390 return PyErr_SetFromWindowsErr(0);
5407 return PyErr_SetFromWindowsErr(0);
5972 PyErr_SetFromWindowsErr(0);
6712 return PyErr_SetFromWindowsErr(ret);
6722 return PyErr_SetFromWindowsErr(ret);
Dsignalmodule.c1954 PyErr_SetFromWindowsErr(0);
D_tracemalloc.c872 PyErr_SetFromWindowsErr(0); in tracemalloc_init()
/third_party/python/Modules/_io/
Dwinconsoleio.c609 PyErr_SetFromWindowsErr(err); in read_console_w()
720 PyErr_SetFromWindowsErr(err); in readinto()
854 return PyErr_SetFromWindowsErr(err); in _io__WindowsConsoleIO_readall_impl()
874 return PyErr_SetFromWindowsErr(err); in _io__WindowsConsoleIO_readall_impl()
994 return PyErr_SetFromWindowsErr(0); in _io__WindowsConsoleIO_write_impl()
1023 return PyErr_SetFromWindowsErr(err); in _io__WindowsConsoleIO_write_impl()
Dfileio.c448 PyErr_SetFromWindowsErr(0);
/third_party/python/Python/
Dbootstrap_hash.c59 PyErr_SetFromWindowsErr(0); in win32_urandom_init()
83 PyErr_SetFromWindowsErr(0); in win32_urandom()
Dpytime.c683 PyErr_SetFromWindowsErr(0); in py_get_system_clock()
869 PyErr_SetFromWindowsErr(0); in py_get_monotonic_clock()
981 PyErr_SetFromWindowsErr(0); in win_perf_counter_frequency()
Dfileutils.c1199 PyErr_SetFromWindowsErr(0); in _Py_fstat()
1275 PyErr_SetFromWindowsErr(0); in get_inheritable()
1356 PyErr_SetFromWindowsErr(0); in set_inheritable()
1653 PyErr_SetFromWindowsErr(0); in _Py_fopen_obj()
Derrors.c936 PyObject *PyErr_SetFromWindowsErr(int ierr) in PyErr_SetFromWindowsErr() function
/third_party/python/PC/
D_testconsole.c78 PyErr_SetFromWindowsErr(0); in _testconsole_write_input_impl()
Dpython3dll.c216 EXPORT_FUNC(PyErr_SetFromWindowsErr)
Dwinreg.c34 PyErr_SetFromWindowsErr(rc)
/third_party/python/Modules/_ctypes/
Dcallproc.c426 PyErr_SetFromWindowsErr(code); in SetException()
452 return PyErr_SetFromWindowsErr(hr); in check_hresult()
1292 retval = PyErr_SetFromWindowsErr(*(int *)resbuf); in _ctypes_callproc()
1381 return PyErr_SetFromWindowsErr(err); in load_library()
1408 return PyErr_SetFromWindowsErr(err); in free_library()
/third_party/python/Modules/_multiprocessing/
Dsemaphore.c159 return PyErr_SetFromWindowsErr(0); in _multiprocessing_SemLock_acquire_impl()
198 return PyErr_SetFromWindowsErr(0); in _multiprocessing_SemLock_release_impl()
/third_party/python/Parser/
Dmyreadline.c229 PyErr_SetFromWindowsErr(err); in _PyOS_WindowsConsoleReadline()
/third_party/python/Include/
Dpyerrors.h186 PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErr(int);
/third_party/python/Doc/data/
Dstable_abi.dat152 function,PyErr_SetFromWindowsErr,3.7,on Windows
Drefcounts.dat690 PyErr_SetFromWindowsErr:PyObject*::null:
691 PyErr_SetFromWindowsErr:int:ierr::
/third_party/python/Doc/c-api/
Dexceptions.rst189 .. c:function:: PyObject* PyErr_SetFromWindowsErr(int ierr)
205 Similar to :c:func:`PyErr_SetFromWindowsErr`, with an additional parameter

12