Home
last modified time | relevance | path

Searched refs:WindowsError (Results 1 – 25 of 74) sorted by relevance

123

/external/rust/crates/libloading/src/
Derror.rs13 pub struct WindowsError(pub(crate) std::io::Error); struct
15 impl std::fmt::Debug for WindowsError { implementation
49 source: WindowsError
56 source: WindowsError
63 source: WindowsError
70 source: WindowsError
/external/python/cpython2/Lib/test/
Dtest_winreg.py68 except WindowsError:
74 except WindowsError:
188 except WindowsError: # Use this error name this time
222 self.assertRaises(WindowsError, connect)
234 raise WindowsError
235 except WindowsError:
417 self.assertRaises(WindowsError, open_fail)
457 self.assertRaises(WindowsError, open_fail)
468 with self.assertRaises(WindowsError) as ctx:
Dtest_exceptions.py196 WindowsError
200 self.assertEqual(str(WindowsError(1001)),
202 self.assertEqual(str(WindowsError(1001, "message")),
204 self.assertEqual(WindowsError(1001, "message").errno, 22)
205 self.assertEqual(WindowsError(1001, "message").winerror, 1001)
277 (WindowsError, (1, 'strErrorStr', 'filenameStr'),
Dexception_hierarchy.txt18 | | +-- WindowsError (Windows)
Dtest_os.py341 except WindowsError, e:
632 self.assertRaises(WindowsError, os.rename, test_support.TESTFN, test_support.TESTFN+".bak")
635 self.assertRaises(WindowsError, os.remove, test_support.TESTFN)
638 self.assertRaises(WindowsError, os.chdir, test_support.TESTFN)
643 self.assertRaises(WindowsError, os.mkdir, test_support.TESTFN)
649 self.assertRaises(WindowsError, os.utime, test_support.TESTFN, None)
652 self.assertRaises(WindowsError, os.chmod, test_support.TESTFN, 0)
Dsymlink_support.py86 raise WindowsError(value, strerror)
Dtest_mimetypes.py153 raise WindowsError(5, "Access is denied")
/external/python/cpython2/Lib/
Dshutil.py56 WindowsError
58 WindowsError = None variable
216 if WindowsError is not None and isinstance(why, WindowsError):
/external/python/cpython3/Lib/
D_compat_pickle.py145 WindowsError
/external/python/cpython2/Lib/ctypes/test/
Dtest_checkretval.py31 self.assertRaises(WindowsError,
Dtest_win32.py49 self.assertRaises(WindowsError, windll.kernel32.GetModuleHandleA, 32)
/external/python/cpython2/Lib/multiprocessing/
Dconnection.py234 except WindowsError, e:
366 except WindowsError, e:
392 except WindowsError, e:
/external/python/cpython2/Tools/scripts/
Dwin_add2path.py33 except WindowsError:
/external/rust/crates/libloading/src/os/windows/
Dmod.rs413 fn with_get_last_error<T, F>(wrap: fn(crate::error::WindowsError) -> crate::Error, closure: F) in with_get_last_error()
421 Some(wrap(crate::error::WindowsError(io::Error::from_raw_os_error(error as i32)))) in with_get_last_error()
/external/python/cpython2/Doc/library/
D_winreg.rst46 :exc:`WindowsError` exception is raised.
65 :exc:`WindowsError` exception is raised.
91 :exc:`WindowsError` exception is raised.
109 If the method fails, a :exc:`WindowsError` exception is raised.
139 removed. If the method fails, a :exc:`WindowsError` exception is raised.
166 typically called repeatedly until a :exc:`WindowsError` exception is
180 typically called repeatedly, until a :exc:`WindowsError` exception is
272 If the function fails, :exc:`WindowsError` is raised.
/external/vulkan-validation-layers/scripts/
Dexternal_revision_generator.py126 except WindowsError:
/external/llvm-project/debuginfo-tests/dexter/dex/debugger/visualstudio/windows/
DComInterface.py104 e = WindowsError(msg) # pylint: disable=undefined-variable
/external/clang/tools/scan-view/share/
Dstartfile.py90 except WindowsError:
/external/llvm-project/clang/tools/scan-view/share/
Dstartfile.py93 except WindowsError:
/external/python/cpython2/Lib/bsddb/test/
Dtest_thread.py13 WindowsError
15 class WindowsError(Exception): class
/external/python/dateutil/dateutil/tz/
Dwin.py39 except WindowsError:
/external/python/cpython3/Lib/test/
Dtest_exceptions.py310 WindowsError
314 self.assertIs(WindowsError, OSError)
442 (WindowsError, (1, 'strErrorStr', 'filenameStr'),
/external/python/cpython2/Objects/
Dexceptions.c988 ComplexExtendsException(PyExc_OSError, WindowsError, WindowsError,
2064 PRE_INIT(WindowsError) in _PyExc_Init()
2133 POST_INIT(WindowsError) in _PyExc_Init()
/external/llvm-project/llvm/lib/Support/Windows/
DMemory.inc17 #include "llvm/Support/WindowsError.h"
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DMemory.inc17 #include "llvm/Support/WindowsError.h"

123